﻿/* WordPress integration. Original storefront rules remain in style.css. */
html, body { margin: 0; padding: 0; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.skip-link:focus { position:fixed; top:8px; left:8px; z-index:999999; width:auto; height:auto; clip-path:none; padding:12px 20px; background:#fff; color:#6e3048; }
:focus-visible { outline:2px solid var(--color-brand); outline-offset:4px; }
[data-reveal] { opacity:1; transform:none; }
.nav__search-inner { margin:0; }
.nav__item--mega:focus-within .nav__mega { opacity:1; visibility:visible; transform:none; }
.aurra-empty { grid-column:1/-1; text-align:center; padding:40px 0; }
.product-card__quick-shop { z-index:3; }
.product-card__price ins { text-decoration:none; }
.product-card__price del { color:var(--color-text-muted); font-size:.85em; }
.admin-bar .site-header { top:32px; }
@media (max-width:782px) { .admin-bar .site-header { top:46px; } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
.nav__item--mega:focus-within .nav__mega { transform:translateX(-50%) translateY(0); pointer-events:auto; }
.story-card__placeholder img { width:100%; height:100%; object-fit:cover; }
.story-card__info { text-decoration:none; }
.story-card__btn { display:block; text-align:center; text-decoration:none; }
.story-card__media video[src]:not([src=""]) ~ .story-card__placeholder { display:block; }
.story-card.is-playing .story-card__placeholder { display:none!important; }
.aurra-video-toggle { position:absolute; top:12px; right:12px; z-index:3; width:36px; height:36px; display:grid; place-items:center; border:1px solid #ffffff80; border-radius:50%; background:#0008; color:#fff; cursor:pointer; }
.aurra-video-toggle[aria-pressed="true"] svg { opacity:.5; }
.nav__search-results[hidden] { display:none; }
.aurra-mini-cart ul { list-style:none; padding:0; }
.aurra-mini-cart li { position:relative; min-height:88px; padding:16px 24px 16px 0; border-bottom:1px solid var(--color-border); }
.aurra-mini-cart li a:not(.remove) { display:block; color:var(--color-text); text-decoration:none; font-family:var(--font-serif); font-size:18px; }
.aurra-mini-cart img { width:64px; height:72px; object-fit:cover; float:left; margin-right:14px; border-radius:var(--radius-sm); }
.aurra-mini-cart .remove { position:absolute; top:14px; right:0; font-size:24px; text-decoration:none; color:var(--color-text-soft); }
.aurra-mini-cart .quantity { display:block; font-size:13px; color:var(--color-text-soft); margin-top:8px; }
.aurra-mini-cart .total { display:flex; justify-content:space-between; margin:24px 0; }
.aurra-mini-cart .buttons { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.aurra-mini-cart .button { padding:12px; background:var(--color-brand); color:#fff; text-decoration:none; text-align:center; border-radius:var(--radius-sm); }
.aurra-mini-cart .woocommerce-mini-cart__empty-message { text-align:center; padding:40px 0; color:var(--color-text-soft); }
.product-card__quick-shop .added_to_cart, .story-card__overlay > .added_to_cart { display:none; }
@media (hover:none), (max-width:768px) { .product-card__quick-shop { transform:translateY(0); opacity:1; visibility:visible; } }
.product-card__rating > span:first-child { display:flex; gap:2px; }
.product-card__rating { display:flex; align-items:center; gap:6px; }
.product-card__swatches { position:relative; z-index:2; }
.aurra-extra-shades { font-size:11px; align-self:center; color:var(--color-text-muted); }
.hero > .container { min-width:0; }
@media (max-width:480px) {
 .nav__top { height:64px; display:grid; grid-template-columns:36px minmax(0,1fr) 76px; gap:6px; }
 .nav__top-left, .nav__top-right { min-width:0; }
 .nav__logo { justify-self:center; font-size:clamp(21px,6vw,28px); }
 .nav__action-btn { width:32px; height:36px; }
 .hero__title { font-size:clamp(40px,11.5vw,56px); }
 .hero__eyebrow { gap:8px; font-size:9px; letter-spacing:.12em; }
 .hero__eyebrow-line { width:18px; }
}
/* The shop uses the original storefront grid, without WooCommerce's float-based loop. */
.aurra-shop .shop-main, .aurra-shop .shop-grid { min-width:0; }
.aurra-shop .shop-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.aurra-shop .product-card__image-wrap { flex:none; aspect-ratio:3/4; }
.aurra-shop .product-card__img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; max-width:100%; }
.aurra-shop .product-card__body { flex:1; }
.aurra-shop .product-card__name { overflow-wrap:anywhere; }
.aurra-shop [hidden] { display:none!important; }
.aurra-shop .product-card:focus-within .product-card__quick-shop { transform:translateY(0); opacity:1; }
.aurra-shop .filter-checkbox { position:relative; align-items:flex-start; }
.aurra-shop .filter-checkbox input { display:block; position:absolute; width:1px; height:1px; opacity:0; }
.aurra-shop .filter-checkbox input:focus-visible + .filter-checkbox__box { outline:2px solid var(--color-brand); outline-offset:3px; }
.aurra-shop .filter-checkbox__box { margin-top:2px; }
.aurra-shop .shop-sidebar { max-height:calc(100vh - var(--nav-height) - 100px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--color-border-strong) transparent; padding-right:4px; }
.filter-drawer.is-open .shop-sidebar { display:block; position:static; max-height:none; overflow:visible; }
.filter-drawer { width:min(340px,90vw); }
.aurra-shop .filter-drawer .shop-sidebar__title { display:none; }
.aurra-shop .filter-drawer .shop-sidebar__header { justify-content:flex-end; }
.admin-bar .aurra-shop .shop-sidebar { top:calc(var(--nav-height) + 109px); }
@media (max-width:960px) { .aurra-shop .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* Original bag drawer: scrolling items above a pinned checkout summary. */
.cart-drawer__body { padding:0; overflow:hidden; min-height:0; gap:0; }
.aurra-mini-cart { display:flex; flex-direction:column; flex:1; min-height:0; }
.aurra-bag-items { flex:1; overflow-y:auto; padding:16px 24px; min-height:0; }
.aurra-mini-cart .cart-item__img { display:block; }
.aurra-mini-cart .cart-item__img img { float:none; margin:0; width:100%; height:100%; object-fit:cover; border-radius:0; }
.aurra-mini-cart .cart-item__name { font-family:var(--font-sans); font-size:14px; line-height:1.4; font-weight:500; }
.aurra-mini-cart .cart-item__remove { font-size:20px; line-height:1; }
.aurra-mini-cart .cart-item + .cart-item { margin-top:16px; }
.aurra-mini-cart .cart-item__shade dl { margin:0; display:flex; gap:4px; flex-wrap:wrap; }
.aurra-mini-cart .cart-item__shade dd, .aurra-mini-cart .cart-item__shade p { margin:0; }
.aurra-mini-cart .cart-item__qty-btn:disabled { opacity:.35; cursor:not-allowed; }
.aurra-bag-checkout { display:flex; align-items:center; justify-content:center; min-height:50px; border-radius:999px; background:var(--color-text); color:white; text-decoration:none; font-weight:600; font-size:14px; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 6px 20px rgba(44,26,26,.15); }
.aurra-bag-checkout:hover { background:var(--color-text-soft); color:white; }
.aurra-mini-cart .cart-drawer__footer { padding-bottom:calc(20px + env(safe-area-inset-bottom)); }
.aurra-bag-status { padding:0 24px; font-size:13px; color:var(--color-text-soft); }
.aurra-bag-status:empty { display:none; }
.cart-drawer [aria-busy=true] { opacity:.65; }
.cart-drawer :focus-visible { outline:2px solid var(--color-brand); outline-offset:3px; }
.admin-bar .cart-drawer { top:32px; height:calc(100% - 32px); }
@media(max-width:782px) { .admin-bar .cart-drawer { top:46px; height:calc(100% - 46px); } }
.cart-drawer h2.cart-drawer__title { font-weight:300; }
/* Full cart retains the original storefront's page and order summary. */
.aurra-cart-page .page-hero__title { font-weight:300; font-size:var(--text-3xl); }
.aurra-cart-page .cart-summary__title { font-weight:300; }
.aurra-cart-page .aurra-bag-items { padding:0; overflow:visible; }
.aurra-cart-page .cart-item { position:relative; padding:24px 0; gap:20px; }
.aurra-cart-page .cart-item__img { width:100px; height:120px; border-radius:16px; }
.aurra-cart-page .cart-item__info { display:flex; flex-direction:column; align-self:stretch; padding-right:18px; }
.aurra-cart-page .cart-item__name { font-family:var(--font-serif); font-size:18px; }
.aurra-cart-page .cart-item__row { margin-top:auto; padding-top:12px; }
.aurra-cart-page .cart-item__qty { padding:9px 8px; }
.aurra-cart-page .cart-item__price { font-family:var(--font-serif); font-size:24px; font-weight:400; }
.aurra-cart-page .cart-item__remove { position:absolute; top:24px; right:0; font-size:20px; }
.aurra-cart-page .promo-input { min-width:0; width:100%; }
.aurra-cart-page .shipping-progress__text { margin:0; display:flex; gap:8px; align-items:center; }
.aurra-cart-page .aurra-cart-checkout { display:flex; text-decoration:none; margin-top:20px; }
.aurra-cart-page .aurra-cart-status { font-size:14px; padding:12px 0; }
.aurra-cart-page .aurra-cart-status:empty { display:none; }
.aurra-cart-page [aria-busy=true] { opacity:.65; }
.aurra-cart-page .product-card__img { height:100%; width:100%; object-fit:cover; }
.aurra-cart-page .aurra-remove-coupon { color:inherit; padding:0 6px; }
.aurra-cart-page :focus-visible { outline:2px solid var(--color-brand); outline-offset:3px; }
@media(max-width:800px) { .aurra-cart-page .cart-layout { grid-template-columns:minmax(0,1fr); gap:28px; } .aurra-cart-page .cart-summary { position:static; } }
@media(max-width:480px) { .aurra-cart-page .cart-item { gap:14px; } .aurra-cart-page .cart-item__img { width:76px; height:100px; } .aurra-cart-page .cart-item__name { font-size:17px; } .aurra-cart-page .cart-item__price { font-size:20px; } }
/* Consistent product frames retain the complete image at its original proportions. */
.product-card__image-wrap { aspect-ratio:3/4; background:var(--color-surface); }
.product-card .product-card__img,
.aurra-shop .product-card__img,
.aurra-cart-page .product-card__img { width:100%; height:100%; object-fit:contain; object-position:center; background:var(--color-surface); }
.story-card__placeholder img { object-fit:contain; object-position:center; background:var(--color-surface); }
.aurra-mini-cart .cart-item__img img,
.aurra-cart-page .cart-item__img img,
.story-card__thumb,
.search-result-thumb { object-fit:contain; object-position:center; background:var(--color-surface); }
.aurra-checkout-page .wc-block-components-order-summary-item__image img { object-fit:contain; object-position:center; background:var(--color-surface); }

/* Reserve three title lines so product prices stay aligned across each row. */
.product-card .product-card__name {
 display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
 line-clamp: 3;
 line-height: 1.4;
 height: 4.2em;
 overflow: hidden;
}
.product-card .product-card__price { margin-top: auto; }

/* Product pagination follows the storefront palette and remains usable on mobile. */
.aurra-pagination { margin-top:40px; }
.aurra-pagination ul.page-numbers { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; padding:0; margin:0; }
.aurra-pagination .page-numbers li { margin:0; }
.aurra-pagination a.page-numbers,
.aurra-pagination span.page-numbers { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 14px; border:1px solid var(--color-border); border-radius:8px; color:var(--color-text); text-decoration:none; font-family:var(--font-sans); }
.aurra-pagination .page-numbers.current { background:var(--color-brand); border-color:var(--color-brand); color:#fff; }
.aurra-pagination a.page-numbers:hover { background:var(--color-surface); border-color:var(--color-brand); }
.aurra-pagination a:focus-visible { outline:2px solid var(--color-brand); outline-offset:3px; }
.aurra-shop .shop-empty[hidden] { display:none; }
