/*
|--------------------------------------------------------------------------
| ELEMENTAL
| Main Style
| Pastel Blue + Pastel Pink Footer
|--------------------------------------------------------------------------
*/


/* =========================================================
   01. RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
}


body {

    margin: 0;

    font-family:
        "Vazirmatn",
        sans-serif;

    background: #f5f9fc;

    color: #263746;

    line-height: 1.8;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}


img {

    display: block;

    max-width: 100%;
}


a {

    color: inherit;

    text-decoration: none;
}


button,
input,
textarea,
select {

    font-family: inherit;
}


button {

    border: 0;

    cursor: pointer;
}


ul,
ol {

    list-style: none;
}


/* =========================================================
   02. VARIABLES
========================================================= */

:root {

    /* BRAND */

    --primary: #8db9d8;
    --primary-dark: #6799bd;
    --primary-light: #ddecf6;
    --primary-soft: #edf6fb;


    /* BACKGROUND */

    --background: #f5f9fc;
    --background-soft: #edf5fa;
    --white: #ffffff;


    /* TEXT */

    --text: #263746;
    --text-soft: #405565;
    --muted: #788895;


    /* BORDER */

    --border: #e1ebf1;
    --border-dark: #d3e1e9;


    /* STATUS */

    --success: #75a98b;
    --danger: #d66f78;
    --warning: #d9a85f;


    /* =====================================================
       FOOTER — PASTEL PINK
    ===================================================== */

    --footer-bg: #f8e8ee;
    --footer-bg-light: #fdf4f7;

    --footer-primary: #d99aae;
    --footer-primary-dark: #c27d94;
    --footer-primary-soft: #f2d2dc;

    --footer-text: #49383e;
    --footer-muted: #89747b;
    --footer-border: #efd4dd;


    /* RADIUS */

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;


    /* SHADOW */

    --shadow-sm:
        0 4px 16px rgba(71, 112, 140, .06);

    --shadow-md:
        0 12px 30px rgba(71, 112, 140, .10);

    --shadow-lg:
        0 20px 50px rgba(71, 112, 140, .13);


    /* CONTAINER */

    --container: 1200px;
}


/* =========================================================
   03. CONTAINER
========================================================= */

.container {

    width:
        calc(100% - 30px);

    max-width:
        var(--container);

    margin-inline: auto;
}


/* =========================================================
   04. MAIN
========================================================= */

main {

    width: 100%;

    min-height: 60vh;
}


/* =========================================================
   05. HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, .96);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 2px 18px rgba(55, 95, 120, .05);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


.header-container {

    position: relative;

    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;
}


/* =========================================================
   06. LOGO
========================================================= */

.logo {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    order: 1;
}


.logo-circle {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;

    border:
        2px solid #b59567;

    border-radius: 50%;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .08);
}


.logo-circle img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   07. MOBILE MENU BUTTON
========================================================= */

.menu-btn {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    order: 3;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    border-radius:
        12px;

    font-size: 16px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.menu-btn:hover {

    background:
        var(--primary);

    color:
        #ffffff;

    transform:
        translateY(-1px);
}


/* =========================================================
   08. DESKTOP NAVIGATION
========================================================= */

.nav {

    position: absolute;

    top:
        calc(100% + 8px);

    right: 0;
    left: 0;

    display: none;

    flex-direction: column;

    padding: 8px;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-md);
}


.nav.is-open {

    display: flex;
}


.nav a {

    display: block;

    padding:
        11px 14px;

    color:
        var(--text);

    border-radius:
        10px;

    font-size: 14px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;
}


.nav a:hover {

    background:
        var(--primary-soft);

    color:
        var(--primary-dark);
}


/* =========================================================
   09. HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    order: 2;
}


.cart-btn {

    position: relative;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    border-radius:
        12px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.cart-btn:hover {

    background:
        var(--primary);

    color:
        #ffffff;

    transform:
        translateY(-1px);
}


.cart-btn i {

    font-size: 16px;
}


#cartCount {

    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        0 4px;

    background:
        var(--primary-dark);

    color:
        #ffffff;

    border:
        2px solid #ffffff;

    border-radius:
        50%;

    font-size: 9px;

    font-weight: 700;
}


#cartCount.is-empty {

    opacity: .65;
}


/* =========================================================
   10. MOBILE MENU
========================================================= */

.mobile-menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 1998;

    background:
        rgba(30, 48, 60, .28);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.mobile-menu {

    position: fixed;

    top: 0;

    right: 0;

    z-index: 1999;

    width:
        min(320px, 86vw);

    height: 100dvh;

    display: flex;

    flex-direction: column;

    background:
        #ffffff;

    box-shadow:
        -15px 0 45px
        rgba(50, 85, 105, .14);

    transform:
        translateX(105%);

    transition:
        transform .35s cubic-bezier(.22,.61,.36,1);

    overflow-y: auto;
}


body.mobile-menu-open {

    overflow: hidden;
}


body.mobile-menu-open
.mobile-menu {

    transform:
        translateX(0);
}


body.mobile-menu-open
.mobile-menu-overlay {

    opacity: 1;

    visibility: visible;
}


/* =========================================================
   MOBILE MENU HEADER
========================================================= */

.mobile-menu-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        18px 16px;

    border-bottom:
        1px solid var(--border);
}


.mobile-menu-brand {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}


.mobile-logo-circle {

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    background: #ffffff;

    border:
        2px solid #b59567;

    border-radius: 50%;
}


.mobile-logo-circle img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.mobile-menu-brand strong {

    display: block;

    color:
        var(--text);

    font-size: 13px;

    font-weight: 800;
}


.mobile-menu-brand span {

    display: block;

    margin-top: 2px;

    color:
        var(--muted);

    font-size: 9px;
}


.mobile-menu-close {

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    border-radius:
        10px;
}


/* =========================================================
   MOBILE MENU NAV
========================================================= */

.mobile-menu-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding:
        15px 12px;
}


.mobile-menu-nav a {

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        0 13px;

    color:
        var(--text);

    border-radius:
        12px;

    font-size: 13px;

    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;
}


.mobile-menu-nav a i {

    width: 22px;

    text-align: center;

    color:
        var(--primary-dark);

    font-size: 14px;
}


.mobile-menu-nav a:hover {

    background:
        var(--primary-soft);

    color:
        var(--primary-dark);
}


.mobile-cart-link {

    margin-top: 5px;

    background:
        var(--primary-soft);
}


.mobile-cart-count {

    margin-right: auto;

    min-width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--primary-dark);

    color:
        #ffffff;

    border-radius:
        50%;

    font-size: 9px;
}


/* =========================================================
   MOBILE MENU FOOTER
========================================================= */

.mobile-menu-footer {

    margin-top: auto;

    padding:
        20px 16px;

    text-align: center;

    border-top:
        1px solid var(--border);

    background:
        var(--background-soft);
}


.mobile-menu-footer span {

    display: block;

    color:
        var(--primary-dark);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


.mobile-menu-footer small {

    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 9px;
}


/* =========================================================
   11. HERO SLIDER
========================================================= */

.hero-slider {

    position: relative;

    width: 100%;

    height: 390px;

    overflow: hidden;

    background:
        #c5dce9;

    touch-action:
        pan-y;

    outline: none;
}


.hero-slider-track {

    position: relative;

    width: 100%;
    height: 100%;
}


.hero-slide {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    z-index: 1;

    transform:
        scale(1.015);

    transition:
        opacity .55s ease,
        transform .7s ease,
        visibility .55s ease;
}


.hero-slide.is-active {

    opacity: 1;

    visibility: visible;

    z-index: 3;

    transform:
        scale(1);
}


.hero-slide img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.hero-slider-prev,
.hero-slider-next {

    position: absolute;

    top: 50%;

    z-index: 10;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(255, 255, 255, .88);

    color:
        var(--primary-dark);

    border:
        1px solid
        rgba(255, 255, 255, .9);

    border-radius:
        50%;

    box-shadow:
        0 6px 20px
        rgba(40, 70, 90, .13);

    transform:
        translateY(-50%);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.hero-slider-prev {

    right: 18px;
}


.hero-slider-next {

    left: 18px;
}


.hero-slider-prev:hover,
.hero-slider-next:hover {

    background:
        var(--primary);

    color:
        #ffffff;

    transform:
        translateY(-50%) scale(1.05);
}


.hero-slider-prev i,
.hero-slider-next i {

    font-size: 12px;
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.hero-slider-dots {

    position: absolute;

    bottom: 16px;

    left: 50%;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 6px;

    transform:
        translateX(-50%);
}


.hero-slider-dot {

    width: 7px;
    height: 7px;

    padding: 0;

    background:
        rgba(255, 255, 255, .65);

    border-radius:
        50%;

    transition:
        width .25s ease,
        background .25s ease;
}


.hero-slider-dot.is-active {

    width: 20px;

    background:
        #ffffff;

    border-radius:
        10px;
}


/* =========================================================
   12. GENERAL SECTIONS
========================================================= */

.categories,
.products,
.about-short {

    padding:
        55px 0;
}


/* =========================================================
   13. SECTION TITLE
========================================================= */

.section-title {

    margin-bottom: 30px;

    text-align: center;
}


.section-title span {

    display: block;

    margin-bottom: 4px;

    color:
        var(--primary-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.section-title h2 {

    margin:
        0 0 5px;

    color:
        var(--text);

    font-size: 25px;

    line-height: 1.5;

    font-weight: 800;
}


.section-title p {

    margin: 0;

    color:
        var(--muted);

    font-size: 12px;
}


/* =========================================================
   14. CATEGORY GRID
========================================================= */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.category-card {

    min-width: 0;

    display: block;

    text-align: center;
}


.category-image {

    position: relative;

    width: 100%;

    aspect-ratio:
        1 / 1;

    overflow: hidden;

    background:
        var(--primary-light);

    border:
        1px solid var(--border);

    border-radius:
        18px;

    box-shadow:
        var(--shadow-sm);
}


.category-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}


.category-card:hover
.category-image img {

    transform:
        scale(1.05);
}


.category-card h3 {

    margin:
        10px 0 0;

    color:
        var(--text);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

    transition:
        color .2s ease;
}


.category-card:hover h3 {

    color:
        var(--primary-dark);
}


/* =========================================================
   15. PRODUCTS HEADER
========================================================= */

.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}


.section-header > div {

    min-width: 0;
}


.section-header span {

    display: block;

    margin-bottom: 3px;

    color:
        var(--primary-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}


.section-header h2 {

    margin: 0;

    color:
        var(--text);

    font-size: 23px;

    line-height: 1.5;

    font-weight: 800;
}


.section-header p {

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 11px;
}


/* =========================================================
   PRODUCTS LINK
========================================================= */

.products-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    color:
        var(--primary-dark);

    font-size: 11px;

    font-weight: 700;

    transition:
        color .2s ease,
        transform .2s ease;
}


.products-link:hover {

    color:
        var(--primary);

    transform:
        translateX(-3px);
}


.products-link i {

    font-size: 9px;
}


/* =========================================================
   16. PRODUCTS GRID
========================================================= */

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {

    min-width: 0;

    overflow: hidden;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.product-card:hover {

    transform:
        translateY(-4px);

    border-color:
        #cddfea;

    box-shadow:
        var(--shadow-md);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio:
        1 / 1;

    overflow: hidden;

    background:
        #edf5fa;
}


.product-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}


.product-card:hover
.product-image img {

    transform:
        scale(1.04);
}


/* =========================================================
   PRODUCT STOCK BADGE
========================================================= */

.product-stock-badge {

    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 2;

    padding:
        4px 8px;

    background:
        rgba(214, 111, 120, .92);

    color:
        #ffffff;

    border-radius:
        8px;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {

    padding:
        13px;
}


.product-category {

    display: block;

    margin-bottom: 4px;

    color:
        var(--primary-dark);

    font-size: 9px;

    font-weight: 600;
}


.product-content h3 {

    min-height: 46px;

    margin: 0;

    color:
        var(--text);

    font-size: 12px;

    line-height: 1.8;

    font-weight: 700;
}


.product-content h3 a:hover {

    color:
        var(--primary-dark);
}


/* =========================================================
   PRODUCT BOTTOM
========================================================= */

.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    margin-top: 12px;
}


.product-price {

    color:
        var(--text);

    font-size: 11px;

    font-weight: 800;
}


.product-arrow {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        var(--primary);

    color:
        #ffffff;

    border-radius:
        10px;

    font-size: 9px;

    transition:
        background .2s ease,
        transform .2s ease;
}


.product-arrow:hover {

    background:
        var(--primary-dark);

    transform:
        translateX(-2px);
}


/* =========================================================
   17. EMPTY PRODUCTS
========================================================= */

.products-empty {

    padding:
        60px 20px;

    text-align: center;

    background:
        #ffffff;

    border:
        1px dashed var(--border-dark);

    border-radius:
        var(--radius-lg);
}


.products-empty i {

    margin-bottom: 12px;

    color:
        var(--primary);

    font-size: 32px;
}


.products-empty h3 {

    margin-bottom: 5px;

    color:
        var(--text);

    font-size: 16px;
}


.products-empty p {

    color:
        var(--muted);

    font-size: 12px;
}


/* =========================================================
   18. ABOUT SHORT
========================================================= */

.about-short {

    position: relative;

    background:
        linear-gradient(
            145deg,
            #e9f4fa,
            #e2f0f7
        );

    border-top:
        1px solid #dcebf3;

    border-bottom:
        1px solid #dcebf3;

    text-align: center;

    overflow: hidden;
}


.about-box {

    max-width: 700px;

    margin-inline: auto;
}


.about-box-content {

    position: relative;

    z-index: 2;
}


.about-box > div > span {

    display: block;

    margin-bottom: 6px;

    color:
        var(--primary-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.about-box h2 {

    margin:
        0 0 15px;

    color:
        var(--text);

    font-size: 26px;

    line-height: 1.5;

    font-weight: 800;
}


.about-box p {

    max-width: 600px;

    margin:
        0 auto 25px;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 2;
}


.about-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding:
        0 21px;

    background:
        var(--primary);

    color:
        #ffffff;

    border-radius:
        12px;

    font-size: 12px;

    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}


.about-button:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-2px);
}


/* =========================================================
   19. FOOTER
========================================================= */

.footer {

    position: relative;

    margin-top: 75px;

    padding:
        62px 0 0;

    background:
        linear-gradient(
            145deg,
            #f9eaf0 0%,
            #f6e3ea 55%,
            #f1dce5 100%
        );

    color:
        var(--footer-text);

    border-top:
        1px solid var(--footer-border);

    overflow: hidden;
}


.footer::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: -150px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .30);

    pointer-events: none;
}


.footer::after {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    bottom: -130px;
    left: -80px;

    border-radius: 50%;

    background:
        rgba(217, 154, 174, .10);

    pointer-events: none;
}


.footer .container {

    position: relative;

    z-index: 2;

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin-inline: auto;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {

    display: grid;

    grid-template-columns:
        1.45fr
        1fr
        1fr
        1.1fr;

    gap: 45px;

    padding-bottom:
        50px;
}


.footer-brand {

    max-width: 330px;
}


.footer-logo {

    display: inline-flex;

    align-items: center;

    margin-bottom: 17px;
}


.footer-logo img {

    width: 125px;

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 12px
            rgba(150, 95, 115, .10)
        );
}


.footer-description {

    max-width: 320px;

    margin: 0;

    color:
        var(--footer-muted);

    font-size: 12px;

    line-height: 2.2;
}


/* =========================================================
   FOOTER SHOP BUTTON
========================================================= */

.footer-shop-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 42px;

    margin-top: 20px;

    padding:
        0 18px;

    background:
        rgba(255, 255, 255, .65);

    color:
        var(--footer-primary-dark);

    border:
        1px solid
        rgba(194, 125, 148, .20);

    border-radius:
        12px;

    font-size: 11px;

    font-weight: 700;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.footer-shop-button:hover {

    background:
        var(--footer-primary);

    color:
        #ffffff;

    transform:
        translateY(-2px);
}


/* =========================================================
   FOOTER TITLE
========================================================= */

.footer-title {

    position: relative;

    margin:
        4px 0 20px;

    padding-right:
        12px;

    color:
        var(--footer-text);

    font-size: 14px;

    font-weight: 800;
}


.footer-title::before {

    content: "";

    position: absolute;

    right: 0;

    top: 50%;

    width: 3px;
    height: 17px;

    border-radius: 5px;

    background:
        var(--footer-primary);

    transform:
        translateY(-50%);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    color:
        var(--footer-muted);

    font-size: 11px;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-links a i {

    color:
        var(--footer-primary);

    font-size: 7px;
}


.footer-links a:hover {

    color:
        var(--footer-primary-dark);

    transform:
        translateX(-3px);
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact-list {

    display: flex;

    flex-direction: column;

    gap: 11px;
}


.footer-contact-list a {

    display: flex;

    align-items: center;

    gap: 9px;

    color:
        var(--footer-muted);

    font-size: 11px;
}


.footer-contact-icon {

    width: 33px;
    height: 33px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 33px;

    background:
        rgba(255, 255, 255, .60);

    color:
        var(--footer-primary-dark);

    border:
        1px solid
        rgba(194, 125, 148, .12);

    border-radius:
        10px;
}


.footer-contact-icon i {

    font-size: 11px;
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 21px;
}


.footer-social > span {

    color:
        var(--footer-text);

    font-size: 10px;

    font-weight: 700;
}


.social-links {

    display: flex;

    align-items: center;

    gap: 8px;
}


.social-links a {

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(255, 255, 255, .60);

    color:
        var(--footer-primary-dark);

    border:
        1px solid
        rgba(194, 125, 148, .16);

    border-radius:
        10px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.social-links a:hover {

    background:
        var(--footer-primary);

    color:
        #ffffff;

    transform:
        translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    min-height: 66px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid var(--footer-border);

    color:
        var(--footer-muted);

    font-size: 9px;
}


.footer-bottom p {

    margin: 0;
}


.footer-bottom strong {

    color:
        var(--footer-primary-dark);

    font-weight: 800;
}


.footer-bottom-links {

    color:
        var(--footer-muted);
}


.footer-bottom-links i {

    margin-inline: 3px;

    color:
        var(--footer-primary);
}


/* =========================================================
   20. TABLET
========================================================= */

@media (min-width: 600px) {

    .container {

        width:
            calc(100% - 50px);
    }


    .hero-slider {

        height: 480px;
    }


    .category-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 22px;
    }


    .products-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   21. DESKTOP
========================================================= */

@media (min-width: 900px) {

    .header-container {

        min-height: 82px;

        gap: 25px;
    }


    .logo {

        width: 58px;
        height: 58px;

        order: 1;
    }


    .logo-circle {

        width: 56px;
        height: 56px;
    }


    .menu-btn {

        display: none;
    }


    .nav {

        position: static;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: center;

        flex: 1;

        gap: 3px;

        padding: 0;

        background: transparent;

        border: 0;

        box-shadow: none;
    }


    .nav a {

        padding:
            9px 15px;

        font-size: 13px;
    }


    .header-actions {

        order: 3;
    }


    .hero-slider {

        height: 540px;

        max-width: 1400px;

        margin-inline: auto;

        border-radius:
            0 0 30px 30px;
    }


    .hero-slider-prev,
    .hero-slider-next {

        width: 46px;
        height: 46px;
    }


    .hero-slider-prev {

        right: 24px;
    }


    .hero-slider-next {

        left: 24px;
    }


    .categories,
    .products,
    .about-short {

        padding:
            75px 0;
    }


    .section-title {

        margin-bottom: 40px;
    }


    .section-title h2 {

        font-size: 30px;
    }


    .category-grid {

        grid-template-columns:
            repeat(6, minmax(0, 1fr));

        gap: 20px;
    }


    .category-image {

        border-radius:
            20px;
    }


    .category-card h3 {

        margin-top: 12px;

        font-size: 13px;
    }


    .section-header h2 {

        font-size: 30px;
    }


    .products-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 22px;
    }


    .product-content {

        padding:
            16px;
    }


    .product-content h3 {

        font-size: 13px;
    }


    .about-box h2 {

        font-size: 34px;
    }


    .footer-main {

        grid-template-columns:
            1.45fr
            1fr
            1fr
            1.1fr;
    }

}


/* =========================================================
   22. LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .header-container {

        min-height: 88px;
    }


    .logo-circle {

        width: 58px;
        height: 58px;
    }


    .hero-slider {

        height: 600px;
    }


    .category-grid {

        gap: 24px;
    }

}


/* =========================================================
   23. MOBILE FOOTER
========================================================= */

@media (max-width: 900px) {

    .footer-main {

        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap: 35px;
    }


    .footer-brand {

        grid-column:
            span 3;

        max-width:
            520px;
    }

}


@media (max-width: 650px) {

    .footer {

        margin-top: 55px;

        padding-top: 45px;
    }


    .footer .container {

        width:
            calc(100% - 28px);
    }


    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap:
            32px 22px;

        padding-bottom:
            35px;
    }


    .footer-brand {

        grid-column:
            span 2;

        max-width:
            none;
    }


    .footer-logo img {

        width:
            112px;
    }


    .footer-description {

        max-width:
            470px;

        font-size:
            11px;
    }


    .footer-title {

        margin-bottom:
            14px;

        font-size:
            12px;
    }


    .footer-links {

        gap:
            8px;
    }


    .footer-links a {

        font-size:
            10px;
    }


    .footer-contact-list a {

        font-size:
            10px;
    }


    .footer-bottom {

        min-height:
            72px;

        flex-direction:
            column;

        justify-content:
            center;

        gap:
            4px;

        text-align:
            center;
    }

}


/* =========================================================
   24. SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .container {

        width:
            calc(100% - 22px);
    }


    .header-container {

        min-height:
            64px;

        gap:
            8px;
    }


    .logo,
    .logo-circle {

        width:
            46px;

        height:
            46px;
    }


    .menu-btn,
    .cart-btn {

        width:
            37px;

        height:
            37px;
    }


    .hero-slider {

        height:
            390px;
    }


    .hero-slider-prev,
    .hero-slider-next {

        width:
            36px;

        height:
            36px;
    }


    .hero-slider-prev {

        right:
            10px;
    }


    .hero-slider-next {

        left:
            10px;
    }


    .category-grid {

        gap:
            12px;
    }


    .category-card h3 {

        font-size:
            11px;
    }


    .products-grid {

        gap:
            10px;
    }


    .product-content {

        padding:
            10px;
    }


    .product-content h3 {

        font-size:
            11px;
    }


    .product-price {

        font-size:
            10px;
    }


    .product-arrow {

        width:
            29px;

        height:
            29px;
    }


    .footer-main {

        grid-template-columns:
            1fr;

        gap:
            26px;
    }


    .footer-brand {

        grid-column:
            span 1;
    }


    .footer-column {

        width:
            100%;
    }


    .footer-bottom {

        font-size:
            8px;
    }

}


/* =========================================================
   25. TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .product-card:hover {

        transform:
            none;

        border-color:
            var(--border);

        box-shadow:
            var(--shadow-sm);
    }


    .product-card:hover
    .product-image img,

    .category-card:hover
    .category-image img {

        transform:
            none;
    }


    .hero-slider-prev:hover,
    .hero-slider-next:hover {

        transform:
            translateY(-50%);
    }


    .hero-button:hover,
    .about-button:hover,
    .footer-shop-button:hover,
    .social-links a:hover {

        transform:
            none;
    }

}


/* =========================================================
   26. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible {

    outline:
        2px solid var(--primary-dark);

    outline-offset:
        3px;
}

/* =========================================================
   🍂 ELEMENTAL AUTUMN EMOJI LEAVES
   ========================================================= */

#autumn-leaves {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;

    z-index: 99999;
}

.autumn-leaf {
    position: absolute;

    top: -80px;

    display: block;

    font-family:
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif;

    font-size: var(--leaf-size);

    line-height: 1;

    opacity: 0;

    user-select: none;
    pointer-events: none;

    will-change:
        transform,
        top,
        opacity;

    animation:
        autumn-fall var(--fall-duration) linear forwards,
        autumn-swing var(--swing-duration) ease-in-out infinite alternate;
}


/* =========================================================
   سقوط برگ
   ========================================================= */

@keyframes autumn-fall {

    0% {
        top: -80px;
        opacity: 0;
    }

    8% {
        opacity: var(--leaf-opacity);
    }

    75% {
        opacity: var(--leaf-opacity);
    }

    100% {
        top: 108vh;
        opacity: 0;
    }
}


/* =========================================================
   حرکت طبیعی چپ و راست + چرخش
   ========================================================= */

@keyframes autumn-swing {

    0% {
        margin-left: -35px;
        transform: rotate(-25deg);
    }

    25% {
        margin-left: 20px;
        transform: rotate(45deg);
    }

    50% {
        margin-left: 45px;
        transform: rotate(120deg);
    }

    75% {
        margin-left: 10px;
        transform: rotate(210deg);
    }

    100% {
        margin-left: -30px;
        transform: rotate(300deg);
    }
}


/* =========================================================
   موبایل
   ========================================================= */

@media (max-width: 650px) {

    #autumn-leaves {
        opacity: .85;
    }

    .autumn-leaf {
        font-size:
            calc(var(--leaf-size) * .82);
    }

}


/* =========================================================
   کاهش Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #autumn-leaves {
        display: none;
    }

}