    :root {
      --primary: #FF6B6B;
      --secondary: #FFD93D;
      --accent: #6BCB77;
      --purple: #9B5DE5;
      --sky: #4FC3F7;
      --dark: #1a1a2e;
      --light: #FFF8F0;
      --radius: 18px;
      --shadow: 0 8px 32px rgba(0, 0, 0, .10)
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: 'Nunito', sans-serif;
      background: var(--light);
      color: var(--dark);
      overflow-x: hidden
    }

    .mtop-55 {
      margin-top: 55px;
    }

    /* TOPBAR */
    .topbar {
      background: var(--dark);
      color: #fff;
      font-size: 12px;
      padding: 7px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 4px
    }

    .topbar a {
      color: var(--secondary);
      text-decoration: none;
      margin-left: 12px
    }

    .topbar a:hover {
      color: var(--primary)
    }

    .topbar-right {
      display: flex;
      flex-wrap: wrap
    }

    /* NAVBAR */
    nav {
      background: #fff;
      box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
      position: sticky;
      top: 0;
      z-index: 1000
    }

    .nav-inner {
      max-width: 1300px;
      margin: auto;
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 12px 20px;
      position: relative
    }

    .logo {
      
      font-size: 1.8rem;
      color: var(--primary);
      text-decoration: none;
      flex-shrink: 0
    }

    .site-header-logo {
      display: block;
      width: auto;
      height: 58px;
      max-width: 150px;
      object-fit: contain;
      flex-shrink: 0
    }

    .footer-store-logo {
      display: block;
      width: auto;
      height: 52px;
      max-width: 150px;
      object-fit: contain
    }

    .logo span {
      color: var(--purple)
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      margin-left: auto;
      z-index: 1100
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 3px;
      background: var(--dark);
      border-radius: 3px;
      transition: transform .3s, opacity .3s
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg)
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg)
    }

    .nav-links {
      display: flex;
      gap: 18px;
      list-style: none;
      flex: 1;
      justify-content: center
    }

    .nav-item {
      position: relative
    }

    .nav-link-group {
      display: flex;
      align-items: center;
      gap: 6px
    }

    .nav-links a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 700;
      font-size: 15px;
      padding: 2px 0;
      position: relative;
      transition: color .2s;
      white-space: nowrap
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      border-radius: 4px;
      transition: width .3s
    }

    .nav-links a:hover {
      color: var(--primary)
    }

    .nav-links a:hover::after {
      width: 100%
    }

    .submenu-toggle {
      border: none;
      background: none;
      color: var(--dark);
      cursor: pointer;
      padding: 4px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      transition: color .2s, background .2s, transform .25s
    }

    .submenu-toggle:hover {
      color: var(--primary);
      background: rgba(255, 107, 107, .08)
    }

    .submenu-toggle i {
      font-size: 12px;
      transition: transform .25s
    }

    .submenu {
      list-style: none;
      position: absolute;
      top: calc(100% + 16px);
      left: 0;
      min-width: 220px;
      background: #fff;
      border-radius: 18px;
      padding: 12px;
      box-shadow: 0 18px 45px rgba(26, 26, 46, .14);
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity .25s, transform .25s, visibility .25s;
      z-index: 20
    }

    .submenu::before {
      content: '';
      position: absolute;
      left: 24px;
      top: -8px;
      width: 16px;
      height: 16px;
      background: #fff;
      transform: rotate(45deg)
    }

    .submenu li {
      position: relative
    }

    .submenu a {
      display: block;
      width: 100%;
      padding: 11px 14px;
      font-size: 15px;
      border-radius: 12px
    }

    .submenu a::after {
      display: none
    }

    .submenu .nav-link-group {
      justify-content: space-between;
      width: 100%;
      border-radius: 12px;
      padding: 0 8px 0 0;
      transition: background .2s
    }

    .submenu .nav-link-group:hover {
      background: rgba(255, 107, 107, .08)
    }

    .submenu .submenu {
      top: 0;
      left: calc(100% + 14px)
    }

    .submenu .submenu::before {
      left: -8px;
      top: 22px
    }

    .has-submenu:hover>.submenu,
    .has-submenu:focus-within>.submenu,
    .has-submenu.submenu-open>.submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0)
    }

    .has-submenu:hover>.nav-link-group>a,
    .has-submenu:focus-within>.nav-link-group>a,
    .has-submenu.submenu-open>.nav-link-group>a,
    .has-submenu:hover>.nav-link-group>.submenu-toggle,
    .has-submenu:focus-within>.nav-link-group>.submenu-toggle,
    .has-submenu.submenu-open>.nav-link-group>.submenu-toggle {
      color: var(--primary)
    }

    .has-submenu:hover>.nav-link-group>.submenu-toggle i,
    .has-submenu:focus-within>.nav-link-group>.submenu-toggle i,
    .has-submenu.submenu-open>.nav-link-group>.submenu-toggle i {
      transform: rotate(180deg)
    }

    .submenu .has-submenu:hover>.nav-link-group>.submenu-toggle i,
    .submenu .has-submenu:focus-within>.nav-link-group>.submenu-toggle i,
    .submenu .has-submenu.submenu-open>.nav-link-group>.submenu-toggle i {
      transform: rotate(90deg)
    }

    .search-bar {
      position: relative;
      min-width: 0;
      flex: 0 1 240px
    }

    .header-search-form {
      position: relative;
      min-width: 0;
      flex: 0 1 300px
    }

    .search-bar input {
      width: 100%;
      border: 2px solid #eee;
      border-radius: 50px;
      padding: 8px 16px 8px 36px;
      font-size: 13px;
      font-family: 'Nunito', sans-serif;
      outline: none;
      transition: border-color .2s
    }

    .search-bar input:focus {
      border-color: var(--primary)
    }

    .search-bar i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #aaa;
      font-size: 13px
    }

    .nav-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-shrink: 0
    }

    .wish-btn {
      background: none;
      border: none;
      font-size: 18px;
      cursor: pointer;
      color: var(--dark);
      transition: color .2s, transform .2s
    }

    .wish-btn:hover {
      color: var(--primary);
      transform: scale(1.2)
    }

    .cart-btn {
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 8px 16px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: background .2s, transform .2s;
      white-space: nowrap
    }

    .cart-btn:hover {
      background: var(--purple);
      transform: scale(1.05)
    }

    .mobile-search {
      display: none;
      position: relative;
      padding: 10px 16px;
      background: #fff;
      border-bottom: 1px solid #eee;
      align-items: center;
      gap: 8px
    }

    .mobile-search input {
      flex: 1;
      border: 2px solid #eee;
      border-radius: 50px;
      padding: 9px 18px;
      font-size: 14px;
      font-family: 'Nunito', sans-serif;
      outline: none
    }

    .mobile-search input:focus {
      border-color: var(--primary)
    }

    .search-suggestions {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      z-index: 1200;
      display: none;
      overflow: hidden;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, .18)
    }

    .search-suggestions.is-open {
      display: block
    }

    .search-suggestion-item {
      display: grid;
      grid-template-columns: 46px 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      color: #111827;
      text-decoration: none;
      border-bottom: 1px solid #f1f5f9;
      background: #fff
    }

    .search-suggestion-item:last-child {
      border-bottom: 0
    }

    .search-suggestion-item:hover,
    .search-suggestion-item:focus {
      background: #f8fafc
    }

    .search-suggestion-thumb {
      width: 46px;
      height: 46px;
      object-fit: contain;
      border-radius: 8px;
      border: 1px solid #eef2f7;
      background: #f8fafc
    }

    .search-suggestion-title {
      display: block;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.25;
      color: #1f2937
    }

    .search-suggestion-sub {
      display: block;
      margin-top: 3px;
      font-size: 12px;
      font-weight: 700;
      color: #2563eb
    }

    .search-suggestion-price {
      max-width: 110px;
      text-align: right;
      font-size: 12px;
      font-weight: 900;
      color: #111827;
      white-space: normal
    }

    .search-suggestion-empty {
      padding: 14px 16px;
      font-size: 13px;
      font-weight: 800;
      color: #64748b
    }

    .mobile-search .search-suggestions {
      left: 16px;
      right: 16px;
      top: calc(100% + 4px)
    }

    /* HERO SLIDER */
    .slider-wrap {
      width: 100%;
      position: relative;
      height: calc(100vh - 95px);
      min-height: 480px;
      max-height: 900px;
      overflow: hidden
    }

    .slider {
      display: flex;
      height: 100%;
      transition: transform .7s cubic-bezier(.77, 0, .18, 1)
    }

    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden
    }

    .slide-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0
    }

    .slide-fx {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 2
    }

    .floating-star,
    .floating-confetti,
    .floating-light {
      position: absolute;
      opacity: .85;
      animation: floatAnim 6s ease-in-out infinite alternate;
      transform-origin: center
    }

    .floating-star {
      width: 16px;
      height: 16px;
      background: radial-gradient(circle at 30% 30%, #fff, #fff0 65%);
      border-radius: 50%;
      box-shadow: 0 0 16px rgba(255, 255, 255, .8)
    }

    .floating-confetti {
      width: 10px;
      height: 18px;
      background: linear-gradient(135deg, #FFD93D, #FF6B6B);
      border-radius: 3px;
      transform: rotate(35deg);
      box-shadow: 0 0 8px rgba(0, 0, 0, .2)
    }

    .floating-light {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: radial-gradient(circle, #FFE88D 0%, #F9AF19 45%, rgba(255, 215, 0, 0) 70%);
      box-shadow: 0 0 20px rgba(255, 215, 0, .8)
    }

    @keyframes floatAnim {
      0% {
        transform: translateY(0) scale(1)
      }

      100% {
        transform: translateY(-18px) scale(1.08)
      }
    }

    .ov1 {
      background: linear-gradient(90deg, rgba(95, 95, 95, 0.85) 0%, rgb(155 93 229 / 0%) 55%, transparent 100%);
    }

    .ov2 {
      background: linear-gradient(90deg, rgba(95, 95, 95, 0.85) 0%, rgb(155 93 229 / 0%) 55%, transparent 100%);
    }

    .ov3 {
      background: linear-gradient(90deg, rgba(95, 95, 95, 0.85) 0%, rgb(155 93 229 / 0%) 55%, transparent 100%);
    }

    .slide-content {
      z-index: 3;
      padding: 0 70px;
      max-width: 620px
    }

    .slide-copy-panel {
      display: inline-block;
      padding: 22px 28px;
      border-radius: 8px;
      background: linear-gradient(120deg, rgba(15, 12, 26, .46) 0%, rgba(15, 12, 26, .26) 62%, rgba(15, 12, 26, .08) 100%);
      backdrop-filter: blur(1px);
      margin-bottom: 24px
    }

    .slide-content h1 {
      
      font-size: 3.4rem;
      color: #fff;
      text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
      line-height: 1.1;
      margin-bottom: 14px
    }

    .slide-copy-panel h1:last-child {
      margin-bottom: 0
    }

    .slide-content p {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, .93);
      font-weight: 600;
      margin-bottom: 0;
      text-shadow: 0 2px 8px rgba(0, 0, 0, .2)
    }

    .slide-btn {
      background: #fff;
      color: var(--primary);
      
      font-size: 1rem;
      padding: 13px 32px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
      transition: transform .2s, box-shadow .2s;
      text-decoration: none;
      display: inline-block
    }

    .slide-btn:hover {
      transform: scale(1.07);
      box-shadow: 0 14px 32px rgba(0, 0, 0, .24)
    }

    .slider-dots {
      position: absolute;
      bottom: 22px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10
    }

    .dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .5);
      border: none;
      cursor: pointer;
      transition: background .3s, transform .3s
    }

    .dot.active {
      background: #fff;
      transform: scale(1.4)
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, .22);
      backdrop-filter: blur(6px);
      border: none;
      color: #fff;
      font-size: 1.3rem;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      transition: background .2s, transform .2s;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .slider-arrow i {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 1em;
      height: 1em;
      line-height: 1
    }

    .slider-arrow:hover {
      background: rgba(255, 255, 255, .45);
      transform: translateY(-50%) scale(1.1)
    }

    .slider-prev {
      left: 16px
    }

    .slider-next {
      right: 16px
    }

    /* TRUST BAR */
    .trust-bar {
      background: #fff;
      display: flex;
      justify-content: center;
      gap: 0;
      flex-wrap: wrap;
      box-shadow: 0 4px 20px rgba(0, 0, 0, .06)
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 28px;
      position: relative;
      flex: 1;
      min-width: 180px;
      max-width: 320px
    }

    .trust-item:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 0;
      top: 20%;
      height: 60%;
      width: 1px;
      background: #eee
    }

    .trust-img {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
    }

    .trust-item h4 {
      font-size: 13px;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 2px
    }

    .trust-item p {
      font-size: 11px;
      color: #888
    }

    /* PROMO BANNERS */
    .promo-banners {
      max-width: 1300px;
      margin: 36px auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px
    }

    .promo-card {
      border-radius: var(--radius);
      min-height: 210px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: transform .35s, box-shadow .35s;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 0 14px 30px rgba(26, 26, 46, .12)
    }

    .promo-card:hover {
      transform: translateY(-7px) scale(1.02);
      box-shadow: 0 22px 55px rgba(0, 0, 0, .18)
    }

    .promo-card:hover .promo-bg {
      transform: scale(1.08)
    }

    .promo-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s
    }

    .promo-ov {
      position: absolute;
      inset: 0
    }

    .pov1 {
      background: linear-gradient(180deg, rgba(16, 18, 38, .1) 0%, rgba(16, 18, 38, .2) 30%, rgba(255, 107, 107, .88) 100%)
    }

    .pov2 {
      background: linear-gradient(180deg, rgba(16, 18, 38, .08) 0%, rgba(16, 18, 38, .22) 30%, rgba(92, 188, 126, .9) 100%)
    }

    .pov3 {
      background: linear-gradient(180deg, rgba(16, 18, 38, .1) 0%, rgba(16, 18, 38, .22) 30%, rgba(134, 85, 203, .9) 100%)
    }

    .promo-text {
      position: relative;
      z-index: 2;
      padding: 18px 20px;
      margin: 16px;
      max-width: calc(100% - 32px);
      border-radius: 18px;
      background: rgba(12, 16, 34, .34);
      border: 1px solid rgba(255, 255, 255, .2);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 26px rgba(0, 0, 0, .18)
    }

    .promo-text h3 {
      /*  */
      font-size: 1.4rem;
      color: #fff;
      line-height: 1.15;
      text-shadow: 0 3px 12px rgba(0, 0, 0, .3);
      margin-bottom: 8px
    }

    .promo-text p {
      color: rgba(255, 255, 255, .95);
      font-size: 13px;
      line-height: 1.5;
      font-weight: 700;
      margin-bottom: 14px
    }

    .promo-text a {
      color: var(--dark);
      font-weight: 800;
      font-size: 12px;
      text-decoration: none;
      background: #fff;
      padding: 8px 16px;
      border-radius: 20px;
      display: inline-block;
      box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
      transition: background .2s, color .2s, transform .2s
    }

    .promo-text a:hover {
      background: var(--secondary);
      color: var(--dark);
      transform: translateY(-1px)
    }

    /* SECTION */
    .section-title {
      text-align: center;
      margin-bottom: 30px
    }

    .section-title h2 {
      
      font-size: 2.2rem;
      color: var(--dark)
    }

    .section-title h2 span {
      color: var(--primary)
    }

    .section-title p {
      color: #888;
      margin-top: 6px;
      font-size: 14px
    }

    .section-badge {
      display: inline-block;
      background: var(--secondary);
      color: var(--dark);
      font-weight: 800;
      font-size: 11px;
      padding: 3px 12px;
      border-radius: 20px;
      margin-bottom: 8px
    }

    .section-wrap {
      max-width: 1300px;
      margin: 44px auto;
      padding: 0 20px
    }

    /* PRODUCT CARDS */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px
    }

    #deals-grid {
      grid-template-columns: repeat(4, 1fr)
    }

    #flash-grid,
    #trending-grid {
      grid-template-columns: repeat(4, 1fr)
    }

    .product-card {
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .3s, box-shadow .3s;
      position: relative;
      cursor: pointer
    }

    .product-card:hover {
      /* transform: translateY(-10px) rotate(-1deg); */
      box-shadow: 0 22px 50px rgba(0, 0, 0, .16)
    }

    .product-card:hover .prod-img {
      transform: scale(1.10)
    }

    .product-card:hover .card-actions {
      opacity: 1;
      bottom: 74px
    }

    .product-img-wrap {
      position: relative;
      height: 250px;
      overflow: hidden;
      background: #f9f4f0
    }

    .prod-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .45s cubic-bezier(.34, 1.56, .64, 1)
    }

    .badge {
      position: absolute;
      top: 9px;
      left: 9px;
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      padding: 2px 9px;
      border-radius: 20px;
      z-index: 2
    }

    .badge-sale {
      background: var(--primary)
    }

    .badge-new {
      background: var(--accent)
    }

    .badge-hot {
      background: var(--purple)
    }

    .wishlist-btn {
      position: absolute;
      top: 9px;
      right: 9px;
      background: #fff;
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      color: #ccc;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
      transition: color .2s, transform .2s;
      z-index: 2
    }

    .wishlist-btn:hover {
      color: var(--primary);
      transform: scale(1.2)
    }

    .wishlist-btn.active {
      color: var(--primary)
    }

    .card-actions {
      position: absolute;
      bottom: 54px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 6px;
      opacity: 0;
      transition: opacity .3s, bottom .3s;
      z-index: 3
    }

    .quick-btn {
      background: var(--dark);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 6px 13px;
      font-size: 11px;
      font-weight: 800;
      font-family: 'Nunito', sans-serif;
      cursor: pointer;
      transition: background .2s
    }

    .quick-btn:hover {
      background: var(--primary)
    }

    .card-actions .quick-btn:nth-child(2) {
      display: none
    }

    .card-body {
      padding: 12px 12px 14px
    }

    .card-body h4 {
      font-size: 13px;
      font-weight: 800;
      margin-bottom: 4px;
      color: var(--dark);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .card-stars {
      color: var(--secondary);
      font-size: 11px;
      margin-bottom: 5px
    }

    .card-stars span {
      color: #aaa;
      font-size: 10px
    }

    .price-row {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 9px
    }

    .price {
      
      font-size: 1.1rem;
      color: var(--primary)
    }

    .price-old {
      font-size: 11px;
      color: #bbb;
      text-decoration: line-through
    }

    .add-cart {
      width: 100%;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 9px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      transition: background .2s, transform .2s
    }

    .add-cart:hover {
      background: var(--purple);
      transform: scale(1.03)
    }

    /* CATEGORIES - full image with overlay */
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px
    }

    .cat-card {
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      cursor: pointer;
      aspect-ratio: .8;
      box-shadow: var(--shadow);
      transition: transform .35s, box-shadow .35s;
      background: #1f2237
    }

    .cat-card:hover {
      transform: translateY(-8px) scale(1.04);
      box-shadow: 0 22px 44px rgba(0, 0, 0, .18)
    }

    .cat-card:hover .cat-img {
      transform: scale(1.1)
    }

    .cat-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s;
      display: block
    }

    .cat-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(19, 24, 44, .08) 0%, rgba(19, 24, 44, .2) 38%, rgba(19, 24, 44, .92) 100%)
    }

    .cat-label {
      position: absolute;
      bottom: 12px;
      left: 12px;
      right: 12px;
      padding: 14px 12px;
      text-align: center;
      z-index: 2;
      border-radius: 16px;
      background: rgba(10, 14, 30, .5);
      border: 1px solid rgba(255, 255, 255, .18);
      backdrop-filter: blur(8px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, .2)
    }

    .cat-label h4 {
      /*  */
      font-size: 1.02rem;
      color: #fff;
      line-height: 1.15;
      margin-bottom: 4px;
      text-shadow: 0 3px 10px rgba(0, 0, 0, .35)
    }

    .cat-label p {
      font-size: 11px;
      color: rgba(255, 255, 255, .92);
      font-weight: 800
    }

    /* FLASH SALE */
    .flash-banner {
      background: linear-gradient(90deg, #FF6B6B, #9b5de5);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap
    }

    .flash-banner h2 {
      
      font-size: 1.8rem;
      color: #fff
    }

    .flash-banner p {
      text-align: center;
      color: #fff;
      font-size: 1.5rem;
      line-height: 1.6;
      max-width: 1000px;
      margin: 0 auto;
      padding: 20px 0;
    }

    .countdown {
      display: flex;
      gap: 8px
    }

    .count-box {
      background: var(--dark);
      color: #fff;
      border-radius: 10px;
      padding: 7px 12px;
      text-align: center;
      min-width: 50px
    }

    .count-box .num {
      
      font-size: 1.4rem;
      display: block
    }

    .count-box .lbl {
      font-size: 9px;
      color: #aaa
    }

    .flash-badge {
      background: #fff;
      color: var(--primary);
      
      font-size: 1.1rem;
      padding: 5px 16px;
      border-radius: 20px;
      animation: pulse 1.5s infinite
    }

    @keyframes pulse {

      0%,
      100% {
        transform: scale(1)
      }

      50% {
        transform: scale(1.07)
      }
    }

    /* SHOP BY AGE - full image cards */
    .age-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px
    }

    .age-card {
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      cursor: pointer;
      aspect-ratio: 1;
      box-shadow: var(--shadow);
      transition: transform .35s, box-shadow .35s;
      text-decoration: none;
      display: block;
      background: #1f2237
    }

    .age-card:hover {
      transform: scale(1.08);
      box-shadow: 0 20px 44px rgba(0, 0, 0, .2)
    }

    .age-card:hover .age-img {
      transform: scale(1.12)
    }

    .age-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s;
      display: block
    }

    .age-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(19, 24, 44, .08) 0%, rgba(19, 24, 44, .2) 38%, rgba(19, 24, 44, .92) 100%)
    }

    .age-label {
      position: absolute;
      bottom: 12px;
      left: 12px;
      right: 12px;
      padding: 14px 12px;
      text-align: center;
      z-index: 2;
      border-radius: 16px;
      background: rgba(10, 14, 30, .5);
      border: 1px solid rgba(255, 255, 255, .18);
      backdrop-filter: blur(8px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, .2)
    }

    .age-label strong {
      /*  */
      font-size: 1rem;
      color: #fff;
      display: block;
      line-height: 1.15;
      margin-bottom: 4px;
      text-shadow: 0 3px 10px rgba(0, 0, 0, .35)
    }

    .age-label span {
      font-size: 11px;
      color: rgba(255, 255, 255, .92);
      font-weight: 800
    }

    /* DISCOUNT BANNER - full image */
    .discount-section {
      max-width: 1300px;
      margin: 44px auto;
      padding: 0 20px
    }

    .discount-banner {
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      min-height: 300px;
      display: flex;
      align-items: center
    }

    .discount-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .discount-ov {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(155, 93, 229, .93) 0%, rgba(79, 195, 247, .62) 55%, rgba(0, 0, 0, .08) 100%)
    }

    .discount-content {
      position: relative;
      z-index: 2;
      padding: 50px 60px
    }

    .discount-pct {
      
      font-size: 4.4rem;
      color: var(--secondary);
      line-height: 1
    }

    .discount-content h2 {
      
      font-size: 2.4rem;
      color: #fff;
      line-height: 1.2;
      margin: 4px 0 12px
    }

    .discount-content p {
      color: rgba(255, 255, 255, .88);
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 22px
    }

    .discount-btn {
      background: var(--secondary);
      color: var(--dark);
      
      font-size: 1rem;
      padding: 13px 34px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      transition: transform .2s, box-shadow .2s
    }

    .discount-btn:hover {
      transform: scale(1.07);
      box-shadow: 0 8px 24px rgba(0, 0, 0, .2)
    }

    /* BRANDS - full image cards */
    .brands-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px
    }

    .brand-card {
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      aspect-ratio: 4/3;
      box-shadow: var(--shadow);
      cursor: pointer;
      transition: transform .3s, box-shadow .3s
    }

    .brand-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
    }

    .brand-card:hover .brand-img {
      transform: scale(1.08)
    }

    .brand-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s;
      display: block
    }

    .brand-ov {
      position: absolute;
      inset: 0;
      background: rgba(26, 26, 46, .48);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .3s
    }

    .brand-card:hover .brand-ov {
      background: rgba(255, 107, 107, .58)
    }

    .brand-name {
      /*  */
      font-size: 1.1rem;
      color: #fff;
      text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
      text-align: center;
      padding: 6px
    }

    /* BLOG */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px
    }

    .blog-card {
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: transform .3s, box-shadow .3s;
      cursor: pointer
    }

    .blog-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, .14)
    }

    .blog-card:hover .blog-img {
      transform: scale(1.07)
    }

    .blog-img-wrap {
      overflow: hidden;
      height: 170px;
      position: relative
    }

    .blog-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s;
      display: block
    }

    .blog-img-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(26, 26, 46, .5) 0%, transparent 60%)
    }

    .blog-tag-overlay {
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--primary);
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 20px
    }

    .blog-body {
      padding: 14px
    }

    .blog-body h4 {
      font-size: 13px;
      font-weight: 800;
      margin-bottom: 5px;
      color: var(--dark)
    }

    .blog-body p {
      font-size: 11px;
      color: #888;
      line-height: 1.5
    }

    .read-more {
      color: var(--primary);
      font-weight: 800;
      font-size: 11px;
      text-decoration: none;
      display: inline-block;
      margin-top: 8px
    }

    .read-more:hover {
      color: var(--purple)
    }

    /* NEWSLETTER */
    .newsletter {
      position: relative;
      overflow: hidden
    }

    .nl-bg {
      width: 100%;
      height: 320px;
      object-fit: cover;
      display: block
    }

    .nl-ov {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(255, 107, 107, .88), rgba(155, 93, 229, .72))
    }

    .nl-content {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px
    }

    .nl-content h2 {
      
      font-size: 2.2rem;
      color: #fff;
      margin-bottom: 8px;
      text-shadow: 0 2px 12px rgba(0, 0, 0, .2)
    }

    .nl-content p {
      color: rgba(255, 255, 255, .92);
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 22px;
      text-align: center
    }

    .nl-form {
      display: flex;
      gap: 10px;
      width: 100%;
      max-width: 500px;
      flex-wrap: wrap;
      justify-content: center
    }

    .nl-form input {
      flex: 1;
      min-width: 200px;
      padding: 13px 20px;
      border-radius: 50px;
      border: none;
      font-family: 'Nunito', sans-serif;
      font-size: 14px;
      outline: none
    }

    .nl-form button {
      background: var(--dark);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 13px 28px;
      
      font-size: 1rem;
      cursor: pointer;
      transition: background .2s, transform .2s
    }

    .nl-form button:hover {
      background: var(--purple);
      transform: scale(1.05)
    }

    /* FOOTER */
    footer {
      background: var(--dark);
      color: #aaa;
      padding: 50px 20px 20px
    }

    .footer-grid {
      max-width: 1300px;
      margin: auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 36px;
      margin-bottom: 36px
    }

    .footer-logo {
      
      font-size: 1.7rem;
      color: #fff;
      margin-bottom: 12px
    }

    .footer-logo span {
      color: var(--secondary)
    }

    .footer-grid p {
      font-size: 12px;
      line-height: 1.8
    }

    .footer-grid h4 {
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 12px
    }

    .footer-links {
      list-style: none
    }

    .footer-links li {
      margin-bottom: 9px
    }

    .footer-links a {
      color: #c9ceda;
      text-decoration: none;
      font-size: 12px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 7px 0;
      transition: color .2s, transform .2s, letter-spacing .2s
    }

    .footer-links a::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      box-shadow: 0 0 0 4px rgba(255, 217, 61, .08);
      flex-shrink: 0;
      transition: transform .2s, box-shadow .2s
    }

    .footer-links a:hover {
      color: #fff;
      transform: translateX(6px);
      letter-spacing: .2px
    }

    .footer-links a:hover::before {
      transform: scale(1.15);
      box-shadow: 0 0 0 6px rgba(255, 107, 107, .1)
    }

    .footer-social {
      display: flex;
      gap: 10px;
      margin-top: 14px;
      flex-wrap: wrap
    }

    .social-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      color: #fff;
      transition: transform .2s, box-shadow .2s;
      cursor: pointer;
      text-decoration: none
    }

    .s1 {
      background: #3b5998
    }

    .s2 {
      background: #e1306c
    }

    .s3 {
      background: #1da1f2
    }

    .s4 {
      background: #ff0000
    }

    .social-btn:hover {
      transform: translateY(-4px) scale(1.1);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .3)
    }

    .footer-bottom {
      border-top: 1px solid #333;
      padding-top: 18px;
      text-align: center;
      font-size: 11px;
      max-width: 1300px;
      margin: auto
    }

    .footer-bottom a {
      color: var(--secondary);
      text-decoration: none;
      font-weight: 800;
      border-bottom: 1px solid transparent;
      transition: color .2s, border-color .2s
    }

    .footer-bottom a:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .65)
    }

    /* MISC */
    .view-all {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 24px
    }

    .view-all a {
      background: var(--primary);
      color: #fff;
      text-decoration: none;
      
      font-size: 1rem;
      padding: 11px 28px;
      border-radius: 50px;
      transition: background .2s, transform .2s
    }

    .view-all a:hover {
      background: var(--purple);
      transform: scale(1.05)
    }

    .confetti-piece {
      position: fixed;
      border-radius: 2px;
      animation: fall linear forwards;
      top: -20px;
      pointer-events: none;
      z-index: 9999
    }

    @keyframes fall {
      to {
        top: 110vh;
        transform: rotate(720deg)
      }
    }

    /* RESPONSIVE */
    @media(max-width:1100px) {
      .products-grid {
        grid-template-columns: repeat(4, 1fr)
      }

      #flash-grid,
      #trending-grid {
        grid-template-columns: repeat(4, 1fr)
      }

      .categories-grid {
        grid-template-columns: repeat(4, 1fr)
      }

      .brands-grid {
        grid-template-columns: repeat(4, 1fr)
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr
      }

      .slide-content h1 {
        font-size: 2.6rem
      }

      .slide {
        height: 100%
      }
    }

    @media(max-width:860px) {
      .topbar-right {
        display: none
      }

      .site-header-logo {
        height: 50px;
        max-width: 132px
      }

      .hamburger {
        display: flex
      }

      .search-bar {
        display: none
      }

      .wish-btn {
        display: none
      }

      .mobile-search {
        display: flex !important
      }

      .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 22px;
        z-index: 1050;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.77, 0, .18, 1);
        padding: 90px 20px 40px;
        overflow-y: auto
      }

      .nav-links.open {
        transform: translateX(0)
      }

      .nav-item,
      .nav-link-group,
      .submenu,
      .submenu li {
        width: min(100%, 340px)
      }

      .nav-link-group {
        justify-content: space-between;
        gap: 12px
      }

      .nav-links a {
        font-size: 1.15rem
      }

      .nav-links>li>a,
      .nav-links>li>.nav-link-group>a {
        width: 100%;
        padding: 8px 0
      }

      .submenu-toggle {
        width: 42px;
        height: 42px;
        background: rgba(155, 93, 229, .08);
        border-radius: 14px;
        flex-shrink: 0
      }

      .submenu-toggle i {
        font-size: 14px
      }

      .submenu {
        position: static;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 16px;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        transition: max-height .35s ease, margin-top .35s ease, padding-top .35s ease, padding-bottom .35s ease
      }

      .submenu::before {
        display: none
      }

      .submenu a {
        font-size: 1rem;
        padding: 10px 0
      }

      .submenu .nav-link-group {
        padding-right: 0
      }

      .submenu .submenu {
        left: auto;
        top: auto;
        padding-left: 18px
      }

      .has-submenu:hover>.submenu,
      .has-submenu:focus-within>.submenu {
        transform: none
      }

      .has-submenu.submenu-open>.submenu {
        max-height: 600px;
        margin-top: 6px;
        padding-top: 4px;
        padding-bottom: 4px
      }

      .has-submenu:hover>.nav-link-group>.submenu-toggle i,
      .has-submenu:focus-within>.nav-link-group>.submenu-toggle i {
        transform: none
      }

      .has-submenu.submenu-open>.nav-link-group>.submenu-toggle i,
      .submenu .has-submenu.submenu-open>.nav-link-group>.submenu-toggle i {
        transform: rotate(180deg)
      }

      .slide {
        height: 100%
      }

      .slide-content {
        padding: 0 30px;
        max-width: 70%
      }

      .slide-copy-panel {
        padding: 16px 20px;
        margin-bottom: 18px
      }

      .slide-content h1 {
        font-size: 2rem
      }

      .slide-content p {
        font-size: .9rem;
        margin-bottom: 0
      }

      .slide-btn {
        font-size: .88rem;
        padding: 10px 22px
      }

      .promo-banners {
        grid-template-columns: 1fr 1fr
      }

      .products-grid {
        grid-template-columns: repeat(3, 1fr)
      }

      #deals-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      #flash-grid,
      #trending-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .categories-grid {
        grid-template-columns: repeat(3, 1fr)
      }

      .age-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px
      }

      .brands-grid {
        grid-template-columns: repeat(3, 1fr)
      }

      .discount-content {
        padding: 36px 30px
      }

      .discount-pct {
        font-size: 3rem
      }

      .discount-content h2 {
        font-size: 1.8rem
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px
      }

      .trust-item {
        min-width: 140px;
        padding: 14px 16px
      }
    }

    @media(max-width:600px) {
      .slider-wrap {
        height: calc(100svh - 110px);
        min-height: 320px;
      }

      .slide {
        height: 100%
      }

      .slide-content {
        padding: 0 18px;
        max-width: 76%
      }

      .slide-copy-panel {
        padding: 12px 14px;
        margin-bottom: 14px
      }

      .slide-content h1 {
        font-size: 1.5rem
      }

      .slide-content p {
        display: none
      }

      .slide-btn {
        font-size: .82rem;
        padding: 8px 18px
      }

      .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem
      }

      .trust-bar {
        padding: 0
      }

      .trust-item {
        min-width: 130px;
        padding: 12px 12px
      }

      .trust-item p {
        display: none
      }

      .promo-banners {
        grid-template-columns: 1fr
      }

      .promo-card {
        min-height: 170px
      }

      .promo-text {
        margin: 12px;
        padding: 16px
      }

      .promo-text h3 {
        font-size: 1.18rem
      }

      .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px
      }

      #deals-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      #flash-grid,
      #trending-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .product-img-wrap {
        height: 150px
      }

      .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
      }

      .cat-label {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 10px
      }

      .cat-label h4 {
        font-size: .92rem
      }

      .flash-banner {
        flex-direction: column;
        gap: 10px;
        padding: 18px 16px;
        text-align: center
      }

      .flash-banner h2 {
        font-size: 1.4rem
      }

      .age-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
      }

      .age-label {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 10px
      }

      .age-label strong {
        font-size: .92rem
      }

      .discount-content {
        padding: 28px 20px
      }

      .discount-pct {
        font-size: 2.6rem
      }

      .discount-content h2 {
        font-size: 1.5rem
      }

      .brands-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .blog-grid {
        grid-template-columns: 1fr
      }

      .nl-bg {
        height: 400px
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px
      }

      .section-title h2 {
        font-size: 1.7rem
      }
    }

    @media(max-width:380px) {
      .logo {
        font-size: 1.4rem
      }

      .site-header-logo {
        height: 44px;
        max-width: 116px
      }

      .cart-btn {
        padding: 7px 11px;
        font-size: 12px
      }

      .slide {
        height: 100%
      }

      .slide-content h1 {
        font-size: 1.2rem
      }

      .products-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      #flash-grid,
      #trending-grid {
        grid-template-columns: 1fr
      }

      .categories-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .age-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .brands-grid {
        grid-template-columns: repeat(2, 1fr)
      }
    }










    /* SHOP PAGE */
    /* ══════════════════════════════════════
       SHOP PAGE — PREMIUM REDESIGN
    ══════════════════════════════════════ */


/* ============================================
   WISHLIST PAGE — STUNNING REDESIGN
   ============================================ */

    .shop-shell {
      max-width: 1340px;
      margin: 0 auto;
      padding: 40px 24px 80px;
    }

    /* ── HERO ── */
    .shop-hero {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 32px;
      margin-bottom: 36px;
      padding: 48px 52px;
      border-radius: 36px;
      background: linear-gradient(135deg,
        #fff5f5 0%,
        #fff8f0 35%,
        #f5f0ff 70%,
        #f0fff4 100%);
      border: 1.5px solid rgba(255, 107, 107, .13);
      box-shadow:
        0 24px 64px rgba(255, 107, 107, .08),
        0 4px 16px rgba(26, 26, 46, .06),
        inset 0 1px 0 rgba(255,255,255,.9);
      position: relative;
      overflow: hidden;
    }

    .shop-hero::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 340px; height: 340px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,107,107,.10) 0%, transparent 65%);
      pointer-events: none;
    }

    .shop-hero::after {
      content: '';
      position: absolute;
      bottom: -60px; left: 30%;
      width: 240px; height: 240px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(155,93,229,.07) 0%, transparent 65%);
      pointer-events: none;
    }

    .shop-hero-content { position: relative; z-index: 1; }

    .shop-kicker {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 14px;
      background: linear-gradient(135deg, rgba(255,107,107,.12), rgba(255,107,107,.06));
      color: var(--primary);
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-size: 11px;
      padding: 7px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,107,107,.22);
      backdrop-filter: blur(8px);
    }

    .shop-hero h1 {
      font-family: 'Nunito', sans-serif;
      font-size: 3rem;
      font-weight: 900;
      color: var(--dark);
      margin-bottom: 14px;
      letter-spacing: -.02em;
      line-height: 1.05;
    }

    .shop-hero p {
      max-width: 520px;
      color: #6b7591;
      font-weight: 600;
      line-height: 1.8;
      font-size: .95rem;
    }

    .shop-hero-badge {
      flex-shrink: 0;
      min-width: 168px;
      padding: 28px 32px;
      border-radius: 28px;
      background: #fff;
      box-shadow:
        0 16px 48px rgba(255,107,107,.15),
        0 4px 16px rgba(26,26,46,.08),
        inset 0 1px 0 rgba(255,255,255,1);
      text-align: center;
      position: relative;
      z-index: 1;
      border: 1.5px solid rgba(255,107,107,.12);
      transition: transform .3s, box-shadow .3s;
    }

    .shop-hero-badge:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 60px rgba(255,107,107,.2), 0 4px 16px rgba(26,26,46,.08);
    }

    .shop-hero-badge-icon {
      width: 52px; height: 52px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--primary), #ff3d3d);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem;
      margin: 0 auto 12px;
      box-shadow: 0 8px 24px rgba(255,107,107,.4);
      animation: heartPulse 2.5s ease-in-out infinite;
    }

    @keyframes heartPulse {
      0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255,107,107,.4); }
      50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(255,107,107,.55); }
    }

    .shop-hero-badge strong {
      display: block;
      font-family: 'Nunito', sans-serif;
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--dark);
      line-height: 1;
      margin-bottom: 4px;
    }

    .shop-hero-badge span {
      color: #9099b8;
      font-weight: 800;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    /* ── LAYOUT ── */
    .shop-layout {
      display: grid;
      grid-template-columns: 300px minmax(0, 1fr);
      gap: 28px;
      align-items: start;
    }

    /* ── SIDEBAR ── */
    .shop-sidebar {
      position: sticky;
      top: 88px;
    }

    .shop-sidebar form {
      display: grid;
      gap: 16px;
    }

    .cardx {
      background: #fff;
      border-radius: 22px;
      padding: 20px 18px;
      box-shadow: 0 4px 20px rgba(26,26,46,.07), 0 1px 4px rgba(26,26,46,.04);
      border: 1.5px solid rgba(31,41,55,.06);
      transition: box-shadow .25s;
    }

    .cardx:hover { box-shadow: 0 8px 32px rgba(26,26,46,.10); }

    .cardx-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1.5px solid #f1f5fb;
    }

    .cardx-header i {
      width: 28px; height: 28px;
      border-radius: 8px;
      background: rgba(255,107,107,.1);
      color: var(--primary);
      display: flex; align-items: center; justify-content: center;
      font-size: .8rem;
      flex-shrink: 0;
    }

    .cardx h3 {
      font-family: 'Nunito', sans-serif;
      font-size: .95rem;
      color: var(--dark);
      letter-spacing: .01em;
      margin: 0;
    }

    .shop-search-box { position: relative; }
    .shop-search-box > i {
      position: absolute;
      left: 14px; top: 50%;
      transform: translateY(-50%);
      color: #b0bad4; font-size: .85rem;
      pointer-events: none;
    }

    .shop-search-box input {
      width: 100%;
      border: 1.5px solid #e8edf7;
      background: #f8fbff;
      border-radius: 14px;
      padding: 13px 16px 13px 40px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: .9rem;
      color: var(--dark);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }

    .shop-search-box input:focus {
      border-color: var(--primary);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(255,107,107,.1);
    }

    .shop-filter-list { display: grid; gap: 8px; }

    .shop-check {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #f8faff;
      border: 1.5px solid transparent;
      cursor: pointer;
      transition: all .2s ease;
    }

    .shop-check:hover { border-color: rgba(255,107,107,.22); background: #fff5f5; transform: translateX(2px); }
    .shop-check:has(input:checked) { border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.06); }
    .shop-check-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

    .shop-check span {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--dark); font-weight: 700; font-size: 13.5px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    .shop-check small {
      flex-shrink: 0; color: #fff; background: #c8d0e4;
      font-weight: 800; font-size: 10px;
      min-width: 22px; height: 22px; border-radius: 999px;
      display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
    }

    .shop-check:has(input:checked) small { background: var(--primary); }
    .shop-check input { width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }

    .shop-swatch {
      width: 13px; height: 13px; border-radius: 50%;
      display: inline-block; flex-shrink: 0;
      border: 2px solid rgba(31,41,55,.15);
      box-shadow: 0 1px 4px rgba(0,0,0,.1);
    }

    .shop-sidebar-actions { display: flex; gap: 10px; }

    .shop-apply-btn,
    .shop-reset-btn {
      flex: 1; border: none; border-radius: 14px;
      padding: 13px 16px; text-align: center;
      font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem;
      text-decoration: none; cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center; gap: 7px;
      transition: transform .2s, box-shadow .2s, background .2s;
    }

    .shop-apply-btn {
      background: linear-gradient(135deg, var(--primary) 0%, #ff4646 100%);
      color: #fff; box-shadow: 0 6px 20px rgba(255,107,107,.35);
    }

    .shop-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,107,107,.45); }

    .shop-reset-btn { background: #f4f6fb; color: #6b7280; border: 1.5px solid #e4e9f4; }
    .shop-reset-btn:hover { background: #e8ecf6; }

    /* ── MAIN ── */
    .shop-main { min-width: 0; }

    .shop-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 28px;
      padding: 20px 24px;
      background: #fff;
      border-radius: 20px;
      border: 1.5px solid rgba(31,41,55,.06);
      box-shadow: 0 4px 16px rgba(26,26,46,.06);
    }

    .shop-toolbar-left h2 {
      font-family: 'Nunito', sans-serif;
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--dark);
      margin-bottom: 2px;
    }

    .shop-toolbar-left p {
      color: #8690ab; font-weight: 700; font-size: .85rem;
    }

    .shop-toolbar-left p strong { color: var(--primary); }

    .shop-toolbar-right {
      display: flex; align-items: center; gap: 12px; flex-shrink: 0;
    }

    .shop-filter-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, rgba(255,107,107,.1), rgba(255,107,107,.06));
      color: var(--primary);
      border: 1px solid rgba(255,107,107,.2);
      border-radius: 999px;
      padding: 8px 16px;
      font-weight: 800;
      font-size: 12px;
      letter-spacing: .04em;
    }

    .shop-filter-status-pill i { font-size: 10px; }

    /* ── SORT DROPDOWN ── */
    .shop-sort-form {
      display: flex;
      align-items: center;
    }

    select.sort {
      appearance: none;
      -webkit-appearance: none;
      background-color: #fff;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B5DE5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      border: 1.5px solid rgba(155, 93, 229, 0.25);
      border-radius: 999px;
      padding: 8px 36px 8px 16px;
      font-family: 'Nunito', sans-serif;
      font-size: 13px;
      font-weight: 800;
      color: #9B5DE5;
      cursor: pointer;
      outline: none;
      transition: border-color .2s, box-shadow .2s, background-color .2s;
      min-width: 160px;
      box-shadow: 0 2px 8px rgba(155, 93, 229, .08);
    }

    select.sort:hover {
      border-color: rgba(155, 93, 229, 0.5);
      box-shadow: 0 4px 14px rgba(155, 93, 229, .15);
    }

    select.sort:focus {
      border-color: #9B5DE5;
      box-shadow: 0 0 0 3px rgba(155, 93, 229, .15);
    }

    .sort-select-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .sort-select-icon {
      position: absolute;
      left: 14px;
      font-size: 12px;
      color: #9B5DE5;
      pointer-events: none;
      z-index: 1;
    }

    .sort-select-wrap select.sort {
      padding-left: 32px;
    }

    /* ── PRODUCT GRID ── */
    .shop-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 22px;
    }

    /* ── PRODUCT CARD (Wishlist) ── */
    .shop-product-card {
      background: #fff;
      border-radius: 24px;
      overflow: hidden;
      border: 1.5px solid rgba(31,41,55,.06);
      box-shadow: 0 4px 20px rgba(26,26,46,.07);
      transition: transform .35s cubic-bezier(.34,1.26,.64,1), box-shadow .35s;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .shop-product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 56px rgba(26,26,46,.14), 0 4px 16px rgba(26,26,46,.06);
    }

    /* Image area */
    .shop-product-card .product-img-wrap {
      position: relative;
      height: 220px;
      overflow: hidden;
      background: linear-gradient(145deg, #fdf4f4 0%, #f8f4ff 50%, #f4fdf8 100%);
      flex-shrink: 0;
    }

    /* ── IMAGE FIX: proper sizing & fallback ── */
    .shop-product-card .prod-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      padding: 16px;
      transition: transform .45s cubic-bezier(.34,1.26,.64,1);
      display: block;
    }

    .shop-product-card:hover .prod-img {
      transform: scale(1.08);
    }

    /* Broken-image fallback: show a toy icon placeholder */
    .shop-product-card .prod-img[src=""],
    .shop-product-card .prod-img:not([src]) {
      visibility: hidden;
    }

    .shop-product-card .product-img-wrap::before {
      content: '\f1e0';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: #e0d8f0;
      z-index: 0;
    }

    .shop-product-card .prod-img {
      position: relative;
      z-index: 1;
    }

    /* Card body */
    .shop-product-card .card-body {
      padding: 16px 16px 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    /* Meta row: category + SKU */
    .shop-meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 10px;
    }

    .shop-cat-chip,
    .shop-sku,
    .shop-attr-pill,
    .shop-tag-pill {
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 10px;
      padding: 3px 9px;
      border-radius: 999px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .shop-cat-chip {
      background: linear-gradient(135deg, rgba(79,195,247,.15), rgba(79,195,247,.08));
      color: #0d7fb5;
      border: 1px solid rgba(79,195,247,.25);
    }

    .shop-sku {
      background: rgba(26,26,46,.05);
      color: #9099b8;
      font-family: monospace;
      font-size: 9px;
      letter-spacing: .04em;
      text-transform: none;
      padding: 3px 8px;
      border-radius: 6px;
    }

    /* Product name */
    .shop-product-card .card-body h4 {
      font-size: 14.5px;
      font-weight: 900;
      margin-bottom: 6px;
      color: var(--dark);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.3;
    }

    .shop-product-card .card-body h4 a {
      color: inherit;
      text-decoration: none;
      transition: color .2s;
    }

    .shop-product-card .card-body h4 a:hover { color: var(--primary); }

    .shop-card-copy {
      font-size: 12px;
      line-height: 1.7;
      color: #9099b0;
      margin-bottom: 12px;
    }

    /* Attribute pills row */
    .shop-attr-row {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .shop-attr-pill {
      background: rgba(255,217,61,.15);
      color: #8a6800;
      border: 1px solid rgba(255,217,61,.3);
    }

    .shop-tag-pill {
      background: rgba(155,93,229,.1);
      color: #6d28d9;
      border: 1px solid rgba(155,93,229,.2);
    }

    /* Card footer */
    .shop-card-footer { margin-top: auto; }
    .shop-card-footer .add-cart + .add-cart { margin-top: 8px; }

    .card-qty-ctrl {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      height: 44px;
      border: 1.5px solid #dbe5f0;
      border-radius: 14px;
      background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
      margin-bottom: 10px;
      overflow: hidden;
    }

    .card-qty-btn {
      height: 100%;
      border: 0;
      background: transparent;
      color: #0f172a;
      font-size: 18px;
      font-weight: 900;
      cursor: pointer;
      transition: background .2s, color .2s;
    }

    .card-qty-btn:hover {
      background: rgba(34,197,94,.1);
      color: #16a34a;
    }

    .card-qty-input {
      width: 100%;
      border: 0;
      background: transparent;
      color: #0f172a;
      font-size: 15px;
      font-weight: 800;
      text-align: center;
      outline: none;
      -moz-appearance: textfield;
    }

    .card-qty-input::-webkit-inner-spin-button,
    .card-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

    /* Out of stock banner */
    .shop-stock-banner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      background: linear-gradient(135deg, #fff1f1 0%, #ffe4e4 100%);
      border: 1.5px solid #fca5a5;
      border-radius: 10px;
      color: #dc2626;
      font-family: 'Nunito', sans-serif;
      font-weight: 900;
      font-size: 11px;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 8px 12px;
      margin-bottom: 10px;
      animation: stockPulse 2.5s ease-in-out infinite;
    }

    .shop-stock-banner i { font-size: 12px; flex-shrink: 0; }

    @keyframes stockPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
      50%       { box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
    }

    /* Disabled state */
    .add-cart:disabled,
    .add-cart--options:disabled {
      background: #e5e7eb !important;
      color: #9ca3af !important;
      box-shadow: none !important;
      cursor: not-allowed !important;
      transform: none !important;
      opacity: 1 !important;
    }

    .add-cart:disabled:hover,
    .add-cart--options:disabled:hover {
      transform: none !important;
      box-shadow: none !important;
    }

    /* Out-of-stock card overlay */
    .shop-product-card.is-out-of-stock .product-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,.4);
      z-index: 2;
      pointer-events: none;
    }

    /* Price row */
    .price-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    .price {
      font-family: 'Nunito', sans-serif;
      font-size: 1.25rem;
      font-weight: 900;
      color: var(--primary);
    }

    .price-old {
      font-size: 12px;
      color: #c4cede;
      text-decoration: line-through;
      font-weight: 700;
    }

    .shop-sale-badge {
      display: inline-block;
      background: linear-gradient(135deg, #ff6b35, #ff4646);
      color: #fff;
      font-size: 9px;
      font-weight: 900;
      padding: 3px 8px;
      border-radius: 6px;
      letter-spacing: .08em;
      box-shadow: 0 3px 8px rgba(255,107,107,.3);
    }

    /* Add to cart / select options buttons */
    .add-cart {
      width: 100%;
      border: none;
      border-radius: 14px;
      padding: 12px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      transition: all .25s;
      letter-spacing: .01em;
    }

    .add-cart:not(.add-cart--options) {
      background: linear-gradient(135deg, var(--primary) 0%, #ff3d3d 100%);
      color: #fff;
      box-shadow: 0 6px 18px rgba(255,107,107,.32);
    }

    .add-cart:not(.add-cart--options):hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(255,107,107,.44);
    }

    .buy-now-card-btn:not(.add-cart--options) {
      background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
      box-shadow: 0 6px 18px rgba(34,197,94,.32);
    }

    .buy-now-card-btn:not(.add-cart--options):hover {
      box-shadow: 0 12px 28px rgba(34,197,94,.44);
    }

    .add-cart--options {
      background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
      color: #fff;
      box-shadow: 0 6px 18px rgba(155,93,229,.3);
    }

    .add-cart--options:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(155,93,229,.44);
    }

    /* Card actions overlay (Quick View) */
    .shop-product-card .card-actions {
      bottom: 60px;
      z-index: 4;
    }

    .shop-product-card:hover .card-actions {
      opacity: 1;
      bottom: 70px;
    }

    /* Wishlist (heart) button */
    .wishlist-btn {
      width: 36px; height: 36px;
      border-radius: 12px;
      background: rgba(255,255,255,.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 14px rgba(0,0,0,.13);
      border: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      color: #ddd;
      position: absolute;
      top: 10px; right: 10px;
      z-index: 3;
      transition: color .2s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
    }

    .wishlist-btn:hover {
      color: var(--primary);
      transform: scale(1.2);
      box-shadow: 0 6px 20px rgba(255,107,107,.25);
    }

    .wishlist-btn.active {
      color: var(--primary);
      background: rgba(255,107,107,.08);
    }

    /* Featured badge */
    .badge {
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .04em;
      position: absolute;
      top: 10px; left: 10px;
      z-index: 3;
    }

    .badge-hot {
      background: linear-gradient(135deg, var(--purple), #7c3aed);
      color: #fff;
      box-shadow: 0 4px 12px rgba(155,93,229,.4);
    }

    /* ── EMPTY STATE ── */
    .shop-empty-state {
      grid-column: 1 / -1;
      background: #fff;
      border-radius: 28px;
      padding: 72px 32px;
      box-shadow: 0 8px 32px rgba(26,26,46,.07);
      border: 2px dashed rgba(255,107,107,.18);
      text-align: center;
      margin-top: 8px;
    }

    .shop-empty-icon {
      width: 88px; height: 88px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(255,107,107,.1), rgba(255,107,107,.04));
      border: 2px dashed rgba(255,107,107,.22);
      color: #ffb8b8;
      font-size: 2.2rem;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 22px;
      animation: heartPulse 3s ease-in-out infinite;
    }

    .shop-empty-state h3 {
      font-family: 'Nunito', sans-serif;
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--dark);
      margin-bottom: 10px;
    }

    .shop-empty-state p {
      color: #8690ab; font-weight: 700; font-size: .95rem; margin-bottom: 0;
    }

    /* ── ALERT ── */
    .store-alert {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 20px; border-radius: 16px;
      font-weight: 800; font-size: .9rem;
      margin-bottom: 24px;
    }

    .store-alert-success {
      background: linear-gradient(135deg, rgba(107,203,119,.1), rgba(107,203,119,.05));
      color: #16a34a;
      border: 1.5px solid rgba(107,203,119,.25);
    }

    /* ── RESPONSIVE ── */
    @media(max-width:1100px) {
      .shop-layout { grid-template-columns: 270px minmax(0, 1fr); }
    }

    @media(max-width:860px) {
      .shop-layout { grid-template-columns: 1fr; }

      .shop-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
      }

      .shop-hero h1 { font-size: 2.2rem; }

      .shop-sidebar { position: static; }

      .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
      }

      .shop-toolbar-right,
      .shop-sidebar-actions { width: 100%; }
    }

    .shop-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    @media (max-width: 767.98px) {
      .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    }

    @media (max-width: 575.98px) {
      .shop-grid { grid-template-columns: 1fr !important; }
      .shop-hero h1 { font-size: 1.9rem; }
      .shop-hero { padding: 24px 20px; }
    }


        /* CART + CHECKOUT + AUTH */
    .inline-auth-form {
      display: inline;
    }

    .inline-auth-form button {
      background: none;
      border: none;
      color: inherit;
      font: inherit;
      cursor: pointer;
      padding: 0;
      margin-left: 10px;
    }

    .store-auth-shell {
      min-height: calc(100vh - 260px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 44px 20px 60px;
    }

    .store-auth-card {
      width: 100%;
      max-width: 560px;
      background: #fff;
      border-radius: 28px;
      padding: 34px;
      box-shadow: 0 20px 45px rgba(21, 33, 72, 0.12);
    }

    .store-auth-copy h1 {
      
      font-size: 2rem;
      color: var(--dark);
      margin-bottom: 10px;
    }

    .store-auth-copy p {
      color: #6f7a95;
      font-weight: 700;
      line-height: 1.7;
      margin-bottom: 22px;
    }

    .store-auth-form {
      display: grid;
      gap: 14px;
    }

    .store-auth-form label {
      font-weight: 800;
      color: var(--dark);
      font-size: 14px;
    }

    .store-auth-form input,
    .store-auth-form select,
    .store-auth-form textarea {
      width: 100%;
      border: 1px solid #dae2f0;
      background: #f9fbff;
      border-radius: 16px;
      padding: 14px 16px;
      font-family: 'Nunito', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--dark);
      outline: none;
    }

    .store-auth-form textarea {
      resize: vertical;
    }

    .store-auth-form input:focus,
    .store-auth-form select:focus,
    .store-auth-form textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(255, 107, 107, .10);
    }

    .store-check-inline {
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .store-check-inline input {
      width: auto;
    }

    .store-auth-switch {
      margin-top: 18px;
      color: #68748f;
      font-weight: 700;
    }

    .store-auth-switch a {
      color: var(--primary);
      text-decoration: none;
    }

    .store-alert {
      padding: 14px 16px;
      border-radius: 16px;
      margin-bottom: 20px;
      font-weight: 800;
    }

    .store-alert-success {
      background: #dcfce7;
      color: #166534;
    }

    .store-alert-error {
      background: #fee2e2;
      color: #991b1b;
    }

    .cart-hero {
      margin-bottom: 24px;
    }

    /* ── Coupon block inside Order Summary ── */
    .coupon-block {
      margin-bottom: 4px;
    }

    /* Inline pill: icon + input + button fused into one rounded container */
    .coupon-pill-form {
      margin-bottom: 16px;
    }

    .coupon-pill {
      display: flex;
      align-items: center;
      background: #f4f6fb;
      border: 1.5px solid #dde4f1;
      border-radius: 50px;
      padding: 5px 5px 5px 14px;
      gap: 8px;
      transition: border-color .2s, box-shadow .2s;
    }

    .coupon-pill:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255, 107, 107, .12);
      background: #fff;
    }

    .coupon-pill__icon {
      color: #a0aec0;
      font-size: .95rem;
      flex-shrink: 0;
      transition: color .2s;
    }

    .coupon-pill:focus-within .coupon-pill__icon {
      color: var(--primary);
    }

    .coupon-pill__input {
      flex: 1;
      border: none;
      background: transparent;
      font-family: 'Nunito', sans-serif;
      font-size: .9rem;
      font-weight: 700;
      color: var(--dark);
      outline: none;
      min-width: 0;
      letter-spacing: .04em;
    }

    .coupon-pill__input::placeholder {
      color: #b0bac9;
      font-weight: 600;
    }

    .coupon-pill__btn {
      flex-shrink: 0;
      background: linear-gradient(135deg, var(--primary) 0%, #ff4646 100%);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 9px 18px;
      font-family: 'Nunito', sans-serif;
      font-size: .85rem;
      font-weight: 800;
      cursor: pointer;
      letter-spacing: .03em;
      transition: transform .18s, box-shadow .18s;
      box-shadow: 0 4px 12px rgba(255, 107, 107, .3);
    }

    .coupon-pill__btn:hover {
      transform: scale(1.04);
      box-shadow: 0 6px 18px rgba(255, 107, 107, .4);
    }

    /* Active coupon pill: green success state */
    .coupon-applied {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #f0fdf4;
      border: 1.5px solid #bbf7d0;
      border-radius: 50px;
      padding: 8px 8px 8px 14px;
      margin-bottom: 16px;
    }

    .coupon-applied__icon {
      color: #16a34a;
      font-size: .9rem;
    }

    .coupon-applied__code {
      font-weight: 900;
      font-size: .88rem;
      color: #15803d;
      letter-spacing: .06em;
    }

    .coupon-applied__label {
      font-size: .82rem;
      font-weight: 600;
      color: #4ade80;
      flex: 1;
    }

    .coupon-applied__remove-form {
      display: inline-flex;
    }

    .coupon-applied__remove {
      background: #dcfce7;
      border: none;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #16a34a;
      font-size: .8rem;
      cursor: pointer;
      transition: background .18s, color .18s;
    }

    .coupon-applied__remove:hover {
      background: #bbf7d0;
      color: #14532d;
    }

    /* Discount row green highlight */
    .summary-row--discount {
      color: #16a34a !important;
    }

    .discount-value {
      color: #16a34a !important;
    }

    .cart-layout,
    .checkout-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 24px;
      align-items: start;
    }

    .cart-table-card,
    .checkout-form-card,
    .cart-summary-card {
      background: #fff;
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .cart-table {
      width: 100%;
      border-collapse: collapse;
    }

    .cart-table th,
    .cart-table td {
      padding: 16px 12px;
      border-bottom: 1px solid #edf2f8;
      text-align: left;
      vertical-align: top;
    }

    .cart-table th {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: #7c88a4;
    }

    .cart-product-cell {
      display: flex;
      gap: 14px;
      align-items: center;
    }

    .cart-product-cell img {
      width: 84px;
      height: 84px;
      object-fit: contain;
      border-radius: 16px;
      border: 1.5px solid #edf2f8;
      background: #f8fafc;
      padding: 6px;
      flex-shrink: 0;
    }

    /* ── Quantity Stepper ── */
    .cart-qty-form {
      display: inline-flex;
      align-items: center;
      background: #f4f6fb;
      border: 1.5px solid #e2e8f5;
      border-radius: 50px;
      padding: 4px;
      gap: 0;
      transition: border-color .2s, box-shadow .2s;
    }

    .cart-qty-form:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255, 107, 107, .1);
    }

    .cart-qty-btn {
      width: 32px;
      height: 32px;
      border: none;
      background: #fff;
      border-radius: 50%;
      font-size: 16px;
      font-weight: 900;
      cursor: pointer;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--dark);
      box-shadow: 0 1px 4px rgba(26,26,46,.10);
      transition: background .18s, color .18s, transform .15s, box-shadow .18s;
      flex-shrink: 0;
      user-select: none;
    }

    .cart-qty-btn:hover:not(:disabled) {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 4px 12px rgba(255,107,107,.30);
      transform: scale(1.08);
    }

    .cart-qty-btn:active:not(:disabled) {
      transform: scale(0.94);
    }

    .cart-qty-btn:disabled {
      opacity: .35;
      cursor: not-allowed;
    }

    .cart-qty-form input {
      width: 44px;
      border: none;
      background: transparent;
      text-align: center;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: .95rem;
      color: var(--dark);
      outline: none;
      -moz-appearance: textfield;
      padding: 0 2px;
    }

    .cart-qty-form input::-webkit-inner-spin-button,
    .cart-qty-form input::-webkit-outer-spin-button {
      -webkit-appearance: none;
    }

    /* ── Delete button ── */
    .cart-remove-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: 1.5px solid #fee2e2;
      background: #fff5f5;
      color: #ef4444;
      border-radius: 50px;
      padding: 7px 14px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: .82rem;
      cursor: pointer;
      transition: background .18s, border-color .18s, color .18s, transform .15s, box-shadow .18s;
      letter-spacing: .02em;
      white-space: nowrap;
    }

    .cart-remove-btn:hover {
      background: #ef4444;
      border-color: #ef4444;
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(239,68,68,.28);
    }

    .cart-remove-btn:active {
      transform: scale(0.96);
    }

    .cart-qty-form .shop-reset-btn {
      border: 1px solid #dbe2f0;
      background: #fff;
      border-radius: 999px;
      padding: 9px 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .cart-row.is-loading {
      opacity: .65;
    }

    .cart-summary-card h3,
    .checkout-form-card h3 {
      
      font-size: 1.2rem;
      color: var(--dark);
      margin-bottom: 18px;
    }

    .summary-row,
    .checkout-item-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid #edf2f8;
      color: #63708c;
      font-weight: 800;
    }

    .summary-row.total {
      color: var(--dark);
      font-size: 1.05rem;
    }

    .cart-cta {
      width: 100%;
      margin-top: 16px;
      display: inline-flex;
      justify-content: center;
    }

    .cart-cta.secondary {
      margin-top: 10px;
    }

    .checkout-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .form-row {
      display: grid;
      gap: 8px;
    }

    .form-row label {
      font-size: 13px;
      font-weight: 800;
      color: var(--dark);
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
      width: 100%;
      border: 1px solid #dae2f0;
      background: #f9fbff;
      border-radius: 16px;
      padding: 14px 16px;
      font-family: 'Nunito', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--dark);
      outline: none;
    }

    .form-row textarea {
      resize: vertical;
    }

    .form-row-full {
      grid-column: 1 / -1;
    }

    .checkout-submit {
      margin-top: 22px;
      width: 100%;
    }

    .checkout-success-card {
      max-width: 760px;
      margin: 0 auto;
    }

    .checkout-success-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin: 22px 0 28px;
    }

    .checkout-success-meta div {
      background: #f8fbff;
      border-radius: 18px;
      padding: 18px;
    }

    .checkout-success-meta span {
      display: block;
      color: #7e88a4;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .checkout-success-meta strong {
      color: var(--dark);
      font-size: 1rem;
    }

    @media(max-width:980px) {

      .cart-layout,
      .checkout-layout,
      .checkout-grid,
      .checkout-success-meta {
        grid-template-columns: 1fr;
      }

      .cart-product-cell {
        align-items: flex-start;
      }
    }

    @media(max-width:700px) {

      .store-auth-card,
      .cart-table-card,
      .checkout-form-card,
      .cart-summary-card {
        padding: 20px;
      }

      .cart-table,
      .cart-table thead,
      .cart-table tbody,
      .cart-table th,
      .cart-table td,
      .cart-table tr {
        display: block;
        width: 100%;
      }

      .cart-table thead {
        display: none;
      }

      .cart-table tr {
        padding: 12px 0;
        border-bottom: 1px solid #edf2f8;
      }

      .cart-table td {
        padding: 10px 0;
        border-bottom: none;
      }
    }

    .account-layout {
      display: grid;
      grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
      gap: 24px;
      align-items: start;
    }

    .account-sidebar-card,
    .account-content-card,
    .order-detail-card {
      background: #fff;
      border-radius: 24px;
      border: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
    }

    .account-sidebar-card {
      padding: 24px;
      position: sticky;
      top: 120px;
    }

    .account-sidebar-card h3 {
      margin-bottom: 6px;
      font-size: 1.35rem;
    }

    .account-sidebar-card p {
      margin-bottom: 18px;
      color: #64748b;
      word-break: break-word;
    }

    .account-nav-link {
      width: 100%;
      justify-content: center;
      display: inline-flex;
      margin-bottom: 10px;
    }

    .account-nav-link.active {
      background: linear-gradient(135deg, #0f766e, #14b8a6);
      border-color: transparent;
      color: #fff;
    }

    .account-content-card {
      padding: 28px;
    }

    .full-width-card {
      width: 100%;
    }

    .order-history-list {
      display: grid;
      gap: 18px;
    }

    .order-history-card {
      padding: 22px;
      border-radius: 20px;
      border: 1px solid rgba(15, 23, 42, 0.08);
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .order-history-top {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: flex-start;
      margin-bottom: 18px;
    }

    .order-history-top h3 {
      margin: 4px 0 6px;
      font-size: 1.3rem;
    }

    .order-history-top p,
    .order-detail-card p,
    .order-item-row p {
      margin: 0;
      color: #64748b;
    }

    .order-meta-label {
      display: inline-block;
      font-size: 0.8rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0f766e;
      font-weight: 800;
    }

    .order-history-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }

    .order-history-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .order-history-grid strong,
    .order-item-meta strong {
      display: block;
      margin-top: 6px;
      color: #0f172a;
    }

    .order-history-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .order-history-actions.left-align {
      justify-content: flex-start;
    }

    .order-detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .order-detail-card {
      padding: 24px;
    }

    .order-detail-card h3 {
      margin-bottom: 16px;
    }

    .order-items-list {
      display: grid;
      gap: 14px;
    }

    .order-item-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .order-item-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .order-item-meta {
      text-align: right;
    }

    .pagination-shell {
      margin-top: 24px;
    }

    .pagination-shell nav {
      display: flex;
      justify-content: center;
    }

    .pagination-shell svg {
      width: 18px;
      height: 18px;
    }

    @media (max-width: 960px) {

      .account-layout,
      .order-detail-grid,
      .order-history-grid {
        grid-template-columns: 1fr;
      }

      .account-sidebar-card {
        position: static;
      }
    }

    @media (max-width: 640px) {

      .account-content-card,
      .order-detail-card,
      .order-history-card,
      .account-sidebar-card {
        padding: 20px;
      }

      .order-history-top,
      .order-item-row {
        flex-direction: column;
        align-items: flex-start;
      }

      .order-history-badges,
      .order-item-meta {
        justify-content: flex-start;
        text-align: left;
      }
    }

    .cat-card-link {
      text-decoration: none;
      color: inherit;
    }

    .cat-card-link::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: 1px solid rgba(255, 255, 255, 0.18);
      opacity: 0;
      transition: opacity .25s ease;
    }

    .cat-card-link:hover::after {
      opacity: 1;
    }

    .cat-count {
      display: inline-flex;
      align-items: center;
      margin-bottom: 10px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .18);
      backdrop-filter: blur(10px);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .cat-label p {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      max-width: 240px;
    }

    .product-image-link {
      display: block;
      height: 100%;
    }

    .product-image-link img {
      display: block;
    }

    .product-name-link {
      color: inherit;
      text-decoration: none;
    }

    .product-name-link:hover {
      color: var(--primary);
    }

    .wish-btn {
      position: relative;
      text-decoration: none;
    }

    .wishlist-count {
      position: absolute;
      top: -5px;
      right: -4px;
      min-width: 18px;
      height: 18px;
      padding: 0 4px;
      border-radius: 999px;
      background: var(--primary);
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* ═══════════════════════════════════════════════════
       PRODUCT DETAIL PAGE — STUNNING REDESIGN
    ═══════════════════════════════════════════════════ */

    .product-detail-shell {
      padding-top: 32px;
      padding-bottom: 80px;
    }

    /* ── Breadcrumbs ── */
    .pd-breadcrumbs {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 20px;
      padding: 10px 18px;
      background: #fff;
      border: 1.5px solid #f1f5f9;
      border-radius: 14px;
      box-shadow: 0 2px 10px rgba(26,26,46,.05);
      font-size: .82rem;
      font-weight: 700;
      color: #94a3b8;
      width: fit-content;
      max-width: 100%;
    }

    .pd-breadcrumbs a {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #64748b;
      text-decoration: none;
      transition: color .2s;
      white-space: nowrap;
    }

    .pd-breadcrumbs a:hover { color: var(--primary); }

    .pd-breadcrumb-sep {
      font-size: .6rem;
      color: #cbd5e1;
      flex-shrink: 0;
    }

    .pd-breadcrumbs strong {
      color: var(--dark);
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 220px;
    }

    /* ── Main product card ── */
    .pd-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
      gap: 0;
      background: #fff;
      border-radius: 36px;
      box-shadow: 0 32px 80px rgba(26,26,46,.13), 0 4px 20px rgba(26,26,46,.07);
      overflow: hidden;
      position: relative;
    }

    /* Subtle top border gradient accent */
    .pd-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
      z-index: 10;
    }

    /* ── Left: Media panel ── */
    .pd-media-panel {
      background: linear-gradient(160deg, #fff8f0 0%, #fdf4ff 45%, #eef6ff 100%);
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
      overflow: hidden;
    }

    /* Decorative background circles */
    .pd-media-panel::after {
      content: '';
      position: absolute;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,107,107,.06) 0%, transparent 70%);
      bottom: -80px;
      right: -80px;
      pointer-events: none;
    }

    .pd-media-frame {
      position: relative;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 36px 36px;
      min-height: 480px;
    }

    .pd-img-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 65% 55% at 50% 52%, rgba(255,107,107,.12) 0%, rgba(155,93,229,.05) 50%, transparent 75%);
      pointer-events: none;
    }

    .pd-main-img {
      position: relative;
      z-index: 1;
      width: 100%;
      max-height: 390px;
      object-fit: contain;
      display: block;
      transition: transform .5s cubic-bezier(.34,1.56,.64,1), filter .4s;
      filter: drop-shadow(0 20px 40px rgba(26,26,46,.18));
    }

    .pd-card:hover .pd-main-img {
      transform: translateY(-10px) scale(1.03);
      filter: drop-shadow(0 32px 56px rgba(26,26,46,.22));
    }

    /* Out-of-stock: dim the image */
    .pd-main-img.is-oos {
      filter: drop-shadow(0 20px 40px rgba(26,26,46,.10)) grayscale(.55) brightness(.92);
    }

    .pd-img-wishlist {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 10;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,.95);
      backdrop-filter: blur(10px);
      color: #94a3b8;
      font-size: 1.15rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(26,26,46,.14);
      transition: transform .25s cubic-bezier(.34,1.56,.64,1), color .2s, background .2s, box-shadow .2s;
    }

    .pd-img-wishlist:hover,
    .pd-img-wishlist.active {
      color: var(--primary);
      transform: scale(1.18);
      background: #fff;
      box-shadow: 0 8px 28px rgba(255,107,107,.3);
    }

    /* ── Stock badge: default (in stock) ── */
    .pd-stock-badge {
      position: absolute;
      bottom: 20px;
      left: 20px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(12px);
      border: 2px solid rgba(34,197,94,.35);
      border-radius: 999px;
      padding: 8px 16px 8px 10px;
      font-size: .8rem;
      font-weight: 800;
      color: #15803d;
      box-shadow: 0 4px 20px rgba(0,0,0,.09);
      transition: all .35s cubic-bezier(.34,1.56,.64,1);
      z-index: 5;
    }

    /* ── OUT OF STOCK: BIG, RED, UNMISSABLE ── */
    .pd-stock-badge--out {
      bottom: 0;
      left: 0;
      right: 0;
      border-radius: 0 0 0 0;
      width: 100%;
      justify-content: center;
      gap: 12px;
      padding: 14px 24px;
      background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
      border: none;
      border-top: 2px solid rgba(255,255,255,.15);
      color: #fff;
      font-size: 1rem;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      box-shadow: 0 -4px 24px rgba(220,38,38,.45), inset 0 1px 0 rgba(255,255,255,.1);
      animation: oosSlideUp .4s cubic-bezier(.34,1.56,.64,1) both;
    }

    @keyframes oosSlideUp {
      from { transform: translateY(100%); opacity: 0; }
      to   { transform: translateY(0);   opacity: 1; }
    }

    .pd-stock-badge--neutral {
      border-color: rgba(148,163,184,.3);
      color: #64748b;
    }

    .pd-stock-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #22c55e;
      flex-shrink: 0;
      box-shadow: 0 0 0 3px rgba(34,197,94,.25);
      animation: pdPulse 2s infinite;
    }

    .pd-stock-badge--out .pd-stock-dot {
      width: 20px;
      height: 20px;
      background: rgba(255,255,255,.2);
      box-shadow: none;
      animation: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
    }

    /* X icon inside OOS dot */
    .pd-stock-badge--out .pd-stock-dot::before,
    .pd-stock-badge--out .pd-stock-dot::after {
      content: '';
      position: absolute;
      width: 11px;
      height: 2.5px;
      background: #fff;
      border-radius: 2px;
    }
    .pd-stock-badge--out .pd-stock-dot::before { transform: rotate(45deg); }
    .pd-stock-badge--out .pd-stock-dot::after  { transform: rotate(-45deg); }

    .pd-stock-badge--neutral .pd-stock-dot {
      background: #94a3b8;
      box-shadow: none;
      animation: none;
    }

    @keyframes pdPulse {
      0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
      50%       { box-shadow: 0 0 0 7px rgba(34,197,94,.07); }
    }

    .pd-stock-qty {
      color: #64748b;
      font-weight: 700;
    }

    .pd-stock-badge--out .pd-stock-qty {
      color: rgba(255,255,255,.75);
      font-weight: 800;
      font-size: .85rem;
    }

    /* Chips below image */
    .pd-media-chips {
      display: flex;
      gap: 10px;
      padding: 16px 24px 24px;
      flex-wrap: wrap;
    }

    .pd-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .04em;
    }

    .pd-chip--cat {
      background: linear-gradient(135deg, rgba(255,107,107,.12) 0%, rgba(255,107,107,.06) 100%);
      color: var(--primary);
      border: 1.5px solid rgba(255,107,107,.22);
    }

    .pd-chip--sku {
      background: #f1f5f9;
      color: #64748b;
      border: 1.5px solid #e2e8f0;
      text-transform: uppercase;
      font-size: .7rem;
    }

    /* ── Right: Content panel ── */
    .pd-content-panel {
      padding: 44px 48px 44px 44px;
      display: flex;
      flex-direction: column;
      gap: 0;
      justify-content: center;
    }

    .pd-title {
      
      font-size: clamp(2rem, 3.5vw, 2.9rem);
      line-height: 1.08;
      color: var(--dark);
      margin: 0 0 10px;
      letter-spacing: -.01em;
    }

    .pd-short-desc {
      color: #64748b;
      line-height: 1.75;
      font-size: .95rem;
      margin-bottom: 6px;
    }

    /* ── OOS banner inside content panel ── */
    .pd-oos-banner {
      display: none;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
      border: 2px solid #fca5a5;
      border-radius: 18px;
      margin: 18px 0 0;
    }

    .pd-oos-banner.visible {
      display: flex;
      animation: oosbannerIn .4s cubic-bezier(.34,1.56,.64,1) both;
    }

    @keyframes oosbannerIn {
      from { opacity: 0; transform: scale(.96) translateY(6px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }

    .pd-oos-banner-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: linear-gradient(135deg, #dc2626, #b91c1c);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.1rem;
      flex-shrink: 0;
      box-shadow: 0 6px 16px rgba(220,38,38,.35);
    }

    .pd-oos-banner-text strong {
      display: block;
      
      font-size: 1.05rem;
      color: #b91c1c;
      line-height: 1.2;
    }

    .pd-oos-banner-text span {
      font-size: .8rem;
      font-weight: 700;
      color: #dc2626;
      opacity: .75;
    }

    /* Price block */
    .pd-price-block {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin: 28px 0 0;
      padding: 22px 26px;
      background: linear-gradient(135deg, #fff5f5 0%, #fef9f0 100%);
      border-radius: 22px;
      border: 2px solid rgba(255,107,107,.14);
      position: relative;
      overflow: visible;
      transition: border-color .35s, box-shadow .35s;
    }

    /* Left accent bar */
    .pd-price-block::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 5px;
      background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
      border-radius: 4px 0 0 4px;
    }

    /* Price flash on variant change */
    .pd-price-block.price-flash {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(255,107,107,.12);
    }

    /* Price change label that pops above the price */
    .pd-price-updated {
      position: absolute;
      top: -18px;
      right: 16px;
      background: linear-gradient(135deg, var(--primary), #ff4646);
      color: #fff;
      font-size: .68rem;
      font-weight: 900;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(255,107,107,.4);
      opacity: 0;
      transform: translateY(6px) scale(.9);
      transition: opacity .25s, transform .25s;
      pointer-events: none;
      white-space: nowrap;
      z-index: 2;
    }

    .pd-price-block.price-flash .pd-price-updated {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* Animated price number */
    @keyframes priceJump {
      0%   { transform: scale(1); }
      30%  { transform: scale(1.18) translateY(-3px); }
      55%  { transform: scale(1.1) translateY(-1px); }
      100% { transform: scale(1) translateY(0); }
    }

    .pd-price-main {
      
      font-size: 2.6rem;
      color: var(--dark);
      line-height: 1;
      transition: color .3s;
    }

    .pd-price-main.animating {
      animation: priceJump .45s cubic-bezier(.34,1.56,.64,1);
      color: var(--primary);
    }

    .pd-price-old {
      font-size: 1.1rem;
      color: #94a3b8;
      text-decoration: line-through;
      font-weight: 800;
    }

    .pd-save-badge {
      background: linear-gradient(135deg, var(--primary) 0%, #ff4646 100%);
      color: #fff;
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .08em;
      padding: 5px 12px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(255,107,107,.38);
      white-space: nowrap;
    }

    /* Divider */
    .pd-divider {
      height: 1px;
      background: linear-gradient(to right, transparent, #e2e8f0 30%, #e2e8f0 70%, transparent);
      margin: 22px 0;
    }

    /* Section label */
    .pd-section-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .pd-section-label span {
      font-size: .78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #94a3b8;
    }

    .pd-section-label strong {
      font-size: .85rem;
      font-weight: 800;
      color: var(--primary);
    }

    /* Color section */
    .pd-color-section {
      margin-bottom: 20px;
    }

    .pd-color-options {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .pd-color-btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 16px 8px 8px;
      background: #f8fafc;
      border: 2px solid #e2e8f0;
      border-radius: 999px;
      cursor: pointer;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: .88rem;
      color: var(--dark);
      transition: border-color .2s, background .2s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
    }

    .pd-color-btn:hover {
      border-color: rgba(255,107,107,.5);
      background: #fff;
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(255,107,107,.14);
    }

    .pd-color-btn.active {
      border-color: var(--primary);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(255,107,107,.15), 0 10px 28px rgba(255,107,107,.16);
      transform: translateY(-3px);
    }

    .pd-color-swatch {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      border: 2px solid rgba(15,23,42,.1);
      flex-shrink: 0;
    }

    .pd-color-label {
      color: var(--dark);
      white-space: nowrap;
    }

    /* Attribute groups */
    .pd-attrs {
      display: grid;
      gap: 16px;
      margin-bottom: 22px;
    }

    .pd-attr-group { }

    .pd-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pd-pill {
      display: inline-flex;
      align-items: center;
      padding: 7px 16px;
      background: #f1f5f9;
      border: 1.5px solid #e2e8f0;
      border-radius: 999px;
      font-size: .83rem;
      font-weight: 800;
      color: var(--dark);
      transition: border-color .2s, background .2s;
    }

    .pd-pill--tag {
      background: linear-gradient(135deg, rgba(155,93,229,.08) 0%, rgba(79,195,247,.08) 100%);
      border-color: rgba(155,93,229,.2);
      color: var(--purple);
    }

    .pd-select {
      width: 100%;
      padding: 12px 16px;
      border-radius: 16px;
      border: 1.5px solid #e2e8f0;
      font-family: 'Nunito', sans-serif;
      font-size: .9rem;
      font-weight: 700;
      background: #f8fafc;
      color: var(--dark);
      outline: none;
      cursor: pointer;
      transition: border-color .2s, box-shadow .2s;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 42px;
    }

    .pd-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,107,107,.12);
    }

    /* Purchase form */
    .pd-purchase-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 20px;
    }

    .pd-qty-row {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    /* Custom qty stepper */
    .pd-qty-ctrl {
      display: inline-flex;
      align-items: center;
      background: #f1f5f9;
      border: 2px solid #e2e8f0;
      border-radius: 18px;
      overflow: hidden;
      flex-shrink: 0;
      transition: border-color .2s, box-shadow .2s;
    }

    .pd-qty-ctrl:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(255,107,107,.1);
    }

    .pd-qty-btn {
      width: 46px;
      height: 54px;
      border: none;
      background: transparent;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--dark);
      cursor: pointer;
      transition: background .2s, color .2s, transform .15s;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .pd-qty-btn:hover {
      background: var(--primary);
      color: #fff;
    }

    .pd-qty-btn:active {
      transform: scale(.92);
    }

    .pd-qty-input {
      width: 54px;
      height: 54px;
      border: none;
      background: transparent;
      text-align: center;
      
      font-size: 1.15rem;
      color: var(--dark);
      outline: none;
      -moz-appearance: textfield;
    }

    .pd-qty-input::-webkit-inner-spin-button,
    .pd-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

    /* ── Add to cart button ── */
    .pd-add-btn {
      flex: 1;
      min-height: 54px;
      padding: 0 28px;
      background: linear-gradient(135deg, var(--primary) 0%, #ff3b3b 100%);
      color: #fff;
      border: none;
      border-radius: 18px;
      
      font-size: 1.08rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 10px 28px rgba(255,107,107,.38);
      transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, filter .2s, background .3s;
      white-space: nowrap;
      position: relative;
      overflow: hidden;
    }

    .pd-add-btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
      pointer-events: none;
    }

    .pd-add-btn:hover:not(:disabled) {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(255,107,107,.5);
      filter: brightness(1.06);
    }

    .pd-add-btn:active:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(255,107,107,.35);
    }

    .pd-buy-now-btn {
      background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
      box-shadow: 0 10px 28px rgba(34,197,94,.32);
    }

    .pd-buy-now-btn:hover:not(:disabled) {
      box-shadow: 0 18px 40px rgba(34,197,94,.42);
    }

    /* ── Disabled = Out of Stock state ── */
    .pd-add-btn:disabled {
      background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
      color: rgba(255,255,255,.85);
      box-shadow: none;
      cursor: not-allowed;
      opacity: .85;
    }

    .pd-add-btn:disabled::after {
      background: none;
    }

    /* Wishlist button */
    .pd-wishlist-btn {
      width: 100%;
      min-height: 50px;
      padding: 0 24px;
      background: transparent;
      color: #64748b;
      border: 2px solid #e2e8f0;
      border-radius: 18px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: .95rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: border-color .2s, color .2s, background .2s, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
    }

    .pd-wishlist-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(255,107,107,.04);
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(255,107,107,.1);
    }

    .pd-wishlist-btn.active {
      border-color: rgba(255,107,107,.35);
      color: var(--primary);
      background: rgba(255,107,107,.06);
    }

    .pd-wishlist-btn.active i { color: var(--primary); }

    /* Trust strip */
    .pd-trust-strip {
      display: flex;
      gap: 0;
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      border-radius: 20px;
      border: 1.5px solid #e2e8f0;
      overflow: hidden;
      margin-bottom: 20px;
      box-shadow: 0 2px 12px rgba(26,26,46,.04);
    }

    .pd-trust-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      padding: 16px 10px;
      font-size: .72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: #64748b;
      border-right: 1.5px solid #e2e8f0;
      transition: background .2s, color .2s;
    }

    .pd-trust-item:hover {
      background: rgba(255,107,107,.04);
      color: var(--primary);
    }

    .pd-trust-item:last-child { border-right: none; }

    .pd-trust-item i {
      font-size: 1.2rem;
      color: var(--accent);
      transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    }

    .pd-trust-item:hover i {
      transform: scale(1.25);
      color: var(--primary);
    }

    /* Nav action links */
    .pd-nav-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .pd-nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border-radius: 12px;
      font-weight: 800;
      font-size: .85rem;
      text-decoration: none;
      transition: background .2s, color .2s, transform .2s;
    }

    .pd-nav-btn--ghost {
      background: #f1f5f9;
      color: #64748b;
      border: 1.5px solid #e2e8f0;
    }

    .pd-nav-btn--ghost:hover {
      background: var(--dark);
      color: #fff;
      border-color: var(--dark);
      transform: translateY(-2px);
    }

    /* ── Description card ── */
    .pd-desc-card {
      margin-top: 24px;
      background: #fff;
      border-radius: 28px;
      box-shadow: 0 8px 32px rgba(26,26,46,.07);
      overflow: hidden;
    }

    .pd-desc-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 20px 32px;
      background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
      border-bottom: 1.5px solid #f1f5f9;
    }

    .pd-desc-header i {
      color: var(--primary);
      font-size: 1.1rem;
    }

    .pd-desc-header h2 {
      
      font-size: 1.25rem;
      color: var(--dark);
      margin: 0;
    }

    .pd-desc-body {
      padding: 24px 32px 28px;
      color: #64748b;
      line-height: 1.85;
      font-size: .95rem;
    }

    /* ── Related products ── */
    .pd-related-wrap {
      margin-top: 48px;
    }

    .pd-related-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 20px;
    }

    .pd-related-badge {
      display: inline-block;
      background: var(--secondary);
      color: var(--dark);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 999px;
      margin-bottom: 8px;
    }

    .pd-related-heading {
      
      font-size: 2rem;
      color: var(--dark);
      line-height: 1.1;
      margin: 0;
    }

    .pd-related-heading span {
      color: var(--primary);
    }

    .pd-carousel-controls {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
      padding-bottom: 36px;
    }

    .pd-carousel-btn {
      width: 44px;
      height: 44px;
      border: 2px solid #e2e8f0;
      border-radius: 50%;
      background: #fff;
      color: var(--dark);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(26,26,46,.07);
      transition: transform .2s, background .2s, color .2s, border-color .2s;
    }

    .pd-carousel-btn:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(255,107,107,.3);
    }

    .related-carousel {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(245px, 285px);
      gap: 18px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      padding: 4px 4px 18px;
      scrollbar-width: thin;
    }

    .related-carousel .product-card {
      scroll-snap-align: start;
      cursor: default;
    }

    /* Kept for wishlist page compat */
    .wishlist-grid { margin-top: 28px; }
    .wishlist-card-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }
    .section-title.left-align { text-align: left; }

    /* ── Responsive ── */
    @media (max-width: 980px) {
      .pd-card {
        grid-template-columns: 1fr;
      }

      .pd-media-frame {
        min-height: 340px;
        padding: 32px 24px 24px;
      }

      .pd-content-panel {
        padding: 32px 28px 36px;
      }
    }

    @media (max-width: 640px) {
      .pd-content-panel {
        padding: 24px 20px 28px;
      }

      .pd-price-main { font-size: 2rem; }

      .pd-qty-row {
        flex-direction: column;
        align-items: stretch;
      }

      .pd-qty-ctrl {
        justify-content: center;
      }

      .pd-add-btn {
        width: 100%;
        flex: unset;
      }

      .pd-related-head {
        align-items: flex-start;
        flex-direction: column;
      }

      .pd-carousel-controls { padding-bottom: 0; }

      .related-carousel {
        grid-auto-columns: minmax(230px, 82vw);
      }

      .pd-nav-actions {
        flex-direction: column;
      }

      .pd-nav-btn { width: 100%; justify-content: center; }
    }

    /* Legacy selectors kept for any other pages that reference them */
    .product-detail-shell { }
    .product-breadcrumbs { display: none; }
    .product-detail-card { display: none; }
    .product-description-card { display: none; }
    .related-products-wrap { display: none; }
    .related-products-head { display: none; }
    .related-carousel-controls { display: none; }
    .related-carousel-btn { display: none; }
    .product-color-picker { display: none; }
    .product-color-picker-top { display: none; }
    .product-color-options { display: none; }
    .product-color-option { display: none; }
    .product-color-swatch { display: none; }
    .product-color-name { display: none; }

    .account-hero {
      position: relative;
      overflow: hidden;
    }

    .account-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%);
      pointer-events: none;
    }

    .account-panel-kicker {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(15, 118, 110, 0.08);
      color: #0f766e;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .account-mini-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    .account-mini-stat {
      padding: 14px;
      border-radius: 18px;
      background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
      border: 1px solid rgba(15, 23, 42, 0.07);
    }

    .account-mini-stat span {
      display: block;
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #64748b;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .account-mini-stat strong {
      color: #0f172a;
      font-size: 1.15rem;
    }

    .order-history-card {
      padding: 24px;
      border-radius: 24px;
      border: 1px solid rgba(15, 23, 42, 0.08);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
    }

    .order-history-grid {
      margin-top: 4px;
    }

    .order-metric-card {
      padding: 16px 18px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid rgba(15, 23, 42, 0.07);
    }

    .order-history-footer {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: end;
      margin-top: 22px;
      padding-top: 18px;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      flex-wrap: wrap;
    }

    .order-history-note {
      max-width: 460px;
    }

    .order-history-note p {
      margin: 8px 0 0;
      color: #64748b;
    }

    .order-detail-shell {
      padding: 30px;
    }

    .order-detail-overview {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-bottom: 22px;
    }

    .order-overview-card {
      padding: 20px 22px;
      border-radius: 22px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid rgba(15, 23, 42, 0.07);
    }

    .order-overview-card strong {
      display: block;
      margin: 10px 0 6px;
      font-size: 1.5rem;
      color: #0f172a;
    }

    .order-overview-card p {
      margin: 0;
      color: #64748b;
    }

    .order-detail-card-wide {
      grid-column: span 2;
    }

    .order-section-head {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: start;
      margin-bottom: 18px;
    }

    .order-section-head h3 {
      margin-bottom: 6px;
    }

    .order-section-head p {
      margin: 0;
      color: #64748b;
    }

    .order-item-row-rich {
      padding: 16px 0;
    }

    .order-item-main {
      display: grid;
      gap: 4px;
    }

    .order-item-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(20, 184, 166, 0.1);
      color: #0f766e;
      font-size: 0.75rem;
      font-weight: 800;
    }

    .order-address-block strong {
      display: block;
      margin-bottom: 10px;
      font-size: 1.05rem;
    }

    .order-address-block p {
      margin-bottom: 6px;
    }

    .order-note-box {
      padding: 18px;
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid rgba(15, 23, 42, 0.07);
    }

    .order-note-box p {
      margin: 0;
    }

    @media (max-width: 960px) {

      .order-detail-overview,
      .order-detail-card-wide {
        grid-template-columns: 1fr;
      }

      .order-detail-card-wide {
        grid-column: auto;
      }
    }

    @media (max-width: 640px) {

      .account-mini-stats,
      .order-detail-overview {
        grid-template-columns: 1fr;
      }

      .order-history-footer {
        align-items: flex-start;
      }

      .order-detail-shell {
        padding: 20px;
      }
    }


    /* Bootstrap Multi-level Dropdown Styles */
    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      margin-top: -1px;
      border-radius: 0.375rem;
    }

    .dropdown-submenu:hover .dropdown-menu,
    .dropdown-submenu:focus .dropdown-menu {
      display: block;
    }

    .navbar .dropdown-menu {
      border: none;
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .navbar .dropdown-item {
      padding: 0.5rem 1rem;
    }

    .navbar .dropdown-item:hover {
      background-color: var(--accent);
      color: white;
    }

    .navbar .dropdown-submenu .dropdown-item::after {
      content: '\203A';
      float: right;
      margin-left: 0.5rem;
      color: #6c757d;
    }

    .navbar .dropdown-submenu:hover .dropdown-item::after {
      color: white;
    }

    /* Mobile responsive adjustments */
    @media (max-width: 991.98px) {
      .dropdown-submenu .dropdown-menu {
        position: static;
        display: none;
        margin-left: 1rem;
        border: none;
        box-shadow: none;
      }

      .dropdown-submenu.show .dropdown-menu {
        display: block;
      }
    }


    /* ============================================================
   CHECKOUT PAGE — drop these rules at the bottom of index2.css
   ============================================================ */

    /* ── Wrapper ── */
    /* ═══════════════════════════════════════════
       CHECKOUT PAGE — Compact Tabbed Redesign
    ═══════════════════════════════════════════ */

    .co-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 20px 60px;
    }

    /* ── Alert ── */
    .co-alert {
      display: none;
      align-items: center;
      gap: 10px;
      background: #fef2f2;
      border: 1.5px solid #fca5a5;
      color: #b91c1c;
      border-radius: 14px;
      padding: 14px 20px;
      margin-bottom: 18px;
      font-weight: 600;
      font-size: .95rem;
      animation: co-slideIn .3s ease;
    }
    .co-alert--visible { display: flex; }

    /* ── Compact Top Bar (header + progress + badge merged) ── */
    .co-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
      border: 1.5px solid #ffe4d6;
      border-radius: 20px;
      padding: 18px 28px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .co-topbar__left { flex: 1; min-width: 120px; }

    .co-topbar__step {
      display: inline-block;
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: #FF6B6B;
      background: #fff0ed;
      border-radius: 20px;
      padding: 3px 12px;
      margin-bottom: 4px;
    }

    .co-topbar__title {
      
      font-size: 1.9rem;
      color: #1a1a2e;
      line-height: 1;
    }

    /* Progress inline */
    .co-topbar__progress {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .co-progress__step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: .72rem;
      font-weight: 700;
      color: #d1d5db;
    }

    .co-progress__dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 800;
      color: #9ca3af;
      transition: all .3s;
    }

    .co-progress__step--done .co-progress__dot { background: #6BCB77; color: #fff; }
    .co-progress__step--done { color: #6BCB77; }
    .co-progress__step--active .co-progress__dot {
      background: #FF6B6B; color: #fff;
      box-shadow: 0 0 0 4px #FF6B6B33;
    }
    .co-progress__step--active { color: #FF6B6B; }

    .co-progress__line {
      width: 48px;
      height: 3px;
      background: #e5e7eb;
      border-radius: 2px;
      margin: 0 4px;
      margin-bottom: 18px;
    }
    .co-progress__line--done { background: #6BCB77; }

    /* Badge */
    .co-topbar__badge {
      flex-shrink: 0;
      background: #fff;
      border: 2px solid #FF6B6B;
      border-radius: 16px;
      padding: 10px 22px;
      text-align: center;
      box-shadow: 0 4px 18px rgba(255, 107, 107, .15);
    }

    .co-topbar__badge-label {
      display: block;
      font-size: .68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #9ca3af;
      margin-bottom: 2px;
    }

    .co-topbar__badge-amount {
      
      font-size: 1.6rem;
      color: #FF6B6B;
    }

    /* ── Body layout ── */
    .co-body {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 24px;
      align-items: start;
    }

    /* ── Sections ── */
    .co-section {
      background: #fff;
      border: 1.5px solid #f3f4f6;
      border-radius: 18px;
      padding: 22px 24px 20px;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
      transition: box-shadow .2s;
    }

    .co-section:hover { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }

    .co-section--compact { padding: 18px 24px 16px; }

    .co-section__head {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1.5px dashed #f3f4f6;
    }

    .co-section__icon {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      background: linear-gradient(135deg, #FF6B6B, #ff8e8e);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: .82rem;
      flex-shrink: 0;
    }

    .co-section__icon--green { background: linear-gradient(135deg, #6BCB77, #4abe58); }
    .co-section__icon--yellow { background: linear-gradient(135deg, #FFD93D, #ffbb00); }
    .co-section__icon--blue { background: linear-gradient(135deg, #4FC3F7, #0ea5e9); }

    .co-section__title {
      font-size: 1.05rem;
      font-weight: 800;
      color: #1a1a2e;
    }

    .co-optional {
      font-size: .78rem;
      font-weight: 400;
      color: #9ca3af;
    }

    /* ── Address Section Labels ── */
    .co-addr-label-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      padding: 10px 14px;
      background: linear-gradient(135deg, #fff0ed, #fff8f5);
      border: 1.5px solid #ffd6cc;
      border-radius: 12px;
    }

    .co-addr-label-row i {
      color: #FF6B6B;
      font-size: .9rem;
    }

    .co-addr-label-row span {
      font-size: .82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #FF6B6B;
    }

    /* ── "Use different shipping address" checkbox row ── */
    .co-diff-shipping-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 18px;
      padding: 14px 18px;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      border: 1.5px solid #86efac;
      border-radius: 14px;
      cursor: pointer;
      transition: box-shadow .2s, border-color .2s;
    }

    .co-diff-shipping-row:hover {
      border-color: #6BCB77;
      box-shadow: 0 4px 16px rgba(107, 203, 119, .18);
    }

    .co-diff-shipping-row.co-diff-shipping-row--mandatory {
      background: linear-gradient(135deg, #fff5f5, #fef2f2);
      border-color: #fca5a5;
      cursor: default;
    }

    .co-diff-shipping-row.co-diff-shipping-row--mandatory:hover {
      border-color: #FF6B6B;
      box-shadow: 0 4px 16px rgba(255, 107, 107, .18);
    }

    /* Custom checkbox */
    .co-diff-check-box {
      width: 22px;
      height: 22px;
      border: 2px solid #6BCB77;
      border-radius: 6px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background .2s, border-color .2s;
    }

    .co-diff-check-box i {
      font-size: .75rem;
      color: #fff;
      opacity: 0;
      transition: opacity .2s;
    }

    .co-diff-shipping-row.active .co-diff-check-box,
    .co-diff-shipping-row--mandatory .co-diff-check-box {
      background: #6BCB77;
    }

    .co-diff-shipping-row.active .co-diff-check-box i,
    .co-diff-shipping-row--mandatory .co-diff-check-box i {
      opacity: 1;
    }

    .co-diff-shipping-row--mandatory .co-diff-check-box {
      background: #FF6B6B;
      border-color: #FF6B6B;
    }

    .co-diff-text {
      flex: 1;
    }

    .co-diff-text strong {
      display: block;
      font-size: .9rem;
      font-weight: 800;
      color: #15803d;
    }

    .co-diff-shipping-row--mandatory .co-diff-text strong {
      color: #b91c1c;
    }

    .co-diff-text span {
      font-size: .76rem;
      color: #6b7280;
    }

    /* ── Shipping address panel (hidden by default) ── */
    .co-shipping-panel {
      display: none;
      margin-top: 18px;
      border: 1.5px solid #e0f2e9;
      border-radius: 16px;
      background: #f9fffe;
      padding: 20px 20px 18px;
      animation: co-slideIn .25s ease;
    }

    .co-shipping-panel--visible { display: block; }

    .co-shipping-panel__head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1.5px dashed #d1fae5;
    }

    .co-shipping-panel__head-icon {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: linear-gradient(135deg, #6BCB77, #4abe58);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: .8rem;
      flex-shrink: 0;
    }

    .co-shipping-panel__head-title {
      font-size: .9rem;
      font-weight: 800;
      color: #15803d;
    }

    .co-shipping-panel__head-sub {
      font-size: .72rem;
      color: #6b7280;
      font-weight: 600;
    }

    /* Shipping contact mini-header */
    .co-shipping-contact {
      background: #fff;
      border: 1.5px dashed #d1fae5;
      border-radius: 14px;
      padding: 14px 18px 16px;
      margin-bottom: 16px;
    }

    .co-shipping-contact__label {
      font-size: .78rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #9ca3af;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .co-shipping-contact__label i { color: #6BCB77; }

    /* ── Grid ── */
    .co-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 13px 18px;
    }

    .co-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

    /* ── Fields ── */
    .co-field {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .co-field--full { grid-column: 1 / -1; }

    .co-label {
      font-size: .78rem;
      font-weight: 700;
      color: #374151;
      letter-spacing: .02em;
    }

    .req { color: #FF6B6B; }

    .co-input {
      width: 100%;
      border: 1.5px solid #e5e7eb;
      border-radius: 10px;
      padding: 10px 13px;
      font-family: 'Nunito', sans-serif;
      font-size: .92rem;
      color: #1a1a2e;
      background: #fafafa;
      transition: border-color .2s, box-shadow .2s, background .2s;
      outline: none;
      -webkit-appearance: none;
    }

    .co-input:focus {
      border-color: #FF6B6B;
      background: #fff;
      box-shadow: 0 0 0 3px #FF6B6B18;
    }

    .co-input:disabled {
      background: #f3f4f6;
      color: #9ca3af;
      cursor: not-allowed;
    }

    .co-input--error {
      border-color: #ef4444 !important;
      background: #fef2f2 !important;
    }

    .co-select { cursor: pointer; }

    .co-textarea {
      resize: vertical;
      min-height: 72px;
      line-height: 1.6;
    }

    .co-field-error {
      font-size: .75rem;
      color: #ef4444;
      font-weight: 600;
      margin-top: -2px;
      animation: co-slideIn .2s ease;
    }

    /* ── Pay Button ── */
    .co-btn-pay {
      width: 100%;
      padding: 16px 28px;
      border: none;
      border-radius: 14px;
      background: linear-gradient(135deg, #FF6B6B 0%, #ff4646 100%);
      color: #fff;
      
      font-size: 1.2rem;
      letter-spacing: .03em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 8px 24px rgba(255, 107, 107, .38);
      transition: transform .18s, box-shadow .18s, opacity .18s;
      margin-top: 6px;
    }

    .co-btn-pay:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 14px 32px rgba(255, 107, 107, .48);
    }

    .co-btn-pay:active:not(:disabled) { transform: translateY(0); }

    .co-btn-pay__default,
    .co-btn-pay__loading {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .co-spinner {
      width: 18px;
      height: 18px;
      border: 3px solid rgba(255, 255, 255, .4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: co-spin .7s linear infinite;
      display: inline-block;
    }

    .co-secure-note {
      text-align: center;
      font-size: .78rem;
      color: #9ca3af;
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    /* ── Summary Card ── */
    .co-summary {
      background: #fff;
      border: 1.5px solid #f3f4f6;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
      position: sticky;
      top: 90px;
    }

    .co-summary__head {
      background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
      padding: 18px 22px;
    }

    .co-summary__title {
      color: #fff;
      
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .co-summary__items {
      padding: 18px 20px 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 240px;
      overflow-y: auto;
    }

    .co-summary__item {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 12px;
      border-bottom: 1px dashed #f3f4f6;
    }

    .co-summary__item-img {
      width: 48px;
      height: 48px;
      flex: 0 0 48px;
      border-radius: 8px;
      object-fit: cover;
      background: #f8fafc;
      border: 1px solid #eef2f7;
    }

    .co-summary__item:last-child { border-bottom: none; padding-bottom: 0; }

    .co-summary__item-info {
      display: flex;
      flex-direction: column;
      gap: 3px;
      flex: 1;
      min-width: 0;
    }

    .co-summary__item-name {
      font-weight: 700;
      color: #1a1a2e;
      font-size: .92rem;
    }

    .co-summary__item-qty {
      font-size: .75rem;
      color: #9ca3af;
    }

    .co-summary__item-price {
      font-weight: 800;
      color: #FF6B6B;
      white-space: nowrap;
      font-size: .95rem;
    }

    .co-coupon-box {
      padding: 14px 20px 0;
    }

    .co-coupon-form {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .co-coupon-form .co-input {
      min-height: 42px;
      padding: 10px 12px;
    }

    .co-coupon-btn {
      min-height: 42px;
      border: none;
      border-radius: 10px;
      background: #14b8a6;
      color: #fff;
      font-weight: 800;
      padding: 0 12px;
      cursor: pointer;
      white-space: nowrap;
    }

    .co-coupon-remove {
      margin-top: 8px;
      border: none;
      background: transparent;
      color: #ef4444;
      font-weight: 800;
      cursor: pointer;
      padding: 0;
    }

    .co-summary__totals {
      padding: 16px 20px;
      border-top: 1.5px solid #f3f4f6;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .co-summary__row {
      display: flex;
      justify-content: space-between;
      font-size: .9rem;
      color: #6b7280;
    }

    .co-summary__row--total {
      border-top: 1.5px solid #e5e7eb;
      padding-top: 10px;
      margin-top: 2px;
      font-size: 1rem;
      color: #1a1a2e;
      font-weight: 700;
    }

    .co-summary__row--total strong {
      color: #FF6B6B;
      font-size: 1.1rem;
    }

    .co-summary__trust {
      display: flex;
      justify-content: space-around;
      padding: 14px 20px;
      background: #fafafa;
      border-top: 1.5px solid #f3f4f6;
    }

    .co-trust-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: .68rem;
      font-weight: 700;
      color: #6b7280;
      text-align: center;
    }

    .co-trust-item i {
      font-size: 1rem;
      color: #6BCB77;
    }

    .co-summary__note {
      margin: 0;
      padding: 12px 20px;
      font-size: .78rem;
      color: #9ca3af;
      line-height: 1.6;
      display: flex;
      gap: 8px;
      align-items: flex-start;
      border-top: 1px solid #f3f4f6;
    }

    .co-summary__note i {
      color: #FFD93D;
      margin-top: 2px;
      flex-shrink: 0;
    }

    /* ── Payment redirect overlay ── */
    .payment-success-redirect {
      position: fixed;
      inset: 0;
      z-index: 99999;
      display: none;
      align-items: center;
      justify-content: center;
      background: #fff;
    }

    .payment-success-redirect__box {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px 22px;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      color: #16a34a;
      font-weight: 800;
      box-shadow: 0 16px 45px rgba(26, 26, 46, .12);
    }

    body.payment-success-redirecting { overflow: hidden; }

    body.payment-success-redirecting .topbar,
    body.payment-success-redirecting nav,
    body.payment-success-redirecting footer,
    body.payment-success-redirecting .co-wrap {
      visibility: hidden;
    }

    /* ── Animations ── */
    @keyframes co-slideIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes co-spin { to { transform: rotate(360deg); } }

    /* ── Responsive ── */
    @media (max-width: 1024px) {
      .co-body {
        grid-template-columns: 1fr;
      }
      .co-summary {
        position: static;
        order: -1; /* summary on top on mobile */
      }
    }

    @media (max-width: 680px) {
      .co-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
        gap: 12px;
      }
      .co-topbar__title { font-size: 1.5rem; }
      .co-topbar__badge { width: 100%; }
      .co-grid { grid-template-columns: 1fr; }
      .co-grid--3 { grid-template-columns: 1fr; }
      .co-field--full { grid-column: 1; }
      .co-progress__line { width: 32px; }
      .co-section { padding: 18px 16px; }
      .co-wrap { padding: 16px 12px 50px; }
      .co-diff-shipping-row { flex-wrap: wrap; }
    }



    /* ── Success Page ── */
    .success-wrap {
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 20px 60px;
      background: var(--light);
      position: relative;
      overflow: hidden;
    }

    /* Floating confetti blobs */
    .success-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 10% 20%, rgba(255, 107, 107, .12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(155, 93, 229, .10) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(107, 203, 119, .08) 0%, transparent 50%);
      pointer-events: none;
    }

    /* Floating toy shapes */
    .success-floaties {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .success-floaties span {
      position: absolute;
      font-size: 1.6rem;
      animation: floatUp 6s ease-in-out infinite;
      opacity: 0;
    }

    .success-floaties span:nth-child(1) {
      left: 5%;
      animation-delay: 0s;
      animation-duration: 7s;
    }

    .success-floaties span:nth-child(2) {
      left: 15%;
      animation-delay: 1.2s;
      animation-duration: 6s;
    }

    .success-floaties span:nth-child(3) {
      left: 25%;
      animation-delay: 0.6s;
      animation-duration: 8s;
    }

    .success-floaties span:nth-child(4) {
      left: 38%;
      animation-delay: 2.1s;
      animation-duration: 6.5s;
    }

    .success-floaties span:nth-child(5) {
      left: 50%;
      animation-delay: 0.9s;
      animation-duration: 7.5s;
    }

    .success-floaties span:nth-child(6) {
      left: 63%;
      animation-delay: 1.8s;
      animation-duration: 6s;
    }

    .success-floaties span:nth-child(7) {
      left: 75%;
      animation-delay: 3.0s;
      animation-duration: 7s;
    }

    .success-floaties span:nth-child(8) {
      left: 85%;
      animation-delay: 0.3s;
      animation-duration: 8s;
    }

    .success-floaties span:nth-child(9) {
      left: 93%;
      animation-delay: 1.5s;
      animation-duration: 6.5s;
    }

    .success-floaties span:nth-child(10) {
      left: 45%;
      animation-delay: 2.7s;
      animation-duration: 7s;
    }

    @keyframes floatUp {
      0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
      }

      10% {
        opacity: .7;
      }

      90% {
        opacity: .5;
      }

      100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
      }
    }

    /* ── Main card ── */
    .success-card {
      background: #fff;
      border-radius: 32px;
      box-shadow: 0 24px 80px rgba(26, 26, 46, .12), 0 0 0 1.5px rgba(255, 107, 107, .08);
      max-width: 560px;
      width: 100%;
      position: relative;
      z-index: 2;
      overflow: hidden;
      animation: cardIn .6s cubic-bezier(.34, 1.56, .64, 1) both;
    }

    @keyframes cardIn {
      from {
        opacity: 0;
        transform: translateY(40px) scale(.95);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    /* Top ribbon */
    .success-ribbon {
      background: linear-gradient(135deg, #FF6B6B 0%, #ff4646 60%, #9B5DE5 100%);
      padding: 36px 32px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .success-ribbon::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 32px;
      background: #fff;
      border-radius: 32px 32px 0 0;
    }

    /* Confetti dots inside ribbon */
    .success-ribbon::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255, 255, 255, .18) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 217, 61, .25) 1.5px, transparent 1.5px);
      background-size: 30px 30px, 20px 20px;
      background-position: 0 0, 15px 15px;
      pointer-events: none;
    }

    /* Checkmark circle */
    .success-check-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }

    .success-check {
      width: 80px;
      height: 80px;
      background: rgba(255, 255, 255, .2);
      border: 3px solid rgba(255, 255, 255, .5);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      animation: popIn .5s cubic-bezier(.34, 1.56, .64, 1) .3s both;
      backdrop-filter: blur(4px);
    }

    @keyframes popIn {
      from {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
      }

      to {
        transform: scale(1) rotate(0);
        opacity: 1;
      }
    }

    .success-kicker {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, .2);
      color: #fff;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: .78rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 50px;
      margin-bottom: 12px;
      animation: fadeSlide .5s ease .45s both;
    }

    .success-title {
      
      font-size: 2rem;
      color: #fff;
      line-height: 1.15;
      margin-bottom: 8px;
      animation: fadeSlide .5s ease .55s both;
    }

    .success-subtitle {
      color: rgba(255, 255, 255, .85);
      font-size: .95rem;
      font-family: 'Nunito', sans-serif;
      animation: fadeSlide .5s ease .65s both;
    }

    .success-subtitle strong {
      color: #FFD93D;
      font-weight: 800;
    }

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── Body ── */
    .success-body {
      padding: 28px 32px 32px;
    }

    /* Meta pills row */
    .success-meta {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 24px;
    }

    .success-meta-item {
      background: #f9f5ff;
      border: 1.5px solid #ede9fe;
      border-radius: 16px;
      padding: 14px 12px;
      text-align: center;
      animation: fadeSlide .5s ease both;
      transition: transform .2s, box-shadow .2s;
    }

    .success-meta-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(155, 93, 229, .15);
    }

    .success-meta-item:nth-child(1) {
      animation-delay: .7s;
      background: #fff5f5;
      border-color: #fecaca;
    }

    .success-meta-item:nth-child(2) {
      animation-delay: .8s;
      background: #f0fdf4;
      border-color: #bbf7d0;
    }

    .success-meta-item:nth-child(3) {
      animation-delay: .9s;
      background: #fefce8;
      border-color: #fef08a;
    }

    .success-meta-label {
      font-size: .7rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #9ca3af;
      margin-bottom: 6px;
      font-family: 'Nunito', sans-serif;
    }

    .success-meta-value {
      
      font-size: 1rem;
      color: #1a1a2e;
      line-height: 1.2;
    }

    .success-meta-item:nth-child(1) .success-meta-value {
      color: #FF6B6B;
    }

    .success-meta-item:nth-child(2) .success-meta-value {
      color: #16a34a;
    }

    .success-meta-item:nth-child(3) .success-meta-value {
      color: #ca8a04;
    }

    /* Address section */
    .success-addr-wrap {
      background: #fafafa;
      border: 1.5px dashed #e5e7eb;
      border-radius: 18px;
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
      animation: fadeSlide .5s ease 1s both;
    }

    .success-addr-row {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .success-addr-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .85rem;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .success-addr-icon--billing {
      background: #fef2f2;
      color: #FF6B6B;
    }

    .success-addr-icon--shipping {
      background: #f0fdf4;
      color: #6BCB77;
    }

    .success-addr-label {
      font-size: .7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: #9ca3af;
      margin-bottom: 2px;
    }

    .success-addr-text {
      font-size: .87rem;
      color: #374151;
      font-weight: 600;
      line-height: 1.5;
    }

    .success-divider {
      border: none;
      border-top: 1.5px dashed #e5e7eb;
      margin: 0;
    }

    /* Buttons */
    .success-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      animation: fadeSlide .5s ease 1.1s both;
    }

    .success-btn-outline {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 20px;
      border: 2px solid #1a1a2e;
      border-radius: 16px;
      background: transparent;
      color: #1a1a2e;
      
      font-size: 1rem;
      text-decoration: none;
      transition: background .2s, color .2s, transform .2s, box-shadow .2s;
    }

    .success-btn-outline:hover {
      background: #1a1a2e;
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(26, 26, 46, .2);
    }

    .success-btn-primary {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 20px;
      border: none;
      border-radius: 16px;
      background: linear-gradient(135deg, #FF6B6B 0%, #ff4646 100%);
      color: #fff;
      
      font-size: 1rem;
      text-decoration: none;
      box-shadow: 0 8px 24px rgba(255, 107, 107, .35);
      transition: transform .2s, box-shadow .2s;
    }

    .success-btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 32px rgba(255, 107, 107, .45);
    }

    /* Single-button layout for guests */
    .success-actions--single {
      grid-template-columns: 1fr;
    }

    /* Trust strip */
    .success-trust {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1.5px solid #f3f4f6;
      animation: fadeSlide .5s ease 1.2s both;
    }

    .success-trust-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: .7rem;
      font-weight: 800;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .success-trust-item i {
      font-size: 1.1rem;
      color: #6BCB77;
    }

    /* Responsive */
    @media (max-width: 480px) {
      .success-card {
        border-radius: 24px;
      }

      .success-ribbon {
        padding: 28px 20px 44px;
      }

      .success-body {
        padding: 20px 18px 24px;
      }

      .success-meta {
        grid-template-columns: 1fr;
      }

      .success-actions {
        grid-template-columns: 1fr;
      }

      .success-title {
        font-size: 1.6rem;
      }

      .success-trust {
        gap: 16px;
      }
    }


/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  min-width: 280px;
  max-width: 400px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(26, 26, 46, 0.18), 0 2px 8px rgba(26, 26, 46, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.toast.toast-exit {
  animation: toastOut 0.3s ease-in forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(120%) scale(0.9);
  }
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.toast-content {
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.3;
}
.toast-message {
  font-size: 12px;
  color: #6f7a95;
  line-height: 1.4;
}
.toast-close {
  background: none;
  border: none;
  color: #b0bad4;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  font-size: 14px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.toast-close:hover {
  color: var(--dark);
}
/* Toast Types */
.toast-success {
  border-left-color: var(--accent);
}
.toast-success .toast-icon {
  background: rgba(107, 203, 119, 0.15);
  color: var(--accent);
}
.toast-error {
  border-left-color: var(--primary);
}
.toast-error .toast-icon {
  background: rgba(255, 107, 107, 0.15);
  color: var(--primary);
}
.toast-info {
  border-left-color: #4FC3F7;
}
.toast-info .toast-icon {
  background: rgba(79, 195, 247, 0.15);
  color: #4FC3F7;
}
.toast-warning {
  border-left-color: var(--secondary);
}
.toast-warning .toast-icon {
  background: rgba(255, 217, 61, 0.15);
  color: #c9a800;
}
/* Progress bar for auto-dismiss */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  animation: toastProgress linear forwards;
}
.toast-success .toast-progress { background: var(--accent); }
.toast-error .toast-progress { background: var(--primary); }
.toast-info .toast-progress { background: #4FC3F7; }
.toast-warning .toast-progress { background: var(--secondary); }
@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}
