/* ==========================================================================
   QCH STORE (v3.0.0): cards, shop filters, product page, slider, cart/checkout
   Loaded last, so it overrides older rules where needed.
   ========================================================================== */

/* ---------- Buttons ---------- */
.qs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; min-height: 42px; padding: 10px 16px;
	border: 1px solid var(--accent); border-radius: 0;
	background: transparent; color: var(--accent);
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.qs-btn-primary { background: var(--accent); color: #fff; }
.qs-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.qs-btn-outline:hover { background: var(--accent); color: #fff; }
.qs-btn-disabled { border-color: var(--line); color: #a89c9f; background: color-mix(in srgb, #f5efe9 var(--warmth), var(--neutral)); cursor: not-allowed; }
.qs-btn.is-loading { opacity: .7; pointer-events: none; }
.qs-btn.is-added { background: #2f7d4f; border-color: #2f7d4f; color: #fff; }
.qs-center { text-align: center; margin-top: 44px; }

/* ---------- Product card ---------- */
.qs-grid { display: grid; gap: 28px 24px; }
.qs-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.qs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s ease, transform .25s ease; height: 100%; }
.qs-card:hover { box-shadow: 0 14px 34px rgba(51, 41, 43, .1); transform: translateY(-3px); }
.qs-card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, #eee5de var(--warmth), var(--neutral)); }
.qs-card-media img, .qs-card-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s ease; }
.qs-card:hover .qs-card-img { transform: scale(1.05); }
.qs-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	padding: 5px 9px; background: var(--accent); color: #fff;
	font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.qs-card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 16px 18px; }
.qs-card-cat { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.qs-card-title { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.qs-card-title:hover { color: var(--accent); }
.qs-card-price { margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--ink); }
.qs-card-price del, .qs-price del { margin-right: 6px; color: #9d8e8e; font-size: 13px; font-weight: 400; }
.qs-card-price ins, .qs-price ins { text-decoration: none; color: var(--accent); }
.qs-card-actions { margin-top: auto; padding-top: 12px; }

/* ---------- Homepage: tabs ---------- */
.qs-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 30px; }
.qs-tab { padding: 10px 20px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: all .2s ease; }
.qs-tab:hover { border-color: var(--accent); color: var(--accent); }
.qs-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.qs-panel { display: none; }
.qs-panel.is-active { display: grid; animation: qs-fade .35s ease; }
@keyframes qs-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Homepage: trending slider ---------- */
.qs-trending { background: color-mix(in srgb, #f1e9e2 var(--warmth), var(--neutral)); }
.qs-slider-nav { display: flex; gap: 10px; }
.qs-slider-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 18px; transition: all .2s ease; }
.qs-slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.qs-slider-viewport { overflow: hidden; margin: 0 -12px; padding: 6px 0 14px; }
.qs-slider-track { display: flex; will-change: transform; }
.qs-slide { flex: 0 0 50%; max-width: 50%; padding: 0 12px; }
.qs-slide .qs-card-media { aspect-ratio: 4 / 4.6; }

/* ---------- Shop page ---------- */
.qs-shop-page { padding-top: 28px; padding-bottom: 20px; }
.qs-shop-hero { text-align: center; padding: 18px 0 38px; }
.qs-shop-hero h1 { margin: 10px 0 10px; font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.qs-shop-hero p { max-width: 520px; margin: 0 auto; color: var(--muted); font-size: 15px; }

.qs-shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 70px; }
.qs-filters { position: sticky; top: 98px; background: #fff; border: 1px solid var(--line); padding: 26px 24px; }
.qs-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.qs-filters-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.qs-filters-close { display: none; width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; }
.qs-filter-block { padding: 18px 0; border-top: 1px solid var(--line); }
.qs-filters-head + .qs-filter-block { margin-top: 14px; }
.qs-filter-block h3 { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

.qs-filter-search { display: flex; border: 1px solid var(--line); background: var(--canvas); }
.qs-filter-search input { flex: 1; min-width: 0; padding: 11px 12px; border: 0; background: transparent; font-size: 13px; outline: none; }
.qs-filter-search button { width: 42px; border: 0; background: var(--ink); color: #fff; font-size: 17px; }
.qs-filter-search button:hover { background: var(--accent); }

.qs-filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.qs-filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; font-size: 14px; color: var(--ink); transition: background .2s ease, color .2s ease; }
.qs-filter-list a:hover { background: color-mix(in srgb, #f7f0ea var(--warmth), var(--neutral)); color: var(--accent); }
.qs-filter-list a.is-active { background: var(--accent); color: #fff; font-weight: 700; }
.qs-filter-list em { font-style: normal; font-size: 11px; font-weight: 700; opacity: .75; }
.qs-filter-radio a { justify-content: flex-start; }
.qs-filter-radio i { width: 14px; height: 14px; border: 1.5px solid #bdaeb0; border-radius: 50%; flex: 0 0 14px; }
.qs-filter-radio a.is-active { background: transparent; color: var(--accent); }
.qs-filter-radio a.is-active i { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.qs-filters-note { margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; font-family: var(--serif); font-style: italic; }
.qs-filters-note span { color: var(--accent); font-style: normal; }
.qs-filters-backdrop { display: none; }

.qs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.qs-count { margin: 0; color: var(--muted); font-size: 13px; }
.qs-filter-toggle { display: none; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--ink); background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.qs-sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.qs-sort label { color: var(--muted); font-size: 12px; }
.qs-sort select { padding: 9px 30px 9px 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); }

.qs-pagination { margin-top: 40px; text-align: center; }
.qs-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; margin: 0 3px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.qs-pagination .page-numbers.current, .qs-pagination .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.qs-empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); background: #fff; }
.qs-empty h2 { margin: 6px 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.qs-empty p { color: var(--muted); margin: 0 0 18px; }
.qs-empty .qs-btn { width: auto; display: inline-flex; }
.qs-empty-mark { color: var(--accent); font-size: 28px; }
.qs-custom-note { margin: 44px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.qs-custom-note span { color: var(--accent); }
.qs-custom-note a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product detail page ---------- */
.qs-product-page { padding-top: 28px; }
.qs-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 50px; }
.qs-gallery { position: sticky; top: 98px; }
.qs-gallery-main { position: relative; background: color-mix(in srgb, #eee5de var(--warmth), var(--neutral)); aspect-ratio: 4 / 5; overflow: hidden; }
.qs-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.qs-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.qs-thumb { width: 78px; height: 96px; padding: 0; border: 2px solid transparent; background: color-mix(in srgb, #eee5de var(--warmth), var(--neutral)); overflow: hidden; opacity: .7; transition: all .2s ease; }
.qs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qs-thumb:hover, .qs-thumb.is-active { opacity: 1; border-color: var(--accent); }

.qs-summary-cat { display: inline-block; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.qs-title { margin: 10px 0 12px; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.qs-price { font-size: 26px; font-weight: 700; color: var(--accent); }
.qs-price del { font-size: 17px; }
.qs-stock-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 14px 0 20px; font-size: 13px; }
.qs-stock { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.qs-stock:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.qs-stock-in { color: #2f7d4f; }
.qs-stock-low { color: #c46a00; }
.qs-stock-out { color: #b3261e; }
.qs-sku { color: var(--muted); }

.qs-bullets { margin: 0 0 24px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.qs-bullets p { margin: 0 0 8px; }
.qs-bullets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.qs-bullets li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.65; color: #4d4245; }
.qs-bullets li:before { content: "✳"; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px; line-height: 1.9; }

.qs-buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 18px; }
.qs-buy .quantity { display: inline-flex; }
.qs-buy .quantity input.qty { width: 74px; height: 52px; padding: 0 8px; border: 1px solid var(--line); background: #fff; text-align: center; font-size: 15px; font-weight: 700; }
.qs-buy .single_add_to_cart_button, .qs-buy button.button.alt {
	flex: 1 1 200px; min-height: 52px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 0;
	background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	transition: background .2s ease;
}
.qs-buy .single_add_to_cart_button:hover { background: var(--accent-dark); }
.qs-buy .single-wa-order-btn, .single-wa-order-btn {
	display: inline-flex; align-items: center; justify-content: center; flex: 1 1 100%; min-height: 50px; margin: 0 !important; padding: 0 22px;
	border: 1px solid #25d366; background: #fff; color: #128c4a; font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.qs-buy .single-wa-order-btn:hover { background: #25d366; color: #fff; }
.qs-buy table.variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.qs-buy table.variations td, .qs-buy table.variations th { padding: 6px 0; text-align: left; }
.qs-buy table.variations select { width: 100%; padding: 11px; border: 1px solid var(--line); background: #fff; }
.qs-buy .stock { display: none; }

.qs-assurance { list-style: none; margin: 0 0 18px; padding: 16px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--line); font-size: 13px; color: #5d5154; }
.qs-assurance span { color: var(--accent); margin-right: 6px; }
.qs-meta { margin: 0; color: var(--muted); font-size: 13px; }
.qs-meta a { color: var(--accent); font-weight: 600; }

.qs-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 44px 0 70px; border-top: 1px solid var(--line); }
.qs-details-col h2 { margin: 0 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.qs-prose { color: #4d4245; font-size: 15px; line-height: 1.85; }
.qs-prose p { margin: 0 0 14px; }
.qs-details details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.qs-details summary { display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; }
.qs-details summary::-webkit-details-marker { display: none; }
.qs-details summary span { color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.qs-details details[open] summary span { transform: rotate(45deg); }
.qs-details details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.qs-related { padding: 70px 0 90px; background: color-mix(in srgb, #fbf7f2 var(--warmth), var(--neutral)); border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.qs-toast {
	position: fixed; z-index: 9999; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 16px;
	padding: 14px 18px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
	box-shadow: 0 14px 34px rgba(0,0,0,.25); transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .3s ease;
}
.qs-toast a { color: #ffb48f; font-weight: 700; text-decoration: underline; }
.qs-toast.is-visible { transform: none; opacity: 1; pointer-events: auto; }

/* ---------- Header: seven buttons fit ---------- */
.header-nav ul.qch-menu { gap: clamp(14px, 1.8vw, 28px); }
.header-nav .current-menu-item > a { color: var(--accent); }

/* ---------- Cart & checkout (classic shortcodes) ---------- */
.qs-woo-page { max-width: 1240px; }
.qs-woo-page .wp-content { max-width: none; }
.qs-woo-page .woocommerce { font-size: 14px; }
.qs-woo-page .woocommerce-notices-wrapper .woocommerce-message,
.qs-woo-page .woocommerce-info,
.qs-woo-page .woocommerce-error { margin: 0 0 22px; padding: 14px 18px; list-style: none; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.qs-woo-page .woocommerce-message a.button { float: right; }

.qs-woo-page a.button, .qs-woo-page button.button, .qs-woo-page input.button, .qs-woo-page #place_order {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 0;
	background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .2s ease;
}
.qs-woo-page a.button:hover, .qs-woo-page button.button:hover, .qs-woo-page input.button:hover { background: var(--ink); color: #fff; }
.qs-woo-page a.checkout-button, .qs-woo-page #place_order, .qs-woo-page button.button.alt { background: var(--accent); border-color: var(--accent); color: #fff; width: 100%; min-height: 54px; }
.qs-woo-page a.checkout-button:hover, .qs-woo-page #place_order:hover, .qs-woo-page button.button.alt:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* Cart */
.qs-woo-page .woocommerce-cart-form table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.qs-woo-page table.shop_table th { padding: 14px 16px; background: color-mix(in srgb, #f7f0ea var(--warmth), var(--neutral)); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.qs-woo-page table.shop_table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.qs-woo-page td.product-thumbnail img { width: 82px; height: 102px; object-fit: cover; }
.qs-woo-page td.product-name a { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.qs-woo-page td.product-remove a.remove { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink) !important; font-size: 16px; }
.qs-woo-page td.product-remove a.remove:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.qs-woo-page .quantity input.qty { width: 68px; height: 42px; text-align: center; border: 1px solid var(--line); background: #fff; }
.qs-woo-page td.actions { background: color-mix(in srgb, #fbf7f2 var(--warmth), var(--neutral)); }
.qs-woo-page td.actions .coupon { float: left; display: flex; gap: 10px; }
.qs-woo-page td.actions .coupon input { height: 46px; padding: 0 14px; border: 1px solid var(--line); background: #fff; }
.qs-woo-page td.actions > button { float: right; }
.qs-woo-page .cart-collaterals { display: flex; justify-content: flex-end; margin-top: 30px; }
.qs-woo-page .cart_totals { width: min(440px, 100%); padding: 24px; background: #fff; border: 1px solid var(--line); }
.qs-woo-page .cart_totals h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.qs-woo-page .cart_totals table { width: 100%; border-collapse: collapse; }
.qs-woo-page .cart_totals th, .qs-woo-page .cart_totals td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; }
.qs-woo-page .cart_totals td { text-align: right; }
.qs-woo-page .wc-proceed-to-checkout { padding-top: 16px; }

/* Checkout */
.qs-woo-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: start; }
.qs-woo-page form.checkout #customer_details { grid-column: 1; }
.qs-woo-page form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.qs-woo-page form.checkout #order_review { grid-column: 2; grid-row: 1; margin-top: 52px; padding: 24px; background: #fff; border: 1px solid var(--line); position: sticky; top: 98px; }
.qs-woo-page form.checkout h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.qs-woo-page .col2-set .col-1, .qs-woo-page .col2-set .col-2 { float: none; width: 100%; }
.qs-woo-page .form-row { margin: 0 0 14px; }
.qs-woo-page .form-row label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.qs-woo-page .form-row input.input-text, .qs-woo-page .form-row textarea, .qs-woo-page .form-row select, .qs-woo-page .select2-container .select2-selection--single {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 14px;
}
.qs-woo-page .form-row input.input-text:focus, .qs-woo-page .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.qs-woo-page #payment { margin-top: 18px; background: transparent; }
.qs-woo-page #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.qs-woo-page #payment ul.payment_methods li { padding: 12px 0; border-top: 1px solid var(--line); }
.qs-woo-page #payment .payment_box { margin-top: 8px; padding: 12px 14px; background: color-mix(in srgb, #f7f0ea var(--warmth), var(--neutral)); font-size: 13px; }
.qs-woo-page #order_review table.shop_table { border: 0; }
.qs-woo-page #order_review table.shop_table th, .qs-woo-page #order_review table.shop_table td { padding: 12px 0; background: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.qs-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qs-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qs-shop { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
	.qs-product { gap: 36px; }
}

@media (max-width: 900px) {
	.qs-shop { grid-template-columns: minmax(0, 1fr); }
	.qs-filter-toggle { display: inline-flex; }
	.qs-filters {
		position: fixed; z-index: 1001; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); overflow-y: auto;
		transform: translateX(-102%); transition: transform .3s ease; border: 0;
	}
	.qs-filters.is-open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.3); }
	.qs-filters-close { display: inline-grid; place-items: center; }
	.qs-filters-backdrop { display: block; position: fixed; z-index: 1000; inset: 0; background: rgba(20,14,16,.5); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
	body.qs-filters-open .qs-filters-backdrop { opacity: 1; pointer-events: auto; }
	body.qs-filters-open { overflow: hidden; }
	.qs-product { grid-template-columns: minmax(0, 1fr); }
	.qs-gallery { position: static; }
	.qs-details { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.qs-woo-page form.checkout { grid-template-columns: minmax(0, 1fr); }
	.qs-woo-page form.checkout #order_review_heading, .qs-woo-page form.checkout #order_review { grid-column: 1; grid-row: auto; margin-top: 0; position: static; }
}

@media (max-width: 640px) {
	.qs-grid { gap: 18px 12px; }
	.qs-grid-4, .qs-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qs-card-body { padding: 12px 11px 14px; }
	.qs-card-title { font-size: 17px; }
	.qs-card-price { font-size: 13.5px; }
	.qs-btn { font-size: 10.5px; padding: 9px 8px; letter-spacing: .05em; }
	.qs-slide { padding: 0 6px; }
	.qs-slider-viewport { margin: 0 -6px; }
	.qs-toolbar { flex-wrap: wrap; }
	.qs-sort { margin-left: 0; width: 100%; }
	.qs-sort select { flex: 1; }
	.qs-woo-page td.actions .coupon { float: none; flex-wrap: wrap; margin-bottom: 10px; }
	.qs-woo-page td.actions > button { float: none; width: 100%; }
	.qs-woo-page table.shop_table_responsive tr td { display: block; text-align: right; }
	.qs-woo-page table.shop_table_responsive tr td:before { content: attr(data-title) ": "; float: left; font-weight: 700; }
	.qs-woo-page table.shop_table_responsive tr td.product-remove:before, .qs-woo-page table.shop_table_responsive tr td.product-thumbnail:before { display: none; }
	.qs-woo-page table.shop_table_responsive thead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.qs-slider-track { transition: none !important; }
}

/* ---------- Footer side padding (page-container padding was being overridden) ---------- */
.newsletter-inner, .footer-main, .footer-bottom { padding-left: 48px; padding-right: 48px; }
@media (max-width: 900px) { .newsletter-inner, .footer-main, .footer-bottom { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 640px) { .newsletter-inner, .footer-main, .footer-bottom { padding-left: 18px; padding-right: 18px; } }

/* ==========================================================================
   WooCommerce CSS guards (WooCommerce adds rules on /shop, product, cart and
   checkout pages that would otherwise change the logo, buttons and images)
   ========================================================================== */
.site-header .brand-logo .brand-logo-img,
.site-header .brand-logo img.custom-logo {
	height: 52px !important; width: auto !important; max-width: 180px !important;
	object-fit: contain !important; object-position: left center !important;
}
@media (max-width: 640px) {
	.site-header .brand-logo .brand-logo-img, .site-header .brand-logo img.custom-logo { height: 42px !important; max-width: 140px !important; }
}
.drawer-logo-link img { height: 44px !important; width: auto !important; max-width: none !important; }

/* Footer logo: same new logo as the header, on a clean light tile */
.footer-logo-link { display: inline-block; background: #fff; padding: 6px 10px; border-radius: 3px; line-height: 0; }
.footer-logo-link .footer-logo-img { display: block; height: 58px !important; width: auto !important; max-width: 160px !important; object-fit: contain; }

/* Theme buttons keep their own look even where WooCommerce styles a.button */
body a.button.button-primary, body .button.button-primary {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 12px;
	min-height: 48px; padding: 0 26px !important; line-height: 1.2 !important; border-radius: 2px !important;
	background: var(--accent) !important; border: 1px solid var(--accent) !important; color: #fff !important;
	font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
body a.button.button-primary:hover, body .button.button-primary:hover { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; }
body a.button.button-outline, body .button.button-outline {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 12px;
	min-height: 48px; padding: 0 26px !important; line-height: 1.2 !important; border-radius: 2px !important;
	background: transparent !important; border: 1px solid var(--accent) !important; color: var(--accent) !important;
	font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
body a.button.button-outline:hover, body .button.button-outline:hover { background: var(--accent) !important; color: #fff !important; }

/* Product and gallery images: WooCommerce sets img { height:auto } */
.qs-card .qs-card-media img, .qs-card .qs-card-img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center 20% !important; }
.qs-gallery .qs-gallery-main img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; }
.qs-gallery .qs-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.qs-woo-page td.product-thumbnail img { width: 82px !important; height: 102px !important; object-fit: cover !important; }

/* WooCommerce "alt" buttons default to purple: force the theme colour */
body .qs-buy form.cart .single_add_to_cart_button.button.alt,
body.woocommerce .qs-buy .single_add_to_cart_button {
	background: var(--accent) !important; border: 1px solid var(--accent) !important; color: #fff !important; border-radius: 0 !important;
	min-height: 52px; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase;
}
body .qs-buy form.cart .single_add_to_cart_button.button.alt:hover { background: var(--accent-dark) !important; }
body .qs-woo-page a.checkout-button.button.alt,
body .qs-woo-page #place_order.button.alt,
body .qs-woo-page button.button.alt {
	background: var(--accent) !important; border: 1px solid var(--accent) !important; color: #fff !important; border-radius: 0 !important;
}
body .qs-woo-page a.checkout-button.button.alt:hover, body .qs-woo-page #place_order.button.alt:hover { background: var(--accent-dark) !important; }
body .qs-woo-page a.button, body .qs-woo-page button.button { border-radius: 0 !important; }

/* ---------- Policy pages ---------- */
.qs-policy { padding-top: 28px; padding-bottom: 80px; }
.qs-policy-head { text-align: center; padding: 18px 0 30px; }
.qs-policy-head h1 { margin: 10px 0 10px; font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.qs-policy-head > p { margin: 0 auto 22px; max-width: 520px; color: var(--muted); font-size: 15px; }
.qs-policy-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.qs-policy-nav a { padding: 8px 16px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: all .2s ease; }
.qs-policy-nav a:hover { border-color: var(--accent); color: var(--accent); }
.qs-policy-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.qs-policy-body { max-width: 760px; margin: 18px auto 0; padding: 36px 40px; background: #fff; border: 1px solid var(--line); }
.qs-policy-body h2 { margin: 28px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.qs-policy-body h2:first-child { margin-top: 0; }
.qs-policy-body p { margin: 0 0 14px; color: #4d4245; font-size: 15.5px; line-height: 1.85; }
.qs-policy-body ul, .qs-policy-body ol { margin: 0 0 16px 20px; color: #4d4245; line-height: 1.8; }
.qs-policy-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.qs-policy-help { max-width: 760px; margin: 26px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; }
.qs-policy-help span { color: var(--accent); }
.qs-policy-help p { margin: 0; }
.qs-policy-help a { color: var(--accent); font-weight: 700; }
@media (max-width: 640px) { .qs-policy-body { padding: 24px 20px; } .qs-policy-body h2 { font-size: 24px; } }

/* ---------- Advance payment (checkout) ---------- */
.qs-advance { margin-top: 10px; }
.qs-advance-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.qs-advance-amounts > div { padding: 12px 14px; background: #fff; border: 1px solid var(--line); }
.qs-advance-amounts span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qs-advance-amounts strong { font-size: 18px; color: var(--accent); }
.qs-advance-accounts { margin-bottom: 14px; padding: 12px 14px; background: color-mix(in srgb, #fff7ee var(--warmth), var(--neutral)); border: 1px dashed var(--accent); font-size: 14px; line-height: 1.7; }
.qs-advance-accounts p { margin: 0; }
.qs-advance .form-row-first, .qs-advance .form-row-last { width: 48%; float: left; }
.qs-advance .form-row-last { float: right; }
.qs-advance .clear { clear: both; }
.qs-advance-note { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.qs-empty-admin { max-width: 520px; margin: 14px auto; padding: 12px 14px; background: color-mix(in srgb, #fff7ee var(--warmth), var(--neutral)); border: 1px dashed var(--accent); font-size: 13px; }
@media (max-width: 640px) { .qs-advance .form-row-first, .qs-advance .form-row-last { width: 100%; float: none; } }


/* ==========================================================================
   WAVES + SALE RIBBON (soft layered waves, percent seal badge)
   ========================================================================== */
.qs-wave { position: relative; display: block; width: 100%; height: clamp(46px, 6.5vw, 96px); overflow: hidden; pointer-events: none; }
.qs-wave-flip { transform: scaleY(-1); }
.hero-section .qs-wave-hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: clamp(50px, 7vw, 110px); }
/* Each layer is twice as wide as the box and slides by exactly half its width, so the loop never jumps.
   Deliberately NOT switched off by the reduced-motion setting: it is a slow decorative drift. */
.qs-wave-layer { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; max-width: none; will-change: transform; animation: qs-wave-run var(--qs-wave-speed, 20s) linear infinite; }
.qs-wave-layer.qs-wave-rev { animation-direction: reverse; }
@keyframes qs-wave-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.sale-ribbon { position: relative; margin: 0; padding: 0; background: transparent; overflow: hidden; }
.sale-ribbon .qs-wave { margin: 0; }
.sale-ribbon .qs-wave-ribbon-top { margin-bottom: -2px; }
.sale-ribbon .qs-wave-ribbon-bottom { margin-top: -2px; }
.sale-ribbon .sale-track { background: var(--accent); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.75); outline: 1px solid var(--accent); }
.sale-ribbon .sale-cell { gap: 18px; padding: 0 34px; }
.sale-ribbon .sale-cell b { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: .01em; }
.sale-ribbon .sale-badge {
	width: 52px; height: 52px; flex: 0 0 52px; border-radius: 0; transform: none;
	background: #fff; color: var(--accent); font-size: 26px; font-weight: 800;
	clip-path: polygon(50.0% 0.0%,59.1% 10.0%,71.7% 5.0%,75.6% 17.9%,89.1% 18.8%,86.9% 32.2%,98.7% 38.9%,91.0% 50.0%,98.7% 61.1%,86.9% 67.8%,89.1% 81.2%,75.6% 82.1%,71.7% 95.0%,59.1% 90.0%,50.0% 100.0%,40.9% 90.0%,28.3% 95.0%,24.4% 82.1%,10.9% 81.2%,13.1% 67.8%,1.3% 61.1%,9.0% 50.0%,1.3% 38.9%,13.1% 32.2%,10.9% 18.8%,24.4% 17.9%,28.3% 5.0%,40.9% 10.0%);
}
@media (max-width: 640px) {
	.sale-ribbon .sale-track { padding: 14px 0; }
	.sale-ribbon .sale-badge { width: 40px; height: 40px; flex-basis: 40px; font-size: 20px; }
	.sale-ribbon .sale-cell { padding: 0 20px; gap: 12px; }
}

/* ==========================================================================
   SCROLL REVEAL (only active when JS is running; see assets/js/motion.js)
   ========================================================================== */
html.qs-js [data-qs-reveal] {
	opacity: 0;
	transform: translate3d(0, 34px, 0);
	transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
	will-change: opacity, transform;
}
html.qs-js [data-qs-reveal].qs-in { opacity: 1; transform: none; will-change: auto; }

/* soft stagger inside grids and rows */
html.qs-js .qs-grid > [data-qs-reveal]:nth-child(2), html.qs-js .review-grid > [data-qs-reveal]:nth-child(2), html.qs-js .promise-inner > [data-qs-reveal]:nth-child(2), html.qs-js .footer-column:nth-child(2) { transition-delay: .08s; }
html.qs-js .qs-grid > [data-qs-reveal]:nth-child(3), html.qs-js .review-grid > [data-qs-reveal]:nth-child(3), html.qs-js .promise-inner > [data-qs-reveal]:nth-child(3), html.qs-js .footer-column:nth-child(3) { transition-delay: .16s; }
html.qs-js .qs-grid > [data-qs-reveal]:nth-child(4), html.qs-js .review-grid > [data-qs-reveal]:nth-child(4), html.qs-js .promise-inner > [data-qs-reveal]:nth-child(4), html.qs-js .footer-column:nth-child(4) { transition-delay: .24s; }

/* side reveals for the two-column blocks */
html.qs-js .story-image-wrap[data-qs-reveal], html.qs-js .editorial-image[data-qs-reveal], html.qs-js .qs-gallery[data-qs-reveal] { transform: translate3d(-34px, 0, 0); }
html.qs-js .story-copy[data-qs-reveal], html.qs-js .editorial-text-inner[data-qs-reveal], html.qs-js .qs-summary[data-qs-reveal] { transform: translate3d(34px, 0, 0); }
html.qs-js .story-image-wrap[data-qs-reveal].qs-in, html.qs-js .editorial-image[data-qs-reveal].qs-in, html.qs-js .qs-gallery[data-qs-reveal].qs-in,
html.qs-js .story-copy[data-qs-reveal].qs-in, html.qs-js .editorial-text-inner[data-qs-reveal].qs-in, html.qs-js .qs-summary[data-qs-reveal].qs-in { transform: none; }

/* safety net: if the script never starts, nothing stays hidden */
html.qs-js:not(.qs-ready) [data-qs-reveal] { opacity: 1; transform: none; }
html.qs-no-motion [data-qs-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* hero entrance on page load */
@media (prefers-reduced-motion: no-preference) {
	html.qs-js .hero-copy > * { animation: qs-hero-in .9s cubic-bezier(.22, .61, .36, 1) both; }
	html.qs-js .hero-copy > *:nth-child(2) { animation-delay: .1s; }
	html.qs-js .hero-copy > *:nth-child(3) { animation-delay: .2s; }
	html.qs-js .hero-copy > *:nth-child(4) { animation-delay: .3s; }
	html.qs-js .hero-copy > *:nth-child(5) { animation-delay: .4s; }
}
@keyframes qs-hero-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   WHITE + BLACK SCHEME: fixes for spots that sit on dark surfaces
   (the accent is black here, so it needs a light counterpart on dark areas)
   ========================================================================== */
.scheme-mono .footer-newsletter .button.button-primary,
.scheme-mono .footer-newsletter a.button.button-primary { background: #fff !important; border-color: #fff !important; color: #111 !important; }
.scheme-mono .footer-newsletter .button.button-primary:hover { background: #e9e9e9 !important; border-color: #e9e9e9 !important; }
.scheme-mono .site-footer h3, .scheme-mono .eyebrow.light { color: #fff; }
.scheme-mono .qs-toast a { color: #fff; }
.scheme-mono ::selection { background: #111; color: #fff; }
.scheme-mono .qs-wave-hero { color: #fff; }

/* hero wave flows straight into the promise bar */
.hero-section .qs-wave-hero { color: color-mix(in srgb, #f2eae5 var(--warmth), var(--neutral)) !important; }


/* ==========================================================================
   v3.3.0 HOMEPAGE (section flow follows the reference store)
   ========================================================================== */

/* ---------- Hero slider ---------- */
/* ---------- Banners: picture only. 16:9 on desktop, 9:16 on phones. The whole banner is the link. ---------- */
.qs-hero { position: relative; display: grid; background: var(--canvas); overflow: hidden; }
.qs-hero-slide {
	grid-area: 1 / 1; display: block; position: relative; aspect-ratio: 16 / 9; min-width: 0;
	opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; z-index: 1;
}
.qs-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.qs-hero-slide picture { display: block; width: 100%; height: 100%; }
.qs-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qs-hero-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; padding: 7px 11px; border-radius: 20px; background: rgba(20, 14, 16, .38); backdrop-filter: blur(4px); }
.qs-hero-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: all .25s ease; }
.qs-hero-dot.is-active { background: #fff; width: 24px; border-radius: 6px; }
.qs-hero-dot::before { content: ""; position: absolute; inset: -8px; }
.qs-hero-dot { position: relative; }
@media (max-width: 767px) {
	.qs-hero-slide { aspect-ratio: 9 / 16; }
	.qs-hero-dots { bottom: 16px; }
}
/* visible to Google and screen readers, not on screen */
.qs-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Centered section heads ---------- */
.qs-center-head { text-align: center; margin-bottom: 34px; }
.qs-center-head .section-title { margin: 6px 0 0; }
.qs-center-head .eyebrow { display: block; margin-bottom: 4px; }
.qs-tabs-center { justify-content: center; }

/* ---------- Shop by Categories: big circles, smooth endless scroll ---------- */
.qs-cats-section { padding-bottom: 56px; overflow: hidden; }
.qs-cat-marquee { overflow: hidden; width: 100%; padding: 10px 0 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.qs-cat-track { display: flex; width: max-content; will-change: transform; animation: qs-cat-run calc(var(--qs-cat-count, 8) * 5s) linear infinite; }
.qs-cat-marquee:hover .qs-cat-track, .qs-cat-marquee:focus-within .qs-cat-track, .qs-cat-marquee.is-held .qs-cat-track { animation-play-state: paused; }
@keyframes qs-cat-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* if the visitor asked for less motion, the row becomes a normal swipeable strip */
@media (prefers-reduced-motion: reduce) {
	.qs-cat-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
	.qs-cat-track { animation: none; }
}
.qs-cat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; width: 300px; margin-right: 44px; text-align: center; color: var(--ink); }
.qs-cat-ring { display: block; width: 280px; height: 280px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); padding: 6px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 10px 30px rgba(51, 41, 43, .08); }
.qs-cat-ring img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50%; transition: transform .6s ease; }
.qs-cat-ring.is-logo img { object-fit: contain; padding: 18%; background: #fff; }
.qs-cat:hover .qs-cat-ring { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(51, 41, 43, .16); }
.qs-cat:hover .qs-cat-ring img { transform: scale(1.07); }
.qs-cat h3 { margin: 20px 0 0; font-family: var(--sans, inherit); font-size: 17px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.qs-cat small { margin-top: 5px; color: var(--muted); font-size: 13px; }
.qs-cat:hover h3 { color: var(--accent); }

/* ---------- Categories page ---------- */
.qs-categories-page { padding-bottom: 70px; }
.qs-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; padding-bottom: 20px; }
.qs-cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); min-width: 0; }
.qs-cat-tile-media { display: block; width: 100%; max-width: 270px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); padding: 6px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.qs-cat-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.qs-cat-tile-media.is-logo img { object-fit: contain; padding: 18%; }
.qs-cat-tile:hover .qs-cat-tile-media { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(51, 41, 43, .16); }
.qs-cat-tile strong { margin-top: 16px; font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.qs-cat-tile small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.qs-cat-tile:hover strong { color: var(--accent); }
.qs-all-cats-link { display: inline-block; margin-top: 14px; }

/* ---------- Colour swatches on product cards ---------- */
.qs-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.qs-swatch { position: relative; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background-color: var(--sw, #ddd); background-size: cover; background-position: center; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.qs-swatch:hover { transform: scale(1.12); }
.qs-swatch.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.qs-swatch::before { content: ""; position: absolute; inset: -9px; } /* bigger invisible tap area for fingers */
.qs-swatch-more { font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 2px; }
.qs-card-media img.is-swapping { opacity: .35; transition: opacity .15s ease; }

/* ---------- Shop filter: price form ---------- */
.qs-price-form { margin-top: 14px; display: grid; gap: 10px; }
.qs-price-inputs { display: flex; align-items: center; gap: 8px; }
.qs-price-inputs input { flex: 1; min-width: 0; width: 100%; padding: 11px 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; border-radius: 0; }
.qs-price-inputs span { color: var(--muted); }
.qs-price-form .qs-btn { width: 100%; }

/* ---------- Collection blocks ---------- */
.qs-collection { background: #fff; padding-top: 64px; padding-bottom: 70px; }
.qs-collection + .sale-ribbon, .sale-ribbon + .qs-collection { margin-top: 0; }

/* ---------- Trending: 3 visible on desktop, 2 on mobile ---------- */
.qs-slider { --qs-visible: 3; }
.qs-slide { flex: 0 0 calc(100% / var(--qs-visible)); max-width: calc(100% / var(--qs-visible)); }
.qs-slide .qs-card-media { aspect-ratio: 4 / 5; }

/* ---------- Our Famous Section ---------- */
.qs-famous { background: color-mix(in srgb, #f6f1ec var(--warmth), var(--neutral)); }
.qs-famous-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.qs-famous-images { position: relative; min-height: 460px; }
.qs-famous-images img { position: absolute; object-fit: cover; box-shadow: 0 18px 44px rgba(51, 41, 43, .16); border: 8px solid #fff; background: #fff; }
.qs-famous-img-a { left: 0; top: 0; width: 62%; height: 78%; }
.qs-famous-img-b { right: 0; bottom: 0; width: 56%; height: 70%; }
.qs-famous-copy .section-title { margin-top: 0; }
.qs-famous-list { list-style: none; margin: 22px 0 0; padding: 0; }
.qs-famous-list li { border-bottom: 1px solid var(--line); }
.qs-famous-list a { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); transition: color .2s ease, padding .25s ease; }
.qs-famous-list a span { color: var(--accent); font-size: .6em; font-weight: 700; letter-spacing: .08em; font-family: inherit; }
.qs-famous-list a b { margin-left: auto; font-weight: 400; opacity: 0; transform: translateX(-8px); transition: all .25s ease; }
.qs-famous-list a:hover { color: var(--accent); padding-left: 8px; }
.qs-famous-list a:hover b { opacity: 1; transform: none; }

/* ---------- Happy Customers: 4 cards ---------- */
.review-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Features trio ---------- */
.qs-features { background: #fff; padding: 56px 0; border-bottom: 1px solid var(--line); }
.qs-features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; text-align: center; }
.qs-feature svg { color: var(--accent); }
.qs-feature h3 { margin: 14px 0 8px; font-size: 17px; font-weight: 700; }
.qs-feature p { margin: 0 auto; max-width: 300px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

@media (max-width: 1000px) {
	.qs-cat { width: 240px; margin-right: 30px; }
	.qs-cat-ring { width: 226px; height: 226px; }
	.qs-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.review-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qs-famous-grid { grid-template-columns: 1fr; gap: 34px; }
	.qs-famous-images { min-height: 380px; }
}
@media (max-width: 640px) {
	.qs-cat { width: 190px; margin-right: 22px; }
	.qs-cat-ring { width: 176px; height: 176px; }
	.qs-cat h3 { font-size: 14px; }
	.qs-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	.qs-cat-tile strong { font-size: 13.5px; }
	.review-grid-4 { grid-template-columns: 1fr; }
	.qs-features-grid { grid-template-columns: 1fr; gap: 28px; }
	.qs-collection { padding-top: 46px; padding-bottom: 50px; }
	.qs-famous-images { min-height: 320px; }
}


/* ==========================================================================
   v3.3.0 MOBILE SAFETY (every page)
   Checked on a 375px phone: no sideways scrolling, tap targets of 40px or more,
   inputs at 16px so iPhones do not zoom in when typing.
   ========================================================================== */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
.qs-card-media img, .qs-card-img, .qs-cat-ring img, .qs-cat-tile-media img, .qs-famous-images img { height: 100%; }
.page-container, .qs-shop, .qs-results { min-width: 0; }
.qs-woo-page table, .wp-content table, .entry-content table { max-width: 100%; }
.entry-content, .wp-content, .qs-policy-body { overflow-wrap: anywhere; }

@media (max-width: 860px) {
	/* footer newsletter: stack instead of sitting side by side */
	.newsletter-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
	.newsletter-inner > div, .wp-newsletter-action { width: 100%; min-width: 0; }
	.footer-wa-cta { display: flex; justify-content: center; width: 100%; text-align: center; box-sizing: border-box; white-space: normal; }
}

@media (max-width: 640px) {
	/* header: logo + three icons must fit a 360px phone */
	.header-main { gap: 8px; }
	.header-main.page-container { padding-left: 12px; padding-right: 12px; }
	.brand-logo { width: auto; max-width: 118px; flex: 0 1 118px; min-width: 0; }
	.brand-logo-img, .brand-logo .custom-logo { max-width: 118px; height: 38px; }
	.header-actions { gap: 2px; flex-shrink: 0; }
	.header-actions .icon-button, .mobile-menu-trigger { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
	.header-wa-btn { padding: 6px; min-width: 34px; justify-content: center; }
	.mobile-menu-trigger { margin-left: -6px; }

	/* typography that was too big for a phone */
	.qs-shop-hero h1 { font-size: clamp(32px, 9vw, 44px); }
	.section-title { font-size: clamp(30px, 8.5vw, 40px); }
	.hero-copy h1 { font-size: clamp(40px, 11.5vw, 54px); }

	/* inputs: 16px stops iOS zoom-in, 44px is a comfortable finger target */
	input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], select, textarea { font-size: 16px !important; min-height: 44px; }
	.qs-btn, .button, button.qs-tab, .qs-filter-toggle { min-height: 44px; }

	/* product cards: tighter, readable */
	.qs-card-title { font-size: 16px; line-height: 1.25; }
	.qs-swatch { width: 24px; height: 24px; }
	.qs-swatches { gap: 7px; }

	/* shop filters open as a drawer; keep it inside the screen */
	.qs-filters { max-width: 92vw; }
	.qs-filters-backdrop { max-width: 100vw; }

	/* hero: dots sit above the bottom edge */

	/* tables in policy / cart pages scroll inside their own box */
	.qs-policy-body table, .wp-content table, .entry-content table { display: block; overflow-x: auto; }
}


/* ==========================================================================
   v3.5.0 MOBILE FIXES
   ========================================================================== */

/* ---------- page fades in on the very first paint (no show / hide / show flash) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.qs-js main { animation: qs-page-in .5s cubic-bezier(.22, .61, .36, 1) backwards; }
}
@keyframes qs-page-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- header on phones and tablets: [menu]   logo (centre)   [search] [bag] ---------- */
@media (max-width: 1100px) {
	.site-header .header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: 64px; }
	.site-header .mobile-menu-trigger { justify-self: start; margin-left: -8px; }
	.site-header .brand-logo { justify-self: center; width: auto; height: auto; max-width: 150px; overflow: visible; }
	.site-header .brand-logo .brand-logo-img, .site-header .brand-logo img.custom-logo { height: 40px !important; max-width: 130px !important; }
	.site-header .header-actions { justify-self: end; gap: 2px; margin-right: -8px; }
	.site-header .header-wa-btn { display: none !important; } /* WhatsApp lives in the menu drawer and on the product page */
}

/* ---------- product page buy box: quantity + Add to Cart across the full width ---------- */
.qs-buy form.cart, .qs-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; width: 100%; }
.qs-buy form.variations_form.cart { display: block; }
.qs-buy .single_variation_wrap { width: 100%; }
.qs-buy .woocommerce-variation-add-to-cart { margin: 0 0 18px; }
.qs-buy .quantity { flex: 0 0 auto; }
.qs-buy .single_add_to_cart_button, .qs-buy button.button.alt { flex: 1 1 0; min-width: 0; width: auto; }
.qs-buy .single-wa-order-btn { flex: 1 1 100%; width: 100%; box-sizing: border-box; }
.qs-buy .woocommerce-variation { margin-bottom: 10px; }
.qs-buy .woocommerce-variation-price { font-weight: 700; }

/* ---------- colour circles (replaces the drop-down) ---------- */
.qs-buy table.variations, .qs-buy table.variations tbody, .qs-buy table.variations tr, .qs-buy table.variations th, .qs-buy table.variations td { display: block; width: 100%; }
.qs-buy table.variations th.label { padding: 0 0 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.qs-buy table.variations td.value { padding: 0 0 6px; }
.qs-buy .reset_variations { display: none !important; }
.qs-var-select-hidden { display: none; }
.qs-var-swatches { display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 4px 8px; }
.qs-var-swatch {
	position: relative; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(51, 41, 43, .25);
	background-color: var(--sw, #ddd); background-size: cover; background-position: center; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.qs-var-swatch::before { content: ""; position: absolute; inset: -5px; } /* finger-sized tap area */
.qs-var-swatch:hover { transform: scale(1.08); }
.qs-var-swatch.is-active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }


/* ==========================================================================
   v3.6.0 TRACK ORDER
   ========================================================================== */
.track-result-head { border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 20px; }
.track-result-head h3 { font-family: var(--serif); font-size: 26px; margin: 5px 0 8px; overflow-wrap: anywhere; }
.track-hint { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.track-chip { display: inline-block; padding: 4px 12px; border-radius: 20px; background: #efe7e3; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.track-chip-processing, .track-chip-packed, .track-chip-dispatched, .track-chip-out-for-delivery { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent); }
.track-chip-completed { background: #dff3e6; color: #17703a; }
.track-chip-cancelled, .track-chip-failed, .track-chip-refunded { background: #fbe4e4; color: #a12525; }
.track-cancelled { display: grid; gap: 4px; margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid #c43c3c; background: #fdf1f1; font-size: 13px; line-height: 1.6; }
.track-step > div { min-width: 0; }
.track-step strong { font-size: 14.5px; }
.track-step:not(.reached) strong { color: var(--muted); }
.track-date { display: block; margin-top: 2px; font-size: 12px; color: var(--accent); font-weight: 600; }
.track-step p { font-size: 12.5px; }
.track-step:not(.reached) p { opacity: .65; }
.track-step.reached .track-dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.track-step.is-current .track-dot { animation: qs-track-pulse 1.8s ease-out infinite; }
@keyframes qs-track-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.track-now { color: var(--ink) !important; font-weight: 600; }
.track-courier { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; padding: 10px 12px; background: #faf6f2; border: 1px solid var(--line); font-size: 12.5px; }
.track-courier b { color: var(--ink); }
.track-courier a { color: var(--accent); font-weight: 700; }
@media (max-width: 640px) {
	.track-result { padding: 22px 16px; }
	.track-result-head h3 { font-size: 22px; }
	.track-hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* Homepage call-to-action */
.qs-design-cta { background: var(--canvas); padding: 56px 0; }
.qs-design-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.qs-design-cta .section-intro { max-width: 560px; margin-top: 10px; }
.qs-design-cta-days { margin: 12px 0 0; font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* Advance payment discount nudges */
.qs-adv-badge { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--accent); }
.qs-adv-box { display: flex; flex-direction: column; gap: 4px; margin: 0 0 18px; padding: 14px 18px; border: 1.5px dashed var(--accent); border-radius: 8px; background: rgba(255,106,0,.06); font-size: 13.5px; line-height: 1.55; }
.qs-adv-box strong { font-size: 14.5px; }
.qs-adv-box.is-on { border-style: solid; background: rgba(37,211,102,.1); border-color: #25d366; }
