/* Olona page.css: generic pages (page.php: About, FAQ, policies, size guide, My account), 404.php, index.php.
   Page head, readable content, the FAQ accordion (details), the "Still have a question?" card, My account forms,
   navigation, tables and addresses, the 404 and help block (search and category pills), and spacing for pages built
   with Elementor. Not loaded on cart and checkout (their own page files). */

/* page head and two column layout (content beside the help card) */
.doc{padding-bottom:0}
.doc-in{display:flex;flex-direction:column;gap:40px}
.doc-head{align-items:flex-start;gap:18px;max-width:900px}
/* no text-wrap:balance on page titles: it can pick other line breaks once the web font replaces the fallback */
.doc-h1{font-family:var(--font-display);font-weight:600;font-size:clamp(44px,5.6vw,84px);line-height:1;letter-spacing:-.03em;color:var(--ink);overflow-wrap:anywhere}
.doc-lead{max-width:620px}
.doc-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px 64px;align-items:start}
.doc-main{min-width:0;display:flex;flex-direction:column;gap:20px}
.doc-side{position:sticky;top:24px;min-width:0}

/* readable content */
.doc .entry{font-size:18px;line-height:1.7}
.entry p + p,.entry ul + p,.entry ol + p{margin-top:1em}
.entry h2{font-size:clamp(26px,2.4vw,34px);line-height:1.15;margin-top:48px}
.entry h3{font-size:23px;line-height:1.25;margin-top:32px}
.entry h4{font-family:var(--font-display);font-size:19px;font-weight:600;color:var(--ink);margin-top:24px}
.entry > h2:first-child,.entry > h3:first-child{margin-top:0}
.entry li::marker{color:var(--red)}
.entry a{text-underline-offset:3px}
.entry a:hover{color:var(--ink)}
.entry strong,.entry b{color:var(--ink);font-weight:700}
.entry blockquote{padding:22px 26px;border-radius:24px;background:var(--sand);color:var(--ink)}
.entry blockquote p + p{margin-top:.6em}
.entry hr{height:0;margin-block:40px;border:0;border-top:1px solid var(--line)}
.entry figure img,.entry .wp-block-image img{border-radius:24px}
.entry figcaption{margin-top:8px;font-size:14px;color:var(--muted)}
.entry table{font-size:16px}
.entry th{font-family:var(--font-display);font-weight:600;color:var(--ink)}
/* size guide tables (content/clean/size-guide.html): a rounded card that scrolls sideways on small phones */
.entry .sg-scroll{margin-top:20px;overflow-x:auto;border-radius:24px;box-shadow:inset 0 0 0 1.5px var(--line);background:#FFFFFF;-webkit-overflow-scrolling:touch}
.entry .sg-scroll + p{margin-top:16px}
.entry table.sg{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
.entry table.sg th,.entry table.sg td{padding:14px 20px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.entry table.sg thead th{background:var(--sand);font-size:15px;letter-spacing:.01em}
.entry table.sg tbody tr:last-child td{border-bottom:0}
.entry table.sg td{white-space:nowrap}
.entry table.sg td.wrap{white-space:normal}
.entry table.sg td:first-child{font-weight:600;color:var(--ink)}
.entry table.sg a{color:var(--ink);font-weight:600}
.entry .privacy-policy-tutorial{color:var(--muted);font-weight:600}
.page-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}

/* FAQ accordion (page.php turns the question buttons into details) */
/* min-height keeps the row as tall as the "Open all" button that page.js reveals (no layout shift) */
.faq-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;min-height:44px;max-width:760px}
.faq-count{font-family:var(--font-display);font-size:16px;font-weight:600;color:var(--muted)}
.faq-all{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#FFFFFF;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line);font-family:var(--font-display);font-size:15px;font-weight:600;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.faq-all:hover{background:var(--ink);color:#FFFFFF}
.faq-all svg{width:18px;height:18px;flex:none;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.faq-all.on svg{transform:rotate(45deg)}
.entry .faq{display:flex;flex-direction:column;border-top:1px solid rgba(128,130,132,.45)}
.entry .faq + *{margin-top:40px}
.fq{border-bottom:1px solid rgba(128,130,132,.45)}
.fq-s{display:grid;grid-template-columns:60px minmax(0,1fr) 48px;align-items:center;gap:14px;min-height:92px;padding:18px 4px;color:var(--ink);cursor:pointer;list-style:none}
.fq-s::-webkit-details-marker{display:none}
.fq-s:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:14px}
.fq-n{font-family:var(--font-display);font-size:30px;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--grey);transition:color .3s ease}
.fq[open] .fq-n{color:var(--red)}
.fq-q{font-family:var(--font-display);font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.01em;transition:color .25s ease}
.fq-s:hover .fq-q{color:var(--red-text)}
.fq-ic{width:48px;height:48px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink);display:flex;align-items:center;justify-content:center;transition:background-color .3s ease,color .3s ease}
.fq-ic svg{width:20px;height:20px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.fq[open] .fq-ic{background:var(--ink);color:#FFFFFF}
.fq[open] .fq-ic svg{transform:rotate(45deg)}
.fq-a{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:0 62px 30px 78px;font-size:17px;line-height:1.6;color:var(--body)}
.fq[open] .fq-a{animation:fqIn .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes fqIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.entry .fq-a > *{margin:0}
.fq-a a{color:var(--ink);font-weight:600}
.fq-a a:hover{color:var(--red-text)}

/* "Still have a question?" card (F10 ask card) */
.ask{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px;align-items:center;width:100%;padding:14px 28px 14px 14px;border-radius:36px;background:var(--sand)}
.ask-arch{display:block;width:140px;height:180px;border-radius:70px 70px 20px 20px;overflow:hidden;background:var(--ground)}
.ask-arch img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.ask:hover .ask-arch img{transform:scale(1.06)}
.ask-txt{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.ask-h{font-family:var(--font-display);font-size:24px;font-weight:600;line-height:1.15;letter-spacing:-.02em;color:var(--ink)}
.ask-p{font-size:15px;line-height:1.55;color:var(--body)}
.ask-row{display:flex;flex-wrap:wrap;gap:8px}
.ask .btn,.ask .btn-line{min-height:48px;padding:0 20px;font-size:15px}

/* My account */
/* the account wrapper is .myac: the kit already uses .acct for the header account button (hidden on phones) */
.myac-main .doc-head{margin-bottom:8px}
.myac .woocommerce{display:flex;flex-direction:column;gap:24px}
.myac .woocommerce:has(> .woocommerce-MyAccount-navigation){display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px 56px;align-items:start}
.myac ul,.myac ol{padding-left:0;list-style:none}
.myac li + li{margin-top:0}
.myac h2,.myac h3,.myac legend{font-family:var(--font-display);font-weight:600;color:var(--ink);letter-spacing:-.01em}
.myac h2{font-size:28px;line-height:1.15;margin:0 0 16px}
.myac h3{font-size:22px;margin:0 0 12px}
.myac p{margin:0}
.myac p + p{margin-top:12px}
.woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;gap:6px}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:52px;padding:0 22px;border-radius:999px;background:var(--sand);color:var(--ink);font-family:var(--font-display);font-size:17px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background-color .25s ease,color .25s ease}
.woocommerce-MyAccount-navigation a:hover{background:var(--blush);color:var(--ink)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#FFFFFF}
.woocommerce-MyAccount-navigation-link--customer-logout a{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line)}
.woocommerce-MyAccount-content{min-width:0;display:flex;flex-direction:column;gap:20px;font-size:17px}
.woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty{display:none}
.myac .woocommerce-message,.myac .woocommerce-info,.myac .woocommerce-error{margin:0}
.myac form.login,.myac form.register,.myac form.lost_reset_password,.myac form.woocommerce-ResetPassword,.myac form.edit-account,.myac .woocommerce-address-fields{max-width:680px;padding:32px;border-radius:32px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px var(--line)}
.myac form.login,.myac form.register,.myac form.lost_reset_password,.myac form.edit-account,.myac .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.myac form.login > *,.myac form.register > *,.myac form.lost_reset_password > *,.myac form.edit-account > *,.myac .woocommerce-address-fields__field-wrapper > *{grid-column:1 / -1}
.myac .form-row-first{grid-column:1 !important}
.myac .form-row-last{grid-column:2 !important}
.myac .clear{display:none}
.myac form.login .form-row:has(.woocommerce-form-login__submit){flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.myac .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:10px;font-weight:500}
/* the main action of each account form is the red primary button */
.pg .myac .woocommerce-form-login__submit,.pg .myac .woocommerce-form-register__submit,.pg .myac .lost_reset_password .button,.pg .myac .edit-account .button,.pg .myac .woocommerce-address-fields .button{border-color:var(--red);background:var(--red);color:#FFFFFF}
.pg .myac .woocommerce-form-login__submit:hover,.pg .myac .woocommerce-form-register__submit:hover,.pg .myac .lost_reset_password .button:hover,.pg .myac .edit-account .button:hover,.pg .myac .woocommerce-address-fields .button:hover{border-color:var(--red-text);background:var(--red-text);color:#FFFFFF}
.myac .lost_password{margin-top:4px}
.myac .lost_password a,.myac .woocommerce-privacy-policy-text a,.woocommerce-MyAccount-content p a{color:var(--red-text);font-weight:600}
.myac .woocommerce-privacy-policy-text{font-size:15px;color:var(--muted)}
.myac #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.myac #customer_login form{max-width:none}
.myac fieldset{min-width:0;margin:8px 0 18px;padding:20px 24px 4px;border:1.5px solid var(--line);border-radius:22px}
.myac legend{padding:0 8px;font-size:19px}
.myac em,.myac .description{display:block;margin-top:6px;font-size:14px;font-style:normal;color:var(--muted)}
.woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
.woocommerce-Address{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:28px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px var(--line)}
.woocommerce-Address-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.woocommerce-Address-title h2,.woocommerce-Address-title h3{margin:0;font-size:22px}
.woocommerce-Address-title .edit{color:var(--red-text);font-weight:600}
.woocommerce-Address address,.woocommerce-customer-details address{font-style:normal;line-height:1.6;color:var(--body)}
.myac .shop_table{background:#FFFFFF;border-radius:24px;overflow:hidden;box-shadow:inset 0 0 0 1.5px var(--line)}
.myac .shop_table th,.myac .shop_table td{padding:14px 18px}
.myac .shop_table .button{min-height:44px;padding:0 18px;font-size:15px}
.myac .woocommerce-orders-table__cell-order-actions .button + .button{margin-left:8px}
.myac .woocommerce-pagination{justify-content:flex-start;gap:10px}
.myac mark{background:none;color:var(--ink);font-weight:700}

/* 404 and the help block */
.nf-main{padding-block:0}
.nf{padding-block:56px 88px}
.nf-in{display:flex;flex-direction:column;gap:40px}
.nf-top{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:32px 48px}
.nf-title{display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:820px;min-width:0}
.nf-h1{font-family:var(--font-display);font-weight:600;font-size:clamp(44px,5.6vw,84px);line-height:1;letter-spacing:-.03em;color:var(--ink)}
.nf-count{position:relative;width:208px;height:208px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.nf-arc{position:absolute;inset:0;width:100%;height:100%;overflow:visible;animation:nfspin 90s linear infinite}
@keyframes nfspin{to{transform:rotate(360deg)}}
/* the decorative 404 is SVG text: its digits are much wider in Outfit than in the fallback, an SVG box does not move */
.nf-num{position:relative;display:block;width:150px;height:72px;overflow:visible}
.nf-num text{font-family:var(--font-display);font-size:76px;font-weight:700;letter-spacing:-.04em;fill:var(--red)}
.nf-lbl{position:relative;font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.help{display:flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%}
form.search.nf-search{width:min(100%,520px);height:56px;padding-left:22px;background:#FFFFFF}
form.search.nf-search input{height:52px;font-size:16px}
.help-h{margin-top:12px;font-family:var(--font-display);font-size:22px;font-weight:600;line-height:1.2;color:var(--ink)}
.help-pills{width:100%}
.help-pills li{display:flex;flex:1 1 auto;min-width:0}
.help-pills .fpill{flex:1 1 auto}

/* category pills (same look as the Shop all pills in shop.css) */
.fpills{display:flex;flex-wrap:wrap;gap:10px}
.fpill{display:flex;align-items:center;gap:12px;min-width:0;min-height:80px;padding:6px 20px 6px 6px;border-radius:999px;background:var(--sand);color:var(--ink);text-decoration:none;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease}
.fpill.alt{background:var(--blush)}
.fpill:hover{color:var(--ink);transform:translateY(-4px);box-shadow:0 20px 30px -22px rgba(38,37,39,.55)}
.fcic{display:block;width:64px;height:64px;flex:none;border-radius:50%;overflow:hidden;background:#FFFFFF;box-shadow:0 0 0 4px #FFFFFF}
.fcic img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.fpill:hover .fcic img{transform:scale(1.08)}
.fcic-mark img{object-fit:contain;padding:12px}
.fct{display:flex;flex-direction:column;gap:3px;min-width:0}
.fct b{font-family:var(--font-display);font-size:18px;font-weight:600;line-height:1.15;letter-spacing:-.01em;white-space:nowrap}
.fct small{font-size:14px;line-height:1.2;color:var(--muted)}

/* pages built with Elementor: the theme reset removes paragraph and list spacing, give text widgets theirs back */
.is-builder .elementor-widget-text-editor p:not(:last-child),.is-builder .elementor-text-editor p:not(:last-child){margin-bottom:.9em}
.is-builder .elementor-widget-text-editor ul,.is-builder .elementor-widget-text-editor ol{margin-bottom:.9em;padding-left:1.3em}
.is-builder .elementor-widget-text-editor ul{list-style:disc}
.is-builder .elementor-widget-text-editor ol{list-style:decimal}
.is-builder .elementor-widget-text-editor a{color:var(--red-text);font-weight:600}

@media (max-width: 1180px){
  .doc-grid{grid-template-columns:minmax(0,1fr) !important;gap:48px !important}
  .doc-side{position:static !important;max-width:560px}
}
@media (max-width: 1220px){
  .fpill{min-height:72px !important}
  .fcic{width:58px !important;height:58px !important}
}
@media (max-width: 900px){
  .doc-in,.nf-in{gap:32px !important}
  .doc .entry{font-size:17px !important}
  .myac .woocommerce:has(> .woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr) !important;gap:24px !important}
  .woocommerce-MyAccount-navigation ul{flex-direction:row !important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;gap:8px !important}
  .woocommerce-MyAccount-navigation li{flex:none;scroll-snap-align:start}
  .woocommerce-MyAccount-navigation a{min-height:48px !important;padding:0 18px !important;font-size:16px !important}
  .myac #customer_login{grid-template-columns:minmax(0,1fr) !important}
  .nf{padding-block:40px 64px !important}
  .nf-count{width:150px !important;height:150px !important}
  .nf-num{width:104px !important;height:50px !important}
  .fpill:hover{transform:none !important}
}
@media (max-width: 760px){
  .myac .shop_table_responsive thead{display:none}
  .myac .shop_table_responsive tr{display:block;padding:10px 0;border-bottom:1px solid var(--line)}
  .myac .shop_table_responsive tr:last-child{border-bottom:0}
  .myac .shop_table_responsive td,.myac .shop_table_responsive th{display:flex;justify-content:space-between;gap:16px;padding:8px 18px;border:0;text-align:right}
  .myac .shop_table_responsive td::before{content:attr(data-title);font-weight:600;color:var(--ink);text-align:left}
  .myac .shop_table_responsive td.woocommerce-orders-table__cell-order-actions{justify-content:flex-start;flex-wrap:wrap}
  .myac .shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before{display:none}
}
@media (max-width: 560px){
  .doc-h1,.nf-h1{font-size:40px !important}
  .entry table.sg{font-size:15px !important}
  .entry table.sg th,.entry table.sg td{padding:12px 12px !important}
  .fq-s{grid-template-columns:38px minmax(0,1fr) 44px !important;gap:10px !important;min-height:76px !important;padding:14px 0 !important}
  .fq-n{font-size:22px !important}
  .fq-q{font-size:19px !important}
  .fq-ic{width:44px !important;height:44px !important}
  .fq-a{padding:0 4px 24px 48px !important;font-size:16px !important}
  .ask{grid-template-columns:96px minmax(0,1fr) !important;gap:16px !important;padding:12px 18px 12px 12px !important;border-radius:28px !important}
  .ask-arch{width:96px !important;height:128px !important;border-radius:48px 48px 16px 16px !important}
  .ask-h{font-size:21px !important}
  .myac form.login,.myac form.register,.myac form.lost_reset_password,.myac form.edit-account,.myac .woocommerce-address-fields{padding:22px !important;border-radius:24px !important}
  .myac form.login,.myac form.register,.myac form.lost_reset_password,.myac form.edit-account,.myac .woocommerce-address-fields__field-wrapper{grid-template-columns:minmax(0,1fr) !important}
  .myac .form-row-first,.myac .form-row-last{grid-column:1 !important}
  .nf-count{width:128px !important;height:128px !important}
  .nf-num{width:88px !important;height:42px !important}
  .help-pills{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
  .help-pills .fpill{gap:10px !important;padding:6px 12px 6px 6px !important}
  .help-pills .fcic{width:48px !important;height:48px !important;box-shadow:0 0 0 3px #FFFFFF !important}
  .help-pills .fct b{font-size:16px !important;white-space:normal !important}
  .nf-lbl{letter-spacing:.08em !important}
}
