@font-face {
    font-family: "IranYekan";
    src: url("../frontend/fonts/IranYekan.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

:root {
    /* پالت رنگی اصلی */
    --primary-color: #0a2b4c; /* سرمه‌ای عمیق */
    --secondary-color: #f7c02b; /* طلایی/زرد */
    --accent-color: #f26c3d; /* نارنجی (از پالت تصویر) */

    /* رنگ‌های پس‌زمینه */
    --bg-dark: #0a2b4c;
    --bg-light: #fdfaf6; /* کرم خیلی روشن (جایگزین سفید) */

    /* رنگ‌های متن */
    --text-dark: #0a2b4c;
    --text-light: #ffffff;
    --text-accent: #f7c02b;
}

body {
    font-family: "IranYekan", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/*
 * =========================================
 * انیمیشن‌ها (برای جذابیت بیشتر)
 * =========================================
 */

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

.animate-on-scroll {
    opacity: 0;
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.7s ease-out forwards;
}

/*
 * =========================================
 * هدر و فوتر (بر اساس تم جدید)
 * =========================================
 */

.navbar-custom {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .btn-icon {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--text-light) !important;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(1.2rem + 0.2vw); /* پایه 1.2rem، رشد بسیار کم */
}

/* دکمه‌های هدر */
.btn-outline-gold {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.btn-outline-gold:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
}
.btn-gold:hover {
    background-color: #e0ac1a;
    color: var(--primary-color);
}

/* فوتر (Footer) - سبک و جمع‌وجور */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem 0;
    margin-top: 3rem;
}
.main-footer .footer-logo {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.main-footer .footer-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 0;
}
.main-footer h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}
.main-footer ul {
    margin-bottom: 0;
}
.main-footer ul li {
    margin-bottom: 0.25rem;
}
.main-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}
.main-footer a:hover {
    color: var(--secondary-color);
}
.footer-bottom {
    border-top: 1px solid #2c4a6c;
    padding-top: 0.75rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-bottom p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/*
 * =========================================
 * استایل‌های سفارشی صفحه اصلی
 * =========================================
 */

/* عنوان‌های بخش‌ها */
.section-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* بخش Hero */
.hero-section {
    position: relative;
    padding: 8rem 0;
    color: white;
    overflow: hidden;
}
.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.7;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}
.hero-content h1 {
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* --- اصلاح شد: ریسپانسیو با calc --- */
    font-size: calc(2.1rem + 1vw); /* پایه 2.1rem، رشد کم */
}

/* کارت محصول */
.product-card {
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.product-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.product-card .card-body {
    text-align: center;
}
.product-card .card-title {
    font-weight: 500;
    color: var(--text-dark);
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(0.9rem + 0.2vw); /* پایه 0.9rem، رشد خیلی کم */
}
.product-card .card-price {
    font-weight: 700;
    color: var(--primary-color);
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(0.95rem + 0.2vw);
}

/* بخش ویژگی‌ها (چرا ما؟) */
.feature-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.feature-box .icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: calc(1.8rem + 0.3vw);
    background: linear-gradient(135deg, var(--primary-color), #1a3a5c);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-box .icon i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}
.feature-box h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: calc(1rem + 0.1vw);
}
.feature-box p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: calc(0.9rem + 0.1vw);
}

/* استایل‌های رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .feature-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        min-height: auto;
    }

    .feature-box .icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-box .icon i {
        font-size: 1.5rem;
    }

    .feature-box h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-box p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* فاصله بین کارت‌ها در موبایل */
    .row > .col-md-4 {
        margin-bottom: 1rem;
    }

    /* عنوان بخش در موبایل */
    .container.py-5 .text-center h2 {
        font-size: 1.5rem;
    }

    .container.py-5 .text-center p {
        font-size: 0.9rem;
    }

    /* تنظیمات فوتر برای موبایل */
    .main-footer {
        padding: 1rem 0;
    }
    .main-footer .col-lg-4,
    .main-footer .col-lg-2,
    .main-footer .col-lg-3 {
        margin-bottom: 1rem;
    }

    /* تنظیمات دسته‌بندی برای موبایل */
    .category-section {
        padding: 2rem 0;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .section-subtitle {
        font-size: 0.8rem;
    }
    .category-circle-image {
        width: 60px;
        height: 60px;
        margin-bottom: 0.4rem;
    }
    .category-circle-title {
        font-size: 0.7rem;
        min-height: 2.2rem;
        line-height: 1.2;
        align-items: center;
    }

    /* تنظیمات برای 5 دسته‌بندی - چیدمان منظم */
    .category-section .row {
        justify-content: center !important;
    }
    .category-section .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    @media (max-width: 576px) {
        .category-section .col-4 {
            flex: 0 0 33.333%;
            max-width: 33.333%;
        }
    }
}
/*
 * =========================================
 * استایل جدید دسته‌بندی (دایره‌ای) - فشرده و کوچک
 * =========================================
 */
.category-section .row {
    justify-content: center;
}

.category-circle-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem;
    margin: 0;
    height: 100%;
}

.category-circle-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    height: 100%;
}

.category-circle-image {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    margin-bottom: 0.5rem;
    display: block;
}

.category-circle-item a:hover .category-circle-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(10, 43, 76, 0.15);
}

.category-circle-title {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    width: 100%;
    word-break: break-word;
}

.category-circle-item a:hover .category-circle-title {
    color: var(--secondary-color);
}

/* بخش CTA (Call to Action) */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0;
    border-radius: 15px;
}

/* خط جدا کننده زرد تم سایت */
.yellow-separator {
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--secondary-color) 20%,
        var(--secondary-color) 80%,
        transparent 100%
    );
    margin: 2rem 0;
    border-radius: 2px;
    position: relative;
}

.yellow-separator::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(247, 192, 43, 0.3) 50%,
        transparent 100%
    );
}

.yellow-separator::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(247, 192, 43, 0.3) 50%,
        transparent 100%
    );
}
.cta-section h2 {
    color: var(--secondary-color);
    font-weight: 700;
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(1rem + 0.5vw);
}

/*
 * =========================================
 * استایل‌های صفحه جزئیات محصول (حرفه‌ای)
 * =========================================
 */
.product-show-section {
    padding: 3rem 0;
}

/* ستون گالری */
.product-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.product-gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.product-gallery-thumb:hover {
    border-color: #ddd;
}

.product-gallery-thumb.active {
    border-color: var(--secondary-color);
}

/* ستون اطلاعات */
.product-details .product-title {
    font-weight: 700;
    color: var(--primary-color);
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(1.4rem + 0.3vw); /* پایه 1.6rem، رشد متوسط */
}

.product-details .product-price {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
    /* --- اصلاح شد: ریسپانسیو --- */
    font-size: calc(1.4rem + 0.5vw);
}

/* متادیتا (موجودی، وزن و...) */
.product-meta-item {
    font-size: 1rem; /* سایز ثابت استاندارد */
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.product-meta-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}
.stock-status.in-stock {
    color: #198754;
    font-weight: 700;
}
.stock-status.out-of-stock {
    color: #dc3545;
    font-weight: 700;
}

/* بخش توضیحات */
.product-description-tabs {
    margin-top: 3rem;
}
.product-description-tabs .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem; /* سایز ثابت استاندارد */
}
.product-description-tabs .nav-link.active {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.tab-content {
    line-height: 1.9;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/*
 * =========================================
 * استایل‌های جدید صفحه محصول (بروزرسانی 2025)
 * =========================================
 */

/* Product Gallery - New Design */
.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.product-main-image-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
}

.product-zoom-btn,
.product-wishlist-btn,
.product-share-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-zoom-btn {
    top: 15px;
    right: 15px;
}

.product-wishlist-btn {
    top: 15px;
    left: 15px;
}

.product-share-btn {
    top: 65px;
    left: 15px;
}

.product-zoom-btn:hover,
.product-wishlist-btn:hover,
.product-share-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Thumbnails Row */
.product-thumbnails-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-thumbnails-row::-webkit-scrollbar {
    height: 4px;
}

.product-thumbnails-row::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 2px;
}

.product-thumb {
    min-width: 80px;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--secondary-color);
}

/* Product Price & Weight */
.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-weight-display {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Product Options (Weight & Grind) */
.product-option-group {
    margin-bottom: 25px;
}

.option-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1rem;
}

/* Weight Options */
.weight-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.weight-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-width: 100px;
}

.weight-option input {
    display: none;
}

.weight-option .weight-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.weight-option .weight-price {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

.weight-option.active,
.weight-option:hover {
    border-color: var(--secondary-color);
    background: rgba(247, 192, 43, 0.1);
}

.weight-option.active .weight-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Grind Options */
.grind-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grind-option {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 0.9rem;
}

.grind-option input {
    display: none;
}

.grind-option.active,
.grind-option:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Product Specs Preview */
.product-specs-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.85rem;
    color: #666;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Stock Badge */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Product Tabs */
.product-tabs-wrapper {
    margin-top: 40px;
}

.product-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.product-tabs .nav-link {
    color: #666;
    font-weight: 600;
    padding: 15px 25px;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.product-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: #ddd;
}

.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    background: transparent;
}

.product-tab-content {
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

/* Specs Table */
.specs-table-wrapper {
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
}

.specs-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
    width: 30%;
}

.specs-table td {
    color: #555;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-color);
}

.reviewer-city {
    font-size: 0.85rem;
    color: #888;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating .fa-star {
    color: #ddd;
    font-size: 0.9rem;
}

.review-rating .fa-star.filled {
    color: var(--secondary-color);
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.8rem;
    color: #888;
}

/* Sticky Add to Cart Bar */
.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-add-to-cart.visible {
    transform: translateY(0);
}

.sticky-cart-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.sticky-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.sticky-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.sticky-cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color), #1a4a7a);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-add-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 43, 76, 0.3);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Add to Cart Section - Modern */
.add-to-cart-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 16px;
    border: 2px solid #e9ecef;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantity-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    height: 56px;
    flex-shrink: 0;
}

.quantity-box .qty-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-box .qty-btn:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.quantity-box .qty-input {
    width: 60px;
    height: 100%;
    border: none;
    border-left: 2px solid #e9ecef;
    border-right: 2px solid #e9ecef;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
    background: #fff;
}

.btn-add-cart-main {
    flex: 1;
    height: 56px;
    background: linear-gradient(
        135deg,
        var(--primary-color, #0a2b4c) 0%,
        #1a4a7a 100%
    );
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(10, 43, 76, 0.25);
}

.btn-add-cart-main:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 43, 76, 0.35);
    background: linear-gradient(135deg, #0d3a5c 0%, #1e5a8a 100%);
}

.btn-add-cart-main:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-cart-main i {
    font-size: 1.25rem;
}

/* Secondary Actions */
.secondary-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8f9fa;
}

.action-btn.wishlist:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.action-btn.share:hover {
    border-color: #17a2b8;
    color: #17a2b8;
}

.action-btn i {
    font-size: 1.1rem;
}

/* Product Brand */
.product-brand {
    color: #888;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-gallery-wrapper {
        position: relative;
        top: 0;
    }

    .sticky-cart-content {
        justify-content: center;
    }

    .sticky-product-info {
        display: none;
    }

    .weight-options,
    .grind-options {
        gap: 8px;
    }

    .weight-option,
    .grind-option {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1.4rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
