@font-face {
    font-family: JD Sans;
    src: url(vazirmatn.woff2) format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
.jd-redesign {
    --jd-ivory: #f8f3e8;
    --jd-white: #fffdf7;
    --jd-ink: #332420;
    --jd-muted: #68534a;
    --jd-wine: #641d32;
    --jd-deep: #421326;
    --jd-teal: #176158;
    --jd-gold: #edbd73;
    --jd-line: #e6d7bf;
    background: var(--jd-ivory);
    color: var(--jd-ink);
    font-family: JD Sans, Tahoma, sans-serif;
}
.jd-redesign :is(.jd-header,.jd-main) :is(h1,h2,h3,button,input) { font-family: inherit; }
.jd-redesign :is(.jd-header,.jd-main) a { text-decoration: none; }
.jd-redesign :is(.jd-header,.jd-main,.main-footer) :focus-visible { outline: 3px solid #16786e; outline-offset: 4px; }

.jd-wrap { width: min(100% - 56px, 1280px); margin-inline: auto; }
.jd-sr,.jd-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jd-skip:focus { display: block; padding: 10px 20px; color: #fff; background: var(--jd-teal); }

.jd-header { background: var(--jd-white); position: relative; z-index: 3; border-top: 5px solid var(--jd-wine); }
.jd-header-inner { min-height: 86px; display: grid; grid-template-columns: 1fr minmax(270px, 1.9fr) 1fr; align-items: center; gap: clamp(18px, 4vw, 64px); }
.jd-brand { display: inline-flex; align-items: center; gap: 13px; justify-self: start; color: var(--jd-wine); white-space: nowrap; }
.jd-brand > span:last-child { display: grid; gap: 3px; }
.jd-brand strong { font-size: 25px; font-weight: 700; line-height: 1.15; }
.jd-brand small { color: var(--jd-muted); font-size: 11px; line-height: 1.5; }
.jd-seal { display: grid; place-items: center; width: 43px; height: 43px; background: var(--jd-teal); color: #fee2a8; font-size: 26px; clip-path: polygon(50% 0,62% 16%,82% 15%,84% 36%,100% 50%,84% 64%,82% 85%,62% 84%,50% 100%,38% 84%,18% 85%,16% 64%,0 50%,16% 36%,18% 15%,38% 16%); }
.jd-search { min-width: 0; display: flex; border: 1px solid var(--jd-line); background: #f8f3e9; border-radius: 8px; min-height: 44px; }
.jd-search input[type=search] { width: 100%; min-width: 0; background: transparent; padding: 0 15px; border: 0; box-shadow: none; color: var(--jd-ink); font-size: 13px; }
.jd-search input[type=search]::placeholder { color: var(--jd-muted); }
.jd-search button { padding: 0; border: 0; display: grid; place-items: center; width: 49px; min-width: 42px; background: transparent; color: var(--jd-teal); cursor: pointer; }
.jd-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; white-space: nowrap; }
.jd-actions a { min-height: 41px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; color: var(--jd-ink); font-size: 12px; }
.jd-actions a:hover { background: var(--jd-ivory); }
.jd-actions a.jd-basket-link { border: 1px solid #d5dfd5; color: var(--jd-teal); }
.jd-icon { display: inline-block; position: relative; width: 17px; height: 17px; flex: 0 0 17px; }
.jd-magnifier::before { content: ''; position: absolute; width: 12px; height: 12px; border: 1.7px solid currentColor; border-radius: 50%; inset: 0 auto auto 0; }
.jd-magnifier::after { content: ''; position: absolute; width: 7px; height: 1.7px; background: currentColor; transform: rotate(47deg); left: 10px; top: 13px; }
.jd-person::before { content: ''; position: absolute; width: 7px; height: 7px; left: 5px; top: 0; border: 1.5px solid currentColor; border-radius: 50%; }
.jd-person::after { content: ''; position: absolute; width: 15px; height: 8px; left: 1px; bottom: 0; border: 1.5px solid currentColor; border-radius: 8px 8px 2px 2px; }
.jd-basket::before { content: ''; position: absolute; inset: 6px 0 0; border: 1.5px solid currentColor; border-radius: 2px 2px 4px 4px; }
.jd-basket::after { content: ''; position: absolute; left: 5px; right: 5px; top: 1px; height: 7px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.jd-navigation { border-block: 1px solid #efdfc9; background: #f4ebda; }
.jd-navigation .jd-wrap { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); overflow-x: auto; scrollbar-width: thin; }
.jd-navigation a { padding-block: 10px 8px; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--jd-muted); font-size: 13px; }
.jd-navigation a:hover,.jd-navigation a[aria-current=page] { color: var(--jd-wine); border-bottom-color: var(--jd-wine); }

.jd-redesign #main.jd-main { padding: 26px 0 52px; background: var(--jd-ivory); }
.jd-hero { display: grid; isolation: isolate; grid-template-columns: 1fr 1.07fr; min-height: clamp(390px, 36vw, 520px); border-radius: 17px; background: var(--jd-wine); overflow: hidden; color: #fff5dd; }
.jd-hero-copy { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(36px, 6vw, 94px); padding-block: 48px; background: radial-gradient(ellipse at 100% 100%, #7f2a3b, transparent 68%), var(--jd-deep); }
.jd-hero-copy::before,.jd-hero-copy::after { content: ''; pointer-events: none; position: absolute; width: 92px; height: 92px; border: 1px solid #eac1805c; }
.jd-hero-copy::before { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 9px 0 0; }
.jd-hero-copy::after { bottom: 14px; left: 14px; border-top: 0; border-right: 0; border-radius: 0 0 0 9px; }
.jd-ornament { display: inline-flex; justify-content: center; align-items: center; gap: 11px; margin-bottom: 13px; color: var(--jd-gold); font-size: 23px; }
.jd-ornament span { width: 29px; height: 1px; background: #edbd7395; }
.jd-redesign .jd-hero h1 { margin: 0; font-weight: 700; font-size: clamp(41px, 5.3vw, 78px); letter-spacing: -0.07em; line-height: 1.34; color: #fff5dd; }
.jd-hero h1 em { color: var(--jd-gold); font-style: normal; }
.jd-hero p { margin-block: 19px 25px; color: #f0d9bf; line-height: 1.9; font-size: clamp(13px, 1.35vw, 17px); }
.jd-hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.jd-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 4px 19px; border-radius: 7px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.jd-button-light { background: #f4ca82; color: #46172a; }
.jd-button-light:hover { background: #ffe3aa; color: #46172a; }
.jd-button-quiet { border-color: #deb7868a; color: #fff4de; }
.jd-button-quiet:hover { border-color: #f1d5ac; color: #fff4de; }
.jd-hero-media { position: relative; min-width: 0; }
.jd-hero-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.jd-hero-media::after { content: ''; position: absolute; inset: 13px; border: 1px solid #fff0ba58; border-radius: 0 0 7px 0; pointer-events: none; }

.jd-section { margin-top: 39px; }
.jd-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.jd-section-title h2 { color: var(--jd-wine); margin: 0; font-weight: 700; font-size: clamp(21px, 2.6vw, 31px); line-height: 1.5; }
.jd-section-title > a { color: var(--jd-teal); font-size: 13px; white-space: nowrap; font-weight: 700; }
.jd-section-title > a span { margin-inline-start: 5px; }
.jd-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.jd-category { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; padding: 7px 9px 6px; min-width: 0; background: var(--jd-white); color: var(--jd-ink); border: 1px solid var(--jd-line); border-radius: 10px; }
.jd-category:hover,.jd-product:hover { border-color: #9eaf99; }
.jd-category-image { grid-column: 1 / -1; display: grid; place-items: center; height: clamp(60px, 7.5vw, 105px); overflow: hidden; background: #f2ead7; border-radius: 6px; }
.jd-category:nth-child(2n) .jd-category-image { background: #e6ebe0; }
.jd-category:nth-child(3n) .jd-category-image { background: #f2e4de; }
.jd-category-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
.jd-category strong { padding-inline-start: 3px; font-size: 13px; line-height: 1.7; padding-block: 5px; }
.jd-card-arrow { padding-inline-end: 3px; color: var(--jd-teal); }
.jd-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.jd-product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--jd-line); border-radius: 10px; background: var(--jd-white); }
.jd-product-image { padding: 16px; aspect-ratio: 1.3; display: grid; place-items: center; background: #f4ecdf; }
.jd-product-image img { width: 100%; height: 100%; max-height: 190px; object-fit: contain; mix-blend-mode: multiply; }
.jd-product-body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 13px; }
.jd-product-body h3 { margin: 0; color: var(--jd-ink); font-size: 14px; font-weight: 700; line-height: 1.7; }
.jd-product-body h3 a { color: inherit; }
.jd-product-price { color: var(--jd-wine); font-weight: 700; font-size: 14px; }
.jd-product-price .woocommerce-Price-amount { float: none; display: inline-block; color: inherit; font-size: inherit; }
.jd-product-link { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--jd-line); color: var(--jd-teal); font-size: 12px; }
.jd-product-link span { float: left; }

.jd-redesign #main:not(.jd-main) { background: var(--jd-ivory); }
.jd-redesign #main:not(.jd-main) :is(.product-inner,.post-inner,.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-order-details,.woocommerce-MyAccount-content) { border-color: var(--jd-line); border-radius: 10px; background-color: var(--jd-white); }
.jd-redesign #main :is(.product_title,.post-title,.woocommerce-products-header__title,.woocommerce-MyAccount-content h2) { color: var(--jd-wine); }
.jd-redesign #main :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.single_add_to_cart_button,#place_order,.checkout-button) { background-color: var(--jd-teal); color: white; border-color: var(--jd-teal); border-radius: 7px; }
.jd-redesign #main :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.single_add_to_cart_button,#place_order,.checkout-button):hover { background-color: #114f48; color: white; }
.jd-redesign.woocommerce :is(.products-list,.woocommerce-products-header,.woocommerce-breadcrumb) { max-width: 1280px; margin-inline: auto; }
.jd-redesign.woocommerce :is(.woocommerce-products-header,.woocommerce-breadcrumb) { background: transparent; }
.jd-redesign.woocommerce .woocommerce-products-header__title { font-size: clamp(24px, 4vw, 40px); font-weight: 700; }
.jd-redesign.woocommerce .products-list .list-header { margin-block: 8px 15px; border: 1px solid var(--jd-line); border-radius: 8px; background: var(--jd-white); }
.jd-redesign.woocommerce .products-list :is(.woocommerce-ordering,.woocommerce-result-count) { background: transparent; color: var(--jd-muted); }
.jd-redesign.woocommerce .products-list .orderby a { color: var(--jd-teal); }
.jd-redesign.woocommerce .products-list ul.products { --jd-shop-photo-height: clamp(122px, 15vw, 208px); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; background: transparent; }
.jd-redesign.woocommerce .products-list ul.products::before,.jd-redesign.woocommerce .products-list ul.products::after { display: none; }
.jd-redesign.woocommerce .products-list ul.products li.product { float: none; width: auto; max-width: none; min-width: 0; min-height: 0; margin: 0; padding: 10px; border: 1px solid var(--jd-line); border-radius: 10px; background: var(--jd-white); }
.jd-redesign.woocommerce .products-list ul.products li.product:hover { border-color: #9eaf99; }
.jd-redesign.woocommerce .products-list li.product a.woocommerce-loop-product__link { position: relative; display: block; color: var(--jd-ink); }
.jd-redesign.woocommerce .products-list li.product img { box-sizing: border-box; display: block !important; position: static !important; float: none !important; width: 100% !important; height: var(--jd-shop-photo-height) !important; max-height: none !important; min-height: 0 !important; object-fit: contain; max-width: none; margin: 0 0 9px; border: 0; border-radius: 7px; background: #f2e9d8; }
.jd-redesign.woocommerce .products-list li.product img[src*="woocommerce-placeholder"] { opacity: 0; }
.jd-redesign.woocommerce .products-list li.product a:has(img[src*="woocommerce-placeholder"])::before { position: absolute; inset: 0 0 auto; height: var(--jd-shop-photo-height); display: grid; place-items: center; background: #f3e9d6; border-radius: 7px; font-size: clamp(28px, 5vw, 52px); color: #a88156; content: '◇'; pointer-events: none; }
.jd-redesign.woocommerce .products-list li.product :is(.woocommerce-loop-product__title,.price) { color: var(--jd-ink); margin-block: 5px; line-height: 1.7; }
.jd-redesign.woocommerce .products-list li.product .price { color: var(--jd-wine); }
.jd-footer { background: var(--jd-deep); color: #f4dec3; border-top: 2px solid #c79864; }
.jd-footer-grid { padding-block: 26px 30px; display: grid; grid-template-columns: minmax(155px,.85fr) minmax(230px,1.55fr) minmax(140px,.7fr); align-items: start; gap: clamp(18px,3.2vw,46px); }
.jd-footer .jd-brand { color: #fff2db; }
.jd-footer .jd-brand small { color: #f0d9bf; }
.jd-footer a { color: #f4dec3; text-decoration: none; }
.jd-footer a:hover { color: #ffde9e; }
.jd-footer a:focus-visible { outline: 2px solid var(--jd-gold); outline-offset: 3px; }
.jd-footer-group { min-width: 0; padding-inline-start: clamp(15px,2.6vw,37px); border-inline-start: 1px solid #edbd7338; }
.jd-footer-group h2 { margin: 0 0 3px; font: 700 14px/1.75 JD Sans, Tahoma, sans-serif; color: var(--jd-gold); }
.jd-footer-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.jd-footer-categories ul { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; }
.jd-footer-group li { margin: 0; padding: 0; min-width: 0; }
.jd-footer-group li a { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; font-size: 13px; line-height: 1.45; }
.jd-footer-group li a::before { content: ''; width: 4px; height: 4px; flex: 0 0 4px; border-block-end: 1px solid #cf9b68; border-inline-end: 1px solid #cf9b68; transform: rotate(45deg); }
.jd-footer-all { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; min-height: 32px; color: #f9d69a; font-size: 12px; }

@media (max-width: 900px) {
    .jd-wrap { width: calc(100% - 36px); }
    .jd-header-inner { gap: 16px; }
    .jd-hero-copy { padding-inline: 35px; }
    .jd-category strong { font-size: 11px; }
    .jd-redesign.woocommerce .products-list ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .jd-wrap { width: calc(100% - 30px); }
    .jd-header-inner { grid-template-columns: 1fr auto; row-gap: 11px; padding-block: 12px 10px; min-height: auto; }
    .jd-brand strong { font-size: 21px; }
    .jd-seal { width: 36px; height: 36px; font-size: 22px; }
    .jd-search { grid-column: 1 / -1; grid-row: 2; min-height: 39px; }
    .jd-actions { grid-column: 2; grid-row: 1; gap: 4px; }
    .jd-actions a { padding-inline: 7px; gap: 5px; min-height: 37px; font-size: 11px; }
    .jd-navigation .jd-wrap { gap: 21px; }
    .jd-navigation a { font-size: 12px; }
    .jd-redesign #main.jd-main { padding-block: 15px 35px; }
    .jd-hero { grid-template-columns: 1fr; border-radius: 12px; }
    .jd-hero-copy { padding: 26px 29px 29px; }
    .jd-ornament { margin-bottom: 5px; }
    .jd-redesign .jd-hero h1 { font-size: clamp(38px, 9.5vw, 55px); }
    .jd-hero p { margin-block: 10px 17px; }
    .jd-hero-media { min-height: 190px; height: 53vw; }
    .jd-hero-media::after { inset: 9px; border-radius: 0 0 6px 6px; }
    .jd-button { min-height: 40px; gap: 13px; padding-inline: 14px; font-size: 12px; }
    .jd-section { margin-top: 25px; }
    .jd-section-title { margin-bottom: 10px; }
    .jd-section-title > a { font-size: 11px; }
    .jd-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .jd-category-image { height: 75px; }
    .jd-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .jd-product-image { padding: 8px; }
    .jd-product-body { padding: 9px; }
    .jd-product-body h3,.jd-product-price { font-size: 12px; }
    .jd-redesign.woocommerce .products-list ul.products { --jd-shop-photo-height: clamp(95px, 28vw, 150px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .jd-redesign.woocommerce .products-list ul.products li.product { padding: 7px; }
    .jd-footer-grid { grid-template-columns: 1fr; gap: 11px; padding-block: 18px 20px; }
    .jd-footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .jd-footer-all { margin-top: 0; font-size: 11px; }
    .jd-footer-group { padding: 10px 0 0; border-inline-start: 0; border-top: 1px solid #edbd7338; }
    .jd-footer-orders ul { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 5px; }
    .jd-footer-group li a { min-height: 36px; font-size: 12px; }
}
@media (max-width: 345px) {
    .jd-actions a { font-size: 10px; padding-inline: 4px; }
    .jd-brand { gap: 7px; }
}

/* WordPress content and native WooCommerce forms. */
body.jd-redesign { margin: 0; min-height: 100vh; }
.jd-redesign *, .jd-redesign *::before, .jd-redesign *::after { box-sizing: border-box; }
:where(.jd-redesign) a { color: var(--jd-teal); }
.jd-redesign :is(.jd-header,.jd-main,.jd-footer) a { text-decoration: none; }
.jd-redesign .jd-header .jd-brand { color: var(--jd-wine); }
.jd-redesign .jd-footer .jd-brand { color: #fff2db; }
.jd-content { min-height: 36vh; padding-block: clamp(26px,5vw,60px); }
.jd-content :is(img,iframe) { max-width: 100%; }
.jd-content img { height: auto; }
.jd-page-title { margin: 0 0 1.1em; font-size: clamp(25px,4vw,42px); color: var(--jd-wine); }
.jd-entry { overflow-wrap: anywhere; }
.jd-redesign .jd-content :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea) {
    font: inherit;
    color: var(--jd-ink);
    border: 1px solid var(--jd-line);
    border-radius: 7px;
    padding: .55em .7em;
    background: #fff;
}
.jd-redesign .jd-content :is(.woocommerce form .button,.woocommerce .cart .button,.woocommerce a.button,.woocommerce button.button,.product .button) {
    color: #fff;
    background: var(--jd-teal);
    font: inherit;
    border-radius: 7px;
    line-height: 1.4;
}
.jd-redesign .jd-content :is(.woocommerce form .button,.woocommerce .cart .button,.woocommerce a.button,.woocommerce button.button,.product .button):hover {
    color: #fff;
    background: var(--jd-wine);
}
.jd-redesign .jd-content :focus-visible { outline: 3px solid var(--jd-teal); outline-offset: 3px; }
.jd-redesign .woocommerce form :is(.input-text,textarea) { width: 100%; }
.jd-redesign.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(15px,3vw,36px); }
.jd-redesign.woocommerce-account #customer_login::before,
.jd-redesign.woocommerce-account #customer_login::after { display: none; }
.jd-redesign.woocommerce-account #customer_login > div { float: none; width: auto; min-width: 0; }
.jd-redesign.woocommerce-account .woocommerce :is(form.login,form.register,form.lost_reset_password,.woocommerce-MyAccount-content) {
    padding: clamp(16px,3vw,28px);
    margin-block: 12px 24px;
    background: var(--jd-white);
    border: 1px solid var(--jd-line);
    border-radius: 12px;
}
.jd-redesign.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.jd-redesign.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: .6em .85em;
    margin: 0 0 4px;
    border: 1px solid var(--jd-line);
    border-radius: 7px;
    background: var(--jd-white);
    text-decoration: none;
}
.jd-redesign.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: #fff; background: var(--jd-teal); }
@media (max-width: 680px) {
    .jd-redesign.woocommerce-account #customer_login { grid-template-columns: 1fr; }
}
