﻿/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   DESIGN SYSTEM
========================================================= */

:root {
    --primary: #D9909B;
    --primary-dark: #C87584;
    --primary-deep: #B85F70;

    --primary-soft: #FFF1F3;
    --primary-soft-2: #FFF7F8;

    --background: #FFF8F8;
    --surface: #FFFFFF;

    --text: #3E3E43;
    --text-secondary: #696970;
    --text-light: #99999F;

    --border: #EEDFE2;
    --border-light: #F3E8EA;

    --radius-small: 10px;
    --radius: 15px;
    --radius-large: 21px;

    --shadow-small: 0 4px 14px rgba(70,35,45,.055);
    --shadow: 0 9px 28px rgba(70,35,45,.075);
    --shadow-hover: 0 16px 38px rgba(70,35,45,.12);
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;

    background:
        linear-gradient(
            180deg,
            #FFFBFB 0,
            #FFF7F8 400px,
            #FFF9F9 100%
        );

    color: var(--text);

    font-family:
        'Vazirmatn',
        Tahoma,
        Arial,
        sans-serif;

    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font-family:
        'Vazirmatn',
        Tahoma,
        Arial,
        sans-serif;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

::selection {
    background: #EABBC3;
    color: #443438;
}

.shopPage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shopMain {
    width: 100%;
    flex: 1;
}


/* =========================================================
   HEADER
========================================================= */

.shopHeader {
    width: 100%;
    position: relative;
    z-index: 100;

    background:
        linear-gradient(
            125deg,
            #DE99A3 0%,
            #D58895 48%,
            #C87584 100%
        );

    border-bottom:
        1px solid rgba(255,255,255,.22);

    box-shadow:
        0 5px 25px rgba(90,40,50,.15);
}

.shopHeader::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.55),
            transparent
        );
}

.shopHeaderInner {
    width: 94%;
    max-width: 1400px;
    min-height: 88px;
    margin: 0 auto;
    padding: 12px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* =========================================================
   BRAND
========================================================= */

.shopBrand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.shopLogoBox {
    width: 60px;
    height: 60px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    padding: 4px;

    background: rgba(255,255,255,.96);

    border:
        1px solid rgba(255,255,255,.6);

    border-radius: 16px;

    box-shadow:
        0 5px 16px rgba(70,30,40,.12);
}

.shopLogo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 11px;
}

.shopBrandText {
    min-width: 0;
}

.shopName {
    color: white;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;

    text-shadow:
        0 1px 2px rgba(80,30,40,.08);
}


/* =========================================================
   HEADER MENU
========================================================= */

.shopMenu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shopMenuItem {
    min-height: 44px;
    padding: 0 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border:
        1px solid rgba(255,255,255,.45);

    border-radius: 11px;

    background:
        rgba(255,255,255,.96);

    color: #B55E6F;

    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 3px 10px rgba(80,30,40,.08);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.shopMenuItem:hover {
    transform: translateY(-2px);
    background: #fff;

    box-shadow:
        0 7px 18px rgba(80,30,40,.14);
}

.shopMenuItem:active {
    transform: translateY(0);
}

.shopLogin {
    background:
        rgba(174,79,96,.48);

    color: white;

    border:
        1px solid rgba(255,255,255,.42);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 3px 10px rgba(80,30,40,.09);
}

.shopLogin:hover {
    background:
        rgba(166,69,87,.62);
}

.menuIcon {
    font-size: 17px;
}


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

.shopHero {
    width: 94%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;

    margin: 34px auto 28px;
    padding: 42px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #FFFFFF,
            #FFF9FA
        );

    border:
        1px solid var(--border-light);

    border-radius: 23px;

    box-shadow:
        var(--shadow);
}

.shopHero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -190px;
    right: -90px;
    border-radius: 50%;
    background: rgba(217,144,155,.08);
    pointer-events: none;
}

.shopHero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -140px;
    left: -60px;
    border-radius: 50%;
    background: rgba(217,144,155,.055);
    pointer-events: none;
}

.shopHero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: #C36D7D;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.7;
}

.shopHero p {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 2.1;
}


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

.productsSection {
    width: 94%;
    max-width: 1400px;
    margin: 28px auto;
}

.productsGrid {
    width: 100%;
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 23px;
}


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

.shopProductCard {
    width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: #fff;

    border:
        1px solid #F0E5E7;

    border-radius: 19px;

    box-shadow:
        0 5px 18px rgba(70,35,42,.055);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.shopProductCard:hover {
    transform: translateY(-6px);
    border-color: #E5C8CE;
    box-shadow: var(--shadow-hover);
}


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

.shopProductImage {
    width: calc(100% - 32px);
    height: 220px;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    margin: 16px 16px 0 16px;
    background: #FFFFFF;

    border:
        1px solid #F0E5E7;

    border-radius: 16px;

    box-sizing: border-box;

    transition:
        border-color .22s ease,
        box-shadow .22s ease;
}

.shopProductCard:hover .shopProductImage {
    transform: none;
    border-color: #E7D5D9;
    box-shadow: 0 5px 16px rgba(70,35,42,.055);
}


/* =========================================================
   PRODUCT BODY
========================================================= */

.shopProductBody {
    padding: 18px 17px 17px;
}

.shopProductBody h2 {
    min-height: 58px;
    margin: 0 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #3F3F45;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

.shopProductBody h2 a,
.shopProductBody h2 a:visited,
.shopProductBody h2 a:hover,
.shopProductBody h2 a:active,
.productTitleLink,
.productTitleLink:visited,
.productTitleLink:hover,
.productTitleLink:active {
    color: inherit !important;
    text-decoration: none !important;
    font: inherit;
}

.productDetailLink,
.productDetailLink:visited,
.productDetailLink:hover,
.productDetailLink:active {
    display: block;
    color: inherit;
    text-decoration: none;
    outline: none;
}

.shopProductDescription {
    min-height: 55px;
    margin-bottom: 14px;
    color: #7B7B81;
    font-size: 12px;
    font-weight: 400;
    line-height: 2;
    text-align: center;
}


/* =========================================================
   PRODUCT BUTTONS
========================================================= */

.shopDescriptionBtn,
.shopOrderBtn {
    width: 100%;
    min-height: 45px;
    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.shopDescriptionBtn {
    color: #BE6677;
    background: #FFF5F7;

    border:
        1px solid #E9C9CF;
}

.shopDescriptionBtn:hover {
    background: #FFEDF1;
    border-color: #DFB3BC;
}

.shopOrderBtn {
    color: white;

    background:
        linear-gradient(
            135deg,
            #D9909B,
            #C97786
        );

    border:
        1px solid transparent;

    box-shadow:
        0 5px 13px rgba(193,92,110,.14);
}

.shopOrderBtn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(193,92,110,.21);
}


/* =========================================================
   CATEGORY FILTER
========================================================= */

.categoryFilter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 5px 0;
}

.categoryItem {
    min-height: 40px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
    background: white;

    border:
        1px solid #E8D3D7;

    border-radius: 22px;
    color: #B76978;
    font-size: 12px;
    font-weight: 500;

    box-shadow:
        0 2px 8px rgba(70,35,42,.035);

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.categoryItem:hover {
    transform: translateY(-2px);
    background: #FFF2F4;
    border-color: #DDA5AF;

    box-shadow:
        0 5px 12px rgba(70,35,42,.06);
}

.categoryItemActive {
    background: #D9909B;
    color: #ffffff;
    border-color: #D9909B;
}


/* =========================================================
   PAGINATION
========================================================= */

.shopPagination {
    margin: 42px 0 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
    flex-wrap: wrap;
}

.pageNumber,
.pageBtn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid #E6CDD2;

    border-radius: 10px;
    background: white;
    color: #BE6677;

    font-family:
        'Vazirmatn',
        Tahoma,
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 500;
    cursor: pointer;

    box-shadow:
        0 2px 8px rgba(70,35,42,.035);

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.pageNumber:hover,
.pageBtn:hover {
    transform: translateY(-2px);
    background: #FFF2F4;

    box-shadow:
        0 5px 12px rgba(70,35,42,.07);
}

.pageNumberActive {
    background: #D9909B;
    color: #ffffff;
    border-color: #D9909B;
}


/* =========================================================
   FOOTER
========================================================= */

.shopFooter {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    color: white;

    background:
        linear-gradient(
            125deg,
            #CA7C89 0%,
            #C06F7D 55%,
            #B96575 100%
        );

    box-shadow:
        0 -5px 25px rgba(80,35,45,.06);
}

.shopFooter::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -220px;
    left: -90px;
    border-radius: 50%;
    background: rgba(255,255,255,.055);
    pointer-events: none;
}

.shopFooter::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -130px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

.shopFooterInner {
    width: 94%;
    max-width: 1400px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 42px 0 35px;

    display: grid;

    grid-template-columns:
        1fr 1.2fr 1fr 2fr;

    gap: 35px;
}

.footerColumn {
    min-width: 0;
}

.footerBrand {
    display: flex;
    align-items: flex-start;
}

.footerShopName {
    color: white;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.8;
}

.footerTitle {
    position: relative;
    margin-bottom: 12px;
    padding-bottom: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.footerTitle::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,.55);
}

.footerText {
    color: rgba(255,255,255,.83);
    font-size: 11px;
    font-weight: 400;
    line-height: 2.2;
}

.footerBottom {
    position: relative;
    z-index: 1;
    padding: 16px;
    text-align: center;

    border-top:
        1px solid rgba(255,255,255,.17);

    color:
        rgba(255,255,255,.72);

    font-size: 10px;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.productDetail {
    width: 94%;
    max-width: 1180px;
    position: relative;
    margin: 34px auto 45px;
    padding: 30px;
    background: #fff;

    border:
        1px solid var(--border-light);

    border-radius: 24px;

    box-shadow:
        0 12px 38px rgba(70,35,42,.065);
}


/* =========================================================
   PRODUCT BREADCRUMB
========================================================= */

.productBreadcrumb {
    width: 100%;
    margin-bottom: 24px;
    padding-bottom: 17px;

    display: flex;
    align-items: center;

    gap: 8px;
    flex-wrap: wrap;

    border-bottom:
        1px solid #F2E9EB;

    color: #969096;
    font-size: 11px;
    line-height: 1.9;
}

.productBreadcrumb a,
.productBreadcrumb a:visited {
    color: #B96978;
    font-weight: 500;
}

.productBreadcrumb a:hover {
    color: #9F4F61;
}

.breadcrumbSeparator {
    color: #C8BFC2;
}

.breadcrumbCurrent {
    color: #777177;
}


/* =========================================================
   MAIN PRODUCT GRID
========================================================= */

.productDetailLayout {
    width: 100%;
    display: grid;

    grid-template-columns:
        minmax(290px, 350px)
        minmax(0, 1fr);

    gap: 38px;
    align-items: start;
    direction: rtl;
}

.productVisualColumn,
.productInformationColumn {
    min-width: 0;
}

.productVisualColumn {
    width: 100%;
}


/* =========================================================
   PRODUCT DETAIL IMAGE
========================================================= */

.productDetailImageBox {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 13px;

    background:
        linear-gradient(
            145deg,
            #FFFDFD,
            #FFF8F9
        );

    border:
        1px solid #EFE3E6;

    border-radius: 20px;

    box-shadow:
        0 6px 20px rgba(70,35,42,.05);
}

.productDetailImage {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 15px;

    transition:
        transform .35s ease;
}

.productDetailImageBox:hover .productDetailImage {
    transform: none;
}


/* =========================================================
   PRODUCT MINI INFO
========================================================= */

.productMiniInfo {
    width: 100%;
    margin-top: 12px;
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 8px;
}

.productDetailCategory,
.productSeoInfo {
    min-width: 0;
    min-height: 61px;
    padding: 10px 12px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 3px;
    text-align: right;
    background: #FFFAFB;

    border:
        1px solid #F0E3E6;

    border-radius: 12px;
}

.productMiniLabel,
.productSeoInfo span {
    color: #A59CA0;
    font-size: 9px;
    font-weight: 400;
}

.productDetailCategory strong,
.productSeoInfo strong {
    max-width: 100%;
    overflow: hidden;
    color: #A95C6E;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   PURCHASE BOX
========================================================= */

.productPurchaseSection {
    width: 100%;
    margin-top: 15px;
    padding: 19px;

    background:
        linear-gradient(
            145deg,
            #FFF9FA,
            #FFFDFD
        );

    border:
        1px solid #EFDDE1;

    border-radius: 17px;
}

.productPurchaseHeader {
    margin-bottom: 14px;
}

.productPurchaseSmallTitle {
    display: block;
    margin-bottom: 4px;
    color: #C57A89;
    font-size: 10px;
    font-weight: 500;
}

.productPurchaseTitle {
    margin: 0;
    color: #494148;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.productPurchaseText {
    margin: 12px 0 0;
    color: #81767C;
    font-size: 11px;
    line-height: 2;
    text-align: right;
}


/* =========================================================
   STOCK STATUS
========================================================= */

.productStockStatus {
    width: 100%;
    min-height: 36px;
    padding: 6px 11px;

    display: flex;
    align-items: center;
    gap: 7px;

    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.productStockDot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    display: block;
    border-radius: 50%;
}

.productStockAvailable {
    color: #39785D;
    background: #F1FAF6;

    border:
        1px solid #D8EEE4;
}

.productStockAvailable .productStockDot {
    background: #54A77F;
}

.productStockUnavailable {
    color: #9A626C;
    background: #FFF4F5;

    border:
        1px solid #F0DADD;
}

.productStockUnavailable .productStockDot {
    background: #CB7887;
}


/* =========================================================
   PRODUCT ORDER BUTTON
========================================================= */

.productDetailOrder {
    width: 100%;
    margin-top: 15px;
}

.productOrderButton {
    width: 100%;
    min-width: 0;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    color: white !important;

    background:
        linear-gradient(
            135deg,
            #D9909B,
            #C97786
        );

    border:
        1px solid transparent;

    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 5px 14px rgba(193,92,110,.15);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.productOrderButton:hover {
    transform: translateY(-2px);
    color: white !important;

    background:
        linear-gradient(
            135deg,
            #D48491,
            #BE697A
        );

    box-shadow:
        0 9px 20px rgba(193,92,110,.22);
}


/* =========================================================
   OUT OF STOCK BUTTON
========================================================= */

.productOutOfStockText {
    color: #8F777D;
}

.productOutOfStockButton {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    color: #999095;
    background: #F4F2F3;

    border:
        1px solid #E5DEE0;

    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    user-select: none;
}


/* =========================================================
   LEFT INFORMATION COLUMN
========================================================= */

.productInformationColumn {
    padding: 4px 2px 0;
}


/* =========================================================
   PRODUCT DETAIL HEADER
========================================================= */

.productDetailHeader {
    width: 100%;
    padding-bottom: 20px;

    border-bottom:
        1px solid #F0E6E8;
}

.productDetailEyebrow {
    margin-bottom: 7px;
    color: #C77A89;
    font-size: 11px;
    font-weight: 500;
}

.productDetailTitle {
    margin: 0;
    color: #34343A;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.75;
    text-align: right;
}


/* =========================================================
   SHORT DESCRIPTION
========================================================= */

.productShortDescription {
    margin-top: 20px;
    padding: 17px 19px;
    color: #655E63;
    background: #FFF9FA;

    border:
        1px solid #F1E5E8;

    border-right:
        3px solid #D9909B;

    border-radius: 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.2;
    text-align: right;
}


/* =========================================================
   CONTENT SECTION
========================================================= */

.productContentSection {
    margin-top: 27px;
}

.productSectionHeading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.productSectionLine {
    width: 4px;
    height: 23px;
    flex: 0 0 4px;
    display: block;
    background: #D9909B;
    border-radius: 5px;
}

.productSectionTitle {
    margin: 0;
    color: #484249;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.productDetailDescription {
    margin: 0;
    padding: 21px 22px;
    color: #59545A;
    background: #FFFFFF;

    border:
        1px solid #F0E7E9;

    border-radius: 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2.45;
    text-align: right;
}

.productNoDescription {
    margin-top: 22px;
    padding: 20px;
    color: #898087;
    background: #FFFAFB;

    border:
        1px solid #F1E5E8;

    border-radius: 13px;
    font-size: 12px;
    text-align: center;
}


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

.relatedProducts {
    width: 100%;
    margin-top: 45px;
    padding-top: 30px;

    border-top:
        1px solid #EEE5E7;
}

.relatedProductsHeader {
    width: 100%;
    margin-bottom: 21px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.relatedProductsEyebrow {
    display: block;
    margin-bottom: 4px;
    color: #C87888;
    font-size: 10px;
    font-weight: 500;
}

.relatedProductsTitle {
    margin: 0;
    color: #404046;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
}

.relatedProductsAll {
    flex-shrink: 0;
    color: #B76576 !important;
    font-size: 11px;
    font-weight: 600;
}

.relatedProductsAll:hover {
    text-decoration: underline;
}

.relatedProductsGrid {
    width: 100%;
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 15px;
}

.relatedProductCard {
    width: 100%;
    min-width: 0;
    display: block;
    overflow: hidden;
    padding: 9px;
    color: inherit;
    background: #fff;

    border:
        1px solid #EFE5E7;

    border-radius: 14px;

    box-shadow:
        0 3px 12px rgba(70,35,42,.035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.relatedProductCard:hover {
    transform: translateY(-3px);
    border-color: #E3C7CD;

    box-shadow:
        0 8px 20px rgba(70,35,42,.075);
}

.relatedProductImageBox {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 11px;
    background: #FAFAFA;
}

.relatedProductImage {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 7px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 11px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.relatedProductCard:hover .relatedProductImage {
    transform: none;
}

.relatedProductName {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #414146;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
}


/* =========================================================
   PRODUCT DETAIL BACK
========================================================= */

.productDetailBack {
    margin-top: 28px;
    text-align: center;
}

.productBackButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    color: #B96978 !important;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 500;

    transition:
        background .18s ease;
}

.productBackButton:hover {
    background: #FFF3F5;
}


/* =========================================================
   RULES PAGE
========================================================= */

.rulesPage {
    width: 100%;
    max-width: 900px;
    margin: 38px auto 55px;
    padding: 0 15px;
    direction: rtl;

    font-family:
        'Vazirmatn',
        Tahoma,
        Arial,
        sans-serif;
}

.rulesHeader {
    margin-bottom: 27px;
    text-align: center;
}

.rulesIcon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFF0F3;

    border:
        1px solid #EFD4DA;

    border-radius: 50%;
    color: #C66D80;
    font-size: 21px;
    font-weight: 700;

    box-shadow:
        0 4px 12px rgba(70,35,42,.05);
}

.rulesHeader h1 {
    margin: 0;
    color: #45454A;
    font-size: 22px;
    font-weight: 700;
}

.rulesHeader p {
    margin-top: 9px;
    color: #99999F;
    font-size: 12px;
    line-height: 1.9;
}

.rulesContent {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ruleBox {
    padding: 23px 25px;
    background: rgba(255,255,255,.9);

    border:
        1px solid #EADCDF;

    border-radius: 18px;

    box-shadow:
        0 6px 20px rgba(80,40,50,.05);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.ruleBox:hover {
    border-color: #E4CDD2;

    box-shadow:
        0 9px 25px rgba(80,40,50,.07);
}

.ruleTitle {
    margin-bottom: 15px;

    display: flex;
    align-items: center;

    gap: 10px;
    color: #4B4B51;
    font-size: 15px;
    font-weight: 600;
}

.ruleTitle span {
    width: 31px;
    height: 31px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFF0F3;

    border:
        1px solid #EFD4DA;

    border-radius: 50%;
    color: #C66D80;
    font-size: 12px;
    font-weight: 600;
}

.ruleBox p {
    margin: 0 0 10px;
    color: #66666C;
    font-size: 12px;
    font-weight: 400;
    line-height: 2.1;
    text-align: right;
}

.ruleBox p:last-child {
    margin-bottom: 0;
}

.ruleBox strong {
    color: #C56579;
    font-weight: 600;
}


/* =========================================================
   404 PAGE
========================================================= */

.error404Page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 55px 22px 75px;
    box-sizing: border-box;
}

.error404Box {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 55px 35px;
    box-sizing: border-box;
    background: #ffffff;

    border:
        1px solid #f0e3e6;

    border-radius: 24px;
    text-align: center;

    box-shadow:
        0 12px 42px rgba(75,40,48,.06);
}

.error404Number {
    margin-bottom: 20px;
    font-size: 108px;
    line-height: .95;
    font-weight: 700;
    letter-spacing: 3px;
    color: #D9909B;
}

.error404Title {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.7;
    font-weight: 700;
    color: #3f3f44;
}

.error404Text {
    max-width: 570px;
    margin: 0 auto 8px;
    font-size: 14px;
    line-height: 2.1;
    color: #66666d;
}

.error404Help {
    max-width: 570px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 2;
    color: #8b8b91;
}


/* =========================================================
   404 BUTTONS
========================================================= */

.error404Buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.error404PrimaryButton,
.error404SecondaryButton {
    min-width: 160px;
    padding: 13px 22px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.error404PrimaryButton {
    background: #D9909B;

    border:
        1px solid #D9909B;

    color: #ffffff;
}

.error404PrimaryButton:hover {
    color: #ffffff;
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(217,144,155,.28);
}

.error404SecondaryButton {
    background: #ffffff;

    border:
        1px solid #e7cdd2;

    color: #b56171;
}

.error404SecondaryButton:hover {
    background: #fff7f8;
    color: #a95162;
    transform: translateY(-2px);
}


/* =========================================================
   404 COMMON SECTION
========================================================= */

.error404Categories,
.error404Products {
    margin-top: 55px;
}

.error404SectionTitle {
    margin: 0;
    text-align: center;
    color: #45454a;
    font-size: 23px;
    font-weight: 700;
}

.error404SectionDescription {
    margin: 8px 0 25px;
    text-align: center;
    color: #88888e;
    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   404 CATEGORY LINKS
========================================================= */

.error404CategoryList {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
    max-width: 900px;
    margin: 22px auto 0;
}

.error404CategoryItem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    background: #ffffff;

    border:
        1px solid #ecd9dd;

    border-radius: 30px;
    color: #a95c6b;
    font-size: 13px;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.error404CategoryItem:hover {
    background: #fff6f7;
    border-color: #D9909B;
    color: #9d4f5e;
    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(80,40,50,.06);
}


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

.error404ProductsGrid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 18px;
    margin-top: 25px;
}

.error404ProductCard {
    overflow: hidden;
    background: #ffffff;

    border:
        1px solid #f0e4e6;

    border-radius: 18px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.error404ProductCard:hover {
    transform: translateY(-4px);
    border-color: #e5cbd0;

    box-shadow:
        0 10px 28px rgba(70,35,42,.08);
}

.error404ProductImageLink {
    display: block;
    padding: 12px 12px 0;
    text-decoration: none;
}

.error404ProductImage {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 13px;
}

.error404ProductBody {
    padding: 14px 14px 16px;
    text-align: center;
}

.error404ProductName {
    min-height: 48px;
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 600;
}

.error404ProductName a {
    color: #49494f;
    text-decoration: none;
}

.error404ProductName a:hover {
    color: #b35f70;
}

.error404ProductButton {
    display: inline-block;
    padding: 8px 15px;
    background: #fff5f6;

    border:
        1px solid #efd7dc;

    border-radius: 8px;
    color: #b05b6b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.error404ProductButton:hover {
    background: #D9909B;
    border-color: #D9909B;
    color: #ffffff;
}

.error404AllProducts {
    margin-top: 25px;
    text-align: center;
}

.error404AllProducts a {
    color: #b05b6b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.error404AllProducts a:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width:1000px) {

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

        gap: 18px;
    }

    .shopProductImage {
        height: 205px;
        object-fit: contain;
        padding: 10px;
    }

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

    .productDetail {
        max-width: 900px;
        padding: 25px;
    }

    .productDetailLayout {
        grid-template-columns:
            minmax(260px, 310px)
            minmax(0,1fr);

        gap: 27px;
    }

    .productDetailTitle {
        font-size: 24px;
    }

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

        gap: 14px;
    }

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

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width:700px) {

    body {
        background: #FFF8F8;
    }

    .shopHeaderInner {
        width: 92%;
        min-height: 72px;
        gap: 9px;
        padding: 10px 0;
    }

    .shopLogoBox {
        width: 46px;
        height: 46px;
        padding: 3px;
        border-radius: 11px;
    }

    .shopName {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
    }

    .shopMenu {
        gap: 5px;
    }

    .shopMenuItem {
        min-height: 40px;
        padding: 0 9px;
        border-radius: 9px;
        font-size: 10px;
    }

    .menuIcon {
        display: none;
    }

    .shopHero {
        width: 92%;
        margin: 20px auto;
        padding: 28px 16px;
        border-radius: 18px;
    }

    .shopHero h1 {
        margin-bottom: 11px;
        font-size: 21px;
    }

    .shopHero p {
        font-size: 12px;
        line-height: 2.1;
    }

    .productsSection {
        width: 92%;
    }

    .productsGrid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .shopProductCard {
        border-radius: 17px;
    }

    .shopProductCard:hover {
        transform: none;
    }

    .shopProductImage {
        width: calc(100% - 24px);
        height: 200px;
        margin: 12px 12px 0 12px;
        padding: 10px;
        object-fit: contain;
        object-position: center;
        background: #FFFFFF;
        border-radius: 14px;
    }

    .shopProductBody {
        padding: 15px;
    }

    .shopProductBody h2 {
        min-height: auto;
        font-size: 15px;
    }

    .shopProductDescription {
        min-height: auto;
        font-size: 12px;
    }

    .shopDescriptionBtn,
    .shopOrderBtn {
        min-height: 47px;
        font-size: 12px;
    }

    .categoryFilter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .categoryFilter::-webkit-scrollbar {
        display: none;
    }

    .categoryItem {
        flex-shrink: 0;
        min-height: 42px;
        padding: 0 16px;
        font-size: 11px;
    }

    .shopPagination {
        margin-top: 32px;
    }

    .productDetail {
        width: 94%;
        margin: 20px auto 35px;
        padding: 16px;
        border-radius: 18px;
    }

    .productBreadcrumb {
        margin-bottom: 17px;
        padding-bottom: 13px;
        font-size: 10px;
    }

    .productDetailLayout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .productVisualColumn {
        order: 1;
    }

    .productInformationColumn {
        order: 2;
    }

    .productDetailImageBox {
        max-width: 420px;
        margin: 0 auto;
        padding: 10px;
        border-radius: 16px;
    }

    .productDetailImage {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
        padding: 9px;
        box-sizing: border-box;
        background: #FFFFFF;
        border-radius: 12px;
    }

    .productMiniInfo {
        max-width: 420px;
        margin: 10px auto 0;
    }

    .productPurchaseSection {
        max-width: 420px;
        margin: 12px auto 0;
        padding: 16px;
        border-radius: 15px;
    }

    .productPurchaseTitle {
        font-size: 12px;
    }

    .productPurchaseText {
        font-size: 10px;
    }

    .productOrderButton,
    .productOutOfStockButton {
        min-height: 48px;
        font-size: 12px;
    }

    .productInformationColumn {
        padding: 0;
    }

    .productDetailHeader {
        padding-bottom: 16px;
    }

    .productDetailEyebrow {
        font-size: 10px;
    }

    .productDetailTitle {
        font-size: 21px;
        line-height: 1.8;
    }

    .productShortDescription {
        margin-top: 16px;
        padding: 15px 16px;
        font-size: 12px;
        line-height: 2.15;
    }

    .productContentSection {
        margin-top: 23px;
    }

    .productSectionTitle {
        font-size: 14px;
    }

    .productDetailDescription {
        padding: 17px 16px;
        font-size: 12px;
        line-height: 2.3;
    }

    .relatedProducts {
        margin-top: 34px;
        padding-top: 24px;
    }

    .relatedProductsHeader {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .relatedProductsTitle {
        font-size: 16px;
    }

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

        gap: 10px;
    }

    .relatedProductCard {
        padding: 7px;
        border-radius: 12px;
    }

    .relatedProductImageBox {
        border-radius: 9px;
    }

    .relatedProductImage {
        border-radius: 9px;
    }

    .relatedProductName {
        min-height: 42px;
        margin-top: 7px;
        font-size: 10px;
    }

    .rulesPage {
        margin-top: 25px;
        padding: 0 10px;
    }

    .rulesHeader h1 {
        font-size: 19px;
    }

    .rulesHeader p {
        font-size: 10px;
    }

    .ruleBox {
        padding: 18px 16px;
        border-radius: 15px;
    }

    .ruleTitle {
        font-size: 13px;
    }

    .ruleBox p {
        font-size: 11px;
        line-height: 2.1;
    }

    .shopFooter {
        margin-top: 38px;
    }

    .shopFooterInner {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 23px;
        padding: 31px 0;
    }

    .footerBrand {
        justify-content: center;
        text-align: center;
    }

    .footerColumn {
        text-align: center;
    }

    .footerTitle::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footerShopName {
        font-size: 19px;
    }

    .footerText {
        font-size: 10px;
    }

    .error404Page {
        padding: 30px 14px 55px;
    }

    .error404Box {
        padding: 40px 20px;
        border-radius: 18px;
    }

    .error404Number {
        font-size: 78px;
    }

    .error404Title {
        font-size: 21px;
    }

    .error404Text,
    .error404Help {
        font-size: 13px;
    }

    .error404Buttons {
        flex-direction: column;
    }

    .error404PrimaryButton,
    .error404SecondaryButton {
        width: 100%;
        max-width: 280px;
    }

    .error404SectionTitle {
        font-size: 19px;
    }

    .error404Categories,
    .error404Products {
        margin-top: 42px;
    }

    .error404ProductsGrid {
        gap: 12px;
    }

    .error404ProductImageLink {
        padding: 9px 9px 0;
    }

    .error404ProductBody {
        padding: 11px 9px 13px;
    }

    .error404ProductName {
        min-height: 46px;
        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width:400px) {

    .shopName {
        max-width: 100px;
    }

    .shopMenuItem {
        padding: 0 7px;
        font-size: 9px;
    }

    .shopProductImage {
        height: 185px;
        object-fit: contain;
        padding: 9px;
    }

    .productDetail {
        width: 95%;
        padding: 13px;
    }

    .productMiniInfo {
        gap: 6px;
    }

    .productDetailCategory,
    .productSeoInfo {
        padding: 8px 9px;
    }

    .productDetailTitle {
        font-size: 19px;
    }

    .relatedProductsGrid {
        gap: 8px;
    }

    .relatedProductCard {
        padding: 6px;
    }

    .relatedProductName {
        font-size: 9px;
    }

}


@media screen and (max-width:380px) {

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

}


/* =========================================================
   PREMIUM SHOP MASTER
========================================================= */

.shopProHeader {
    position: relative;
    z-index: 5000;
    width: 100%;
    overflow: visible;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.99) 0%,
            rgba(255,250,251,.99) 45%,
            rgba(255,245,247,.99) 100%
        );

    border-bottom:
        1px solid rgba(202,105,124,.14);

    box-shadow:
        0 1px 0 rgba(255,255,255,.95),
        0 12px 38px rgba(85,43,54,.07);
}

.shopProHeader:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(206,111,130,.12) 15%,
            rgba(206,111,130,.58) 50%,
            rgba(206,111,130,.12) 85%,
            transparent 100%
        );
}

.shopProGlow {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(45px);
    opacity: .23;
}

.shopProGlowRight {
    width: 230px;
    height: 70px;
    right: 8%;
    top: -52px;
    background: #e698a8;
}

.shopProGlowLeft {
    width: 180px;
    height: 60px;
    left: 10%;
    top: -50px;
    background: #ffdfe5;
}


/* =========================================================
   HEADER INNER
========================================================= */

.shopProHeaderInner {
    position: relative;
    z-index: 2;
    width: 94%;
    max-width: 1440px;
    height: 86px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(230px,auto)
        1fr
        auto;

    align-items: center;
    gap: 32px;
}


/* =========================================================
   BRAND
========================================================= */

.shopProBrand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #342d2f !important;
    text-decoration: none !important;
}

.shopProLogoShell {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    padding: 3px;
    overflow: hidden;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7e0e5
        );

    box-shadow:
        0 8px 25px rgba(170,73,95,.15),
        inset 0 0 0 1px rgba(201,102,122,.13);
}

.shopProLogoShell:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95);
}

.shopProLogo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

.shopProBrandContent {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shopProName {
    display: block;
    max-width: 310px;
    overflow: hidden;
    color: #342e30;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopProDescription {
    display: block;
    max-width: 310px;
    overflow: hidden;
    color: #a09497;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   NAV
========================================================= */

.shopProNav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.shopProNavItem {
    position: relative;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
    padding: 0 15px;

    border:
        1px solid transparent;

    border-radius: 13px;

    color:
        #675d60 !important;

    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;

    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.shopProNavItem:hover {
    transform: translateY(-1px);
    background: rgba(207,113,132,.07);
    border-color: rgba(207,113,132,.09);
    color: #b45468 !important;
}

.shopProNavIcon {
    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.shopProNavIcon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shopProNavActive {
    background: #fff4f6;
    border-color: #efdce0;
    color: #b45165 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9);
}


/* =========================================================
   SAMSARI
========================================================= */

.shopProSamsari {
    background:
        linear-gradient(
            135deg,
            rgba(255,243,246,.9),
            rgba(255,250,251,.9)
        );

    border-color:
        rgba(207,113,132,.13);

    color:
        #aa5063 !important;
}

.shopProNewBadge {
    height: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    border-radius: 999px;

    background:
        linear-gradient(
            145deg,
            #d47083,
            #b95066
        );

    color: #fff;

    box-shadow:
        0 3px 8px rgba(182,75,96,.18);

    font-size: 7px;
    font-weight: 800;
}


/* =========================================================
   LOGIN
========================================================= */

.shopProAccount {
    display: flex;
    align-items: center;
}

.shopProLogin {
    height: 52px;
    min-width: 170px;

    display: flex;
    align-items: center;

    gap: 9px;
    padding: 5px 10px;

    border:
        1px solid rgba(201,105,124,.16);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #d88394,
            #c86b7e
        );

    color: #fff !important;

    box-shadow:
        0 8px 22px rgba(184,80,101,.17),
        inset 0 1px 0 rgba(255,255,255,.27);

    text-decoration: none !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.shopProLogin:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(184,80,101,.23),
        inset 0 1px 0 rgba(255,255,255,.32);
}

.shopProLoginIcon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        rgba(255,255,255,.16);

    border:
        1px solid rgba(255,255,255,.19);
}

.shopProLoginIcon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shopProLoginText {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shopProLoginText small {
    color: rgba(255,255,255,.72);
    font-size: 7px;
    font-weight: 500;
}

.shopProLoginText strong {
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.shopProLoginArrow {
    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: .7;
}

.shopProLoginArrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PREMIUM FOOTER
========================================================= */

.shopProFooter {
    position: relative;
    margin-top: 55px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #5d4149 0%,
            #493238 55%,
            #3e2a30 100%
        );

    color: #fff;
}

.shopProFooter:before {
    content: "";
    position: absolute;
    width: 380px;
    height: 180px;
    right: -100px;
    top: -120px;
    border-radius: 50%;
    background: rgba(219,139,155,.13);
    filter: blur(10px);
}

.shopProFooterTop {
    position: relative;
    z-index: 2;
    padding: 38px 0 30px;
}

.shopProFooterInner {
    width: 92%;
    max-width: 1380px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr .75fr;

    align-items: start;
    gap: 30px;
}

.shopProFooterBrand {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.shopProFooterLogoShell {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 3px;
    overflow: hidden;
    border-radius: 16px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid rgba(255,255,255,.16);
}

.shopProFooterLogo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 13px;
}

.shopProFooterBrandText {
    min-width: 0;
}

.shopProFooterName {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.shopProFooterDescription {
    display: block;
    max-width: 330px;

    color:
        rgba(255,255,255,.64);

    font-size: 9px;
    line-height: 2;
}

.shopProFooterCard {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.shopProFooterCardIcon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.11);
}

.shopProFooterCardIcon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #ebb4bf;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shopProFooterLabel {
    margin-bottom: 5px;

    color:
        rgba(255,255,255,.48);

    font-size: 8px;
}

.shopProFooterValue {
    display: block;

    color:
        rgba(255,255,255,.83);

    font-size: 10px;
    line-height: 1.9;
}

.shopProPhone {
    direction: ltr;
    text-align: right;
}

.shopProFooterLinks {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.shopProFooterLinksTitle {
    margin-bottom: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.shopProFooterLinks a {
    position: relative;
    padding-right: 11px;

    color:
        rgba(255,255,255,.65) !important;

    font-size: 9px;
    text-decoration: none !important;

    transition:
        color .15s ease;
}

.shopProFooterLinks a:before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d88a99;

    transform:
        translateY(-50%);
}

.shopProFooterLinks a:hover {
    color: #fff !important;
}

.shopProFooterBottom {
    position: relative;
    z-index: 2;
    min-height: 48px;
    padding: 0 4%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(0,0,0,.08);

    color:
        rgba(255,255,255,.47);

    font-size: 8px;
}

.shopProFooterSecure {
    color:
        rgba(255,255,255,.62);
}


/* =========================================================
   PREMIUM TABLET
========================================================= */

@media screen and (max-width:1050px) {

    .shopProHeaderInner {
        width: 96%;

        grid-template-columns:
            auto 1fr auto;

        gap: 14px;
    }

    .shopProDescription {
        max-width: 190px;
    }

    .shopProNavItem {
        padding: 0 10px;
    }

    .shopProLogin {
        min-width: 145px;
    }

    .shopProFooterInner {
        grid-template-columns:
            1.3fr 1fr 1fr;
    }

    .shopProFooterLinks {
        grid-column: 1 / -1;
        flex-direction: row;
        gap: 18px;
    }

}


/* =========================================================
   PREMIUM MOBILE
========================================================= */

@media screen and (max-width:700px) {

    .shopProHeader {
        position: sticky;
        top: 0;
        z-index: 8000;
    }

    .shopProHeaderInner {
        width: 94%;
        height: auto;
        min-height: 72px;
        padding: 9px 0 8px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        flex-wrap: wrap;
        gap: 7px;
    }

    .shopProBrand {
        flex: 1;
        min-width: 0;
    }

    .shopProLogoShell {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 14px;
    }

    .shopProLogo {
        border-radius: 11px;
    }

    .shopProName {
        max-width: 180px;
        font-size: 13px;
    }

    .shopProDescription {
        display: block;
        max-width: 180px;
        font-size: 7px;
    }

    .shopProAccount {
        flex: 0 0 auto;
    }

    .shopProLogin {
        min-width: 0;
        width: 43px;
        height: 43px;
        padding: 0;
        justify-content: center;
        border-radius: 13px;
    }

    .shopProLoginIcon {
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
    }

    .shopProLoginText,
    .shopProLoginArrow {
        display: none;
    }

    .shopProNav {
        order: 3;
        width: 100%;
        height: 43px;

        display: grid;

        grid-template-columns:
            repeat(3,1fr);

        gap: 5px;
    }

    .shopProNavItem {
        height: 38px;
        padding: 0 5px;
        gap: 5px;
        border-radius: 11px;
        font-size: 9px;
    }

    .shopProNavIcon,
    .shopProNavIcon svg {
        width: 16px;
        height: 16px;
    }

    .shopProNewBadge {
        height: 14px;
        padding: 0 4px;
        font-size: 6px;
    }

    .shopProFooter {
        margin-top: 35px;
    }

    .shopProFooterTop {
        padding: 28px 0 22px;
    }

    .shopProFooterInner {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .shopProFooterLinks {
        grid-column: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .shopProFooterBottom {
        min-height: 60px;
        padding: 12px 5%;

        flex-direction: column;
        justify-content: center;

        gap: 3px;
        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE - FINAL CLEAN VERSION
========================================================= */

@media screen and (max-width:390px) {

    .shopProHeaderInner {
        width: 94%;
        min-height: 74px;
        height: auto;
        padding: 9px 0 8px;
    }

    .shopProBrand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 52px);
        gap: 9px;
    }

    .shopProLogoShell {
        width: 41px;
        height: 41px;
        min-width: 41px;
        flex: 0 0 41px;
        border-radius: 13px;
    }

    .shopProLogo {
        border-radius: 10px;
    }

    .shopProBrandContent {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
    }

    .shopProName {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        overflow: hidden;
        color: #342e30;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.65;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shopProDescription {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 1px;
        overflow: hidden;
        color: #9d9094;
        font-size: 7px;
        font-weight: 500;
        line-height: 1.65;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shopProAccount {
        width: 41px;
        flex: 0 0 41px;
    }

    .shopProLogin {
        width: 41px;
        min-width: 41px;
        height: 41px;
    }

    .shopProNavText {
        font-size: 8px;
    }

}

/* =========================================================
   PREMIUM PRODUCT MEDIA SYSTEM - FINAL
   یک قاب ثابت، بدون برش تصویر، بدون زوم و با گوشه‌های واقعی گرد
========================================================= */

/* کارت محصول: قاب تصویر ثابت و لوکس */
.shopProductCard > a:first-child,
.shopProductImageBox {
    width: calc(100% - 28px) !important;
    height: 228px !important;
    margin: 14px 14px 0 !important;
    padding: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    background:
        radial-gradient(circle at 50% 38%, #FFFFFF 0%, #FFFCFC 60%, #FFF7F8 100%) !important;

    border: 1px solid #EFE2E5 !important;
    border-radius: 23px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 5px 18px rgba(82,45,54,.035) !important;
}

/*
   نکته مهم:
   width/height روی auto است تا Border Radius روی خود عکس واقعی اعمال شود،
   نه روی یک کادر 100% که عکس با object-fit داخل آن کوچک شده باشد.
*/
.shopProductImage {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;

    display: block !important;
    flex: 0 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 17px !important;

    box-shadow:
        0 4px 13px rgba(60,35,42,.055) !important;

    transform: none !important;
    transition:
        filter .2s ease,
        box-shadow .2s ease !important;
}

.shopProductCard:hover .shopProductImage {
    transform: none !important;
    filter: saturate(1.015) contrast(1.01);
    box-shadow:
        0 7px 18px rgba(60,35,42,.075) !important;
}

/* خود کارت محصول کمی نرم‌تر و پریمیوم‌تر */
.shopProductCard {
    border-radius: 24px !important;
    border-color: #EEE1E4 !important;
    box-shadow:
        0 8px 26px rgba(65,36,44,.045) !important;
}

.shopProductCard:hover {
    transform: translateY(-3px) !important;
    border-color: #E3C9CF !important;
    box-shadow:
        0 16px 36px rgba(65,36,44,.085) !important;
}

/* تصویر صفحه جزئیات محصول */
.productDetailImageBox {
    min-height: 370px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px !important;
    border-radius: 24px !important;

    background:
        radial-gradient(circle at 50% 40%, #FFFFFF 0%, #FFFCFC 60%, #FFF7F8 100%) !important;
}

.productDetailImage {
    width: auto !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 470px !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 19px !important;
    background: transparent !important;

    box-shadow:
        0 6px 18px rgba(60,35,42,.06) !important;

    transform: none !important;
}

.productDetailImageBox:hover .productDetailImage {
    transform: none !important;
}

/* محصولات مرتبط */
.relatedProductImageBox {
    aspect-ratio: 1 / 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 10px !important;
    overflow: hidden !important;

    border: 1px solid #F0E4E7;
    border-radius: 16px !important;

    background:
        radial-gradient(circle at 50% 40%, #FFFFFF 0%, #FFF9FA 100%) !important;
}

.relatedProductImage {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 13px !important;
    background: transparent !important;

    transform: none !important;
    box-shadow:
        0 3px 10px rgba(60,35,42,.045);
}

.relatedProductCard:hover .relatedProductImage {
    transform: none !important;
}

/* صفحه 404 - کارت محصولات */
.error404ProductImageLink {
    height: 215px;
    padding: 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden;
    border-radius: 17px;
    background: #FFFBFC;
}

.error404ProductImage {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 14px !important;
    background: transparent !important;
}

/* =========================================================
   PREMIUM RESPONSIVE MEDIA
========================================================= */

@media screen and (max-width:1000px) {

    .shopProductCard > a:first-child,
    .shopProductImageBox {
        height: 215px !important;
    }

    .productDetailImageBox {
        min-height: 330px;
    }

}

@media screen and (max-width:700px) {

    .shopProductCard > a:first-child,
    .shopProductImageBox {
        width: calc(100% - 20px) !important;
        height: 205px !important;
        margin: 10px 10px 0 !important;
        padding: 11px !important;
        border-radius: 19px !important;
    }

    .shopProductImage {
        border-radius: 14px !important;
    }

    .productDetailImageBox {
        min-height: 300px;
        padding: 12px !important;
        border-radius: 19px !important;
    }

    .productDetailImage {
        max-height: 390px !important;
        border-radius: 15px !important;
    }

}

@media screen and (max-width:390px) {

    .shopProductCard > a:first-child,
    .shopProductImageBox {
        height: 185px !important;
    }

}
