/* Reusable Container Utility Class */
@media (min-width: 992px) {
    .container-narrow {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hero Section Styles */
.hero-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: 300px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

.hero-content {
    padding: 20px 0;
}

.hero-origin {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.hero-aliases {
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.hero-aliases-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-right: 4px;
}

.hero-alias-item {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-crop-months {
    margin-top: -12px;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.hero-crop-months-label {
    font-size: 14px;
    color: var(--text-secondary);
    /* margin-right: 4px; */
}

.hero-crop-months-value {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background-color: var(--color-primary);
    color: var(--bg-white);
    padding: 18px 72px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: none;
    transition: background-color 0.2s ease;
    font-size: 18px;
    font-family: var(--font-body);
    margin-left: 0;
}

.btn-primary-hero:hover {
    background-color: var(--color-primary-hover);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-secondary-hero {
    background-color: var(--bg-white);
    color: var(--text-primary);
    padding: 18px 72px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--border-light);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 18px;
    font-family: var(--font-body);
    margin-left: 0;
}

.btn-secondary-hero:hover {
    background-color: var(--bg-light);
    color: var(--text-primary);
    text-decoration: none;
    border-color: var(--border-medium);
}

/* Hero Section Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 0 20px 0;
    }

    .hero-image-wrapper {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-content {
        padding-left: 48px;
    }

    .hero-image-wrapper {
        margin-right: 0;
    }
}

/* Grades Section Styles */
.grades-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.grades-header {
    text-align: center;
    margin-bottom: 60px;
}

.grades-list {
    margin-bottom: 0;
}

.grades-footer {
    text-align: center;
    margin-top: 60px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.grade-item {
    margin-bottom: 20px;
}

.grade-item:last-child {
    margin-bottom: 0;
}

.grade-image-wrapper {
    width: 100%;
    border-radius: 300px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.grade-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.grade-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

.grade-content-col {
    display: flex;
    align-items: center;
}

.grade-content {
    padding: 0;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s ease;
    opacity: 1;
}

.grade-content:hover {
    opacity: 0.7;
    color: inherit;
    text-decoration: none;
}

.grade-content:hover .text-card-title {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .grade-content {
        padding-left: 32px;
    }
}

@media (min-width: 992px) {
    .grade-content {
        padding-left: 48px;
    }
}

.grade-description-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 1;
}

.grade-description-link:hover {
    opacity: 0.7;
    color: inherit;
}

.btn-view-specifications {
    background-color: var(--bg-white);
    color: var(--text-primary);
    padding: 12px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--border-light);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 16px;
    font-family: var(--font-body);
    cursor: pointer;
}

.btn-view-specifications:hover {
    background-color: var(--gray-100);
    border-color: var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
}

.btn-download-catalog {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 12px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--bg-dark);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 16px;
    font-family: var(--font-body);
}

.btn-download-catalog:hover {
    background-color: var(--bg-darker);
    border-color: var(--bg-darker);
    color: var(--bg-white);
    text-decoration: none;
}

.grades-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
}

/* Grades Section Responsive adjustments */
@media (max-width: 767.98px) {
    .grades-section {
        padding: 40px 0;
    }

    .grades-header {
        margin-bottom: 40px;
    }

    .grade-item {
        margin-bottom: 16px;
    }

    .grade-image-col {
        flex: 0 0 33%;
        max-width: 33%;
    }

    .grade-content-col {
        flex: 0 0 67%;
        max-width: 67%;
        display: flex;
        align-items: center;
    }

    .grade-content {
        padding: 0;
    }

        .btn-view-specifications,
        .btn-download-catalog {
            width: 100%;
            max-width: 300px;
        }

        .grades-footer {
            margin-top: 40px;
            flex-direction: column;
            align-items: center;
        }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .grades-section {
        padding: 60px 0;
    }

}

@media (min-width: 992px) {
    .grades-section {
        padding: 80px 0;
    }

    .grade-image-col {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .grade-content-col {
        flex: 0 0 70%;
        max-width: 70%;
        display: flex;
        align-items: center;
    }
}

/* Packaging Section Styles */
.packaging-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.packaging-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.packaging-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.packaging-content {
    padding: 20px 0;
}

.packaging-details {
    margin-top: 32px;
    margin-bottom: 32px;
}

.packaging-details .text-card-title {
    margin-bottom: 8px;
}

.packaging-details .text-card-subtext {
    margin-bottom: 0;
}

.packaging-details .col-md-6:first-child {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .packaging-details .col-md-6:first-child {
        margin-bottom: 0;
        padding-right: 24px;
    }
    
    .packaging-details .col-md-6:last-child {
        padding-left: 24px;
    }
}

.packaging-footer {
    margin-top: 40px;
}


/* Packaging Section Responsive adjustments */
@media (max-width: 767.98px) {
    .packaging-section {
        padding: 40px 0;
    }

    .packaging-content {
        padding: 0 0 20px 0;
    }

    .packaging-image-wrapper {
        margin-top: 20px;
    }

    .packaging-details {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .packaging-footer {
        margin-top: 32px;
    }

    .packaging-footer .btn-primary-hero {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .packaging-section {
        padding: 80px 0;
    }

    .packaging-content {
        padding-left: 48px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .packaging-section {
        padding: 60px 0;
    }
}

/* Promise Section Styles */
.promise-section {
    background: var(--bg-dark);
    padding: 60px 0;
    color: var(--bg-white);
}

.promise-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Dark theme variants for reused classes */
.promise-section .text-label {
    color: var(--bg-white);
}

.promise-section .text-h2-title {
    color: var(--bg-white);
}

.promise-section .text-h2-subtext {
    color: var(--text-tertiary);
}

.promise-section .text-card-title {
    color: var(--bg-white);
}

.promise-section .text-card-subtext {
    color: var(--text-tertiary);
}

.promise-features-list {
    margin-bottom: 60px;
}

.promise-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.promise-feature-item:last-child {
    margin-bottom: 0;
}

.promise-check-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-right: 24px;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}

.promise-feature-content {
    flex: 1;
}

.promise-feature-content .text-card-title {
    margin-bottom: 8px;
}

.promise-feature-content .text-card-subtext {
    margin-bottom: 0;
}

.promise-footer {
    text-align: center;
}

.btn-explore-promise {
    background-color: var(--gray-100);
    color: var(--text-primary);
    padding: 12px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--border-light);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 16px;
    font-family: var(--font-body);
}

.btn-explore-promise:hover {
    background-color: var(--gray-200);
    border-color: var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
}

/* Promise Section Responsive adjustments */
@media (max-width: 767.98px) {
    .promise-section {
        padding: 40px 0;
    }

    .promise-header {
        margin-bottom: 40px;
    }

    .promise-features-list {
        margin-bottom: 40px;
    }

    .promise-feature-item {
        margin-bottom: 24px;
    }

    .promise-check-icon {
        font-size: 36px;
        margin-right: 16px;
    }

    .btn-explore-promise {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .promise-section {
        padding: 60px 0;
    }

}

@media (min-width: 992px) {
    .promise-section {
        padding: 80px 0;
    }
}

/* Trust Section Styles */
.trust-section {
    background: var(--bg-white);
    padding: 60px 0;
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
}

.trust-header {
    text-align: center;
    margin-bottom: 60px;
}

.trust-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

.trust-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.trust-card-number {
    flex: 1;
    background: 'red';
    font-size: 56px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    /* margin-bottom: 12px; */
    font-family: var(--font-body);
    letter-spacing: -0.02em;
}

.trust-card-subtext {
    margin-bottom: 0;
    font-size: 14px;
}

.trust-footer {
    text-align: center;
}

.trust-certification-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-family: var(--font-body);
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 48px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.trust-logos-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    --marquee-duration: 20s;
    animation: marquee var(--marquee-duration) linear infinite;
    will-change: transform;
    width: max-content;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.trust-logos:hover .trust-logos-wrapper {
    animation-play-state: paused;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    min-width: 249px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.trust-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.trust-logos:hover .trust-logo img {
    filter: grayscale(0%);
}

/* Trust Section Responsive adjustments */
@media (max-width: 767.98px) {
    .trust-section {
        padding: 40px 0;
    }

    .trust-header {
        margin-bottom: 40px;
    }

    .trust-cards {
        gap: 16px;
        margin-bottom: 40px;
    }

    .trust-card {
        padding: 24px;
    }

    .trust-card-number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .trust-certification-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .trust-logos {
        gap: 0;
    }

    .trust-logos-wrapper {
        gap: 8px;
    }

    .trust-logo {
        height: 99px;
        min-width: 199px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .trust-section {
        padding: 60px 0;
    }

    .trust-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .trust-section {
        padding: 80px 0;
    }

    .trust-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .trust-card:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* FAQs Section Styles */
/* Similar Products Section Styles */
.similar-products-section {
    background: var(--bg-white);
    padding: 60px 0;
    overflow-x: hidden;
    width: 100%;
}

.similar-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.similar-products-header-content {
    flex: 1;
    min-width: 0;
}

.similar-products-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    display: block;
}

.similar-products-subheading {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    font-family: var(--font-body);
}

.similar-products-header-action {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.btn-view-all {
    background-color: var(--bg-white);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--border-light);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 16px;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-view-all:hover {
    background-color: var(--gray-100);
    border-color: var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
}

.similar-products-scroll-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 8px;
    position: relative;
}

.similar-products-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.similar-products-list {
    display: flex;
    gap: 24px;
    width: max-content;
}

.similar-product-card {
    flex: 0 0 auto;
    width: calc((100vw - 240px) / 4.5);
    min-width: 200px;
    max-width: 280px;
}

.similar-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.similar-product-link:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.similar-product-image-wrapper {
    width: 100%;
    border-radius: 300px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-lighter);
    display: block;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.similar-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.similar-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

.similar-product-content {
    padding: 0;
    text-align: center;
}

.similar-product-method {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-family: var(--font-body);
    line-height: 1.5;
    text-align: center;
}

/* Similar Products Section Responsive adjustments */
@media (max-width: 767.98px) {
    .similar-products-section {
        padding: 40px 0;
    }

    .similar-products-header {
        margin-bottom: 32px;
        flex-direction: column;
        align-items: flex-start;
    }

    .similar-products-subheading {
        font-size: 14px;
    }

    .similar-products-header-action {
        width: 100%;
    }

    .btn-view-all {
        width: 100%;
        text-align: center;
    }

    .similar-products-list {
        gap: 16px;
    }

    .similar-product-card {
        width: calc((100vw - 60px) / 1.5);
        min-width: 200px;
        max-width: none;
    }

    .similar-product-method {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .similar-products-section {
        padding: 60px 0;
    }

    .similar-products-list {
        gap: 20px;
    }

    .similar-product-card {
        width: calc((100vw - 120px) / 3.5);
        min-width: 200px;
        max-width: 280px;
    }
}

@media (min-width: 992px) {
    .similar-products-section {
        padding: 80px 0;
    }

    .similar-products-list {
        gap: 24px;
    }

    .similar-product-card {
        width: calc((100vw - 240px) / 4.5);
        min-width: 200px;
        max-width: 280px;
    }
}

/* Specifications Modal Styles */
.specifications-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.specifications-modal.specifications-modal-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.specifications-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.specifications-modal-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 16px;
    max-width: 90%;
    width: 100%;
    max-height: 90vh;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.specifications-modal.specifications-modal-open .specifications-modal-content {
    transform: scale(1) translateY(0);
}

.specifications-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    z-index: 10;
    color: var(--text-primary);
}

.specifications-modal-close:hover {
    background-color: var(--gray-100);
}

.specifications-modal-close .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}

.specifications-modal-header {
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid var(--border-lighter);
}

.specifications-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.specifications-modal-body {
    padding: 24px 32px 32px 32px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.specifications-modal-body .product-table {
    margin: 0;
    display: table;
    border: none !important;
    width: 100%;
    border-radius: 16px !important;
    background-color: rgba(45, 45, 45, 0.063); /* var(--bg-darkest) with ~6% opacity */
}

.specifications-modal-body .product-table tr,
.specifications-modal-body .product-table td {
    border: 1px solid white !important;
}

/* Specifications Modal Responsive adjustments */
@media (max-width: 767.98px) {
    .specifications-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .specifications-modal-header {
        padding: 24px 24px 20px 24px;
    }

    .specifications-modal-title {
        font-size: 24px;
        padding-right: 40px;
    }

    .specifications-modal-body {
        padding: 20px 24px 24px 24px;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .specifications-modal-close {
        top: 12px;
        right: 12px;
    }
}

@media (min-width: 768px) {
    .specifications-modal-content {
        max-width: 600px;
    }
}

