
/* ===== assets/css/index.css ===== */
/* ===== Critical nav FOUC guard =====
   Keeps fetched nav/sidebar hidden until nav.html + nav CSS/JS finish loading.
   Prevents the unstyled cart/sidebar flash on first paint. */
#site-nav{ min-height:76px; }
html:not(.nav-ready) #site-nav{
  visibility:hidden !important;
  opacity:0 !important;
}
html:not(.nav-ready) #site-nav::before{
  content:"";
  display:block;
  height:76px;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid #eee;
}
html:not(.nav-ready) #drawer,
html:not(.nav-ready) #sidebar,
html:not(.nav-ready) #drawerOverlay,
html:not(.nav-ready) #sbOverlay{
  display:none !important;
}
html.nav-ready #site-nav{
  visibility:visible !important;
  opacity:1 !important;
  transition:opacity .12s ease;
}
/* ===== End critical nav FOUC guard ===== */


    /* Custom colors for luxury feel */
    :root {
      --gold: #bfa06a;
      --black: #1a1a1a;
      --white: #fefefe;
    }
    body {
      font-family: 'Playfair Display', serif, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: var(--white);
      color: var(--black);
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    /* Navigation - Louis Vuitton Style */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid #e5e5e5;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 400;
      letter-spacing: 0.1em;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .nav-container {
      width: 100%;
      max-width: 1400px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
    }
    
    @media (max-width: 768px) {
      .nav-container {
        padding: 0.75rem 1rem;
      }
    }
    
    @media (max-width: 480px) {
      .nav-container {
        padding: 0.5rem 0.75rem;
      }
    }
    
    .nav-left {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    
    .nav-right {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    
    header .logo {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      color: var(--black);
      cursor: pointer;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    
    @media (max-width: 768px) {
      header .logo {
        font-size: 1.75rem;
      }
    }
    
    @media (max-width: 480px) {
      header .logo {
        font-size: 1.5rem;
      }
    }
    
    nav.desktop-menu {
      display: flex;
      gap: 3rem;
      font-size: 0.875rem;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    
    @media (max-width: 1024px) {
      nav.desktop-menu {
        display: none;
      }
    }
    
    nav.desktop-menu a {
      position: relative;
      padding: 1rem 0;
      transition: all 0.3s ease;
      color: var(--black);
      border-bottom: 2px solid transparent;
    }
    
    nav.desktop-menu a:hover {
      color: var(--gold);
      border-bottom-color: var(--gold);
    }
    
    /* Navigation Icons */
    .nav-icons {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .nav-icon {
      width: 24px;
      height: 24px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: var(--black);
    }
    
    .nav-icon:hover {
      color: var(--gold);
      transform: scale(1.1);
    }
    
    /* Mobile menu */
    .mobile-menu-button {
      display: none;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0.5rem;
      color: var(--black);
      transition: color 0.3s ease;
    }
    
    .mobile-menu-button:hover {
      color: var(--gold);
    }
    
    @media (max-width: 1024px) {
      .mobile-menu-button {
        display: block;
      }
    }
    
    .hamburger {
      width: 24px;
      height: 18px;
      position: relative;
      transform: rotate(0deg);
      transition: .5s ease-in-out;
    }
    
    .hamburger span {
      display: block;
      position: absolute;
      height: 2px;
      width: 100%;
      background: var(--black);
      border-radius: 1px;
      opacity: 1;
      left: 0;
      transform: rotate(0deg);
      transition: .25s ease-in-out;
    }
    
    .hamburger span:nth-child(1) {
      top: 0px;
    }
    
    .hamburger span:nth-child(2) {
      top: 8px;
    }
    
    .hamburger span:nth-child(3) {
      top: 16px;
    }
    
    .hamburger.open span:nth-child(1) {
      top: 8px;
      transform: rotate(135deg);
    }
    
    .hamburger.open span:nth-child(2) {
      opacity: 0;
      left: -60px;
    }
    
    .hamburger.open span:nth-child(3) {
      top: 8px;
      transform: rotate(-135deg);
    }
    
    /* Drawer - Louis Vuitton Style */
    .drawer {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      height: 100vh;
      background: var(--white);
      box-shadow: -10px 0 30px rgba(0,0,0,0.15);
      transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      z-index: 1100;
      padding: 0;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }
    
    @media (max-width: 480px) {
      .drawer {
        width: 100vw;
        right: -100vw;
      }
    }
    
    .drawer.open {
      right: 0;
    }
    
    .drawer-header {
      padding: 2rem;
      border-bottom: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .drawer-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      color: var(--black);
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    
    .drawer-close {
      width: 32px;
      height: 32px;
      cursor: pointer;
      color: var(--black);
      transition: all 0.3s ease;
      background: none;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }
    
    .drawer-close:hover {
      color: var(--gold);
      background: rgba(191, 160, 106, 0.1);
    }
    
    .drawer-content {
      padding: 2rem;
      flex: 1;
    }
    
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    
    .drawer-nav a {
      font-size: 1.125rem;
      font-weight: 400;
      color: var(--black);
      padding: 1.5rem 0;
      border-bottom: 1px solid #f0f0f0;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      position: relative;
    }
    
    .drawer-nav a:hover {
      color: var(--gold);
      padding-right: 1rem;
    }
    
    .drawer-nav a::after {
      content: '→';
      position: absolute;
      right: 0;
      opacity: 0;
      transition: all 0.3s ease;
      color: var(--gold);
    }
    
    .drawer-nav a:hover::after {
      opacity: 1;
      right: 0;
    }
    
    .drawer-footer {
      padding: 2rem;
      border-top: 1px solid #e5e5e5;
      background: #fafafa;
    }
    
    .drawer-social {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }
    
    .drawer-social a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--black);
      transition: all 0.3s ease;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .drawer-social a:hover {
      background: var(--gold);
      color: var(--white);
      transform: translateY(-2px);
    }
    
    /* Overlay */
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1050;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    /* Hero */
    .hero {
      position: relative;
      height: 80vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000;

      color: var(--white);
      font-family: 'Playfair Display', serif;
    }
    @media (max-width: 768px) {
      .hero {
        height: 70vh;
      }
    }
    @media (max-width: 480px) {
      .hero {
        height: 60vh;
      }
    }
    .hero img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 0;
    }
    .hero img.active {
      opacity: 1;
      z-index: 1;
    }

    .hero-content h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
      }
    }
    @media (max-width: 640px) {
      .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
      }
    }
    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
      }
    }
    .hero-content p {
      font-size: 1.25rem;
      font-weight: 400;
      opacity: 0.8;
      max-width: 600px;
      margin: 0 auto;
    }
    @media (max-width: 768px) {
      .hero-content p {
        font-size: 1.1rem;
        max-width: 500px;
      }
    }
    @media (max-width: 640px) {
      .hero-content p {
        font-size: 1rem;
        max-width: 400px;
      }
    }
    @media (max-width: 480px) {
      .hero-content p {
        font-size: 0.9rem;
        max-width: 350px;
      }
    }
    /* Sections */
    section {
      max-width: 100%;
      margin: 3rem auto;
      padding: 0 1rem;
    }
    @media (max-width: 768px) {
      section {
        margin: 2rem auto;
        padding: 0 0.75rem;
      }
    }
    @media (max-width: 480px) {
      section {
        margin: 1.5rem auto;
        padding: 0 0.5rem;
      }
    }
    section h2 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 2rem;
      border-bottom: 2px solid var(--gold);
      display: inline-block;
      padding-bottom: 0.25rem;
    }
    @media (max-width: 768px) {
      section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
      }
    }
    @media (max-width: 480px) {
      section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }
    }
    /* Section Header */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
    }

    /* Categories, Subcategories, Brands */
    .grid-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }
    @media (max-width: 1024px) {
      .grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
      }
    }
    @media (max-width: 768px) {
      .grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
      }
    }
    @media (max-width: 640px) {
      .grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.875rem;
      }
    }
    @media (max-width: 480px) {
      .grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
      }
    }
    .card {
      position: relative;
      overflow: hidden;
      border-radius: 1rem;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: all 0.3s ease;
      background: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      width: 100%;
      max-width: 250px;
      height: 280px;
      padding-bottom: 1rem;
      margin: 0 auto;
      border: 1px solid rgba(191, 166, 106, 0.2);
    }
    @media (max-width: 640px) {
      .card {
        height: 240px;
        max-width: 180px;
      }
    }
    @media (max-width: 480px) {
      .card {
        height: 220px;
        max-width: 160px;
      }
    }
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 30px rgba(0,0,0,0.2);
      border-color: var(--gold);
    }
    .card img {
      width: 100%;
      height: 80%;
      object-fit: cover;
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
      transition: transform 0.5s ease;
      flex-shrink: 0;
    }
    .card:hover img {
      transform: scale(1.05);
    }
    .card-content {
      padding: 1rem;
      text-align: center;
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--black);
      background: linear-gradient(135deg, rgba(191, 166, 106, 0.05) 0%, rgba(191, 166, 106, 0.1) 100%);
      width: 100%;
      border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem;
    }
    /* Featured Products */
    .featured-products {
      position: relative;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      padding-bottom: 1rem;
    }
    @media (max-width: 1024px) {
      .featured-products {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
      }
    }
    @media (max-width: 768px) {
      .featured-products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
      }
    }
    @media (max-width: 640px) {
      .featured-products {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.875rem;
      }
    }
    @media (max-width: 480px) {
      .featured-products {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
      }
    }
    .featured-product {
      border-radius: 1rem;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      background: var(--white);
      cursor: pointer;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      width: 100%;
      max-width: 250px;
      height: 280px;
      margin: 0 auto;
      padding-bottom: 0;
      border: 1px solid rgba(191, 166, 106, 0.3);
      position: relative;
    }
    @media (max-width: 640px) {
      .featured-product {
        height: 240px;
        max-width: 180px;
      }
    }
    @media (max-width: 480px) {
      .featured-product {
        height: 220px;
        max-width: 160px;
      }
    }
    .featured-product:hover {
      transform: translateY(-12px);
      box-shadow: 0 25px 40px rgba(0,0,0,0.3);
      border-color: var(--gold);
    }
    .featured-product img {
      width: 100%;
      height: 60%;
      object-fit: cover;
      transition: transform 0.5s ease;
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
      flex-shrink: 0;
    }
    .featured-product:hover img {
      transform: scale(1.1);
    }
    .discount-tag {
      position: absolute;
      top: 0.75rem;
      left: 0.75rem;
      background-color: var(--gold);
      color: var(--white);
      font-weight: 700;
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 0.5rem;
      z-index: 10;
      user-select: none;
    }
    .special-tag {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background-color: #d9534f; /* red for special */
      color: var(--white);
      font-weight: 700;
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 0.5rem;
      z-index: 10;
      user-select: none;
    }
    .featured-product-content {
      padding: 1rem 1.25rem 1.5rem 1.25rem;
      font-weight: 600;
      color: var(--black);
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      flex-grow: 1;
    }
    @media (max-width: 640px) {
      .featured-product-content {
        padding: 0.75rem 1rem 1rem 1rem;
      }
    }
    @media (max-width: 480px) {
      .featured-product-content {
        padding: 0.5rem 0.75rem 0.75rem 0.75rem;
      }
    }
    .featured-product-title {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      font-weight: 700;
      color: var(--black);
    }
    @media (max-width: 640px) {
      .featured-product-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
      }
    }
    @media (max-width: 480px) {
      .featured-product-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
      }
    }
    .featured-product-description {
    .featured-product-description {
      font-size: 0.75rem;
      color: #555;
      margin-bottom: 0.75rem;
      font-weight: 400;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      width: 100%;
      text-align: center;
      line-height: 1.2;
    }
    @media (max-width: 640px) {
      .featured-product-description {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
      }
    }
    @media (max-width: 480px) {
      .featured-product-description {
        font-size: 0.65rem;
        margin-bottom: 0.375rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
      }
    }
      font-size: 1rem;
      color: var(--gold);
      font-weight: 700;
      margin-top: auto;
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }
    @media (max-width: 640px) {
      .featured-product-price {
        font-size: 0.9rem;
        gap: 0.375rem;
      }
    }
    @media (max-width: 480px) {
      .featured-product-price {
        font-size: 0.8rem;
        gap: 0.25rem;
      }
    }
    .price-before-discount {
      text-decoration: line-through;
      color: #999;
      font-weight: 400;
      font-size: 0.9rem;
    }
    .price-after-discount {
      color: var(--gold);
      font-weight: 700;
      font-size: 1.1rem;
    }
    /* Footer */
    footer {
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.9rem;
      color: #666;
      border-top: 1px solid #ddd;
      margin-top: 4rem;
    }
    @media (max-width: 768px) {
      footer {
        padding: 1.5rem 0.75rem;
        margin-top: 3rem;
        font-size: 0.85rem;
      }
    }
    @media (max-width: 480px) {
      footer {
        padding: 1rem 0.5rem;
        margin-top: 2rem;
        font-size: 0.8rem;
      }
    }
    /* Reviews Section */
    .reviews-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 1rem;
      padding: 1rem 0;
    }
    @media (max-width: 1024px) {
      .reviews-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.875rem;
      }
    }
    @media (max-width: 768px) {
      .reviews-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
      }
    }
    @media (max-width: 640px) {
      .reviews-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
      }
    }
    .review-card {
      background: var(--white);
      border-radius: 0.375rem;
      padding: 0.5rem;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      border: 1px solid rgba(191, 166, 106, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      aspect-ratio: 1 / 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      max-width: 160px;
      margin: 0 auto;
    }
    .review-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
      border-color: var(--gold);
    }
    .review-header {
      display: flex;
      align-items: center;
      margin-bottom: 0.375rem;
      gap: 0.25rem;
    }
    .review-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), #d4af37);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      font-weight: 700;
      font-size: 1rem;
      flex-shrink: 0;
    }
    .review-info {
      flex: 1;
    }
    .review-name {
      font-weight: 700;
      color: var(--black);
      margin-bottom: 0.125rem;
      font-size: 0.8rem;
    }
    .review-rating {
      display: flex;
      gap: 0.125rem;
      margin-bottom: 0.125rem;
    }
    .star {
      color: #ffd700;
      font-size: 0.7rem;
    }
    .review-date {
      font-size: 0.65rem;
      color: #666;
    }
    .review-content {
      color: #555;
      line-height: 1.3;
      font-size: 0.8rem;
      margin-bottom: 0.375rem;
    }
    .review-product {
      font-size: 0.85rem;
      color: var(--gold);
      font-weight: 600;
      padding-top: 0.75rem;
      border-top: 1px solid rgba(191, 166, 106, 0.3);
    }
    .review-photos img {
      max-width: 80px;
      max-height: 80px;
      width: auto;
      height: auto;
      object-fit: cover;
    }

    /* Responsive */
    @media (max-width: 768px) {
      nav.desktop-menu {
        display: none;
      }
      .mobile-menu-button {
        display: block;
      }
      .review-card {
        padding: 1.25rem;
      }
      .review-header {
        gap: 0.5rem;
      }
      .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
      }
    }
    @media (max-width: 480px) {
      .review-card {
        padding: 1rem;
      }
      .review-content {
        font-size: 0.9rem;
      }
    }

/* === Unified offer badges polish === */
.product-card .tag-left,
.product-card .tag-right,
.product-card .tag-bxgy,
.tag-left,
.tag-right,
.tag-bxgy,
.offer-badge,
.promo-badge{
  z-index: 5;
  letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.38);
  backdrop-filter: saturate(125%) blur(3px);
}
.tag-left{
  background: linear-gradient(135deg,#ef4444,#be123c) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:.28rem .58rem !important;
  box-shadow:0 8px 22px rgba(190,18,60,.20) !important;
}
.tag-right{
  background: linear-gradient(135deg,#16a34a,#15803d) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:.28rem .58rem !important;
  box-shadow:0 8px 22px rgba(21,128,61,.18) !important;
}
.tag-bxgy{
  background: linear-gradient(135deg,#111827,#374151) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:.28rem .58rem !important;
  box-shadow:0 8px 22px rgba(17,24,39,.20) !important;
}
.offer-badge[data-type="bogo"], .promo-badge[data-type="bogo"]{
  background:#ecfeff !important; border-color:#a5f3fc !important; color:#0e7490 !important;
}
.offer-badge[data-type="percent"], .promo-badge[data-type="percent"]{
  background:#fff7ed !important; border-color:#fed7aa !important; color:#c2410c !important;
}
.offer-badge[data-type="fixed"], .promo-badge[data-type="fixed"]{
  background:#f8fafc !important; border-color:#e2e8f0 !important; color:#334155 !important;
}
@media (max-width:640px){
  .tag-left,.tag-right,.tag-bxgy{ font-size:10px !important; padding:.24rem .48rem !important; }
}

/* =========================================================
   Chicona product cards — soft final tune
   Purpose: smaller text, square images, one offer badge left + featured right.
   ========================================================= */
.product-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
  border-radius:15px !important;
  border:1px solid #eeeeee !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(15,23,42,.025) !important;
  font-family:"Tajawal","Cairo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif !important;
}
.product-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 8px 18px rgba(15,23,42,.06) !important;
  border-color:rgba(200,155,60,.48) !important;
}
.product-card > .relative,
.product-card > a:first-of-type,
.product-card .product-media,
.product-card .p-media,
.product-card .media,
.product-card .img-wrap{
  position:relative !important;
  display:block !important;
  width:100% !important;
  aspect-ratio:1 / 1 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  flex:0 0 auto !important;
  overflow:hidden !important;
  background:#f8fafc !important;
  border-radius:0 !important;
}
.product-card > .relative > a,
.product-card > a:first-of-type,
.product-card .product-media > a,
.product-card .p-media > a,
.product-card .img-wrap > a{
  display:block !important;
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
}
.product-card img.p-img,
.product-card .p-img,
.product-card .product-img,
.product-card .product-image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center !important;
  background:#f8fafc !important;
}
.product-card .p-body,
.product-card .product-body,
.product-card [class*="p-body"]{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  padding:10px !important;
  gap:6px !important;
  min-height:138px !important;
}
.product-card .p-title,
.product-card .product-title,
.product-card h3,
.product-card .title{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:2.55em !important;
  max-height:2.55em !important;
  margin:0 !important;
  text-align:center !important;
  font-size:clamp(13.5px,3.45vw,15.5px) !important;
  line-height:1.28 !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
  color:#111827 !important;
}
.product-card .swatches,
.product-card .product-swatches,
.product-card .colors-row{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-height:22px !important;
  height:22px !important;
  margin:0 !important;
  overflow:hidden !important;
}
.product-card .swatch{ width:16px !important; height:16px !important; flex:0 0 auto !important; }
.product-card .p-meta,
.product-card .product-price,
.product-card .price-row{
  min-height:35px !important;
  height:35px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  text-align:center !important;
}
.product-card .p-meta > div,
.product-card .product-price > div,
.product-card .price-row > div{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  flex-wrap:wrap !important;
}
.product-card .price{
  display:inline-flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  white-space:nowrap !important;
  font-size:clamp(15.5px,3.75vw,18px) !important;
  line-height:1.1 !important;
  font-weight:650 !important;
  color:#111827 !important;
}
.product-card .old,
.product-card .price-old{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
  margin:0 !important;
  font-size:clamp(10.5px,2.8vw,12.5px) !important;
  line-height:1.1 !important;
  font-weight:450 !important;
  color:#9ca3af !important;
  text-decoration:line-through !important;
}
.product-card .add-btn,
.product-card .btn-add,
.product-card button[data-id],
.product-card .product-actions a,
.product-card .product-actions button{
  min-height:35px !important;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:auto !important;
  white-space:nowrap !important;
  font-size:clamp(12.8px,3.3vw,14.5px) !important;
  line-height:1.1 !important;
  font-weight:650 !important;
  border-radius:11px !important;
}
.product-card :is(.tag-left,.tag-bxgy,.tag-right-bxgy,.offer-badge,.promo-badge),
.product-card :is(.offer-badge[data-type="percent"],.offer-badge[data-type="fixed"],.promo-badge[data-type="percent"],.promo-badge[data-type="fixed"]){
  position:absolute !important;
  top:9px !important;
  left:9px !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:12 !important;
  width:auto !important;
  max-width:calc(50% - 12px) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:.25rem .48rem !important;
  border-radius:999px !important;
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:650 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  background:linear-gradient(135deg,#111827,#374151) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 5px 14px rgba(15,23,42,.15) !important;
  direction:inherit !important;
}
.product-card .tag-right{
  position:absolute !important;
  top:9px !important;
  right:9px !important;
  left:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:13 !important;
  max-width:calc(50% - 12px) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:.25rem .48rem !important;
  border-radius:999px !important;
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:650 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  background:linear-gradient(135deg,#16a34a,#15803d) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 5px 14px rgba(21,128,61,.15) !important;
}
@media (max-width:640px){
  .product-card{ border-radius:13px !important; }
  .product-card .p-body,
  .product-card .product-body,
  .product-card [class*="p-body"]{ min-height:132px !important; padding:9px !important; gap:5px !important; }
  .product-card .p-title,
  .product-card .product-title,
  .product-card h3,
  .product-card .title{ font-size:13.5px !important; line-height:1.28 !important; min-height:2.55em !important; max-height:2.55em !important; }
  .product-card .p-meta,.product-card .product-price,.product-card .price-row{ min-height:33px !important; height:33px !important; }
  .product-card .price{ font-size:15.5px !important; }
  .product-card .old,.product-card .price-old{ font-size:10.5px !important; }
  .product-card .add-btn,.product-card .btn-add,.product-card button[data-id]{ min-height:34px !important; font-size:12.8px !important; }
  .product-card :is(.tag-left,.tag-bxgy,.tag-right-bxgy,.offer-badge,.promo-badge){ top:8px !important; left:8px !important; padding:.23rem .42rem !important; font-size:9px !important; }
  .product-card .tag-right{ top:8px !important; right:8px !important; padding:.23rem .42rem !important; font-size:9px !important; }
}

/* Shared app settings UI helpers */
.maintenance-banner{
  position:sticky;top:0;z-index:40000;background:#111827;color:#fff;text-align:center;
  padding:.65rem 1rem;font-weight:700;font-size:.9rem;box-shadow:0 8px 24px rgba(0,0,0,.12)
}
.app-brand-logo{width:34px;height:34px;object-fit:contain;border-radius:10px;background:#fff;display:inline-block;vertical-align:middle}
[data-site-name]{font-weight:inherit}


/* === Chicona gentle badge/layout fix (keeps previous card size) === */
.product-card{ position:relative !important; }
.product-card :is(.tag-left,.tag-bxgy,.tag-right-bxgy,.offer-badge,.promo-badge),
.product-card :is(.offer-badge[data-type="percent"],.offer-badge[data-type="fixed"],.promo-badge[data-type="percent"],.promo-badge[data-type="fixed"]){
  position:absolute !important;
  top:9px !important;
  left:9px !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:12 !important;
  width:auto !important;
  max-width:calc(50% - 12px) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:.25rem .48rem !important;
  border-radius:999px !important;
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:650 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  background:linear-gradient(135deg,#111827,#374151) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 5px 14px rgba(15,23,42,.15) !important;
}
.product-card .tag-right{
  position:absolute !important;
  top:9px !important;
  right:9px !important;
  left:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  z-index:13 !important;
  max-width:calc(50% - 12px) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:.25rem .48rem !important;
  border-radius:999px !important;
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:650 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  background:linear-gradient(135deg,#16a34a,#15803d) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 5px 14px rgba(21,128,61,.15) !important;
}
.product-card:has(.tag-bxgy) .tag-left{ display:none !important; }
.product-card:has(.tag-bxgy) .tag-bxgy{ left:9px !important; right:auto !important; top:9px !important; }
@media (max-width:640px){
  .product-card :is(.tag-left,.tag-bxgy,.tag-right-bxgy,.offer-badge,.promo-badge){top:8px!important;left:8px!important;font-size:9px!important;padding:.23rem .42rem!important;}
  .product-card .tag-right{top:8px!important;right:8px!important;font-size:9px!important;padding:.23rem .42rem!important;}
}



/* ===== assets/css/nav-page.css ===== */
/* ===== nav.html inline style 1 ===== */
:root{
    --sb-w: 340px;
    --ease: cubic-bezier(.22,.61,.36,1);
    --gold: #d4a019;
    --accent: #0b1320;
    --muted: #6b7280;
    --bg: #fbfcfe;
    --glass: rgba(255,255,255,0.78);
    --soft-shadow: 0 12px 36px rgba(2,6,23,.10);
    --card-shadow: 0 8px 20px rgba(2,6,23,.06);
  }

  html[dir="ltr"]{ --sb-hide-shift: -110%; }
  html[dir="rtl"]{ --sb-hide-shift:  110%; }

  html[lang="en"] .i18n-ar{ display:none!important; }
  html[lang="ar"] .i18n-en{ display:none!important; }

  *{ box-sizing:border-box; }
  .nav{
    position:sticky; top:0; z-index:1300;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(251,252,255,0.9));
    border-bottom:1px solid rgba(10,20,34,0.04);
    backdrop-filter: blur(8px) saturate(120%);
    transition:box-shadow .25s var(--ease), transform .25s var(--ease);
    box-shadow: 0 2px 8px rgba(2,6,23,.03);
  }
  .nav-row{ max-width:1280px; margin:0 auto; padding:.7rem 1rem;
    display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:.6rem; }
  .brand{ justify-self:center; font-weight:900; font-size:1.4rem; line-height:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--accent); display:inline-block; transform:translateY(-2px) scale(.99); opacity:0; animation:brandIn .56s .08s forwards var(--ease); letter-spacing:.2px; }
  @keyframes brandIn{ to{ opacity:1; transform:translateY(0) scale(1);} }
  .left-cluster{ display:flex; align-items:center; gap:.6rem; justify-self:start; }
  .right-cluster{ display:flex; align-items:center; gap:.6rem; justify-self:end; }

  .icon-btn{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border:1px solid rgba(10,20,34,0.04); border-radius:.9rem; transition:border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease), transform .12s ease, box-shadow .12s ease; background:linear-gradient(180deg, var(--bg), #ffffff); color:var(--accent); cursor:pointer; box-shadow: var(--card-shadow); }
  .icon-btn:hover{ border-color:rgba(212,160,25,.95); color:var(--gold); transform:translateY(-4px) scale(1.03); box-shadow:var(--soft-shadow); }
  .icon-btn:active{ transform:translateY(-1px) scale(.99); }
  .icon-24{ width:22px; height:22px; display:block; }

  .badge{ position:absolute; top:-6px; inset-inline-start:-6px; font-size:11px; background:#ef4444; color:#fff; border-radius:999px; padding:.18rem .44rem; display:none; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(239,68,68,.14); animation:badgePulse 1.8s infinite ease-in-out; transform-origin:center; }
  @keyframes badgePulse{ 0%{ transform:scale(1); opacity:1; } 60%{ transform:scale(1.06); opacity:.96; } 100%{ transform:scale(1); opacity:1; } }

  #accountWrap{ position:relative; }
  #accountMenu{ position:absolute; inset-inline-end:0; margin-top:.6rem; width:17rem; background:var(--glass); border:1px solid rgba(10,20,34,0.04); border-radius:1rem; box-shadow:0 18px 48px rgba(2,6,23,.12); padding:.3rem; display:none; z-index:1400; transform-origin:top right; transform:translateY(-10px) scale(.96); opacity:0; transition:transform .26s cubic-bezier(.2,.8,.2,1), opacity .22s linear; backdrop-filter: blur(8px) saturate(120%); overflow:visible; }
  #accountMenu::before{ content:""; position:absolute; top:-8px; right:16px; width:12px; height:12px; background:var(--glass); transform:rotate(45deg); border-radius:2px; filter:drop-shadow(0 4px 10px rgba(2,6,23,.06)); }
  #accountMenu.visible{ display:block; transform:translateY(0) scale(1); opacity:1; }
  #accountMenu a, #accountMenu button{ display:block; width:100%; text-align:start; padding:.6rem .75rem; border-radius:.65rem; background:transparent; color:var(--accent); border:0; font-weight:700; }
  #accountMenu a:hover, #accountMenu button:hover{ background: linear-gradient(90deg, rgba(212,160,25,0.08), rgba(212,160,25,0.04)); color:var(--gold); transform:translateX(6px); }
  #accountMenu a:focus, #accountMenu button:focus{ outline: none; box-shadow: 0 6px 20px rgba(212,160,25,0.12); border-radius:.6rem; }

  .sb{ position:fixed; top:0; bottom:0; inset-inline-start:0; width:var(--sb-w); background:linear-gradient(180deg,var(--bg),#fbfbfb); z-index:1250; will-change:transform,opacity; transform:translateX(var(--sb-hide-shift)); opacity:0; transition:transform .36s var(--ease), opacity .28s var(--ease); border-inline-end:1px solid rgba(10,20,34,0.04); box-shadow: 0 30px 64px rgba(2,6,23,.12); overflow:hidden; }
  .sb.open{ transform:translateX(0); opacity:1; }
  .sb-overlay{ position:fixed; inset:0; background:rgba(2,6,23,0.44); backdrop-filter:saturate(120%) blur(5px); opacity:0; visibility:hidden; transition:opacity .28s var(--ease), visibility .28s var(--ease); z-index:1200; }
  .sb-overlay.active{ opacity:1; visibility:visible; }
  .sb-head{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:1rem; border-bottom:1px solid rgba(10,20,34,0.03); }
  .sb-title{ font-weight:900; font-size:1.05rem; color:var(--accent); letter-spacing:.2px; }
  .sb-body{ padding:1rem; height:100%; overflow:auto; -webkit-overflow-scrolling:touch; }
  .sb-search{ width:100%; border:1px solid rgba(10,20,34,0.04); border-radius:999px; padding:.6rem .9rem; transition:box-shadow .18s var(--ease), border-color .18s var(--ease); box-shadow: 0 6px 18px rgba(16,24,40,.04); }
  .sb-search:focus{ outline:none; box-shadow:0 12px 36px rgba(16,24,40,.06); border-color:rgba(212,160,25,.95); }
  .lang-seg{ display:inline-flex; border:1px solid rgba(10,20,34,0.04); border-radius:999px; overflow:hidden; background:#fff; box-shadow: 0 6px 18px rgba(16,24,40,.03); }
  .lang-seg button{ padding:.42rem .72rem; font-size:.88rem; background:transparent; border:0; cursor:pointer; color:var(--muted); transition:background .18s var(--ease), color .18s var(--ease), transform .12s ease; }
  .lang-seg button:hover{ transform:translateY(-2px); }
  .lang-seg button.active{ background:linear-gradient(90deg, rgba(212,160,25,0.08), rgba(212,160,25,0.03)); color:var(--gold); font-weight:800; }
  .sb-link{ display:flex; align-items:center; gap:.6rem; border:1px solid rgba(10,20,34,0.03); border-radius:.75rem; padding:.56rem .65rem; color:var(--accent); text-decoration:none; transition:box-shadow .14s var(--ease), transform .14s var(--ease), border-color .14s var(--ease); background:linear-gradient(180deg, #fff,#fbfbfb); }
  .sb-link:hover{ border-color:rgba(212,160,25,.95); color:var(--gold); transform:translateX(6px); box-shadow:0 12px 36px rgba(15,23,42,.06); }

  details.sb-acc{ border:1px solid rgba(10,20,34,0.03); border-radius:.9rem; margin-top:.65rem; overflow:visible; background:linear-gradient(180deg,#fff,#fafafa); transition:box-shadow .18s var(--ease); box-shadow: 0 6px 18px rgba(2,6,23,.04); }
  details.sb-acc>summary{ list-style:none; display:flex; align-items:center; justify-content:space-between; cursor:pointer; padding:.72rem .8rem; font-weight:800; color:var(--accent); position:relative; }
  details.sb-acc>summary::-webkit-details-marker{ display:none; }
  details.sb-acc>summary .summary-title{ display:flex; gap:.5rem; align-items:center; }
  details.sb-acc>summary .summary-title svg{ opacity:.9; transform:translateY(0); transition:transform .24s var(--ease), opacity .22s var(--ease); }
  details.sb-acc>summary::after{ content:"▾"; font-size:.95rem; color:var(--muted); transform-origin:center; transition:transform .22s var(--ease), color .18s var(--ease), opacity .18s var(--ease); display:inline-block; margin-left:.35rem; }
  details.sb-acc[open]>summary{ background:linear-gradient(90deg, rgba(212,160,25,0.06), rgba(212,160,25,0.02)); color:var(--gold); }
  details.sb-acc[open]>summary::after{ transform:rotate(180deg) translateY(-1px); color:var(--gold); opacity:1; }
  details.sb-acc[open]{ box-shadow: 0 18px 42px rgba(2,6,23,.06); }

  .sb-acc-panel{ padding:.45rem .55rem .65rem; overflow:hidden; max-height:0; opacity:0; transform:translateY(6px); transition: max-height .34s var(--ease), opacity .28s var(--ease), transform .28s var(--ease); }
  details.sb-acc[open] > .sb-acc-panel{ opacity:1; transform:translateY(0); }

  .sb-item{ display:block; padding:.56rem .6rem; border-radius:.55rem; color:var(--accent); text-decoration:none; font-weight:700; transition: transform .14s var(--ease), background .14s var(--ease), color .14s var(--ease); }
  .sb-item:hover{ background:linear-gradient(90deg, rgba(212,160,25,0.06), rgba(212,160,25,0.02)); color:var(--gold); transform:translateX(6px); }

  .sb-more{ display:block; margin-top:.45rem; text-align:center; font-weight:800; border-radius:.55rem; padding:.5rem .6rem; color:var(--accent); text-decoration:none; background:transparent; }
  .sb-more:hover{ background:linear-gradient(90deg, rgba(250,246,234,1), rgba(255,255,255,1)); color:var(--gold); transform:translateY(-2px); }

  .nav-search{ display:none; }
  @media(min-width:1024px){
    .nav-search{ display:block; }
    .nav-search input{ width:22rem; max-width:28rem; border:1px solid rgba(10,20,34,0.04); border-radius:999px; padding:.55rem .9rem; transition:box-shadow .18s var(--ease); box-shadow: 0 8px 22px rgba(16,24,40,.04); }
    .nav-search input:focus{ outline:none; box-shadow:0 12px 36px rgba(16,24,40,.06); border-color:rgba(212,160,25,.95); }
  }

  .relative{ position:relative; }
  .text-sm{ font-size:.92rem; color:var(--muted); }
  .items-center{ display:flex; align-items:center; }
  .justify-between{ justify-content:space-between; }
  .flex{ display:flex; }
  .px-2{ padding-left:.5rem; padding-right:.5rem; }
  .py-2{ padding-top:.5rem; padding-bottom:.5rem; }
  :focus{ outline: 3px solid rgba(212,160,25,0.18); outline-offset:2px; border-radius:.5rem; }
  .list-loaded{ animation:fadeList .36s var(--ease); }
  @keyframes fadeList{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:none;} }


  .app-brand-logo{width:34px;height:34px;border-radius:10px;object-fit:contain;background:#fff;margin-inline-end:.45rem;vertical-align:middle;display:inline-block;}
  .brand{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;}

  @media(max-width:420px){
    .sb{ width:92vw; }
    .brand{ font-size:1.28rem; }
  }

