/* ==========================================================================
   SujinSeonsik Main Page — Harmonized 3D & Dimensional Upgrade (H-1)
   Scoped strictly to #storefront-main-content (index.php only).
   Preserves existing layout, copy, links, and mobile responsiveness.
   ========================================================================== */

#storefront-main-content {
  --sj3d-ink: #2c2117;
  --sj3d-ink-2: #4b3b2c;
  --sj3d-muted: #6d6157;
  --sj3d-brown: #6b4a2e;
  --sj3d-brown-deep: #48301b;
  --sj3d-gold: #c8964e;
  --sj3d-cream: #faf7f2;
  --sj3d-beige: #f4efe7;
  --sj3d-bevel: #e6ddd0;
}

/* Shared 3D decorative grain stalk (true alpha-transparent PNG) */
#storefront-main-content .sj3d-grain-decor {
  position: absolute !important;
  pointer-events: none !important;
  height: auto !important;
  max-height: none !important;
  opacity: 0.28 !important;
  user-select: none;
  z-index: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* ==========================================================================
   SECTION 1: MAIN BANNER (PC >= 769px)
   ========================================================================== */
@media (min-width: 769px) {
  /* Instant crisp hero render — prevents sluggish 1.5s slide-in & off-screen p transform */
  #storefront-main-content .main-banner,
  #storefront-main-content .banner-text-section h2,
  #storefront-main-content .banner-text-section p,
  #storefront-main-content .banner-text-section .main-banner-btns,
  #storefront-main-content .banner-image-section.sj3d-shadowbox-stage {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #storefront-main-content .main-banner {
    background: radial-gradient(circle at 18% 18%, #fffdfa 0%, #faf6ef 50%, #f2ebe0 100%) !important;
    padding: 2.5rem 0 2.8rem !important;
    box-shadow: 0 10px 30px rgba(107, 74, 46, 0.08) !important;
    border-radius: 0 0 22px 22px !important;
  }

  #storefront-main-content .main-banner .sj3d-grain-left {
    left: -6px !important;
    top: -6px !important;
    width: 148px !important;
    transform: rotate(-8deg) !important;
  }
  #storefront-main-content .main-banner .sj3d-grain-right {
    right: -6px !important;
    bottom: -10px !important;
    width: 144px !important;
    transform: scaleX(-1) rotate(-6deg) !important;
  }

  #storefront-main-content .main-banner .inner {
    max-width: 1200px !important;
    gap: 2.2rem !important;
    align-items: stretch !important;
  }

  /* Left Text Card: Warm Craft Soft 3D elevation */
  #storefront-main-content .banner-text-section {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, #fcf9f4 58%, #f6efe4 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.95) inset,
      0 18px 36px rgba(107, 74, 46, 0.09),
      0 3px 0 #ebe3d7 !important;
    padding: 2.1rem 2rem 1.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  #storefront-main-content .banner-text-section h2,
  #storefront-main-content .banner-text-section p {
    text-align: center !important;
  }

  #storefront-main-content .banner-text-section .main-banner-btns,
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container {
    justify-content: center !important;
  }

  #storefront-main-content .banner-text-section h2 {
    color: #5c3e24 !important;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
  }

  /* Tactile 3D Beveled CTA Buttons */
  #storefront-main-content .banner-text-section .main-banner-btns a {
    background: linear-gradient(180deg, #8b6340 0%, #6b4a2e 100%) !important;
    border-radius: 10px !important;
    padding: 0.78rem 1.55rem !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 4px 0 #48301b,
      0 10px 18px rgba(72, 48, 27, 0.22) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
  }

  #storefront-main-content .banner-text-section .main-banner-btns a:hover {
    background: linear-gradient(180deg, #966c47 0%, #734f31 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.34) inset,
      0 6px 0 #48301b,
      0 14px 24px rgba(72, 48, 27, 0.28) !important;
  }

  #storefront-main-content .banner-text-section .main-banner-btns a:active {
    transform: translateY(2px) !important;
    box-shadow: 0 2px 0 #48301b, 0 4px 10px rgba(72, 48, 27, 0.18) !important;
  }

  /* Tactile 3D Soft-Tile SNS Buttons */
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container {
    gap: 0.75rem !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button {
    border-radius: 14px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button.instagram {
    background: linear-gradient(160deg, #ffe4e8 0%, #ffd3da 100%) !important;
    color: #c43054 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 3.5px 0 #f0b6c0, 0 9px 16px rgba(196, 48, 84, 0.11) !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button.daangn {
    background: linear-gradient(160deg, #ffecd5 0%, #ffdeb9 100%) !important;
    color: #d55f0c !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 3.5px 0 #efc192, 0 9px 16px rgba(213, 95, 12, 0.11) !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button.kakaotalk {
    background: linear-gradient(160deg, #fff6d0 0%, #ffeba8 100%) !important;
    color: #3c2200 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 3.5px 0 #e9cf74, 0 9px 16px rgba(153, 115, 0, 0.11) !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button.naver {
    background: linear-gradient(160deg, #ddf8e7 0%, #c7f0d7 100%) !important;
    color: #05853d !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 3.5px 0 #a1ddb7, 0 9px 16px rgba(5, 133, 61, 0.11) !important;
  }
  #storefront-main-content .banner-text-section .pc-social-buttons .social-buttons-container .social-button:hover {
    transform: translateY(-4px) !important;
  }

  /* Right Stage: 3D Storefront Shadow-Box + Real Best Product Mini 3D Fan */
  #storefront-main-content .banner-image-section.sj3d-shadowbox-stage {
    background: linear-gradient(145deg, #f3ece2 0%, #e7ddd0 100%) !important;
    border-radius: 20px !important;
    padding: 26px 26px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.85) inset,
      0 18px 36px rgba(91, 61, 38, 0.11),
      0 3px 0 #ddd2c3 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 100% !important;
    perspective: 1200px;
    overflow: visible !important;
  }

  #storefront-main-content .sj3d-shadowbox-wrap {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 356px;
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.22s ease-out;
  }

  #storefront-main-content .sj3d-store-recess {
    position: relative;
    width: 86%;
    height: 328px;
    border-radius: 16px;
    padding: 7px;
    background: linear-gradient(145deg, #fffdf9 0%, #ece3d5 100%);
    border: 1px solid rgba(107, 74, 46, 0.16);
    box-shadow:
      16px 22px 38px rgba(68, 45, 24, 0.22),
      0 2px 0 rgba(255, 255, 255, 0.95) inset;
  }

  #storefront-main-content .sj3d-store-inner {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
  }

  #storefront-main-content .sj3d-store-inner img.sj3d-store-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 11px !important;
    display: block;
    box-shadow: none !important;
    transform: none !important;
  }

  #storefront-main-content .sj3d-store-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 244, 224, 0.22) 0%, rgba(255, 255, 255, 0) 42%, rgba(54, 34, 16, 0.14) 100%);
    pointer-events: none;
  }

  #storefront-main-content .sj3d-store-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(34, 23, 14, 0.82);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 7px;
    border: 1px solid rgba(255, 228, 186, 0.28);
    letter-spacing: -0.01em;
  }

  /* Real Branded Best Product Mini 3D Fan floating in Z-Space */
  #storefront-main-content .sj3d-mini-fan {
    position: absolute;
    right: -4px;
    bottom: -2px;
    width: 226px;
    height: 162px;
    transform-style: preserve-3d;
    transform: translateZ(44px);
    z-index: 5;
  }

  #storefront-main-content .sj3d-mini-card {
    position: absolute;
    width: 108px;
    background: #fff;
    padding: 5px 5px 7px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(58, 36, 18, 0.28);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: block;
  }

  #storefront-main-content .sj3d-mini-card img {
    width: 100% !important;
    height: 96px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block;
    box-shadow: none !important;
    transform: none !important;
  }

  #storefront-main-content .sj3d-mini-card .sj3d-mini-title {
    display: block;
    font-size: 10.2px;
    font-weight: 800;
    color: var(--sj3d-ink);
    text-align: center;
    margin-top: 5px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #storefront-main-content .sj3d-mini-card.m1 {
    right: 112px;
    bottom: 16px;
    transform: rotate(-8deg) translateZ(2px);
    z-index: 2;
  }

  #storefront-main-content .sj3d-mini-card.m2 {
    right: -2px;
    bottom: 0;
    width: 118px;
    transform: rotate(4deg) translateZ(18px);
    z-index: 4;
  }

  #storefront-main-content .sj3d-mini-card.m2 img {
    height: 104px !important;
  }

  #storefront-main-content .sj3d-mini-card:hover {
    transform: rotate(0deg) translateY(-6px) translateZ(28px) scale(1.04);
    box-shadow: 0 22px 34px rgba(58, 36, 18, 0.34);
    z-index: 7;
  }

  #storefront-main-content .sj3d-mini-rank {
    position: absolute;
    top: 9px;
    left: 9px;
    background: linear-gradient(180deg, #b8844a, #7d5228);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 99px;
    box-shadow: 0 3px 8px rgba(48, 28, 10, 0.34);
  }

  #storefront-main-content .sj3d-foot-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(107, 74, 46, 0.13);
    font-size: 12px;
    color: var(--sj3d-ink-2);
    font-weight: 600;
  }

  #storefront-main-content .sj3d-pill-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 11px;
    border-radius: 99px;
    border: 1px solid rgba(107, 74, 46, 0.14);
  }

  #storefront-main-content .sj3d-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e8449;
    display: inline-block;
  }
}

/* ==========================================================================
   SECTION 1: MAIN BANNER (MOBILE <= 768px) — 3D Gold Round Emblem
   ========================================================================== */
@media (max-width: 768px) {
  #storefront-main-content .main-banner {
    background: radial-gradient(circle at 50% 24%, #fffdfa 0%, #f5efe6 100%) !important;
  }

  #storefront-main-content .main-banner .sj3d-grain-left {
    display: none !important;
  }

  #storefront-main-content .main-banner .sj3d-grain-right {
    right: -10px !important;
    top: 4px !important;
    bottom: auto !important;
    width: 96px !important;
    height: auto !important;
    opacity: 0.24 !important;
    transform: none !important;
  }

  #storefront-main-content .sj3d-store-label,
  #storefront-main-content .sj3d-mini-fan,
  #storefront-main-content .sj3d-foot-proof {
    display: none !important;
  }

  /* Elevate existing mobile circular store photo into 3D Brushed-Gold Medal */
  #storefront-main-content .banner-image-section.sj3d-shadowbox-stage {
    width: 146px !important;
    height: 146px !important;
    padding: 5px !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #e5c48c 0%, #9a6c37 100%) !important;
    border: 0 !important;
    box-shadow:
      0 14px 28px rgba(91, 61, 38, 0.28),
      0 2px 0 rgba(255, 255, 255, 0.65) inset !important;
    top: 12px !important;
  }

  #storefront-main-content .sj3d-shadowbox-wrap,
  #storefront-main-content .sj3d-store-recess,
  #storefront-main-content .sj3d-store-inner {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
  }

  #storefront-main-content .sj3d-store-inner img.sj3d-store-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 50% !important;
    border: 3px solid #fff !important;
    filter: none !important;
  }

  #storefront-main-content .banner-text-section .banner-description::before {
    border-radius: 10px !important;
    background: linear-gradient(180deg, #8b6340 0%, #6b4a2e 100%) !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 4px 0 #48301b,
      0 10px 18px rgba(72, 48, 27, 0.24) !important;
    padding: 0.58rem 1.8rem !important;
  }
}

/* ==========================================================================
   SECTION 2: PC BEST 3 PRODUCTS (.hero-pc-legacy) — Recessed Well + Sunlit 3D Tilt
   ========================================================================== */
@media (min-width: 1025px) {
  #storefront-main-content .hero-pc-legacy {
    background: linear-gradient(180deg, #f5f0e8 0%, #efe8dd 100%) !important;
  }

  #storefront-main-content .legacy-best-list {
    perspective: 1100px;
  }

  #storefront-main-content .legacy-best-card {
    background: linear-gradient(165deg, #ffffff 0%, #fcfaf6 100%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.95) inset,
      0 14px 28px rgba(107, 74, 46, 0.09),
      0 3.5px 0 #e6ddd0 !important;
    transform-style: preserve-3d;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out !important;
    position: relative;
  }

  /* Dynamic warm golden sunlight glare following mouse */
  #storefront-main-content .legacy-best-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 25%) var(--my, 20%), rgba(255, 240, 205, 0.3) 0%, rgba(255, 240, 205, 0) 56%);
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
  }

  #storefront-main-content .legacy-best-card:hover {
    box-shadow:
      0 2px 0 #fff inset,
      0 24px 44px rgba(107, 74, 46, 0.18),
      0 3.5px 0 #ddd1c0 !important;
    border-color: rgba(200, 150, 78, 0.5) !important;
  }

  /* Recessed Linen Well + Z-axis elevated product photo */
  #storefront-main-content .legacy-best-img-wrap {
    width: 184px !important;
    height: 184px !important;
    padding: 7px !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #efe8dc 0%, #fbf8f3 100%) !important;
    box-shadow: inset 0 2px 6px rgba(91, 61, 38, 0.13), 0 1px 0 #fff !important;
    overflow: visible !important;
    transform-style: preserve-3d;
  }

  #storefront-main-content .legacy-best-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 13px !important;
    transform: translateZ(20px);
    box-shadow: 0 14px 24px rgba(96, 62, 28, 0.22);
    transition: transform 0.25s ease !important;
  }

  #storefront-main-content .legacy-best-card:hover .legacy-best-img {
    transform: translateZ(28px) scale(1.03) !important;
  }

  #storefront-main-content .legacy-best-badge {
    top: 14px !important;
    background: linear-gradient(180deg, #bf8c4d 0%, #865928 100%) !important;
    border-radius: 99px !important;
    padding: 0.28em 0.95em !important;
    box-shadow: 0 4px 10px rgba(64, 38, 14, 0.36), 0 1px 0 rgba(255, 255, 255, 0.42) inset !important;
    transform: translateX(-50%) translateZ(34px) !important;
  }

  #storefront-main-content .legacy-best-stats {
    background: #f8f2e9;
    border: 1px solid #ede3d5;
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--sj3d-brown) !important;
    font-weight: 700 !important;
  }

  #storefront-main-content .legacy-best-link-hover {
    z-index: 20 !important;
    background: linear-gradient(180deg, #8b6340 0%, #6b4a2e 100%) !important;
    box-shadow: 0 10px 24px rgba(58, 36, 16, 0.38) !important;
    transform: translate(-50%, -50%) translateZ(45px) !important;
  }
}

/* ==========================================================================
   SECTION 2: MOBILE BEST 2-COL — Tactile 3D Cards + keep-all Wrap Fix
   ========================================================================== */
@media (max-width: 768px) {
  #storefront-main-content .mobile-best-products-grid .mobile-best-product-card {
    border-radius: 15px !important;
    border: 1px solid #eae2d6 !important;
    box-shadow:
      0 8px 18px rgba(72, 52, 34, 0.08),
      0 3px 0 #e6ddd0 !important;
  }

  #storefront-main-content .mobile-best-product-card .diverse-product-name,
  #storefront-main-content .mobile-best-product-card .diverse-product-summary {
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
}

/* ==========================================================================
   SECTION 3: WHY SUJINSEONSIK 4 CARDS (PC & Mobile) — 3D Clay Icons & Craft Palette
   ========================================================================== */
#storefront-main-content .feature-section-pc {
  background: #fff !important;
}

#storefront-main-content .feature-item-pc {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%) !important;
  border-radius: 18px !important;
  border: 1px solid #eae2d6 !important;
  box-shadow:
    0 2px 0 #fff inset,
    0 12px 24px rgba(72, 52, 34, 0.06),
    0 4px 0 #ebe3d7 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

#storefront-main-content .feature-item-pc.traditional-pc { border-top: 3px solid #c8964e !important; }
#storefront-main-content .feature-item-pc.quality-pc { border-top: 3px solid #6d8b5b !important; }
#storefront-main-content .feature-item-pc.consultation-pc { border-top: 3px solid #8e7255 !important; }
#storefront-main-content .feature-item-pc.premium-pc { border-top: 3px solid #a77a4a !important; }

#storefront-main-content .feature-item-pc:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 34px rgba(72, 52, 34, 0.12), 0 4px 0 #dfd4c4 !important;
}

#storefront-main-content .sj3d-clay-stage {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#storefront-main-content .sj3d-clay-stage::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(72, 48, 24, 0.22) 0%, rgba(72, 48, 24, 0) 72%);
}

#storefront-main-content .sj3d-clay-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

#storefront-main-content .feature-item-pc:hover .sj3d-clay-icon {
  transform: translateY(-5px) scale(1.06);
}

/* Mobile Why SujinSeonsik 2x2 */
@media (max-width: 768px) {
  #storefront-main-content .feature-mobile-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%) !important;
    border: 1px solid #eae2d6 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(72, 52, 34, 0.07), 0 3.5px 0 #e7dfd3 !important;
  }
  #storefront-main-content .feature-mobile-card.traditional-card { border-top: 3px solid #c8964e !important; }
  #storefront-main-content .feature-mobile-card.quality-card { border-top: 3px solid #6d8b5b !important; }
  #storefront-main-content .feature-mobile-card.consultation-card { border-top: 3px solid #8e7255 !important; }
  #storefront-main-content .feature-mobile-card.premium-card { border-top: 3px solid #a77a4a !important; }

  #storefront-main-content .feature-mobile-card .icon-wrapper {
    width: 64px !important;
    height: 64px !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-bottom: 2px;
  }

  #storefront-main-content .feature-mobile-card .sj3d-clay-icon-mob {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(72, 48, 24, 0.18));
  }
}

/* ==========================================================================
   SECTION 4: DAANGN 5,000 REGULARS — 3D Twin Smartphones & Tactile Stat Tiles
   ========================================================================== */
#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-images {
  margin-top: 28px !important;
  position: relative;
  height: 390px;
  perspective: 1100px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image {
  position: absolute;
  width: 196px !important;
  max-width: 196px !important;
  height: 362px !important;
  border-radius: 28px !important;
  padding: 8px !important;
  background: linear-gradient(145deg, #3c352f 0%, #1d1915 100%) !important;
  box-shadow: 0 22px 40px rgba(34, 22, 12, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.16) inset !important;
  transition: transform 0.26s ease, z-index 0.2s !important;
  overflow: hidden;
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image:nth-child(1) {
  left: calc(50% - 190px);
  top: 6px;
  z-index: 3;
  transform: rotateY(13deg) rotateX(4deg) rotateZ(-2deg);
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image:nth-child(2) {
  left: calc(50% - 8px);
  top: 18px;
  z-index: 2;
  transform: rotateY(-13deg) rotateX(4deg) rotateZ(2deg);
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.03) !important;
  z-index: 6 !important;
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

#storefront-main-content .daangn-success-section.pc-only .daangn-left .daangn-image img:hover {
  transform: none !important;
}

#storefront-main-content .sj3d-daangn-pill {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  background: linear-gradient(180deg, #ff8636 0%, #e55f0b 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(229, 95, 11, 0.34), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  pointer-events: none;
}

/* Tactile 3D Daangn Stat Tiles */
#storefront-main-content .daangn-success-section .stat-item {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%) !important;
  border: 1px solid #ebe3d7 !important;
  border-radius: 15px !important;
  box-shadow:
    0 1px 0 #fff inset,
    0 8px 18px rgba(72, 52, 34, 0.06),
    0 3.5px 0 #e6ddd0 !important;
  padding: 1.15rem 0.75rem !important;
}

#storefront-main-content .daangn-success-section .stat-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 28px rgba(213, 95, 12, 0.14), 0 3.5px 0 #e6cbb3 !important;
}

#storefront-main-content .daangn-success-section .stat-icon.sj3d-svg-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin: 0 auto 0.55rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fdf2e6 !important;
  color: #d55f0c !important;
  font-size: 1rem !important;
  filter: none !important;
}

#storefront-main-content .daangn-success-section .stat-icon.sj3d-svg-badge svg {
  width: 18px;
  height: 18px;
  display: block;
}

#storefront-main-content .daangn-success-section .stat-number {
  font-size: 1.25rem !important;
  color: var(--sj3d-ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--sj3d-ink) !important;
  text-shadow: none !important;
}

#storefront-main-content .daangn-success-section .review-showcase {
  border-radius: 18px !important;
  border: 1px solid #eae2d6 !important;
  box-shadow: 0 14px 28px rgba(72, 52, 34, 0.08), 0 3px 0 #e6ddd0 !important;
}

/* Mobile Daangn 3D Overlapping Phones */
@media (max-width: 768px) {
  #storefront-main-content .daangn-success-section.mobile-only .daangn-mobile-images {
    position: relative !important;
    height: 240px !important;
    margin: 1.2rem auto 1.4rem !important;
    perspective: 850px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #storefront-main-content .daangn-success-section.mobile-only .daangn-mobile-images .daangn-image {
    position: absolute !important;
    width: 132px !important;
    height: 224px !important;
    border-radius: 20px !important;
    padding: 5px !important;
    background: linear-gradient(145deg, #3c352f 0%, #1d1915 100%) !important;
    box-shadow: 0 14px 26px rgba(34, 20, 10, 0.25) !important;
    overflow: hidden;
  }

  #storefront-main-content .daangn-success-section.mobile-only .daangn-mobile-images .daangn-image:nth-child(1) {
    left: calc(50% - 122px);
    top: 4px;
    transform: rotateY(14deg) rotateZ(-3deg);
    z-index: 3;
  }

  #storefront-main-content .daangn-success-section.mobile-only .daangn-mobile-images .daangn-image:nth-child(2) {
    left: calc(50% - 10px);
    top: 12px;
    transform: rotateY(-14deg) rotateZ(3deg);
    z-index: 2;
  }

  #storefront-main-content .daangn-success-section.mobile-only .daangn-mobile-images .daangn-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 15px !important;
  }
}

/* ==========================================================================
   SECTION 5: DIVERSE PRODUCTS 4-COL — 3D Depth + Fix Live Right-Edge Stat Clipping
   ========================================================================== */
#storefront-main-content .products.diverse-products:not(.mobile-only) {
  background: #fff !important;
}

#storefront-main-content .products.diverse-products:not(.mobile-only) .diverse-product-card {
  border-radius: 16px !important;
  border: 1px solid #eae3d8 !important;
  box-shadow:
    0 10px 22px rgba(72, 52, 34, 0.06),
    0 3.5px 0 #ebe3d7 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

#storefront-main-content .products.diverse-products:not(.mobile-only) .diverse-product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 22px 34px rgba(72, 52, 34, 0.13),
    0 3.5px 0 #dfd5c5 !important;
  border-color: rgba(200, 150, 78, 0.55) !important;
}

#storefront-main-content .diverse-product-name,
#storefront-main-content .diverse-product-summary {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

/* Fix real live right-edge clipping on 4-col PC stats */
#storefront-main-content .products.diverse-products:not(.mobile-only) .diverse-product-stats {
  flex-wrap: wrap !important;
  gap: 5px 10px !important;
  justify-content: space-between !important;
  overflow: visible !important;
  white-space: normal !important;
}

#storefront-main-content .products.diverse-products:not(.mobile-only) .diverse-stat-item {
  font-size: 11.5px !important;
  gap: 3px !important;
}

#storefront-main-content .products.diverse-products:not(.mobile-only) .diverse-stat-number {
  font-size: 12px !important;
}

/* ==========================================================================
   SECTION 6: CUSTOMER REVIEWS — 3D Stat Counter Tiles & Layered Review Cards
   ========================================================================== */
#storefront-main-content .customer-reviews-section.pc-only .reviews-stats .stat-item {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%) !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 16px !important;
  box-shadow:
    0 2px 0 #fff inset,
    0 10px 20px rgba(72, 52, 34, 0.06),
    0 3.5px 0 #e5dcd0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#storefront-main-content .customer-reviews-section.pc-only .reviews-stats .stat-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 30px rgba(72, 52, 34, 0.12), 0 3.5px 0 #dcd0bf !important;
}

#storefront-main-content .customer-reviews-section.pc-only .reviews-stats .stat-item-link {
  background: linear-gradient(155deg, #f4ece0 0%, #e7dac7 100%) !important;
  border-color: #dccbb5 !important;
}

#storefront-main-content .customer-reviews-section.pc-only .review-card {
  background: #fff !important;
  border: 1px solid #ebe3d8 !important;
  border-radius: 16px !important;
  box-shadow:
    0 10px 22px rgba(72, 52, 34, 0.06),
    0 3.5px 0 #e6ddd1 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#storefront-main-content .customer-reviews-section.pc-only .review-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 32px rgba(72, 52, 34, 0.12), 0 3.5px 0 #dcd0bf !important;
}

#storefront-main-content .index-mobile-stat-card {
  border-radius: 14px !important;
  box-shadow: 0 6px 14px rgba(72, 52, 34, 0.07), 0 3px 0 #e5dcd0 !important;
}

/* Respect accessibility reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  #storefront-main-content .sj3d-shadowbox-wrap,
  #storefront-main-content .legacy-best-card,
  #storefront-main-content .feature-item-pc,
  #storefront-main-content .daangn-image,
  #storefront-main-content .diverse-product-card {
    transition: none !important;
  }
}
