/*
Theme Name: Denzo Home
Description: قالب اختصاصی دنزو هوم با صفحهٔ اصلی، هدر، منوهای موبایل و دسکتاپ، فوتر و پری‌فوتر و قالب برگه‌های تمام‌عرض.
Version: 0.7.9
Author: اهورا
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: denzo-home
*/

@font-face {
    font-family: "Peyda Variable";
    src: url("assets/PeydaWebVF.woff2") format("woff2");
    font-weight: 100 1000;
    font-display: swap;
}
.denzo-shell {
    margin: 0;
    background: #fefaf6;
    color: #211e1a;
    font: 400 1rem/1.6 "Denzo Peyda", Arial, sans-serif;
}
.denzo-header,
.denzo-main {
    box-sizing: border-box;
    max-width: 1222px;
    margin-inline: auto;
    padding: 15px;
}
.denzo-main img { max-width: 100%; height: auto; }
.denzo-full-width { width: 100%; }

.denzo-deck-lock,
.denzo-deck-lock body {
    overflow: hidden;
    overscroll-behavior: none;
}
.denzo-deck-lock :is(.denzo-prefooter, .denzo-footer) { display: none; }

:is(
    :is(.dzcg-termdesc, .denzo-native-content, .single-post .denzo-main, .denzo-page:not(.denzo-commerce) > article) :is(p, li),
    .single-product :is(.dzd-longdesc, :where(#dzd-short, #dz-ov-desc, #dz-buy-short), .woocommerce-product-details__short-description, .woocommerce-Tabs-panel--description)
) a[href]:not(.button, [role="button"]) {
    color: #775c40;
    text-decoration: underline;
    text-decoration-color: #b69b7e;
    text-underline-offset: .2em;
    transition: color .18s ease, background-color .18s ease;
}
:is(
    :is(.dzcg-termdesc, .denzo-native-content, .single-post .denzo-main, .denzo-page:not(.denzo-commerce) > article) :is(p, li),
    .single-product :is(.dzd-longdesc, :where(#dzd-short, #dz-ov-desc, #dz-buy-short), .woocommerce-product-details__short-description, .woocommerce-Tabs-panel--description)
) a[href]:not(.button, [role="button"]):is(:hover, :focus-visible) {
    color: #523b26;
    background-color: #f2e6d7;
    text-decoration-color: currentColor;
}

.denzo-prefooter,
.denzo-footer {
    font: 400 14px/1.6 "Denzo Peyda", Arial, sans-serif;
    text-align: start;
}
.denzo-prefooter *,
.denzo-footer * { box-sizing: border-box; }
.denzo-prefooter { background: #f3efeb; color: #211e1a; }
.denzo-prefooter__inner {
    box-sizing: border-box;
    width: min(1192px, calc(100% - 16px));
    margin-inline: auto;
    padding-block: 25px;
}
.denzo-prefooter__rule {
    border: 0;
    border-top: 1px solid #000;
    margin: 0;
}
.denzo-prefooter h2,
.denzo-footer h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}
.denzo-prefooter h2 { margin-block: 15px 10px; }
.denzo-prefooter__tagline { margin: 0; }
.denzo-prefooter__copy p { margin: 0 0 20px; }
.denzo-prefooter__copy p:last-child { margin-bottom: 15px; }

.denzo-footer { background: #f4f3f0; color: #767676; }
.denzo-footer__panel {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    background: #fefaf6;
    margin-inline: 5px;
    padding: 50px 100px 50px 50px;
}
.denzo-footer__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--denzo-footer-watermark, none) no-repeat -74px 120px / contain;
    opacity: .52;
}
.denzo-footer__columns {
    display: grid;
    grid-template-columns: 14fr 14fr 14fr 44fr 14fr;
    margin-inline: -10px;
}
.denzo-footer h2 { font-family: "Denzo Peyda Thin", "Denzo Peyda", Arial, sans-serif; color: #615952; margin-block-end: 20px; }
.denzo-footer__links ul,
.denzo-footer__social {
    margin: 0;
    padding: 0;
    list-style: none;
}
.denzo-footer a {
    color: #333;
    text-decoration: none;
}
.denzo-footer a:hover { text-decoration: underline; }
.denzo-footer a:focus-visible {
    outline: 2px solid #615952;
    outline-offset: 3px;
}
.denzo-footer__links a {
    display: block;
    overflow-wrap: anywhere;
}
.denzo-footer__links li + li { margin-block-start: 24px; }
.denzo-footer__links { padding-block-start: 14px; }
.denzo-footer__links--continued { padding-block-start: 46px; }
.denzo-footer__contact { padding-block-start: 20px; }
.denzo-footer__contact h2 { margin-block-end: 14px; }
.denzo-footer__contact address { font-style: normal; }
.denzo-footer__contact p { margin: 0 0 20px; }
.denzo-footer__contact address ul {
    margin: 0 0 33px;
    padding-inline-start: 18px;
    list-style: disc;
}
.denzo-footer__contact address li + li { margin-block-start: 14px; }
.denzo-footer__payment {
    display: block;
    width: 225px;
    max-width: 100%;
    height: auto;
}
.denzo-footer__social {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-block-start: 14px;
}
.denzo-footer__social a,
.denzo-footer__social span,
.denzo-footer__social img { display: block; }
.denzo-footer__seal { padding-block: 116px 50px; }
.denzo-footer__seal img {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
.denzo-footer__copyright {
    border-top: 1px solid rgb(0 0 0 / 10.6%);
    padding: 20px 8px;
    text-align: center;
}
.denzo-footer__copyright small { font-size: .8em; }
.denzo-footer__copyright strong { color: #6b8e23; font-weight: 600; }

@media (max-width: 1024px) {
    .denzo-footer__panel::before { background-position: 0 0; }
}
@media (max-width: 767px) {
    .denzo-prefooter h2,
    .denzo-footer h2 { font-size: 20px; }
    .denzo-prefooter__copy { line-height: 3; }
    .denzo-footer__panel {
        margin-inline: 0;
        padding: 30px 44px 0 0;
    }
    .denzo-footer__panel::before {
        background-position: -10px 800px;
        opacity: .49;
    }
    .denzo-footer__columns {
        grid-template-columns: minmax(0, 1fr);
        margin-inline: 0;
    }
    .denzo-footer__links:first-child {
        padding-block-start: 0;
        margin-inline-start: 3px;
    }
    .denzo-footer__contact { padding-inline-end: 20px; }
    .denzo-footer__social { justify-content: flex-start; }
    .denzo-footer__seal { padding-block: 26px 26px; }
}

.denzo-native-page {
    font-family: "Peyda Variable", "Denzo Peyda", Arial, sans-serif;
}
.denzo-page-title {
    background: #8a7463;
    color: #fff;
    padding: 60px 15px;
    text-align: center;
}
.denzo-page-title h1 {
    margin: 0;
    color: inherit;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.2;
}
.denzo-page-title nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
}
.denzo-page-title a { color: inherit; text-decoration: none; }
.denzo-agents > .dzl-locator { width: 100%; max-width: 100%; margin: 0; }
.denzo-agents > :not(.dzl-locator) { margin: 24px; }
@media (max-width: 1024px) {
    .denzo-page-title { padding-block: 15px; }
    .denzo-page-title h1 { font-size: 36px; }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
