/* ==========================================================================
   TJAND COFFEE CO. — PURE CUSTOM STYLESHEET
   ========================================================================== */

   :root {
    --espresso: #3B2416;
    --dark-brown: #4E342E;
    --cream: #F5E6D3;
    --latte: #D8B384;
    --gold: #C89B3C;
    --gold-hover: #b08430;
    --white: #FFFFFF;
    --charcoal: #222222;
  
    --font-vazir: 'Vazirmatn', sans-serif;
    --font-tajawal: 'Tajawal', sans-serif;
    --font-amiri: 'Amiri', serif;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background-color: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-vazir);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
  }
  
  /* Common Layout Utilities */
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  .max-w-4xl { max-width: 896px; }
  
  /* SVG Utilities */
  .icon-sm { width: 0.875rem; height: 0.875rem; }
  .icon-md { width: 1.5rem; height: 1.5rem; }
  
  /* Preloader */
  .preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--espresso);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
  }
  .preloader.fade-out {
    opacity: 0;
    visibility: hidden;
  }
  .preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ring-spinner {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    border: 4px solid rgba(200, 155, 60, 0.1);
    border-top-color: var(--gold);
    animation: spin 1s linear infinite;
  }
  .coffee-emblem {
    position: absolute;
    top: 1rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--espresso);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 155, 60, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  .coffee-emblem .icon-svg {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--gold);
  }
  .brand-title {
    color: var(--cream);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-top: 1.5rem;
    font-family: monospace;
  }
  .gold-divider {
    width: 2rem;
    height: 2px;
    background-color: var(--gold);
    margin: 0.5rem 0;
  }
  .brand-slogan {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  /* Language Transition Overlay */
  .lang-transition-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--espresso);
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s ease;
  }
  .lang-transition-overlay.active {
    opacity: 1;
    transform: scaleY(1);
  }
  
  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(245, 230, 211, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 36, 22, 0.1);
    padding: 1rem 1.5rem;
  }
  .header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
  }
  .logo-icon {
    width: 2.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
  }
  .logo-header{
    width: 1.5rem;
  }
  .logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--espresso);
    letter-spacing: 0.1em;
    font-family: monospace;
  }
  .text-white { color: #fff !important; }
  
  .desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
  }
  @media (min-width: 768px) {
    .desktop-nav { display: flex; }
  }
  .desktop-nav a {
    color: var(--espresso);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s;
  }
  .desktop-nav a:hover { color: var(--gold); }
  
  .header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
  }
  @media (min-width: 768px) {
    .header-actions { display: flex; }
  }
  
  .lang-switcher {
    display: flex;
    align-items: center;
    background-color: rgba(59, 36, 22, 0.05);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(59, 36, 22, 0.1);
  }
  .lang-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    color: rgba(34, 34, 34, 0.6);
  }
  .lang-btn.active {
    background-color: var(--gold);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .cta-btn {
    background-color: var(--espresso);
    color: var(--cream);
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s;
    border: 1px solid rgba(200, 155, 60, 0.1);
  }
  .cta-btn:hover {
    background-color: var(--gold);
    color: var(--espresso);
  }
  
  .mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--espresso);
    padding: 0.5rem;
    cursor: pointer;
  }
  @media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
  }
  
  /* Mobile Overlay Drawer UI */
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(59, 36, 22, 0.98);
    backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    color: var(--cream);
  }
  .mobile-menu-overlay.flex { display: flex; }
  
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
  }
  .close-btn {
    background: transparent;
    border: none;
    color: var(--cream);
    cursor: pointer;
  }
  .close-btn:hover { color: var(--gold); }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .mobile-nav a {
    color: var(--cream);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
  }
  .mobile-nav a:hover { color: var(--gold); }
  
  .mobile-menu-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .lang-switcher.mobile {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
  }
  .lang-btn.mobile-lang { color: rgba(255,255,255,0.7); }
  .cta-btn.full-width {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    background-color: var(--gold);
    color: var(--espresso);
    padding: 0.85rem;
  }
  
  /* HERO SECTION */
  .hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 3rem;
    overflow: hidden;
    background-color: var(--espresso);
  }
  
  .hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1);
  }
  .hero-slide.active {
    opacity: 0.65;
    transform: scale(1.08);
  }
  .hero-overlay-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59,36,22,0.95) 0%, rgba(59,36,22,0.4) 50%, rgba(59,36,22,0.7) 100%);
  }
  
  .hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
  }
  @media (min-width: 1024px) {
    .hero-container { grid-template-columns: 7fr 5fr; }
  }
  
  .hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .hero-stagger.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 1.5rem;
    color: var(--cream);
    font-size: 0.75rem;
    font-weight: 700;
  }
  .badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--gold);
    animation: pulse 2s infinite;
  }
  
  .hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  @media (min-width: 640px) { .hero-title { font-size: 3rem; } }
  @media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
  
  .block-text { display: block; margin-bottom: 0.5rem; }
  .gold-text { color: var(--gold); font-style: italic; font-family: var(--font-amiri); display: block; }
  
  .hero-sub {
    font-size: 1rem;
    color: rgba(245, 230, 211, 0.85);
    max-width: 36rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  @media (min-width: 640px) {
    .hero-actions { flex-direction: row; width: auto; }
  }
  
  .btn-primary {
    background-color: var(--gold);
    color: var(--espresso);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
  }
  .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
  }
  
  /* Mug Graphic */
  .hero-graphic-col {
    display: flex;
    justify-content: center;
  }
  .mug-wrapper {
    position: relative;
    width: 20rem;
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (min-width: 640px) {
    .mug-wrapper { width: 24rem; height: 24rem; }
  }
  
  .glow-ring {
    position: absolute;
    inset: 0;
    background-color: rgba(200, 155, 60, 0.15);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 3s infinite;
  }
  .spin-ring {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    border: 1px solid rgba(200, 155, 60, 0.15);
    animation: spin 25s linear infinite;
  }
  
  .cup-core {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .steam-container {
    position: absolute;
    top: -4rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    width: 4rem;
    height: 5rem;
    pointer-events: none;
  }
  .steam-line { width: 0.75rem; height: 4rem; }
  .steam-1 { color: rgba(200, 155, 60, 0.5); animation: steam 3s infinite ease-in-out; }
  .steam-2 { color: rgba(245, 230, 211, 0.4); animation: steam 3.5s infinite ease-in-out 0.5s; }
  .steam-3 { color: rgba(200, 155, 60, 0.6); animation: steam 2.8s infinite ease-in-out 1s; }
  
  .mug-body {
    width: 13rem;
    height: 11rem;
    background-color: var(--cream);
    border-bottom-left-radius: 4.5rem;
    border-bottom-right-radius: 4.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    position: relative;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
    border-left: 4px solid rgba(200, 155, 60, 0.35);
    border-right: 4px solid rgba(200, 155, 60, 0.35);
    border-bottom: 4px solid rgba(200, 155, 60, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .mug-emblem {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1px solid rgba(59, 36, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mug-emblem-inner {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px dashed rgba(200, 155, 60, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-amiri);
    font-style: italic;
    font-size: 1.875rem;
    color: var(--espresso);
  }
  .mug-shine {
    position: absolute;
    top: 0; right: 0;
    width: 33%; height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: skewX(-12deg);
  }
  
  .mug-handle {
    width: 4rem;
    height: 6rem;
    border: 8px solid var(--cream);
    position: absolute;
    right: -1.75rem;
    top: 1rem;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
    z-index: -1;
  }
  .mug-saucer {
    width: 16rem;
    height: 1.25rem;
    background-color: var(--cream);
    border-radius: 9999px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    margin-top: 0.25rem;
    border-bottom: 2px solid rgba(200, 155, 60, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .saucer-inner {
    width: 14rem;
    height: 0.5rem;
    background-color: rgba(200, 155, 60, 0.4);
    border-radius: 9999px;
  }
  
  /* Scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.65;
  }
  .scroll-indicator span {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--cream);
    font-weight: 700;
  }
  .scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid var(--cream);
    display: flex;
    justify-content: center;
    padding: 0.375rem;
  }
  .scroll-wheel {
    width: 0.25rem;
    height: 0.625rem;
    background-color: var(--gold);
    border-radius: 9999px;
    animation: bounce 2s infinite;
  }
  
  /* MARQUEE */
  .marquee-section {
    width: 100%;
    background-color: var(--espresso);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(200, 155, 60, 0.3);
    border-bottom: 1px solid rgba(200, 155, 60, 0.3);
    overflow: hidden;
    white-space: nowrap;
  }
  .marquee-track {
    display: inline-flex;
    gap: 4rem;
    color: var(--cream);
    font-weight: 900;
    font-size: 0.875rem;
  }
  .animate-marquee {
    animation: marquee 20s linear infinite;
  }
  
  /* PRODUCTS SECTION */
  .products-section {
    padding: 6rem 0;
    background-color: rgba(245, 230, 211, 0.4);
  }
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section-badge {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 0.1em;
    background-color: rgba(59, 36, 22, 0.05);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(59, 36, 22, 0.05);
  }
  .section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--espresso);
  }
  @media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
  .section-title.text-start { text-align: start; }
  .section-sub {
    font-size: 0.875rem;
    color: rgba(59, 36, 22, 0.65);
    margin-top: 0.5rem;
  }
  .gold-line {
    width: 3rem;
    height: 4px;
    background-color: var(--gold);
    border-radius: 9999px;
    margin-top: 1.5rem;
  }
  
  .carousel-container {
    width: 100%;
    overflow: hidden; /* ❌ این بخش احتمالاً کم بوده؛ حتماً اضافه کنید تا کارت‌های بیرون نزنن */
    position: relative;
  }
  .carousel-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--espresso);
    color: var(--cream);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  @media (min-width: 640px) { .carousel-arrow { display: flex; } }
  .carousel-arrow:hover { background-color: var(--gold); color: var(--espresso); }
  .carousel-arrow.prev { right: -1rem; }
  .carousel-arrow.next { left: -1rem; }
  @media (min-width: 1024px) {
    .carousel-arrow.prev { right: -3.5rem; }
    .carousel-arrow.next { left: -3.5rem; }
  }
  
  .carousel-viewport {
    overflow: hidden;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
  }
  .card {
    min-width: 100%; /* ❌ اگر این نبا‌شه کارت‌ها جابه‌جا و نصفه میشن */
    box-sizing: border-box; /* جلوگیری از بهم خوردن سایز با padding */
  }
  .card img {
    width: 100%;
    height: 220px; /* یا هر ارتفاع دلخواهی که دارید */
    object-fit: cover; /* ❌ حتماً بگذارید تا عکس لود نشده یا تغییر سایز داده، دفرمه نشه */
  }
  .product-card {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(59, 36, 22, 0.05);
    transition: all 0.5s ease;
  }
  @media (min-width: 640px) { .product-card { width: 320px; } }
  
  .product-card.active-card {
    transform: scale(1);
    opacity: 1;
    border: 2px solid rgba(200, 155, 60, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }
  .product-card.inactive-card {
    transform: scale(0.92);
    opacity: 0.5;
  }
  
  .card-img-wrap {
    position: relative;
    height: 14rem;
    overflow: hidden;
    background-color: rgba(59, 36, 22, 0.05);
  }
  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
  }
  .product-card:hover .card-img-wrap img { transform: scale(1.05); }
  
  .card-cat-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(59, 36, 22, 0.85);
    color: var(--cream);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
  }
  
  .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
  }
  .card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }
  .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--espresso);
  }
  .stars-wrap { display: flex; gap: 0.125rem; color: var(--gold); }
  
  .card-desc {
    font-size: 0.8rem;
    color: rgba(59, 36, 22, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(59, 36, 22, 0.05);
  }
  .btn-outline-sm {
    padding: 0.6rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 9999px;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s;
  }
  .btn-outline-sm:hover { background-color: var(--gold); color: #fff; }
  
  .btn-dark-sm {
    padding: 0.6rem;
    background-color: var(--espresso);
    color: var(--cream);
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s;
  }
  .btn-dark-sm:hover { background-color: var(--dark-brown); }
  
  .mobile-carousel-controls {
    display: flex !important; /* تضمین نمایش در تمام سایزها (موبایل، تبلت و ویندوز) */
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    z-index: 10;
  }
  @media (min-width: 640px) { .mobile-carousel-controls { display: none; } }
  .mobile-arrow {
    background: #3f2e21; /* رنگ دلخواه خود را بگذارید */
    color: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, transform 0.2s;
  }
  .mobile-arrow:hover {
    background: #5c4331;
    transform: scale(1.05);
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }
  .dot {
    height: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
  }
  .dot.active { width: 2rem; background-color: var(--gold); }
  .dot.inactive { width: 0.5rem; background-color: rgba(59, 36, 22, 0.2); }
  
  /* ABOUT SECTION */
  .about-section {
    padding: 6rem 0;
    background-color: #fff;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }
  @media (min-width: 1024px) { .about-grid { grid-template-columns: 7fr 5fr; } }
  
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .about-text {
    font-size: 0.95rem;
    color: rgba(59, 36, 22, 0.75);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
  }
  
  .strategic-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    margin-bottom: 2.5rem;
  }
  @media (min-width: 640px) { .strategic-blocks { grid-template-columns: repeat(3, 1fr); } }
  
  .strategic-card {
    padding: 1.25rem;
    background-color: rgba(245, 230, 211, 0.3);
    border-radius: 1rem;
    border: 1px solid rgba(59, 36, 22, 0.05);
  }
  .card-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
  .num-badge {
    width: 1.5rem; height: 1.5rem;
    border-radius: 50%;
    background-color: var(--espresso);
    color: var(--cream);
    font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .strategic-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--espresso); }
  .strategic-card p { font-size: 0.75rem; color: rgba(59, 36, 22, 0.7); line-height: 1.5; }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 36, 22, 0.1);
  }
  @media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
  .stat-num { font-size: 1.875rem; font-weight: 900; color: var(--espresso); }
  .stat-num.gold { color: var(--gold); }
  .stat-lbl { font-size: 0.75rem; color: rgba(59, 36, 22, 0.65); }
  
  .about-media { width: 100%; }
  .media-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
  }
  .media-frame img { width: 100%; height: 100%; object-fit: cover; }
  .media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(59,36,22,0.95), transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
    color: var(--cream);
  }
  .media-tag {
    background-color: var(--gold);
    color: var(--espresso);
    font-size: 0.625rem; font-weight: 900;
    padding: 0.25rem 0.75rem; border-radius: 9999px;
    width: max-content; margin-bottom: 0.75rem;
  }
  
  /* WHY US SECTION */
  .whyus-section {
    padding: 6rem 0;
    background-color: rgba(245, 230, 211, 0.3);
  }
  .whyus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  @media (min-width: 640px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .whyus-grid { grid-template-columns: repeat(4, 1fr); } }
  
  .whyus-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(59, 36, 22, 0.05);
    transition: all 0.3s;
  }
  .whyus-card:hover {
    border-color: rgba(200, 155, 60, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .whyus-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 0.75rem;
    background-color: var(--cream);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
  }
  .whyus-title { font-size: 1rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.5rem; }
  .whyus-desc { font-size: 0.8rem; color: rgba(59, 36, 22, 0.6); line-height: 1.6; }
  
  /* FAQ SECTION */
  .faq-section {
    padding: 6rem 0;
    background-color: #fff;
  }
  .faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
  .faq-card {
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(59, 36, 22, 0.05);
    overflow: hidden;
  }
  .faq-btn {
    width: 100%; text-align: start; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent; border: none; cursor: pointer; color: var(--espresso);
  }
  .faq-btn-title { font-weight: 700; font-size: 0.95rem; }
  .faq-chevron { transition: transform 0.3s; color: rgba(59, 36, 22, 0.4); }
  .faq-chevron.rotate { transform: rotate(180deg); color: var(--gold); }
  
  .faq-body {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: all 0.3s ease-in-out;
  }
  .faq-body.open { max-height: 500px; opacity: 1; }
  .faq-body-text {
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem; color: rgba(59, 36, 22, 0.7);
    line-height: 1.7; background-color: rgba(245, 230, 211, 0.1);
    border-top: 1px solid rgba(59, 36, 22, 0.05);
  }
  
  /* FOOTER */
  .site-footer {
    background-color: var(--espresso);
    color: var(--cream);
    padding-top: 5rem; padding-bottom: 2rem;
    border-top: 2px solid rgba(200, 155, 60, 0.15);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  @media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
  
  .footer-about { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 1.5rem; line-height: 1.7; max-width: 24rem; }
  .footer-title { font-size: 0.875rem; font-weight: 900; color: #fff; text-transform: uppercase; margin-bottom: 1.5rem; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: var(--gold); }
  .footer-address { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-style: italic; margin-top: 1.5rem; }
  
  .footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  @media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
  .copyright { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
  .top-btn {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
  }
  .top-btn:hover { background-color: var(--gold); color: var(--espresso); }
  
  /* MODAL */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background-color: rgba(59, 36, 22, 0.8);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    padding: 1rem;
  }
  .modal-overlay.flex { display: flex; }
  .modal-card {
    background-color: #fff;
    border-radius: 1.5rem;
    max-width: 42rem; width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  }
  .modal-close-btn {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background-color: rgba(255,255,255,0.9); border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
  }
  .modal-scroll-area { overflow-y: auto; max-height: 90vh; }
  .modal-img-wrap { position: relative; height: 18rem; background-color: rgba(59,36,22,0.05); }
  .modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .modal-category-badge {
    position: absolute; bottom: 1rem; left: 1rem;
    background-color: var(--espresso); color: var(--cream);
    font-size: 0.625rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 9999px;
  }
  .modal-body { padding: 2rem; }
  .modal-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(59,36,22,0.1); }
  @media (min-width: 640px) { .modal-header { flex-direction: row; align-items: center; justify-content: space-between; } }
  .modal-title { font-size: 1.5rem; font-weight: 900; color: var(--espresso); }
  .modal-buy-btn { width: max-content; }
  .modal-section { margin-bottom: 1.5rem; }
  .modal-section-title { font-size: 0.875rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; text-transform: uppercase; }
  .modal-desc-text { font-size: 0.875rem; color: rgba(59,36,22,0.8); line-height: 1.7; }
  .modal-usage-box { padding: 1.25rem; background-color: rgba(245, 230, 211, 0.45); border-radius: 1rem; border: 1px solid rgba(200,155,60,0.1); }
  .usage-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--espresso); font-weight: 700; font-size: 0.85rem; }
  .text-gold { color: var(--gold); }
  .modal-usage-text { font-size: 0.8rem; color: rgba(59,36,22,0.75); line-height: 1.6; }
  
  /* Custom Cursor Elements */
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(200, 155, 60, 0.3);
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  }
  .custom-cursor.grow {
    width: 45px;
    height: 45px;
    background-color: rgba(200, 155, 60, 0.15);
    border-color: var(--gold-hover);
  }
  
  @media (hover: none) and (pointer: coarse) {
    .custom-cursor { display: none; }
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--espresso);
    color: var(--cream);
    border: 1px solid var(--gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  .back-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--gold);
    color: var(--espresso);
  }
  
  /* KEYFRAMES */
  @keyframes spin { 100% { transform: rotate(360deg); } }
  @keyframes pulse { 50% { opacity: 0.5; } }
  @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @keyframes steam {
    0% { transform: translateY(0) scaleX(1); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-20px) scaleX(1.3); opacity: 0; }
  }
  /* ==========================================================================
   PRODUCT MODAL REDESIGN - B2B & COMMERCIAL STYLES
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(34, 22, 14, 0.82);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.flex { display: flex; }

.modal-card {
  position: relative;
  background-color: #FFFFFF;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(200, 155, 60, 0.3);
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 30;
  background-color: rgba(59, 36, 22, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
[dir="ltr"] .modal-close-btn { left: auto; right: 1.25rem; }
.modal-close-btn:hover { background-color: var(--gold); color: var(--espresso); transform: rotate(90deg); }

.modal-scroll-area {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background-color: var(--espresso);
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-category-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: rgba(59, 36, 22, 0.9);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}
[dir="ltr"] .modal-category-badge { right: auto; left: 1.25rem; }

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal-header-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(59, 36, 22, 0.1);
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .modal-header-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--espresso);
  line-height: 1.2;
}
.modal-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-top: 0.25rem;
}

.modal-buy-btn {
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(200, 155, 60, 0.3);
  white-space: nowrap;
}

.modal-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.text-gold-dark { color: #8C651A; }

.modal-desc-text {
  font-size: 0.925rem;
  color: rgba(34, 34, 34, 0.8);
  line-height: 1.8;
  text-align: justify;
}

/* B2B Highlights Box */
.b2b-highlights-box {
  background-color: #FFFDF9;
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-right: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
}
[dir="ltr"] .b2b-highlights-box { border-right: 1px solid rgba(200, 155, 60, 0.25); border-left: 4px solid var(--gold); }

.b2b-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.b2b-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--espresso);
}

/* Specs Table */
.specs-table-wrapper {
  border: 1px solid rgba(59, 36, 22, 0.1);
  border-radius: 0.85rem;
  overflow: hidden;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.specs-table tr:nth-child(even) { background-color: rgba(245, 230, 211, 0.25); }
.specs-table th {
  width: 35%;
  text-align: start;
  padding: 0.75rem 1rem;
  color: var(--espresso);
  font-weight: 700;
  background-color: rgba(59, 36, 22, 0.04);
  border-bottom: 1px solid rgba(59, 36, 22, 0.08);
}
.specs-table td {
  padding: 0.75rem 1rem;
  color: rgba(34, 34, 34, 0.85);
  border-bottom: 1px solid rgba(59, 36, 22, 0.08);
}

/* Usage Box */
.modal-usage-box {
  background-color: rgba(245, 230, 211, 0.4);
  border: 1px dashed var(--gold);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
}
.usage-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.usage-title { font-size: 1rem; font-weight: 800; color: var(--espresso); }
.modal-usage-text { font-size: 0.875rem; color: rgba(34, 34, 34, 0.8); line-height: 1.7; }

/* Applications Grid Chips */
.apps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(59, 36, 22, 0.05);
  border: 1px solid rgba(59, 36, 22, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--espresso);
}
.chip-dot { width: 6px; height: 6px; background-color: var(--gold); border-radius: 50%; }

/* Trust Footer */
.modal-trust-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 36, 22, 0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--espresso);
}
/* ==========================================================================
   PRODUCT CARD FIXES
   ========================================================================== */

/* استایل بخش بدنه کارت */
.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* تراز کردن عنوان و ستاره‌ها */
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--espresso, #3B2416);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stars-wrap {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

/* بخش دکمه‌های پایین کارت */
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.25rem;
  align-items: center;
}

/* استایل عمومی دکمه‌های کارت */
.product-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.75rem; /* ارتفاع ثابت برای یکسان‌سازی */
  padding: 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap; /* جلوگیری از شکستن متن به دو خط */
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* دکمه اصلی (خرید عمده از سیلورنات) */
.btn-card-primary {
  background-color: var(--espresso, #3B2416);
  color: #FFFFFF;
  border: 1px solid var(--espresso, #3B2416);
}

.btn-card-primary:hover {
  background-color: var(--gold, #C89B3C);
  border-color: var(--gold, #C89B3C);
  color: var(--espresso, #3B2416);
}

/* دکمه ثانویه (جزئیات و سفارش) */
.btn-card-secondary {
  background-color: transparent;
  color: var(--gold-dark, #8C651A);
  border: 1.5px solid var(--gold, #C89B3C);
}

.btn-card-secondary:hover {
  background-color: rgba(200, 155, 60, 0.1);
  color: var(--espresso, #3B2416);
}

/* تنظیم سایز آیکون‌های داخل دکمه */
.product-card-actions svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
/* ==========================================================================
   PRODUCT CARDS GRID & BUTTON LAYOUT FIXES
   ========================================================================== */

   .product-card {
    background-color: #FFFFFF;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(59, 36, 22, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(59, 36, 22, 0.15);
  }
  
  .product-card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #22160E;
  }
  
  .product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-card-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background-color: rgba(59, 36, 22, 0.85);
    color: #C89B3C;
    border: 1px solid #C89B3C;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
  }
  [dir="ltr"] .product-card-badge { right: auto; left: 0.85rem; }
  
  .product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }
  
  .product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .product-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #3B2416;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .product-card-desc {
    font-size: 0.85rem;
    color: rgba(34, 34, 34, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .stars-wrap {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex-shrink: 0;
  }
  
  .product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto;
    align-items: center;
  }
  
  .product-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 2.6rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  
  .btn-card-primary {
    background-color: #3B2416;
    color: #FFFFFF;
    border: 1px solid #3B2416;
  }
  
  .btn-card-primary:hover {
    background-color: #C89B3C;
    border-color: #C89B3C;
    color: #3B2416;
  }
  
  .btn-card-secondary {
    background-color: transparent;
    color: #8C651A;
    border: 1.5px solid #C89B3C;
  }
  
  .btn-card-secondary:hover {
    background-color: rgba(200, 155, 60, 0.12);
    color: #3B2416;
  }
  /* Custom Cursor Fixes */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background-color: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--espresso);
  color: var(--cream);
  border: 1px solid var(--gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Modal Overlay & Card Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(34, 34, 34, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.flex { display: flex; }

.modal-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.modal-close-btn:hover { background: var(--gold); }

.modal-scroll-area {
  overflow-y: auto;
  height: 100%;
}

.modal-img-wrap {
  position: relative;
  height: 250px;
  width: 100%;
  background-color: var(--espresso);
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-category-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--gold);
  color: var(--espresso);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.modal-body { padding: 2rem; }
.modal-header-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .modal-header-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.modal-title { font-size: 1.5rem; color: var(--espresso); font-weight: 800; }
.modal-tagline { font-size: 0.875rem; color: var(--gold-hover); margin-top: 0.25rem; }
.modal-section { margin-bottom: 1.5rem; }
.modal-section-title { font-size: 1rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.5rem; }
.modal-desc-text { font-size: 0.875rem; color: #555; line-height: 1.7; }

.b2b-highlights-box {
  background-color: rgba(245, 230, 211, 0.4);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px dashed var(--gold);
}
.b2b-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.b2b-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--charcoal); }

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.specs-table th, .specs-table td { padding: 0.6rem 0.8rem; text-align: right; border-bottom: 1px solid #eee; }
.specs-table th { color: var(--espresso); font-weight: 700; width: 40%; }
.specs-table td { color: #666; }

.modal-usage-box {
  background: var(--espresso);
  color: var(--cream);
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}
.usage-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.usage-title { font-weight: 700; color: var(--gold); }
.modal-usage-text { font-size: 0.85rem; line-height: 1.6; opacity: 0.9; }

.apps-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0f0f0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--charcoal);
}
.chip-dot { width: 6px; height: 6px; background-color: var(--gold); border-radius: 50%; }

.modal-trust-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--espresso);
}
.trust-item { display: flex; align-items: center; gap: 0.35rem; }

/* Accordion FAQ Styles */
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-card { background: #fff; border-radius: 1rem; border: 1px solid rgba(59, 36, 22, 0.1); overflow: hidden; }
.faq-btn {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  color: var(--espresso);
}
.faq-chevron { transition: transform 0.3s; }
.faq-chevron.rotate { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.25rem; }
.faq-body.open { max-height: 200px; padding: 0 1.25rem 1.25rem 1.25rem; }
.faq-body-text { font-size: 0.875rem; color: #666; line-height: 1.7; }

/* Why Us Styles */
.whyus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.whyus-card { background: #fff; padding: 1.5rem; border-radius: 1.25rem; border: 1px solid rgba(59, 36, 22, 0.05); }
.whyus-icon { width: 3rem; height: 3rem; background: rgba(200, 155, 60, 0.1); color: var(--gold); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.whyus-title { font-size: 1rem; font-weight: 700; color: var(--espresso); margin-bottom: 0.5rem; }
.whyus-desc { font-size: 0.8rem; color: #666; line-height: 1.6; }