.site-header .brand img {
    inset:0; width:100%; height:100%; object-fit:contain;
}
.site-header .brand.alma-brand-original img {
    inset:0; width:84%; height:100%; margin-inline:auto;
}

.alma-home > .section:has(+ .alma-faq) { padding-bottom:20px }
.alma-home > .alma-faq + #journal { padding-top:20px }
.alma-home > .alma-faq {
    max-width:1180px; margin-inline:auto; padding:22px var(--gutter) 20px; color:var(--alma-text);
}
.alma-faq-heading { text-align:center; margin:0 auto 20px; }
.alma-faq-heading .eyebrow { margin:0 0 7px; color:#70417c; font-size:11px; font-weight:600; letter-spacing:.15em }
.alma-faq-heading h2 { margin:0; color:var(--alma-purple); font-size:clamp(34px,3vw,40px); line-height:1.15; font-weight:400 }
.alma-faq .alma-faq-heading p { margin-inline:auto }
.alma-faq .alma-faq-intro { margin:7px auto 0; color:var(--alma-secondary); font-size:16px }
.alma-faq-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:0 clamp(24px,4.5vw,62px) }
.alma-faq .alma-faq-column details { border:0; border-bottom:1px solid #e0d6df; padding:0 }
.alma-faq .alma-faq-column summary {
    display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px;
    list-style:none; padding:10px 10px 10px 0; font-size:16px; font-weight:500; line-height:1.35;
    border-radius:4px; transition:background .2s,color .2s;
}
.alma-faq summary::-webkit-details-marker { display:none }
.alma-faq summary:hover,.alma-faq details[open]>summary { color:var(--alma-purple); background:#eee7ef70 }
.alma-faq summary:focus-visible { outline:2px solid #80558e; outline-offset:2px }
.alma-faq-icon { flex:0 0 15px; height:15px; position:relative; color:var(--alma-purple) }
.alma-faq-icon::before,.alma-faq-icon::after { content:""; position:absolute; inset:7px 1px auto; height:1px; background:currentColor }
.alma-faq-icon::after { transform:rotate(90deg); transition:transform .18s ease }
.alma-faq details[open] .alma-faq-icon::after { transform:rotate(0) }
.alma-faq .alma-faq-column details p { margin:0; padding:7px 22px 14px 0; color:var(--alma-secondary); font-size:15px; line-height:1.55 }
.alma-faq details a { text-decoration:underline; text-underline-offset:3px }
@media (max-width:720px) {
    .alma-home > .section:has(+ .alma-faq) { padding-bottom:12px }
    .alma-home > .alma-faq + #journal { padding-top:15px }
    .alma-home > .alma-faq { padding-block:16px 14px }
    .alma-faq-columns { grid-template-columns:1fr }
    .alma-faq-heading { margin-bottom:14px }
    .alma-faq-heading h2 { font-size:clamp(26px,7.3vw,30px) }
    .alma-faq .alma-faq-column summary { font-size:15px }
}

.alma-checkout-coupon,.alma-coupon-heading {
    color:var(--alma-purple); font-size:16px; line-height:1.35; font-weight:500;
}
form.alma-checkout-coupon {
    margin:16px 0 24px; padding:14px; border:1px solid #e4dbe4; border-radius:9px; background:#f9f6f4;
}
.alma-checkout-coupon h2 { margin:0 0 8px; font:inherit }
.alma-coupon-fields { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; max-width:450px }
.alma-coupon-heading { margin:0; padding:14px 16px 2px; border-top:1px solid #e7dfe4 }
.woocommerce-checkout [data-alma-coupon-ready] .wc-block-components-panel__button { display:none }
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block[data-alma-coupon-ready] { border-top:0 }
.woocommerce-checkout [data-alma-coupon-ready] .wc-block-components-totals-wrapper { border-top:0; padding-top:4px }
.woocommerce-checkout [data-alma-coupon-ready] .wc-block-components-panel__content { margin-top:0 }
.alma-checkout-coupon input,.woocommerce-checkout [data-alma-coupon-ready] input { min-height:44px }
.alma-checkout-coupon button,.woocommerce-checkout [data-alma-coupon-ready] button[type=submit] {
    min-height:44px; padding-inline:14px; border-radius:6px; letter-spacing:normal; text-transform:none; font-weight:500;
}
.woocommerce-checkout .wc-block-components-totals-coupon__form { align-items:stretch }
.woocommerce-checkout .wc-block-components-notice-banner { border-radius:7px; font-size:15px }
.woocommerce-checkout .page-intro h1 { font-size:clamp(34px,5vw,60px); line-height:1.09 }
.woocommerce-order-received .native-page:has(.alma-order-status,.wp-block-woocommerce-order-confirmation-status h1) > .page-intro { display:none }
.woocommerce-order-received .native-page { max-width:1180px; margin-inline:auto }
.woocommerce-checkout [data-alma-total-pending] :is(#place_order,.wc-block-components-checkout-place-order-button) { cursor:wait }

.alma-order-status {
    display:inline-flex; align-items:center; gap:7px; padding:5px 11px; border-radius:999px;
    margin:0 0 10px; color:var(--alma-purple); background:#ede5ef; font-size:14px;
}
.alma-order-status[data-tone="pending"] { background:#efe6d7; color:#5d4727 }
.woocommerce-order-received :is(.woocommerce-order,.wp-block-woocommerce-order-confirmation-status,.wc-block-order-confirmation-summary-list,.wc-block-order-confirmation-totals__table) { overflow-wrap:anywhere }
.woocommerce-order-received :is(.alma-order-title,.wp-block-woocommerce-order-confirmation-status h1) {
    margin:0 0 8px; color:var(--alma-purple); font-size:clamp(30px,4vw,48px); line-height:1.12;
}
.woocommerce-order-received :is(.woocommerce-order-overview,.wc-block-order-confirmation-summary-list) {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); gap:12px 16px;
    margin:20px 0 26px; padding:16px; list-style:none; border:1px solid #e4dbe4; border-radius:9px; background:#faf7f4;
}
.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview::before,
.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview::after { display:none; content:none }
.woocommerce-order-received ul.woocommerce-order-overview li { margin:0; padding:0; border:0; min-width:0 }
.woocommerce-order-received :is(.woocommerce-order-overview li.total,.woocommerce-order-overview li.total strong) { color:var(--alma-purple) }
.woocommerce-order-received :is(.woocommerce-order-details,.woocommerce-customer-details) h2,
.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper h2 { margin:0 0 10px; font-size:clamp(25px,2.6vw,34px); line-height:1.2; color:var(--alma-purple) }
.woocommerce-order-received .woocommerce-customer-details address { border:1px solid #e4dbe4; padding:12px 14px; border-radius:7px }
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column+.woocommerce-column { margin-top:0 }
.woocommerce-order-received :is(.wc-block-order-confirmation-totals__table,.woocommerce-table--order-details) { width:100%; font-size:16px }
.woocommerce-order-received :is(.wc-block-order-confirmation-totals__table,.woocommerce-table--order-details) :is(th,td) { padding:10px; vertical-align:top }
.woocommerce-order-received .woocommerce-table--order-details a.button {
    display:inline-flex; margin:3px 6px 3px 0; min-height:38px; padding:8px 12px; border-radius:5px; letter-spacing:normal;
}
@media (max-width:720px) {
    .woocommerce-order-received .woocommerce-customer-details .woocommerce-column+.woocommerce-column { margin-top:16px }
    .woocommerce-order-received .whatsapp-button { display:none }
}

/* Pending content follows the size of the existing cards or totals. */
@keyframes alma-shimmer { to { background-position:-200% 0 } }
.alma-search-skeleton-row i,
.catalog-results[data-alma-loading] :is(.product-image,.product-meta)::after,
[data-alma-loading] [data-alma-total-line]::after,
#cart-dialog[data-alma-loading] .alma-mini-summary::after {
    background:#f0ebef linear-gradient(110deg,#f0ebef 28%,#faf7f9 48%,#f0ebef 68%) 200% 0/200% 100%;
    animation:alma-shimmer 1.8s linear infinite;
}
.alma-search-skeleton { width:100%; padding:16px; display:grid; gap:10px }
.alma-search-skeleton-row { display:grid; grid-template:36px 36px / 72px minmax(0,1fr); column-gap:10px; align-items:center; min-height:72px }
.alma-search-skeleton-row i { height:10px; width:76%; border-radius:6px }
.alma-search-skeleton-row i:first-child { grid-row:1/3; width:72px; height:72px }
.alma-search-skeleton-row i:last-child { width:27% }
.catalog-results[data-alma-loading] .product-grid { opacity:1; pointer-events:none }
.catalog-results[data-alma-loading] :is(.product-image,.product-meta) { position:relative }
.catalog-results[data-alma-loading] :is(.product-image,.product-meta)>* { visibility:hidden }
.catalog-results[data-alma-loading] :is(.product-image,.product-meta)::after { content:""; position:absolute; inset:0; border-radius:6px }
.catalog-results[data-alma-loading] .product-meta::after {
    inset:9px 0 auto; height:33px;
    clip-path:polygon(0 0,78% 0,78% 34%,0 34%,0 69%,32% 69%,32% 100%,0 100%);
}
.alma-total-status { margin:0; padding:3px 14px 9px; font-size:14px; color:var(--alma-secondary) }
.alma-total-status:empty { display:none }
.wc-block-components-totals-item:has(>.alma-previous-amount) > .wc-block-components-skeleton__element { display:none }
.alma-previous-amount { text-align:end; font-variant-numeric:tabular-nums }
[data-alma-total-line],#cart-dialog .alma-mini-summary { position:relative }
[data-alma-loading] [data-alma-total-line]::after,#cart-dialog[data-alma-loading] .alma-mini-summary::after {
    content:""; position:absolute; inset:auto 14px 0; height:3px; border-radius:4px; pointer-events:none;
}
tr[data-alma-total-line]::after { display:none }
@media (prefers-reduced-motion:reduce) {
    .alma-main-nav a::after,.alma-faq summary,.alma-faq-icon::after { transition:none }
    .alma-search-skeleton-row i,.catalog-results[data-alma-loading] :is(.product-image,.product-meta)::after,
    [data-alma-loading] [data-alma-total-line]::after,#cart-dialog[data-alma-loading] .alma-mini-summary::after { animation:none }
}
