/* Weekend Warehouse – Site Tweaks. Uses the interim brand's --ww-* tokens (with fallbacks). */

/* ---------- Grand opening bar (all screen sizes) ---------- */
.ww-gobar { background: var(--ww-accent, #FFC000); color: var(--ww-ink, #111228); font-size: 14px; line-height: 1.35; text-align: center; padding: 8px 16px; position: relative; z-index: 20; }
.ww-gobar strong { font-weight: 700; }
.ww-gobar__count, .ww-gobar__hrs { white-space: nowrap; }
.ww-gobar__sep { opacity: .55; margin: 0 2px; }
.ww-gobar__link { color: var(--ww-ink, #111228) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 600px) { .ww-gobar { font-size: 13px; padding: 7px 12px; } .ww-gobar__more { display: none; } }

/* The theme fixes its sticky header at the height of everything above it when the page loaded, which
   includes this bar, leaving a gap above the stuck header. While the bar is on the page, stick to the top
   (below the admin bar for logged-in staff; on small phones the admin bar scrolls away). */
body:has([data-ww-gobar]) .base-sticky-header.item-is-fixed { top: var(--wp-admin--admin-bar--height, 0px) !important; }
@media (max-width: 600px) { body.admin-bar:has([data-ww-gobar]) .base-sticky-header.item-is-fixed { top: 0 !important; } }

/* Opening day row in the hours table */
.wwr-hours li.ww-hours-opening em { font-style: normal; font-size: .8em; font-weight: 700; background: var(--ww-accent, #FFC000); color: var(--ww-ink, #111228); border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }

/* Empty theme slot */
.ww-empty { display: none; }

/* Home: "Shop by department" tiles (in place of "Popular") */
.ww-dtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (min-width: 700px) { .ww-dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .ww-dtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ww-dtiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ww-dtile { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; background: #fff; border: 1px solid var(--ww-border, #E4E2DC); border-radius: 10px; box-shadow: 0 1px 2px rgba(17,18,40,.05); color: var(--ww-ink, #111228) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.ww-dtile:hover, .ww-dtile:focus-visible { border-color: var(--ww-ink, #111228); box-shadow: 0 4px 14px rgba(17,18,40,.10); }
.ww-dtile__ico { flex: none; width: 40px; height: 40px; }
.ww-dtile__b { stroke: var(--ww-ink, #111228); }
.ww-dtile__a { stroke: var(--ww-accent-hover, #E6AD00); }
.ww-dtile__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
@media (max-width: 480px) { .ww-dtile { gap: 10px; padding: 10px 12px; min-height: 64px; } .ww-dtile__ico { width: 32px; height: 32px; } .ww-dtile__name { font-size: 14px; } }

/* ---------- New Arrival Alerts page ---------- */
.ww-alerts { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 8px 0 40px; color: var(--ww-ink, #111228); }
@media (min-width: 900px) { .ww-alerts { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; } }
.ww-alerts__intro { background: var(--ww-ink, #111228); color: #fff; border-radius: 12px; padding: 28px 26px; }
.ww-alerts__kicker { color: var(--ww-accent, #FFC000) !important; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.ww-alerts__title { color: #fff !important; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 18px; }
.ww-alerts__points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.ww-alerts__points li { position: relative; padding-left: 28px; color: rgba(255,255,255,.86); line-height: 1.5; }
.ww-alerts__points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ww-accent, #FFC000) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23111228' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ww-alerts__points strong { color: #fff; }
.ww-alerts__note { font-size: 14px; color: rgba(255,255,255,.7) !important; margin: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; }

.ww-alerts__form { background: #fff; border: 1px solid var(--ww-border, #E4E2DC); border-radius: 12px; padding: 24px; }
@media (max-width: 600px) { .ww-alerts__form { padding: 18px 16px; } .ww-alerts__intro { padding: 22px 18px; } }
.ww-alerts__fields { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
@media (min-width: 600px) { .ww-alerts__fields { grid-template-columns: 1fr 1fr; } .ww-alerts__field--wide { grid-column: 1 / -1; } }
.ww-alerts__field { margin: 0; display: grid; gap: 6px; }
.ww-alerts__field label, .ww-alerts__brand label, .ww-alerts__interests legend { font-weight: 600; font-size: 15px; }
.ww-alerts__field label span, .ww-alerts__brand label span { font-weight: 400; color: var(--ww-ink-soft, #4A4B5E); }
.ww-alerts__field small { color: var(--ww-ink-soft, #4A4B5E); font-size: 13px; }
.ww-alerts input[type=text], .ww-alerts input[type=email], .ww-alerts input[type=tel], .ww-alerts select { width: 100%; min-height: 46px; border: 1px solid #c9ccd3; border-radius: 8px; padding: 10px 12px; font-size: 16px; background: #fff; color: inherit; box-sizing: border-box; }
.ww-alerts input:focus, .ww-alerts select:focus { outline: 2px solid var(--ww-accent, #FFC000); outline-offset: 1px; border-color: var(--ww-ink, #111228); }

.ww-alerts__interests { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ww-alerts__interests legend { margin-bottom: 10px; padding: 0; }
.ww-alerts__all { display: flex; gap: 10px; align-items: center; border: 2px solid var(--ww-ink, #111228); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.ww-alerts__all:has(input:not(:checked)) { border-color: #c9ccd3; }
.ww-alerts__or { margin: 14px 0 8px; font-size: 14px; color: var(--ww-ink-soft, #4A4B5E); }
.ww-alerts__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .ww-alerts__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ww-alerts__chip { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #d5d8de; border-radius: 8px; padding: 9px 10px; font-size: 14px; line-height: 1.3; cursor: pointer; background: #fff; min-width: 0; }
.ww-alerts__chip span { overflow-wrap: anywhere; }
.ww-alerts__chip:has(input:checked) { background: var(--ww-ink, #111228); border-color: var(--ww-ink, #111228); color: #fff; }
.ww-alerts__chip input, .ww-alerts__all input, .ww-alerts__consent input { accent-color: var(--ww-accent, #FFC000); width: 18px; height: 18px; flex: none; margin: 1px 0 0; }
.ww-alerts__brand { margin: 16px 0 0; display: grid; gap: 6px; max-width: 320px; }
.ww-alerts__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 0 0 16px; cursor: pointer; }
.ww-alerts__btn, .ww-pop__btn { display: block; width: 100%; min-height: 50px; border: 0; border-radius: 8px; background: var(--ww-accent, #FFC000); color: var(--ww-ink, #111228); font-weight: 700; font-size: 16px; cursor: pointer; }
.ww-alerts__btn:hover, .ww-pop__btn:hover { background: var(--ww-accent-hover, #E6AD00); }
.ww-alerts__btn[disabled], .ww-pop__btn[disabled] { opacity: .6; cursor: wait; }
.ww-alerts .ww-form-msg, .ww-pop .ww-form-msg { margin-top: 12px; font-weight: 600; }
.ww-alerts .ww-form-msg:empty, .ww-pop .ww-form-msg:empty { display: none; }
.ww-alerts .ww-form-msg[data-state=ok], .ww-pop .ww-form-msg[data-state=ok] { color: var(--ww-success, #1D7A46); }
.ww-alerts .ww-form-msg[data-state=error], .ww-pop .ww-form-msg[data-state=error] { color: var(--ww-danger, #B3261E); }
.ww-alerts__small { font-size: 13px; color: var(--ww-ink-soft, #4A4B5E); margin: 12px 0 0; }
.ww-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Exit-intent pop-up ---------- */
.ww-pop[hidden] { display: none !important; }
.ww-pop { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ww-pop__backdrop { position: absolute; inset: 0; background: rgba(17, 18, 40, .62); }
.ww-pop__card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: ww-pop-in .22s ease-out; }
@media (prefers-reduced-motion: reduce) { .ww-pop__card { animation: none; } }
@keyframes ww-pop-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.ww-pop__head { background: var(--ww-ink, #111228); color: #fff; padding: 26px 24px 20px; }
.ww-pop__kicker { color: var(--ww-accent, #FFC000) !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.ww-pop__head h2 { color: #fff !important; font-size: 23px; line-height: 1.2; margin: 0 0 8px; }
.ww-pop__head p { color: rgba(255,255,255,.82) !important; margin: 0; font-size: 15px; line-height: 1.45; }
.ww-pop__form { padding: 20px 24px 22px; display: grid; gap: 10px; }
.ww-pop__form input[type=text], .ww-pop__form input[type=email] { width: 100%; min-height: 46px; border: 1px solid #c9ccd3; border-radius: 8px; padding: 10px 12px; font-size: 16px; box-sizing: border-box; }
.ww-pop__form input:focus { outline: 2px solid var(--ww-accent, #FFC000); outline-offset: 1px; }
.ww-pop__small { font-size: 12.5px; color: var(--ww-ink-soft, #4A4B5E); margin: 2px 0 0; line-height: 1.45; }
.ww-pop__small a { color: var(--ww-ink, #111228); }
.ww-pop__x { position: absolute; top: 8px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
.ww-pop__x:hover, .ww-pop__x:focus { background: rgba(255,255,255,.25); }
html.ww-pop-open { overflow: hidden; }

/* ---------- Cookie notice: slim bottom bar (the theme's box covered the checkout button on phones) ---------- */
.cookie-popup .drawer-inner.float_right { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: auto !important; max-width: none !important; height: auto !important; border-radius: 0 !important; background: #fff !important; box-shadow: 0 -4px 18px rgba(0,0,0,.12) !important; border-top: 1px solid var(--ww-border, #E4E2DC); }
.cookie-popup .drawer-content { display: flex !important; align-items: center; gap: 10px 16px; width: 100% !important; max-width: 1200px; margin: 0 auto; padding: 10px 16px !important; box-sizing: border-box; }
.cookie-popup .popup-container { flex: 1 1 auto; width: auto !important; min-width: 0; }
.cookie-popup .popup-container h6 { display: none !important; }
.cookie-popup .popup-container p { margin: 0 !important; font-size: 13px !important; line-height: 1.4 !important; color: var(--ww-ink, #111228); }
.cookie-popup .popup-container p a { color: var(--ww-ink, #111228) !important; text-decoration: underline; }
.cookie-popup .popup-toggle-close { flex: none; width: auto !important; margin: 0 !important; padding: 8px 12px !important; font-size: 12.5px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; border-radius: 6px !important; white-space: nowrap; }
body:has(.cookie-popup.show-drawer) .ww-wa-float { bottom: 88px !important; }
body:has(.cookie-popup.show-drawer) { padding-bottom: 72px; }

/* Shop list view (grid/list toggle). ww-core forces a 3-4 column grid (and full-width card buttons) with !important,
   which squeezed the theme's list rows into grid cells: one product per row instead, photo left, details right,
   rows divided by a rule (cards are borderless in the grid too). */
html body.ww-redesign ul.products.grid-cols.products-list-view { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; row-gap: 0 !important; }
html body.ww-redesign ul.products.products-list-view li.product.product {
	display: grid !important; grid-template-columns: 220px minmax(0, 1fr) !important; align-items: center !important; height: auto;
	padding: 20px 0 !important; border-bottom: 1px solid var(--wwr-line, #e4e6ee) !important;
}
html body.ww-redesign ul.products.products-list-view li.product.product:first-child { padding-top: 0 !important; }
html body.ww-redesign ul.products.products-list-view li.product .product-thumbnail { width: auto !important; max-width: none !important; border-radius: 8px; overflow: hidden; }
html body.ww-redesign ul.products.products-list-view li.product .product-thumbnail a.woocommerce-loop-image-link { padding: 14px; }
html body.ww-redesign ul.products.products-list-view li.product .product-details {
	justify-content: center; gap: 6px; padding: 0 0 0 28px !important; transform: none !important;
}
html body.ww-redesign ul.products.products-list-view li.product .woocommerce-loop-product__title { font-size: 17px !important; }
html body.ww-redesign ul.products.products-list-view li.product .woocommerce-loop-product__title a { min-height: 0; }
html body.ww-redesign ul.products.products-list-view li.product .product-details .product-action-wrap { margin-top: 8px !important; padding-top: 0 !important; width: auto; }
html body.ww-redesign ul.products.products-list-view li.product.product .product-action-wrap a.button,
html body.ww-redesign ul.products.products-list-view li.product.product .product-action-wrap .button { display: inline-flex !important; width: auto !important; min-width: 200px; }
@media (max-width: 575px) {
	html body.ww-redesign ul.products.products-list-view li.product.product { grid-template-columns: 110px minmax(0, 1fr) !important; padding: 14px 0 !important; }
	html body.ww-redesign ul.products.products-list-view li.product .product-thumbnail a.woocommerce-loop-image-link { padding: 6px; }
	html body.ww-redesign ul.products.products-list-view li.product .product-details { padding: 0 0 0 14px !important; gap: 4px; }
	html body.ww-redesign ul.products.products-list-view li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	html body.ww-redesign ul.products.products-list-view li.product .price { font-size: 20px !important; }
	html body.ww-redesign ul.products.products-list-view li.product.product .product-action-wrap a.button,
	html body.ww-redesign ul.products.products-list-view li.product.product .product-action-wrap .button { width: 100% !important; min-width: 0; min-height: 40px; }
}
