/* =========================================================
   SUPERKOOD FRONT
========================================================= */

.superkood-products-page {

    --sk-bg: #F3F7F1;
    --sk-bg-soft: #DCEBD5;
    --sk-accent: #B8D5A8;
    --sk-primary: #7FA66A;
    --sk-primary-dark: #5F8A54;
    --sk-text-dark: #2F3B27;
    --sk-text-muted: #5D6E52;
    --sk-white: #FFFFFF;

    direction: rtl;
    width: 100%;
    background: var(--sk-bg);
    color: var(--sk-text-dark);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    line-height: 1.8;
    overflow: hidden;

}

.superkood-products-page *,
.superkood-products-page *::before,
.superkood-products-page *::after {
    box-sizing: border-box;
}

.superkood-products-page img {
    max-width: 100%;
}

.superkood-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================================
   HERO
========================================================= */

.superkood-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #F3F7F1 0%,
            #DCEBD5 100%
        );
    padding: 96px 0 140px;
    text-align: center;
}

.superkood-hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    color: #5F8A54;
    background: rgba(127,166,106,.14);
    border: 1px solid rgba(127,166,106,.35);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    font-weight: 600;
}

.superkood-hero h1 {
    font-family: 'IRANSans(FaNum)', Tahoma, sans-serif !important;
    font-weight: 700;
    font-size: clamp(38px, 6vw, 64px);
    margin: 0 0 18px;
    color: #2F3B27 !important;
}

.superkood-hero p {
    max-width: 560px;
    margin: 0 auto;
    color: #5D6E52 !important;
    font-size: 18px;
}


/* =========================================================
   VINE
========================================================= */

.superkood-vine-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.superkood-vine-wrap svg {
    width: 100%;
    height: 100%;
}

.superkood-vine-path {
    stroke: #7FA66A;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: superkoodDraw 2.6s ease-out forwards .2s;
    opacity: .55;
}

.superkood-vine-leaf {
    fill: #B8D5A8;
    opacity: 0;
    animation: superkoodLeafIn .6s ease-out forwards;
}

@keyframes superkoodDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes superkoodLeafIn {
    to {
        opacity: .85;
        transform: scale(1);
    }
}


/* =========================================================
   WAVE
========================================================= */

.superkood-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
}

.superkood-wave svg {
    width: 100%;
    height: 70px;
    display: block;
}

.superkood-wave path {
    fill: #F3F7F1;
}


/* =========================================================
   PRODUCTS
========================================================= */

.superkood-products {
    background: #F3F7F1;
    padding: 20px 0 100px;
}

.superkood-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.superkood-card {
    background: #FFFFFF !important;
    border-radius: 18px;
    border: 1px solid #DCEBD5;
    overflow: hidden;
    box-shadow:
        0 4px 16px -10px rgba(47,59,39,.18);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.superkood-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 10px 30px -12px rgba(47,59,39,.25);
}


/* =========================================================
   IMAGE
========================================================= */

.superkood-img-slot {
    position: relative;
    aspect-ratio: 4 / 3;
    background:
        repeating-linear-gradient(
            135deg,
            #DCEBD5 0 2px,
            transparent 2px 10px
        ),
        #F3F7F1;
    border-bottom: 1px solid #DCEBD5;
    overflow: hidden;
}

.superkood-product-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.superkood-card:hover
.superkood-product-image {
    transform: scale(1.035);
}

.superkood-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.superkood-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5F8A54 !important;
    font-size: 13px;
    font-weight: 600;
}

.superkood-placeholder svg {
    width: 38px;
    height: 38px;
    opacity: .75;
}


/* =========================================================
   CARD BODY
========================================================= */

.superkood-card-body {
    padding: 18px 20px 22px;
    background: #FFFFFF !important;
}

.superkood-card-body h3 {
    margin: 0 0 7px;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 700;
    color: #2F3B27 !important;
}

.superkood-card-body p {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 14px;
    line-height: 2;
    color: #5D6E52 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 920px) {

    .superkood-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

}

@media (max-width: 600px) {

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

    .superkood-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .superkood-hero {
        padding: 70px 0 110px;
    }

    .superkood-hero p {
        font-size: 16px;
    }

    .superkood-products {
        padding-bottom: 70px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .superkood-vine-path,
    .superkood-vine-leaf,
    .superkood-card,
    .superkood-product-image {
        animation: none !important;
        transition: none !important;
    }

}
