:root {
    --dd-ink:#153b2b;
    --dd-deep:#022c22;
    --dd-soft:#f8f5ee;
    --dd-paper:#fffefa;
    --dd-line:#e6ddcd;
    --dd-accent:#ad792c;
    --dd-muted:#52625a;
    --dd-shadow:0 .65rem 1.9rem rgb(21 59 43 / .07);
    --dd-space:clamp(1rem,3vw,2.75rem);
    --dd-radius:1.15rem;
}
.dd-hero,.dd-editorial,.dd-showcase { color:var(--dd-ink); width:100%; max-width:76rem; margin-inline:auto; padding:var(--dd-space); }
.elementor .dd-hero.e-con {
    display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center;
    gap:clamp(.85rem,3vw,2.25rem); width:min(76rem,calc(100% - 1.5rem));
    padding:clamp(.9rem,2.2vw,1.6rem); margin:clamp(.65rem,2vw,1.35rem) auto 0;
    border:1px solid #806840; border-radius:1.35rem;
    background:radial-gradient(ellipse at top right,#245540,transparent 68%),var(--dd-deep);
    color:#fff8e9; box-shadow:0 .75rem 1.8rem rgb(2 44 34 / .14);
}
.dd-hero .elementor-widget-image img {
    display:block; width:100%; height:clamp(11rem,19vw,15rem);
    object-fit:cover; border:1px solid #a68750; border-radius:var(--dd-radius);
}
.elementor .dd-hero .elementor-heading-title { color:#fff8e9; font-size:clamp(1.75rem,4.5vw,3.05rem); line-height:1.3; margin:0; }
.dd-hero .dd-hero-copy { min-width:0; padding:0; gap:.65rem; }
.dd-hero-copy .elementor-widget-heading::before {
    content:""; display:block; width:2.25rem; height:2px; background:#e4c382; margin-block-end:.55rem;
}
.dd-hero-copy .elementor-widget-text-editor p { color:#eee0c5; margin:0; max-width:40ch; line-height:1.85; }
.elementor .dd-hero .elementor-button {
    background:#e4c382; color:#14382a; padding:.7rem 1.25rem; min-height:2.75rem;
    display:inline-flex; align-items:center; font-weight:750; box-shadow:0 .2rem .6rem rgb(0 0 0 / .15);
}
.elementor .dd-hero .elementor-button:hover { background:#f2d7a1; color:#14382a; }
.dd-hero .elementor-button:focus-visible { outline-color:#fff0cf; }
.elementor .dd-home-products.e-con { min-width:0; padding:0; }
.dd-home-products .elementor-widget-deldoost_products { min-width:0; width:100%; }
.dd-home-products .dd-showcase { padding-block:clamp(.9rem,2.3vw,1.7rem) 1.3rem; }
.dd-brand { background:var(--dd-soft); border:1px solid var(--dd-line); border-radius:var(--dd-radius); }
.dd-showcase h2,.dd-editorial h1,.dd-editorial h2 { font-size:clamp(1.45rem,3vw,2.3rem); line-height:1.45; margin:0; }
.dd-showcase-head { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem 1rem; margin-bottom:1.5rem; }
.dd-showcase-head > p { flex-basis:100%; color:var(--dd-muted); margin:0; }
.dd-showcase-head > span { color:#775318; font-size:.85rem; }
.dd-showcase-image { max-width:8rem; border-radius:.6rem; }
.dd-showcase-nav { display:flex; gap:.5rem; margin-inline-start:auto; }
.dd-showcase-nav button { background:var(--dd-paper); border:1px solid var(--dd-line); color:var(--dd-ink); min-width:2.75rem; min-height:2.75rem; border-radius:50%; }
.dd-showcase-nav button:disabled { opacity:.45; }
.dd-showcase-nav button[hidden] { display:none; }
.dd-track { --dd-visible:var(--dd-columns,4); display:grid; grid-auto-flow:column; grid-template-rows:repeat(var(--dd-rows,1),auto); grid-auto-columns:calc((100% - (var(--dd-visible) - 1) * var(--dd-gap,1rem)) / var(--dd-visible)); gap:var(--dd-gap,1rem); overflow-x:auto; scroll-snap-type:x proximity; padding:.25rem .15rem 1.25rem; scrollbar-width:thin; }
.dd-track.dd-dragging { scroll-snap-type:none; cursor:grabbing; user-select:none; }
.dd-product-grid,.woocommerce ul.products { --dd-grid-columns:var(--dd-columns,4); display:grid; grid-template-columns:repeat(var(--dd-grid-columns),minmax(0,1fr)); gap:var(--dd-gap,1.1rem); clear:both; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none; }
body.woocommerce ul.products[class] li.product[class] { width:auto; float:none; margin:0; }
.dd-product,.woocommerce ul.products li.product { min-width:0; background:var(--dd-paper); border:1px solid var(--dd-line); border-radius:var(--dd-radius); padding:clamp(.65rem,1.4vw,1.05rem); box-shadow:var(--dd-shadow); }
.dd-product { scroll-snap-align:start; }
.dd-product-image { display:block; }
.dd-product-image img,.woocommerce ul.products li.product a img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:.8rem; background:var(--dd-soft); }
.dd-product h3,.woocommerce ul.products li.product .woocommerce-loop-product__title { color:var(--dd-ink); font-size:1.03rem; line-height:1.6; margin:.75rem 0 .4rem; padding:0; }
.woocommerce ul.products li.product:has(.dd-purchase) > a .price { display:none; }
.dd-purchase { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; margin-block:.75rem 0; }
.dd-purchase-option { display:flex; flex-direction:column; gap:.35rem; min-width:0; border:1px solid var(--dd-line); border-radius:.75rem; background:var(--dd-soft); padding:.65rem; font-size:.85rem; }
.dd-purchase-option strong { color:var(--dd-ink); font-size:.95rem; overflow-wrap:anywhere; }
.dd-purchase-note,.dd-cart-feedback { display:block; font-size:.78rem; line-height:1.6; color:var(--dd-muted); }
.dd-buy button { width:100%; }
.dd-buy input.qty { max-width:100%; margin-bottom:.4rem; }
.dd-purchase button,.deldoost-tracking button,body.woocommerce .woocommerce a.button,
body.woocommerce-page .woocommerce button.button,body.woocommerce-page .woocommerce a.button,
body.woocommerce-page .woocommerce input.button {
    border:1px solid transparent; border-radius:.65rem; background:var(--dd-ink); color:white;
    padding:.65rem .9rem; min-height:2.75rem; font:inherit; font-weight:700; line-height:1.4;
}
.dd-purchase button:not(:disabled):hover,.deldoost-tracking button:hover,
body.woocommerce-page .woocommerce :is(a,button,input).button:not(:disabled):hover { background:#20553f; color:white; }
.dd-purchase button:disabled { background:#eeebe4; color:#5b5e57; border-color:var(--dd-line); cursor:not-allowed; }
.dd-showcase .dd-showcase-head {
    padding:.1rem .85rem .65rem; margin-bottom:.8rem;
    border-inline-start:2px solid #b08a47; border-block-end:1px solid var(--dd-line);
}
.dd-showcase :where(.dd-showcase-head) > h2 { color:#173d2e; font-weight:800; }
.dd-showcase .dd-showcase-head > p { color:#48574c; line-height:1.7; }
.dd-showcase :is(.dd-product, ul.products li.product) {
    display:flex; flex-direction:column; border-color:#e2d3ba; border-radius:1.2rem;
    box-shadow:0 .45rem 1.25rem rgb(21 59 43 / .09);
}
.dd-showcase :is(.dd-product-image,.woocommerce-loop-product__link) img {
    display:block; height:auto; margin:0; border:1px solid #e5d5b7;
    background:#f4ebda;
}
.dd-showcase :is(.dd-product h3,.woocommerce-loop-product__link) { flex:1; }
.dd-showcase .dd-product h3 a { color:#173d2e; }
.dd-showcase .dd-purchase-option { background:#f9f3e8; padding:clamp(.4rem,1vw,.65rem); }
.dd-showcase .dd-purchase-option:first-child { background:#eef4eb; border-color:#dce6d8; }
.dd-showcase .dd-purchase-option > span:first-child { color:#624b25; font-weight:700; }
.dd-showcase .dd-purchase-option:first-child > span:first-child { color:#244b39; }
.dd-showcase :is(.price,.dd-purchase-option strong,.dd-purchase-option .woocommerce-Price-amount) { color:#173d2e; }
.dd-showcase :is(.dd-purchase-note,.dd-cart-feedback,.dd-cart-feedback a) { color:#46564b; }
.dd-showcase .dd-cart-feedback a { text-decoration:underline; text-underline-offset:.15em; }
.dd-showcase .dd-purchase button { width:100%; padding-inline:.35rem; }
:where(.dd-showcase,.dd-editorial,.dd-hero,.dd-shell-header,.dd-shell-footer,.woocommerce) :focus-visible { outline:2px solid var(--dd-accent); outline-offset:3px; }
.elementor :where(.dd-hero,.dd-editorial) .elementor-button { background:var(--dd-ink); color:white; border-radius:.65rem; }
.elementor .dd-shell-header.e-con,.deldoost-header-root {
    position:sticky; inset-block-start:0; z-index:40; direction:rtl;
    background:#103829; color:#fff6e5;
    border-block-end:1px solid #ad8a4e; box-shadow:0 .35rem 1.1rem rgb(2 44 34 / .16);
}
.dd-shell-header .elementor-element-30c61a3 { width:100%; max-width:80rem; margin-inline:auto; padding-inline:clamp(.75rem,2vw,1.5rem); }
.dd-shell-header .elementor-element-cc51bdd {
    display:flex; flex-direction:row; align-items:center; justify-content:space-between;
    width:100%; min-height:4.35rem; height:auto; padding-block:.5rem; gap:clamp(.4rem,1.2vw,1rem);
}
.dd-shell-header .deldoost-header-logo { flex:none; width:auto; height:auto; }
.dd-shell-header .deldoost-header-logo a { display:block; }
.dd-shell-header .deldoost-header-logo img {
    display:block; width:clamp(2.65rem,5vw,3.65rem); aspect-ratio:1; object-fit:contain;
    background:#fff8e9; border:1px solid #d4b77f; border-radius:.7rem; padding:.15rem;
}
:is(.dd-shell-header,.deldoost-header-root) nav[aria-label="ناوبری اصلی"] a {
    display:inline-flex; align-items:center; color:#fff6e5; background:transparent;
    padding:.45rem .65rem; border-radius:.55rem; white-space:nowrap;
}
:is(.dd-shell-header,.deldoost-header-root) nav[aria-label="ناوبری اصلی"] a:hover {
    background:#285541; color:#ffe2a7;
}
:is(.dd-shell-header,.deldoost-header-root) .dd-tracking-link,
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a[href$="/cart/"]) {
    display:inline-flex; align-items:center; justify-content:center; gap:.35rem;
    min-height:2.65rem; padding:.35rem .65rem; border:1px solid #d4b77f;
    border-radius:.65rem; color:#193e2e; background:#fff8e9; font-size:.82rem; white-space:nowrap;
}
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a[href$="/cart/"]) {
    position:relative; background:#e4c382;
}
:is(.dd-shell-header,.deldoost-header-root) :is(.dd-tracking-link,#cart-button,a[href$="/cart/"]):hover { background:#f2d7a1; }
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) {
    height:auto; min-height:2.75rem; gap:.5rem; padding:.28rem .6rem;
    background:#1b4936; border-color:#d4b77f; color:#fff8e9;
}
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)):hover { background:#285942; }
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) > div:first-child {
    display:inline-flex; align-items:center; gap:.25rem;
}
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) > div:nth-child(2) {
    display:grid; gap:.1rem; margin:0; text-align:start; line-height:1.2;
}
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) div:nth-child(2) > span {
    color:#fff8e9;
}
:is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) i { color:#e4c382; }
:is(.dd-shell-header,.deldoost-header-root) :is(#header-cart-badge,.deldoost-cart-count-badge) {
    position:static; display:inline-grid; place-items:center; width:auto; min-width:1.2rem; height:1.2rem;
    border:0; padding-inline:.18rem; background:#e4c382; color:#14382a; font-size:.7rem; line-height:1;
}
:is(.dd-shell-header,.deldoost-header-root) :is(a,button,input):focus-visible { outline:2px solid #e4c382; outline-offset:3px; }
.dd-shell-header input[type="search"] { min-width:0; background:#fff8e9; color:#193e2e; border:1px solid #d4b77f; border-radius:.6rem; }
.dd-shell-header .elementor-element-f11708c { width:auto; }
.dd-shell-header .elementor-element-f11708c .elementor-widget-container > div { display:flex; align-items:center; gap:.4rem; }
:is(.dd-shell-header,.deldoost-header-root) #mobile-menu-btn {
    align-items:center; justify-content:center; flex:none; width:2.65rem; min-height:2.65rem;
    color:#fff6e5; border:1px solid #ad8a4e; border-radius:.65rem; background:#1c4837;
}
:is(.dd-shell-header,.deldoost-header-root) #mobile-drawer { background:#fff8e9; color:#193e2e; padding:1rem; }
:is(.dd-shell-header,.deldoost-header-root) #mobile-drawer.hidden { display:none; }
:is(.dd-shell-header,.deldoost-header-root) #mobile-drawer:not(.hidden) a {
    display:flex; align-items:center; min-height:2.6rem; padding:.35rem .65rem;
    color:#193e2e; border-radius:.55rem;
}
:is(.dd-shell-header,.deldoost-header-root) #mobile-drawer a:hover { background:#f1e6cf; }
@media (min-width:1280px) {
    .dd-shell-header nav[aria-label="ناوبری اصلی"] { display:flex; gap:.15rem; }
    :is(.dd-shell-header,.deldoost-header-root) :is(#mobile-menu-btn,#mobile-drawer) { display:none; }
}
@media (max-width:1279px) {
    .dd-shell-header nav[aria-label="ناوبری اصلی"],.dd-shell-header #search-input,
    .dd-shell-header form:has(#search-input) { display:none; }
    :is(.dd-shell-header,.deldoost-header-root) #mobile-menu-btn { display:inline-flex; }
}
.dd-shell-header .sr-only {
    position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
#mobile-drawer { max-height:65vh; overflow:auto; }
.dd-shell-footer,.deldoost-footer-root { margin-top:clamp(2rem,6vw,4rem); border-block-start:2px solid var(--dd-accent); }
.dd-shell-footer nav ul { display:flex; flex-wrap:wrap; justify-content:center; gap:.65rem 1.25rem; list-style:none; padding:0 1rem; }
.dd-shell-footer nav a,.deldoost-footer-root a { text-underline-offset:.25em; }
.dd-shell-footer nav a:hover,.deldoost-footer-root a:hover { text-decoration:underline; }
.dd-contacts { position:fixed; inset-inline-end:.75rem; bottom:1rem; z-index:30; display:flex; flex-direction:column; gap:.35rem; }
.dd-contacts > * { display:flex; align-items:center; gap:.35rem; padding:.35rem .55rem; min-height:2.75rem; border-radius:1rem; background:var(--dd-ink); color:white; font-size:.72rem; }
.dd-contacts .dd-contact-pending { background:#eeece6; color:#4b514b; }
body.woocommerce main,.dd-info-page main { max-width:80rem; margin-inline:auto; padding:var(--dd-space); }
body.woocommerce nav.woocommerce-breadcrumb { max-width:76rem; margin-inline:auto; padding:.6rem .85rem; color:var(--dd-muted); border-block-end:1px solid var(--dd-line); }
.woocommerce-breadcrumb a,.dd-info-page .elementor-widget-text-editor a { color:var(--dd-ink); text-decoration:underline; text-underline-offset:.2em; }
.woocommerce .woocommerce-ordering select { background:var(--dd-paper); border:1px solid var(--dd-line); border-radius:.6rem; padding:.5rem .7rem; max-width:100%; }
.woocommerce div.product .product_title { color:var(--dd-ink); font-size:clamp(1.55rem,3.5vw,2.8rem); line-height:1.4; margin-block-end:.75rem; }
.woocommerce div.product .summary,.woocommerce div.product .woocommerce-tabs { background:var(--dd-paper); border:1px solid var(--dd-line); border-radius:var(--dd-radius); padding:var(--dd-space); box-shadow:var(--dd-shadow); }
.woocommerce div.product .woocommerce-product-gallery { overflow:hidden; border-radius:var(--dd-radius); }
.woocommerce div.product .woocommerce-tabs ul.tabs { margin-block-end:1rem; }
.dd-info-page .elementor[data-elementor-type="wp-page"] { max-width:72rem; margin-inline:auto; color:var(--dd-ink); }
.dd-info-page .elementor-widget-text-editor { line-height:1.95; }
.dd-info-page .elementor-widget-text-editor :is(h2,h3) { margin-block:1.5em .55em; }
.dd-info-page .dd-content-page { max-width:62rem; background:var(--dd-paper); border:1px solid var(--dd-line); border-radius:var(--dd-radius); box-shadow:var(--dd-shadow); }
@media (max-width:1024px) {
    .dd-track { --dd-visible:min(var(--dd-columns,4),2.5); }
    .dd-product-grid,.woocommerce ul.products { --dd-grid-columns:min(var(--dd-columns,4),3); }
}
@media (max-width:640px) {
    .elementor .dd-hero.e-con { grid-template-columns:minmax(0,1fr); }
    .dd-hero .elementor-widget-image img { height:clamp(6.75rem,29vw,9rem); }
    :is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) { padding-inline:.4rem; gap:.3rem; }
    :is(.dd-shell-header,.deldoost-header-root) :is(#cart-button,a:has(.deldoost-cart-count-badge)) > div:nth-child(2) > span:first-child { display:none; }
    .dd-track { --dd-visible:min(var(--dd-columns,4),1.16); }
    .dd-product-grid,.woocommerce ul.products { --dd-grid-columns:min(var(--dd-columns,4),2); }
    .dd-product-grid .dd-purchase,.woocommerce ul.products .dd-purchase { grid-template-columns:1fr; }
    .dd-contacts { bottom:.5rem; inset-inline-end:.4rem; }
    .dd-contacts > * span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
}
