/* Yuzhanka storefront v8. Scoped to storefront content; header and menu stay intact. */
body:has(.yz-store) header.globalheader {
    --globalheader-mb: 0;
    margin-bottom: 0 !important;
    box-shadow: 0 1px 0 rgba(45, 38, 31, .08);
}
body:has(.yz-store) main.maincontent {
    padding-top: 24px;
    background: #fff;
}
body:has(.yz-store) main.maincontent > .container { padding-top: 0; }
.yz-store {
    --yz-accent: #c44f2a;
    --yz-ink: #262422;
    --yz-muted: #706c68;
    --yz-line: #e7e3de;
    color: var(--yz-ink);
    font-size: 16px;
    line-height: 1.5;
    padding: 0 0 64px;
}
.yz-store *, .yz-store *::before, .yz-store *::after { box-sizing: border-box; }
.yz-store h1, .yz-store h2, .yz-store h3, .yz-store p { padding: 0; }
.yz-store a { text-decoration: none; }
.yz-store a:focus-visible, .yz-footer a:focus-visible {
    outline: 3px solid #bc542f; outline-offset: 5px; border-radius: 4px;
}
.yz-store img { display: block; max-width: 100%; }
.yz-stage { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 16px; }
.yz-stage:has(> :only-child) { grid-template-columns: 1fr; }
.yz-intro { position: relative; isolation: isolate; height: 360px; overflow: hidden; border-radius: 20px; background: #f4e9de; }
.yz-intro__copy { position: relative; z-index: 2; width: 55%; padding: 35px 0 34px 36px; }
.yz-store .yz-kicker { display: block; margin: 0 0 18px; color: #75604f; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .035em; }
.yz-store .yz-intro h1 { margin: 0; max-width: none; color: #2e2823; font-size: clamp(34px, 3.25vw, 48px); line-height: 1.03; font-weight: 650; letter-spacing: -.045em; }
.yz-store .yz-intro__text { margin: 19px 0 24px; color: #756858; font-size: 15px; line-height: 1.55; }
.yz-store .yz-cta, .yz-store .yz-cta:visited {
    display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 46px; padding: 12px 19px;
    color: #fff; background: var(--yz-accent); border-radius: 9px; font-size: 14px; font-weight: 650; line-height: 1.4;
    white-space: nowrap; transition: background .18s ease, transform .18s ease;
}
.yz-store .yz-cta:hover { color: #fff; background: #a83e1d; }
.yz-store .yz-cta:active { transform: translateY(1px); }
.yz-intro__goods { position: absolute; inset: 0 0 0 48%; z-index: 1; mix-blend-mode: multiply; pointer-events: none; }
.yz-intro__goods img { mix-blend-mode: multiply; }
.yz-store .yz-intro__kettle { position: absolute; right: 3%; top: 20px; width: 82%; height: 280px; object-fit: contain; }
.yz-store .yz-intro__pan { position: absolute; right: -13%; bottom: -30px; width: 108%; height: 245px; object-fit: contain; transform: rotate(-9deg); }
.yz-store .yz-season, .yz-store .yz-season:visited { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 360px; padding: 30px; overflow: hidden; color: var(--yz-ink); border-radius: 20px; background: #e9edf0; }
.yz-season__label { font-size: 12px; color: #616971; }
.yz-store .yz-season h2 { position: relative; z-index: 1; margin: 12px 0 0; color: #2c3439; font-size: 29px; line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.yz-store .yz-season img { position: absolute; right: -75px; top: 117px; width: 420px; max-width: none; height: 180px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.yz-season:hover img { transform: translateY(-4px); }
.yz-season__link { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #cfd5d9; color: #39434b; font-size: 14px; font-weight: 600; }
.yz-catalog, .yz-selection, .yz-journal { margin-top: 42px; scroll-margin-top: 24px; }
.yz-section-heading { margin-bottom: 21px; }
.yz-store .yz-section-heading h2 { margin: 0; color: var(--yz-ink); font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; max-width: none; }
.yz-store .yz-section-heading p { margin: 8px 0 0; color: var(--yz-muted); font-size: 14px; }
.yz-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.yz-store .yz-category, .yz-store .yz-category:visited { display: flex; flex-direction: column; align-items: center; gap: 11px; min-width: 0; color: var(--yz-ink); font-size: 14px; font-weight: 600; text-align: center; }
.yz-category__picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 133px; border-radius: 13px; background: #eeedeb; overflow: hidden; transition: background .18s ease; }
.yz-store .yz-category__picture img { width: 100%; height: 106px; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.yz-category:hover .yz-category__picture { background: #e5e2de; }
.yz-category:hover img { transform: translateY(-3px); }
.yz-departments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; padding: 17px 0; border-top: 1px solid var(--yz-line); border-bottom: 1px solid var(--yz-line); font-size: 13px; }
.yz-departments > span { color: var(--yz-muted); }
.yz-store .yz-departments a, .yz-store .yz-departments a:visited { color: #49423b; }
.yz-departments a span { margin-left: 6px; }
.yz-store .yz-departments a:hover { color: var(--yz-accent); }

/* Keep the original Shop-Script forms, multi-SKU dialog, comparison, and cart states. */
.yz-store .product-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; width: 100%; }
.yz-store .product-list::before, .yz-store .product-list::after { display: none; }
.yz-store .product-list > li { position: relative; display: flex; flex-direction: column; min-width: 0; width: auto !important; max-width: none; margin: 0; padding: 15px; border: 1px solid #ebe7e2; border-radius: 14px; background: #fff; box-shadow: none; overflow: hidden; }
.yz-store .product-list > li > a:first-of-type { display: block; margin-bottom: 8px !important; }
.yz-store .product-list .image { display: flex; align-items: center; justify-content: center; width: 100%; height: 184px; min-height: 0; margin: 0; padding: 10px; aspect-ratio: auto; overflow: hidden; }
.yz-store .product-list .image img { position: static; width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; transition: transform .2s ease; }
.yz-store .product-list > li:hover .image img { transform: scale(1.025); }
.yz-store .product-list .pricing { min-height: 30px; margin: 10px 0 9px !important; gap: 8px; }
.yz-store .product-list .price { color: #292522; font-size: 22px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.yz-store .product-list .compare-at-price { color: #8b8681; font-size: 13px; }
.yz-store .product-list h5 { margin: 0 !important; min-height: 42px; color: #45403b; font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; }
.yz-store .product-list .summary, .yz-store .product-list .features { display: none; }
.yz-store .product-list .offers { padding-top: 17px !important; }
.yz-store .product-list .addtocart-btn, .yz-store .product-list .gotocart-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin: 0; padding: 10px 12px;
    border: 1px solid #edc6b5; border-radius: 8px; background: #fff5ed; color: #a13f1e; box-shadow: none; font-size: 14px; font-weight: 650; line-height: 1.3; white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.yz-store .product-list .gotocart-btn { flex-direction: column; background: #c44f2a; border-color: #c44f2a; color: #fff; }
.yz-store .product-list .addtocart-btn.wa-hide,
.yz-store .product-list .gotocart-btn.wa-hide { display: none !important; }
.yz-store .product-list .addtocart-btn:hover { background: #c44f2a; border-color: #c44f2a; color: #fff; }
.yz-store .product-list button:focus-visible { outline: 3px solid #c44f2a; outline-offset: 3px; }
.yz-store .product-list .compare { flex-shrink: 0; color: #7b726b; }
.yz-store .product-list .badge-wrapper { top: 13px; left: 13px; z-index: 1; }
.yz-shopping { display: grid; grid-template-columns: 1fr 1.08fr; gap: 60px; margin-top: 48px; padding: 34px 36px; background: #eeedeb; border-radius: 16px; }
.yz-store .yz-shopping .yz-kicker { margin-bottom: 13px; }
.yz-store .yz-shopping h2 { margin: 0 0 24px; color: var(--yz-ink); font-size: 32px; line-height: 1.13; font-weight: 600; letter-spacing: -.035em; }
.yz-store .yz-shopping__intro > a { color: #a13f1e; font-size: 13px; font-weight: 600; }
.yz-shopping__details { display: grid; gap: 19px; }
.yz-store .yz-shopping__details a { display: block; color: var(--yz-ink); }
.yz-store .yz-shopping__details a + a { padding-top: 18px; border-top: 1px solid #d8d4cf; }
.yz-store .yz-shopping h3 { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.yz-store .yz-shopping__details p { max-width: 390px; margin: 0; color: var(--yz-muted); font-size: 13px; line-height: 1.6; }
.yz-journal__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.yz-journal__grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.yz-store .yz-journal h3 { font-size: 18px; line-height: 1.4; }
.yz-welcome { margin-top: 36px; max-width: 760px; line-height: 1.7; }

/* Replace only the parent theme's demo footer with the Shop-owned footer. */
footer.globalfooter:has(.yz-footer) { padding-top: 0; box-shadow: none; background: #f5f4f2; border-top: 1px solid #e4e0da; }
footer.globalfooter:has(.yz-footer) > .container,
footer.globalfooter:has(.yz-footer) .poweredby,
footer.globalfooter:has(.yz-footer) .currency-toggle { display: none !important; }
footer.globalfooter:has(.yz-footer) .appfooter { margin: 0; padding: 36px 0 25px; background: transparent; border: 0; color: #716b65; text-align: left; }
footer.globalfooter:has(.yz-footer) .appfooter > .container > .row { display: block; margin: 0; }
.yz-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; width: 100%; color: #716b65; font-size: 13px; line-height: 1.6; }
.yz-footer strong { display: block; margin-bottom: 6px; color: #c44f2a; font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.yz-footer p { margin: 0; font-size: 13px; line-height: 1.65; }
.yz-footer h2 { margin: 0 0 12px; color: #38332f; font-size: 14px; line-height: 1.4; font-weight: 650; }
.yz-footer nav { display: grid; gap: 7px; }
footer.globalfooter .yz-footer a, footer.globalfooter .yz-footer a:visited { width: fit-content; color: #625b55; text-decoration: none; }
footer.globalfooter .yz-footer a:hover { color: #c44f2a; }
.yz-footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 5px; padding-top: 20px; border-top: 1px solid #e4e0da; font-size: 12px; }
#page { max-width: 58rem; color: var(--text-color); font-size: 1rem; line-height: 1.7; }
#page p, #page ul, #page ol, #page table { margin: 0 0 1.25rem; }
#page h2, #page h3 { margin: 2.25rem 0 .8rem; line-height: 1.2; }
@media (max-width: 1023px) {
    .yz-stage { grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); }
    .yz-intro__copy { padding: 29px 0 28px 25px; width: 60%; }
    .yz-intro__goods { left: 46%; }
    .yz-store .yz-intro h1 { font-size: 38px; }
    .yz-store .yz-intro__text { font-size: 14px; }
    .yz-store .yz-season { padding: 27px 22px; }
    .yz-store .yz-season h2 { font-size: 27px; }
    .yz-store .yz-season img { right: -115px; }
    .yz-category-grid { gap: 9px; }
    .yz-category__picture { height: 112px; }
    .yz-store .yz-category { font-size: 12px; }
    .yz-store .product-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .yz-shopping { gap: 35px; }
}
@media (max-width: 767px) {
    body:has(.yz-store) main.maincontent { padding-top: 14px; }
    .yz-store { padding-bottom: 36px; }
    .yz-stage { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .yz-intro { height: 345px; border-radius: 14px; }
    .yz-intro__copy { width: 61%; padding: 27px 0 25px 24px; }
    .yz-store .yz-kicker { margin-bottom: 21px; font-size: 10px; }
    .yz-store .yz-intro h1 { font-size: clamp(24px,7.1vw,34px); }
    .yz-store .yz-intro__text { max-width: 185px; margin: 17px 0 21px; font-size: 13px; line-height: 1.5; }
    .yz-desktop-break { display: none; }
    .yz-store .yz-cta { min-height: 44px; gap: 16px; padding: 11px 14px; font-size: 12px; }
    .yz-intro__goods { left: 53%; }
    .yz-store .yz-intro__kettle { right: -8%; top: 76px; width: 120%; height: 210px; }
    .yz-store .yz-intro__pan { right: -13%; bottom: -25px; width: 139%; height: 180px; }
    .yz-store .yz-season { height: 139px; padding: 21px 24px; border-radius: 14px; }
    .yz-season__label { font-size: 10px; }
    .yz-store .yz-season h2 { margin-top: 5px; font-size: 22px; }
    .yz-store .yz-season img { right: -66px; top: 5px; width: 310px; height: 116px; }
    .yz-season__link { border: 0; padding: 6px 0 0; font-size: 11px; width: 140px; }
    .yz-catalog, .yz-selection, .yz-journal { margin-top: 30px; scroll-margin-top: 165px; }
    .yz-section-heading { margin-bottom: 17px; }
    .yz-store .yz-section-heading h2 { font-size: 23px; }
    .yz-store .yz-section-heading p { font-size: 12px; }
    .yz-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px 10px; }
    .yz-category__picture { height: 105px; border-radius: 10px; }
    .yz-store .yz-category__picture img { height: 90px; }
    .yz-departments { gap: 8px 16px; margin-top: 22px; padding: 15px 0; font-size: 12px; }
    .yz-departments > span { width: 100%; }
    .yz-store .product-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .yz-store .product-list > li { padding: 10px; border-radius: 11px; }
    .yz-store .product-list .image { height: 143px; padding: 5px; }
    .yz-store .product-list .price { font-size: 19px; }
    .yz-store .product-list .compare-at-price { font-size: 11px; }
    .yz-store .product-list h5 { min-height: 56px; font-size: 12px; }
    .yz-store .product-list .offers { padding-top: 13px !important; }
    .yz-store .product-list .addtocart-btn, .yz-store .product-list .gotocart-btn { min-height: 40px; padding: 9px 6px; font-size: 12px; }
    .yz-store .product-list svg.compare { width: 22px; height: 22px; }
    .yz-shopping { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; padding: 26px 24px; border-radius: 14px; }
    .yz-store .yz-shopping h2 { font-size: 29px; margin-bottom: 16px; }
    .yz-store .yz-shopping h3 { font-size: 16px; }
    .yz-journal__grid { grid-template-columns: 1fr; }
    .yz-footer { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .yz-footer__brand { grid-column: 1 / -1; }
    .yz-footer__bottom { flex-direction: column; gap: 5px; margin: 0; padding-top: 18px; }
}
@media (max-width: 359px) {
    /* Preserve header layout while keeping the existing menu button within a 320px screen. */
    #globalnav img#logo { max-width: 138px !important; height: auto !important; }
    .yz-intro__copy { padding-left: 18px; }
    .yz-store .yz-intro h1 { font-size: 24px; }
    .yz-store .yz-season h2 { font-size: 20px; }
    .yz-store .product-list .image { height: 122px; }
    .yz-store .product-list .compare { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .yz-store *, .yz-store *::before, .yz-store *::after { transition: none !important; }
}
