/* Soel 1.1: shared responsive storefront styles. */
:root { --tap:44px; --gold:#8a7246; }
html { scrollbar-gutter:stable; }
body { font-size:15px; overflow-wrap:break-word; }
[hidden] { display:none !important; }
button, input, select, textarea { font-size:16px; }
input,select,textarea { min-width:0; }
button, .button, .icon-button { min-height:var(--tap); }
svg { flex-shrink:0; }
.shell { width:min(1400px,calc(100% - 80px)); }
.announcement { min-height:34px; font-size:10px; line-height:1.5; }
.site-header { position:sticky; top:0; z-index:40; box-shadow:0 2px 10px #25231f05; }
.admin-bar .site-header { top:32px; }
.header-main { min-height:100px; gap:40px; }
.header-search { max-width:590px; }
.header-search input { min-height:46px; font-size:15px; }
.header-search button { min-width:44px; justify-content:center; }
.header-actions { gap:24px; }
.header-actions a { min-height:44px; font-size:13px; gap:9px; }
.header-actions .account-link { min-width:44px; justify-content:center; }
.header-actions .account-link svg { pointer-events:none; }
.soel-cart-count { min-width:21px; height:21px; font-size:11px; }
.brand span { font-size:9px; }
.site-nav .menu { gap:30px; }
.site-nav a { min-height:48px; font-size:13px; padding:13px 0; }
.site-nav .sub-menu { max-height:65vh; overflow-y:auto; width:240px; }
.site-nav .sub-menu a { padding:11px 0; }
.site-nav .sub-menu li { min-width:0; }
.hero { min-height:510px; height:clamp(510px,40vw,620px); }
.hero-content { padding-block:75px; }
.hero .eyebrow { font-size:11px; }
.hero :is(h1,.soel-hero-title) { font-size:clamp(60px,5.6vw,88px); }
.hero-description { font-size:16px; max-width:330px; }
.hero-footnote { font-size:10px; margin-top:30px; }
.hero-index { font-size:10px; }
.eyebrow { font-size:11px; }
.button { font-size:13px; min-height:49px; padding:14px 24px; }
.text-link { min-height:44px; font-size:13px; align-items:center; }
.collection-nav { padding-block:18px; }
.collection-nav a { font-size:14px; min-height:44px; }
.section { padding-block:60px; }
.section-heading { align-items:center; }
.section-heading h2 { font-size:clamp(28px,3vw,42px); }
.product-grid,.woocommerce ul.products { gap:30px 24px; }
.product-card { display:flex; flex-direction:column; }
.product-image { background:#fff; border:1px solid #efede7; aspect-ratio:1 / 1.08; }
.product-image img,.product-image.light img,.product-image.dark img { object-fit:contain; object-position:center; padding:16px; }
.product-info { display:flex; flex:1; flex-direction:column; padding-top:15px; }
.product-type { font-size:11px; letter-spacing:.7px; color:#6d685f; }
.product-name { font-family:var(--sans); font-size:16px; line-height:1.5; font-weight:400; letter-spacing:0; margin:0; min-height:72px; }
.product-name a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.product-notes { font-size:12px; line-height:1.6; color:#6b665d; }
.product-price { font-size:17px; font-weight:600; margin-top:auto; }
.product-badge { font-size:10px; letter-spacing:.5px; top:12px; left:12px; max-width:calc(100% - 24px); background:var(--cream); }
.product-badge.sold-out { background:#eeeae3; color:#5c554b; }
.add-button { border:1px solid #d8d3c8; text-align:center; justify-content:center; gap:15px; min-height:44px; font-size:13px; padding:9px 10px; margin-top:13px; }
.add-button:hover { color:white; background:var(--ink); border-color:var(--ink); }
.add-button:disabled { opacity:1; background:#f4f2ed; color:#777065; border-color:#e6e1d8; }
.collection-tabs { gap:8px; margin-bottom:25px; }
.collection-tabs button { min-height:44px; padding:9px 18px; font-size:13px; }
.shop-tools { gap:16px; align-items:center; flex-wrap:wrap; }
.shop-tools label { font-size:13px; }
.shop-tools select { min-height:44px; font-size:14px; max-width:240px; border:1px solid var(--line); }
.results-text { font-size:13px; }
.catalog-topline { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.filter-button { display:inline-flex; gap:12px; align-items:center; border:1px solid #d8d3c8; padding:9px 16px; font-size:13px; }
.stock-filter { display:inline-flex; gap:8px; align-items:center; font-size:13px; cursor:pointer; min-height:44px; }
.stock-filter input { accent-color:var(--ink); width:18px; height:18px; }
.filter-summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.filter-summary:not(:empty) { padding:12px; background:var(--cream); font-size:12px; }
.filter-summary button { text-decoration:underline; font-size:12px; }
.catalog-pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:35px; }
.catalog-pagination button { width:44px; height:44px; border:1px solid var(--line); font-size:14px; }
.catalog-pagination button[aria-current=page] { background:var(--ink); color:white; }
.category-card { min-height:430px; }
.category-card span { font-size:13px; min-height:40px; }
.category-card .eyebrow { font-size:10px; }
.brand-story p:not(.eyebrow) { font-size:15px; }
.brand-story .eyebrow { font-size:11px; }
.footer-grid h3 { font-size:14px; }
.footer-grid>div>a:not(.brand),.footer-grid li a { font-size:13px; line-height:1.7; padding:8px 0; margin:0; min-height:38px; }
.footer-bottom { font-size:11px; }
.footer-grid p { font-size:13px; }
.preview-notice { font-size:12px; color:#6c665c; margin-top:28px; }
.cart-dialog { width:min(480px,100%); padding:28px; overscroll-behavior:contain; padding-bottom:max(28px,env(safe-area-inset-bottom)); }
body:has(dialog[open]) { overflow:hidden; }
dialog { overscroll-behavior:contain; }
.drawer-heading { position:sticky; top:-28px; z-index:3; background:white; padding-top:10px; }
.cart-item { grid-template-columns:80px minmax(0,1fr) auto; }
.cart-item h3 { font-family:var(--sans); font-size:15px; line-height:1.5; }
.cart-item img { object-fit:contain; height:105px; }
.cart-item p { font-size:12px; }
.qty-control button { width:44px; height:44px; }
.qty-control span { min-width:26px; font-size:14px; }
.remove-item { width:44px; min-height:44px; font-size:12px; }
.checkout-note { font-size:12px; }
.product-dialog { width:min(1000px,calc(100% - 48px)); max-height:calc(100dvh - 40px); margin:auto; }
.product-detail { grid-template-columns:1fr 1.05fr; }
.product-detail>img { min-height:480px; height:100%; object-fit:contain; padding:35px; background:#faf9f6; }
.product-detail-content { min-width:0; padding:50px 36px; }
.product-detail h2 { font-family:var(--serif); font-size:32px; line-height:1.25; letter-spacing:-.6px; }
.product-detail .description { font-size:14px; line-height:1.8; white-space:pre-line; max-height:240px; overflow-y:auto; }
.product-detail .price { font-size:24px; }
.product-specs { display:flex; gap:10px; flex-wrap:wrap; margin:20px 0; }
.product-specs span { font-size:12px; border:1px solid var(--line); padding:8px 12px; }
.product-detail .button { width:100%; }
.dialog-close { min-height:44px; width:44px; }
.info-dialog-body { padding:50px 30px 30px; }
.info-dialog-body h2 { font-size:32px; padding-right:25px; }
.category-dialog { position:fixed; inset:0 auto 0 0; margin:0; width:min(440px,100%); max-width:100%; height:100dvh; max-height:100dvh; padding:25px; border:0; overflow-y:auto; }
.category-filter-list { display:grid; gap:0; }
.category-filter-list button { min-height:48px; padding:12px 0; font-size:14px; text-align:left; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); gap:18px; }
.category-filter-list button[aria-pressed=true] { color:var(--gold); font-weight:600; }
.category-filter-list small { font-size:12px; background:var(--cream); padding:2px 7px; }
.category-filter-list button[data-depth="2"] { padding-left:16px; }
.category-filter-list button[data-depth="3"] { padding-left:32px; }
.woocommerce ul.products li.product { min-width:0; display:flex; flex-direction:column; }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { flex:1; display:flex; flex-direction:column; }
  .woocommerce ul.products li.product a img { aspect-ratio:1/1.08; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:var(--sans); font-size:16px; line-height:1.5; min-height:72px; }
.woocommerce ul.products li.product .price { font-size:17px; margin-top:auto; }
.woocommerce ul.products li.product .button { min-height:44px; font-size:13px; line-height:1.4; }
.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count { font-size:13px; min-height:44px; }
.woocommerce div.product .product_title { font-size:clamp(28px,3.5vw,46px); overflow-wrap:anywhere; }
.woocommerce div.product form.cart { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.woocommerce div.product form.cart table.variations { width:100%; }
.woocommerce div.product form.cart .single_variation_wrap { width:100%; }
.woocommerce div.product form.cart .button { min-height:48px; }
.woocommerce .quantity .qty { min-height:48px; font-size:16px; }
.woocommerce table.shop_table { font-size:14px; }
.woocommerce-cart table.cart td.actions .coupon { display:flex; flex-wrap:wrap; gap:8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width:160px; min-height:46px; margin:0; }
.woocommerce .woocommerce-customer-details address { overflow-wrap:anywhere; }
.entry-content table:not(.shop_table) { display:block; max-width:100%; overflow-x:auto; }
.entry-content iframe { max-width:100%; }
.woocommerce-MyAccount-content { min-width:0; }
.wc-block-cart,.wc-block-checkout,.wc-block-components-main,.wc-block-components-sidebar { min-width:0; max-width:100%; }
.wc-block-components-text-input input,.wc-block-components-textarea { font-size:16px!important; }
.wc-block-components-checkout-step { padding-inline:0; }
.soel-catalog-categories { gap:8px; }
.soel-catalog-categories a { min-height:44px; font-size:13px; }
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span { min-height:44px; min-width:44px; padding:14px; }
.back-to-home { margin-bottom:25px; }
#magaza,#koleksiyon,#soel-dunyasi { scroll-margin-top:165px; }
.soel-extra-categories { clear:both; margin:0 0 24px; border:1px solid var(--line); padding:0 18px; }
.soel-extra-categories summary { min-height:48px; cursor:pointer; padding:12px 0; font-size:14px; }
.soel-extra-categories>ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 24px; padding:15px 0; list-style:none; }
.soel-extra-categories li { min-width:0; font-size:13px; }
.soel-extra-categories a { display:inline-block; padding:10px 0; }
.soel-extra-categories ul.children { padding-left:18px; list-style:none; }
.site-nav-mobile { display:none; }
@media (min-width:1600px) {
  .shell { width:min(1440px,calc(100% - 120px)); }
}
@media (min-width:1024px) and (max-width:1199px) {
  .shell { width:calc(100% - 56px); }
  .header-main { gap:28px; }
  .header-actions a span:not(.soel-cart-count) { display:none; }
  .site-nav .menu { gap:24px; }
  .site-nav a { font-size:12px; }
  .product-grid,.woocommerce ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:1023px) {
  .shell { width:calc(100% - 48px); }
  .header-main { display:grid; grid-template-columns:1fr auto 1fr; min-height:128px; padding-block:12px; gap:0 18px; }
  .brand-wrap { grid-column:2; grid-row:1; justify-self:center; }
  .brand { font-size:40px; letter-spacing:7px; }
  .brand span { font-size:8px; letter-spacing:4.8px; margin-top:6px; }
  .custom-logo { max-height:56px; max-width:150px; }
  .icon-button.mobile-menu { display:flex; grid-column:1; grid-row:1; justify-self:start; margin-left:-10px; }
  .header-actions { grid-column:3; grid-row:1; justify-self:end; gap:12px; }
  .header-actions .account-link { display:flex; }
  .header-actions a span:not(.soel-cart-count) { display:none; }
  .header-search { grid-column:1/-1; grid-row:2; width:100%; max-width:none; margin-top:10px; border:1px solid #ded9ce; }
  .header-search input { padding:9px 12px; min-height:44px; font-size:16px; }
  .header-search button { padding:10px; }
  .site-nav { display:none; position:absolute; top:100%; left:0; right:0; background:white; max-height:calc(100dvh - 130px); overflow-y:auto; box-shadow:0 15px 20px #0001; }
  .site-nav.is-open { display:block; }
  .site-nav .menu { display:block; padding:10px 24px 20px; }
  .site-nav a { font-size:15px; padding:12px 0; min-height:48px; }
  .site-nav .sub-menu { position:static; display:block; box-shadow:none; padding:0 0 10px 18px; width:auto; max-height:none; }
  .site-nav .sub-menu a { font-size:14px; }
  .site-nav .menu-item-has-children>a { font-weight:600; }
  .hero { min-height:480px; height:540px; }
  .hero-content { padding-block:70px; }
  .hero :is(h1,.soel-hero-title) { font-size:66px; max-width:360px; }
  .hero-shade { background:linear-gradient(90deg,#f0e6d8f5 0%,#efe5d6c0 35%,transparent 78%); }
  .product-grid,.woocommerce ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px 18px; }
  .product-name,.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:15px; min-height:67.5px; }
  .category-card { min-height:380px; }
  .category-card>div { padding:35px 24px; }
  .category-card h2 { font-size:36px; }
  .brand-story { gap:36px; }
  .brand-story h2 { font-size:36px; }
  .footer-grid { grid-template-columns:1.3fr 1fr 1fr; }
  .footer-brand { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:28px; }
  .footer-brand p { margin:0; }
}
@media (max-width:782px) { .admin-bar .site-header { top:46px; } }
@media (max-width:767px) {
  #magaza,#koleksiyon,#soel-dunyasi { scroll-margin-top:135px; }
  .soel-extra-categories>ul { grid-template-columns:1fr; }
  .shell { width:calc(100% - 36px); }
  .announcement { font-size:9px; letter-spacing:1px; min-height:30px; }
  .announcement-extra,.announcement-star { display:none; }
  .header-main { min-height:123px; padding-block:11px; }
  .brand { font-size:36px; }
  .brand span { font-size:7px; }
  .hero { height:560px; min-height:0; }
  .hero-image { object-position:61% center; }
  .hero-shade { background:linear-gradient(90deg,#f0e6d8f5 0%,#efe5d6c4 42%,#efe5d645 100%); }
  .hero-content { padding-top:54px; padding-bottom:30px; }
  .hero .eyebrow { font-size:10px; letter-spacing:1.8px; margin-bottom:24px; }
  .hero :is(h1,.soel-hero-title) { font-size:60px; max-width:280px; letter-spacing:-2px; }
  .hero-description { font-size:15px; max-width:245px; margin:25px 0; }
  .hero-footnote { font-size:9px; margin-top:30px; }
  .hero-index { font-size:8px; right:18px; bottom:18px; }
  .hero .button { font-size:13px; padding:13px 20px; }
  .collection-nav { padding-block:12px; }
  .collection-nav a { font-size:11px; padding:4px 12px; min-height:44px; line-height:1.5; }
  .section { padding-block:42px; }
  .section-heading { gap:16px; margin-bottom:26px; }
  .section-heading .eyebrow { font-size:10px; letter-spacing:1.5px; }
  .section-heading h2 { font-size:30px; }
  .section-heading .text-link { font-size:12px; white-space:normal; text-align:right; line-height:1.5; gap:8px; }
  .product-grid,.woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 14px; }
  .product-image img,.product-image.light img,.product-image.dark img { padding:10px; }
  .product-type { font-size:10px; }
  .product-name,.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:15px; min-height:67.5px; }
  .product-price,.woocommerce ul.products li.product .price { font-size:16px; }
  .product-badge { font-size:9px; left:8px; top:8px; padding:4px 7px; max-width:calc(100% - 16px); }
  .product-notes { font-size:11px; }
  .add-button,.woocommerce ul.products li.product .button { font-size:12px; min-height:44px; padding:10px 7px; }
  .collection-tabs { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; gap:8px; scrollbar-width:thin; }
  .collection-tabs button { flex:none; font-size:13px; padding:9px 17px; }
  .catalog-topline { gap:10px; justify-content:space-between; }
  .filter-button,.stock-filter { font-size:12px; }
  .shop-tools { display:grid; grid-template-columns:auto 1fr; gap:12px; }
  .results-text { font-size:12px; }
  .shop-tools label { justify-self:end; font-size:12px; gap:8px; }
  .shop-tools select { font-size:14px; max-width:180px; padding:9px; }
  .category-grid { grid-template-columns:1fr; gap:20px; }
  .category-card { min-height:370px; }
  .category-card h2 { font-size:40px; }
  .category-card>div { padding:36px 28px; }
  .category-card .eyebrow { font-size:10px; }
  .category-card span { font-size:13px; }
  .brand-story { grid-template-columns:75px minmax(0,1fr); gap:22px; padding-block:55px; }
  .brand-story .story-symbol { font-size:72px; padding:30px 0; }
  .brand-story h2 { font-size:30px; }
  .brand-story .eyebrow { font-size:10px; }
  .brand-story p:not(.eyebrow) { font-size:14px; }
  .brand-story .text-link { font-size:13px; white-space:normal; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-grid h3 { font-size:13px; }
  .footer-brand .brand { font-size:36px; }
  .footer-brand p { font-size:16px; }
  .footer-grid>div>a:not(.brand),.footer-grid li a { font-size:13px; }
  .footer-bottom { font-size:10px; align-items:center; }
  .cart-dialog { padding:20px; }
  .drawer-heading { top:-20px; }
  .cart-item { grid-template-columns:65px minmax(0,1fr) 44px; gap:12px; }
  .cart-item h3 { font-size:14px; }
  .cart-item img { width:65px; height:100px; }
  .cart-item p { font-size:11px; }
  .cart-item strong { font-size:14px; }
  .qty-control button { width:40px; height:44px; }
  .product-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
  .product-detail { grid-template-columns:1fr; }
  .product-detail>img { min-height:0; height:270px; padding:25px; }
  .product-detail-content { padding:26px 22px 30px; }
  .product-detail h2 { font-size:28px; }
  .product-detail .description { max-height:220px; font-size:14px; }
  .product-detail-content .eyebrow { font-size:10px; }
  .product-detail .button { position:sticky; bottom:0; }
  .info-dialog-body { padding:50px 22px 28px; }
  .category-dialog { padding:20px; }
  .page-main h1,.shop-main h1 { font-size:32px; }
  .woocommerce div.product .product_title { font-size:30px; line-height:1.3; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { display:flex; overflow-x:auto; flex-wrap:nowrap; padding:0; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex-shrink:0; margin:0; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size:13px; padding:14px 8px; }
  .woocommerce form .form-row-first,.woocommerce form .form-row-last { width:100%; float:none; }
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering { float:none; width:100%; margin-bottom:12px; }
  .woocommerce .woocommerce-ordering select { width:100%; }
  .woocommerce table.shop_table_responsive tr td { overflow-wrap:anywhere; }
  .woocommerce-cart table.cart td.actions .coupon { width:100%; margin-bottom:12px; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { flex:1; min-width:90px; width:auto; }
  .woocommerce-cart table.cart td.actions .coupon .button { width:auto; }
  .woocommerce-cart table.cart td.actions>.button { width:100%; }
  .woocommerce-checkout #payment ul.payment_methods { padding:16px; }
  .woocommerce #payment div.payment_box { width:100%; padding:14px; }
  .woocommerce #payment div.form-row { padding:16px; }
  .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce .cart-collaterals .cart_totals { width:100%; float:none; }
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content { float:none; width:100%; }
  .woocommerce-MyAccount-navigation ul { display:flex; overflow-x:auto; }
  .woocommerce-MyAccount-navigation li { flex-shrink:0; border-bottom:0; }
  .woocommerce span.onsale { font-size:10px; }
  .soel-catalog-categories { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; }
  .soel-catalog-categories a { flex-shrink:0; font-size:12px; }
}
@media (max-width:374px) {
  .shell { width:calc(100% - 28px); }
  .header-main { column-gap:7px; }
  .header-actions { gap:3px; }
  .header-actions .account-link { min-width:38px; }
  .header-actions svg { width:20px; }
  .brand { font-size:32px; letter-spacing:5px; }
  .brand span { letter-spacing:3.6px; }
  .hero { height:540px; }
  .hero :is(h1,.soel-hero-title) { font-size:54px; max-width:250px; }
  .hero-description { font-size:14px; max-width:225px; }
  .collection-nav a { font-size:10px; padding-inline:8px; }
  .section-heading { align-items:start; }
  .section-heading h2 { font-size:27px; }
  .section-heading .text-link { font-size:11px; min-width:74px; }
  .product-grid,.woocommerce ul.products { column-gap:12px; }
  .product-name,.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:14px; min-height:63px; }
  .product-price,.woocommerce ul.products li.product .price { font-size:15px; }
  .product-badge { font-size:8px; }
  .add-button,.woocommerce ul.products li.product .button { font-size:11px; }
  .shop-tools { display:flex; }
  .shop-tools label { width:100%; justify-content:space-between; }
  .shop-tools select { flex:1; max-width:220px; }
  .brand-story { grid-template-columns:1fr; }
  .brand-story .story-symbol { display:none; }
  .footer-brand { gap:15px; }
  .footer-brand p { font-size:14px; }
  .cart-dialog { padding:16px; }
  .cart-item { grid-template-columns:50px minmax(0,1fr) 40px; gap:9px; }
  .cart-item img { width:50px; }
  .cart-item h3 { font-size:13px; }
  .qty-control button { width:34px; }
}
@media (orientation:landscape) and (max-height:500px) {
  .site-header { position:relative; top:0; }
  .cart-dialog,.category-dialog { padding-top:12px; }
  .product-detail { grid-template-columns:.8fr 1.2fr; }
  .product-detail>img { height:100%; min-height:280px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Üç seviyeli koleksiyon menüsü. */
@media (min-width: 1024px) {
  .site-nav .menu > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 0 3px 8px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
  }

  .site-nav .menu > li > .sub-menu {
    width: 260px;
    max-height: min(66vh, 540px);
    padding: 12px 20px 18px;
    border-top: 2px solid #a38755;
  }

  .site-nav { position: relative; }
  .site-nav .menu > li:has(> .sub-menu > li:nth-child(3)) { position: static; }

  .site-nav .menu > li > .sub-menu:has(> li:nth-child(3)) {
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    width: min(690px, 72vw);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 20px;
  }

  .site-nav .menu > li:hover > .sub-menu:has(> li:nth-child(3)),
  .site-nav .menu > li:focus-within > .sub-menu:has(> li:nth-child(3)) { display: grid; }

  .site-nav .menu > li > .sub-menu > li > a {
    font-weight: 600;
    border-bottom: 1px solid #ece6dc;
  }

  .site-nav .sub-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    min-width: 0;
    max-height: none;
    padding: 0;
    box-shadow: none;
    overflow: visible;
  }

  .site-nav .sub-menu .sub-menu a {
    min-height: 44px;
    padding: 10px 0;
    letter-spacing: 0;
  }
}

@media (max-width: 1023px) {
  .site-nav .menu > li > a { border-bottom: 1px solid #eee8de; }
  .site-nav .sub-menu { padding: 0 0 6px 16px; }
  .site-nav .sub-menu .sub-menu { border-inline-start: 1px solid #e4d8c5; }
}
