/* ==========================================================
   WooCommerce: cards, shop, product page, forms, checkout, account
   ========================================================== */

/* Stars */
.stars { position: relative; display: inline-block; font-size: 11px; letter-spacing: 1px; line-height: 1; color: #ddd; }
.stars::before { content: "★★★★★"; }
.stars span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; color: var(--ink); }
.stars span::before { content: "★★★★★"; white-space: nowrap; }
.rating { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 4px; }
.rating small { font-size: 9px; color: var(--muted); }

/* Prices (sale first, red; regular struck) */
.price { display: inline-flex; flex-direction: row-reverse; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; font-weight: 700; }
ins { text-decoration: none; background: none; }
.price ins { color: var(--sale); font-weight: 700; }
.price del { color: #a0968f; font-weight: 400; font-size: .86em; text-decoration: line-through; text-decoration-thickness: 1px; }
.price .woocommerce-Price-amount { white-space: nowrap; }
.price:not(:has(ins)) { flex-direction: row; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Product grid + card */
.products.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.products.grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products.grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { text-align: center; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); border-radius: 4px; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.card__img--hover { opacity: 0; }
.card:hover .card__img--hover { opacity: 1; }
.card:hover .card__img:not(.card__img--hover) { transform: scale(1.02); }
.card__sale { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.card__badge { position: absolute; right: 8px; top: 8px; background: #fff; font-size: 10px; padding: 3px 8px; border-radius: 99px; font-weight: 600; }
.card__title { font-size: 14px; font-weight: 600; margin: 14px 6px 4px; line-height: 1.35; letter-spacing: -.005em; }
.card__title a { transition: color .2s; }
.card__title a:hover { color: var(--brand); }
.card { transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__price { min-height: 1.4em; }

/* Shop header + toolbar */
.shop-head { padding-top: clamp(24px, 3.2vw, 40px); }
.crumbs { margin-bottom: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "\203A"; margin: 0 8px; font-size: 16px; line-height: 1; opacity: .5; }
.crumbs a { padding: 4px 2px; transition: color .2s; }
.crumbs a:hover { color: var(--brand); }
.crumbs .is-current span { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--announce); color: var(--brand); font-weight: 700; }
.shop-title { text-align: center; font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; margin: 18px 0 12px; }
.shop-desc { text-align: center; max-width: 760px; margin: 0 auto 22px; font-size: 12px; color: var(--muted); }
.shop-desc p:last-child { margin-bottom: 0; }
.shop-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button { background: none; border: 0; padding: 4px; cursor: pointer; opacity: .4; }
.view-toggle button.is-on { opacity: 1; }
.woocommerce-ordering select { border: 0; background: transparent; font: inherit; font-size: 11px; color: var(--muted); cursor: pointer; padding: 6px 4px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-pagination { margin: 44px 0 24px; }
.woocommerce-pagination ul, .woocommerce-pagination .page-numbers { display: flex; justify-content: center; gap: 4px; align-items: center; }
.woocommerce-pagination li { list-style: none; }
.woocommerce-pagination .page-numbers { min-width: 28px; height: 28px; padding: 0 6px; font-size: 11px; border-radius: 4px; justify-content: center; }
.woocommerce-pagination .current { border: 1px solid var(--ink); }
.woocommerce-pagination a.page-numbers:hover { background: var(--soft); }
.empty-state { padding: 80px 0; }

.recent .products.grid { margin-top: 0; }

/* ---------- Product page ---------- */
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(24px, 4vw, 72px); padding: 20px var(--gutter) 40px; max-width: var(--wrap); margin: 0 auto; align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; }
.pdp-gallery:not(:has(.pdp-thumbs)) { grid-template-columns: minmax(0, 1fr); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-thumbs button { display: block; width: 100%; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; opacity: .75; transition: opacity .2s; }
.pdp-thumbs button:hover { opacity: 1; }
.pdp-thumbs button.is-active { border-color: var(--ink); opacity: 1; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main { background: var(--soft); border-radius: 4px; overflow: hidden; }
.pdp-main__img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; margin: 0 auto; }

.pdp-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-title { font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 10px; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 16px; }
.pdp-price .price { justify-content: flex-start; align-items: baseline; gap: 4px 12px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.pdp-price .price del { font-size: 17px; font-weight: 500; }
.pdp-off { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; background: #fdecea; color: var(--sale); font-size: 12px; font-weight: 700; }
.pdp-off[hidden] { display: none; }
.pdp-ship { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11.5px; color: var(--muted); margin-bottom: 20px; }
.pdp-ship li { display: inline-flex; align-items: center; gap: 6px; }
.pdp-ship .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ea44f; display: inline-block; }

/* Variation form */
.pdp form.cart { margin: 0; }
.variations { width: 100%; border: 0; border-collapse: collapse; }
.variations tr { display: block; margin-bottom: 16px; }
.variations th, .variations td { display: block; padding: 0; text-align: left; }
.variations th.label { display: none; }
.variations .reset_variations { display: none !important; }
.swatches__head { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.swatches__head b { font-weight: 400; }
.swatches__head em { font-style: normal; color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { min-width: 44px; height: 36px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-size: 12px; cursor: pointer; border-radius: 3px; transition: border-color .15s, background .15s; }
.swatch:hover { border-color: var(--ink); }
.swatch.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.swatch.is-off { opacity: .35; text-decoration: line-through; }
.swatches--img .swatch { width: 62px; height: 78px; min-width: 0; padding: 0; overflow: hidden; background: var(--soft); }
.swatches--img .swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatches--img .swatch.is-on { background: var(--soft); border: 2px solid var(--ink); }
.woocommerce-variation-description, .woocommerce-variation-price, .woocommerce-variation-availability { display: none; }
.stock.out-of-stock { color: var(--sale); font-size: 13px; }

.quantity { display: inline-flex; align-items: center; flex: none; height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: #fff; overflow: hidden; transition: border-color .2s; }
.quantity:focus-within { border-color: var(--brand); }
.quantity .qty-btn { width: 44px; height: 100%; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.quantity .qty-btn:hover { background: var(--announce); color: var(--brand); }
.quantity .qty-btn:active { background: color-mix(in srgb, var(--brand) 14%, #fff); }
.quantity input.qty, .quantity input[type=number] { width: 44px; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-align: center; font-size: 16px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.quantity input.qty:focus { border: 0; box-shadow: none; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .screen-reader-text { position: absolute; }
.pdp form.cart:not(.variations_form), .pdp .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 20px; }
.pdp .woocommerce-variation-add-to-cart { margin-top: 0; }
.pdp .single_add_to_cart_button { flex: 1 1 160px; margin-top: 0; min-height: 52px; }
.pdp .buy-now { flex: 0 0 100%; margin-top: 0; min-height: 52px; }
.pdp .single_add_to_cart_button, .pdp .buy-now { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 8px; border: 1.5px solid transparent; border-radius: var(--radius-btn); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.pdp .single_add_to_cart_button { background: var(--brand); color: #fff; margin-top: 18px; }
.pdp .single_add_to_cart_button.disabled, .pdp .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; }
.pdp .single_add_to_cart_button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.pdp .buy-now { background: transparent; color: var(--brand); border-color: var(--brand); }
.pdp .buy-now:hover { background: var(--brand); color: #fff; }
.pdp .single_add_to_cart_button:active, .pdp .buy-now:active { filter: brightness(.94); }
.pdp .single_add_to_cart_button:focus-visible, .pdp .buy-now:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.pdp .pay-badges { justify-content: flex-start; margin: 16px 0 24px; }

.pdp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; padding: 18px 0; border-top: 1px solid var(--line); margin-bottom: 4px; }
.pdp-features li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); line-height: 1.3; }
.pdp-features svg { color: var(--brand); }

.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 12px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc summary svg { transition: transform .2s; }
.acc__body { padding: 0 0 18px; font-size: 13px; color: #3d3837; }
.acc__body table { width: 100%; font-size: 13px; }
.acc__body th { text-align: left; font-weight: 500; padding: 4px 12px 4px 0; width: 35%; }
.acc__body td p { margin: 0; }
.pdp-share { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-share button { background: none; border: 0; cursor: pointer; padding: 0; color: inherit; }

/* "Why people love us": intro card + staggered quote cards */
.love__inner { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 5vw, 64px); background: var(--soft); border-radius: clamp(24px, 3vw, 36px); }
.love__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.love__title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.love__title em { display: inline-block; margin: 0 .12em; font-family: var(--script); font-size: 1.22em; font-style: normal; font-weight: 600; line-height: 1; letter-spacing: 0; color: var(--brand); }
.love__sub { margin: 16px 0 28px; max-width: 28ch; font-size: 16px; color: var(--muted); }
.love__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 28px; }
.love__card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: #fff; transition: transform .35s var(--ease), background .3s; }
.love__card:nth-child(even) { transform: translateY(28px); }
.love__card:nth-child(3n+2) { background: var(--announce); }
.love__card:hover { transform: translateY(-4px); }
.love__card:nth-child(even):hover { transform: translateY(24px); }
.love__q { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--announce); color: var(--brand); }
.love__card:nth-child(3n+2) .love__q { background: #fff; }
.love__card p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.005em; }

/* Reviews (product page only) */
.reviews { max-width: 1280px; margin: 0 auto; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; overflow: hidden; line-height: 1; font-size: 13px; letter-spacing: 1px; }
.star-rating::before { content: "★★★★★"; color: #ddd; position: absolute; left: 0; top: 0; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; height: 0; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--ink); }

.rv .stars span { color: var(--brand); }
.rv__top { display: grid; grid-template-columns: auto minmax(220px, 340px) auto; align-items: center; justify-content: center; gap: 28px clamp(32px, 6vw, 96px); padding: 28px clamp(24px, 4vw, 48px); background: var(--soft); border-radius: 24px; margin-bottom: 28px; }
.rv__score { display: flex; align-items: center; gap: 18px; }
.rv__num { font-size: clamp(48px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rv__meta { display: grid; gap: 6px; }
.rv__meta .stars { font-size: 18px; }
.rv__meta > span { color: var(--muted); font-size: 14px; }
.rv__bars { display: grid; gap: 7px; }
.rv__bars li { display: grid; grid-template-columns: 52px 1fr 26px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.rv__bars i { display: block; height: 8px; border-radius: 99px; background: #e7e0dd; overflow: hidden; }
.rv__bars b { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.rv__bars em { font-style: normal; text-align: right; }
.rv__note { margin: 0; font-size: 13px; color: var(--muted); max-width: 22ch; }
.rv__empty { text-align: center; color: var(--muted); padding: 24px 0 8px; }

.rv__carousel { position: relative; }
.rv__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.rv__track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 clamp(280px, 30vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, transform .3s var(--ease); }
.rv-card:hover { border-color: #d9cfca; transform: translateY(-3px); }
.rv-card__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.rv-card__head strong { display: block; font-size: 15px; line-height: 1.2; }
.rv-card__head time { font-size: 12px; color: var(--muted); align-self: start; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: var(--ink); }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; font-weight: 600; color: #2a7a4b; }
.rv-card__stars .stars { font-size: 15px; }
.rv-card__text { font-size: 14.5px; line-height: 1.65; color: #3b3534; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.rv-card__text.is-open { display: block; }
.rv-card__text p { margin: 0 0 .6em; }
.rv-card__text p:last-child { margin: 0; }
.rv-card__photos { display: flex; gap: 8px; margin-top: auto; }
.rv-photo { display: block; width: 68px; height: 68px; border-radius: 12px; overflow: hidden; background: var(--soft); transition: opacity .2s, transform .25s var(--ease); }
.rv-photo:hover { opacity: .85; transform: scale(1.04); }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Review dialog */
.rv-dialog { position: fixed; border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 28px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .45); }
.rv-dialog::backdrop { background: rgba(28, 22, 22, .55); backdrop-filter: blur(3px); }
.rv-dialog[open] { animation: rvIn .28s var(--ease); }
@keyframes rvIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.rv-dialog__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--soft); }
.rv-dialog .comment-respond { padding: 36px clamp(22px, 4vw, 36px) 32px; }
.rv-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.rv-sub { margin: 6px 0 22px; color: var(--muted); font-size: 14px; }
.rv-field { margin-bottom: 20px; }
.rv-label, .rv-row label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.rv-label i, .rv-row label i { font-style: normal; color: var(--sale); }
.rv-label small { font-weight: 400; color: var(--muted); }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.rv-row p { margin: 0 0 20px; }
.rv-dialog input[type=text], .rv-dialog input[type=email], .rv-dialog textarea { border-radius: 12px; }
.rv-stars { display: flex; gap: 2px; }
.rv-star { background: none; border: 0; padding: 2px 3px; font-size: 36px; line-height: 1; color: #e3dbd7; cursor: pointer; transition: color .15s, transform .15s var(--ease); }
.rv-star.is-on { color: var(--brand); }
.rv-star:hover { transform: scale(1.12); }
.rv-star:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.rv-rating.is-js .rv-rating__select { display: none; }
.rv-drop { position: relative; display: block; padding: 18px; border: 1.5px dashed #d9cfca; border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.rv-drop:hover { border-color: var(--brand); background: var(--announce); }
.rv-drop:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.rv-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-drop__ui { display: flex; align-items: center; gap: 14px; color: var(--brand); }
.rv-drop__ui b { display: block; font-size: 14px; color: var(--ink); }
.rv-drop__ui small { display: block; font-size: 12px; color: var(--muted); }
.rv-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.rv-previews:empty { display: none; }
.rv-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.rv-error { margin: 8px 0 0; font-size: 13px; color: var(--sale); }
.rv-error:empty { display: none; }
.rv-dialog .form-submit { margin: 8px 0 0; }
.rv-dialog .form-submit .btn { min-height: 50px; }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(20, 16, 16, .85); cursor: zoom-out; }
.lb img { max-width: min(92vw, 1100px); max-height: 90vh; border-radius: 12px; }

/* ---------- Forms ---------- */
.woocommerce form .form-row { margin: 0 0 12px; position: relative; }
.woocommerce form .form-row label { display: block; font-size: 12px; margin-bottom: 4px; color: var(--muted); }
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; border: 0; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea, .select2-container--default .select2-selection--single {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d9d4d1; border-radius: var(--radius); background: #fff; font: inherit; font-size: 14px; color: var(--ink); appearance: none;
}
textarea { min-height: 120px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; right: 8px; }
.select2-dropdown { border-color: #d9d4d1; border-radius: var(--radius); }
.checkbox, label.checkbox { display: flex !important; align-items: center; gap: 10px; font-size: 13px !important; color: var(--ink) !important; cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 17px; height: 17px; min-height: 0; margin: 0; }

/* Notices */
.woocommerce-notices-wrapper { margin-bottom: 18px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; margin: 0 0 16px; border-radius: var(--radius); font-size: 14px; background: var(--soft); border-left: 3px solid var(--ink); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.woocommerce-error { border-color: var(--sale); background: #fdf1f0; display: block; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; text-decoration: underline; }

/* WooCommerce buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce-page button[type=submit].button, .woocommerce .button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius); cursor: pointer;
}
.woocommerce .button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.comment-form .submit { min-height: 44px; padding: 0 26px; background: var(--brand); color: #fff; border: 0; border-radius: var(--radius); font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* ---------- Checkout ---------- */
body.is-checkout-flow { background: #fff; }
.co-header { border-bottom: 1px solid var(--line); }
.co-header__row { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); height: 80px; display: flex; align-items: center; justify-content: space-between; }
.co-footer { max-width: 1100px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.co-footer ul { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.co-footer a { color: var(--brand); text-decoration: underline; }
.is-checkout-flow .page-woo { max-width: none; padding: 0; }
.is-checkout-flow .section { padding: 0; }
.is-checkout-flow .woocommerce-notices-wrapper { max-width: 1100px; margin: 16px auto 0; padding: 0 var(--gutter); }

.ecom-checkout { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(to right, #fff 50%, #f5f5f5 50%); min-height: calc(100vh - 80px); }
.co-main { padding: 28px 40px 48px; border-right: 1px solid var(--line); }
.co-main__inner { max-width: 540px; margin-left: auto; }
.co-aside { padding: 28px 40px 48px; }
.co-aside__inner { max-width: 460px; position: sticky; top: 20px; }
.co-head { display: flex; justify-content: space-between; align-items: baseline; }
.co-h { font-size: 19px; font-weight: 500; margin: 26px 0 12px; }
.co-head .co-h { margin-top: 0; }
.co-sub { font-size: 13px; color: var(--muted); margin: -6px 0 12px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 10px; }
.woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row { flex: 1 1 100%; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { flex: 1 1 calc(50% - 5px) !important; width: auto; }
.ecom-float > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ecom-float input::placeholder { color: #8b8683; }
#ship-to-different-address { margin: 8px 0 14px; }

/* Order summary */
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 6px 0; text-align: left; vertical-align: middle; font-weight: 400; }
.woocommerce-checkout-review-order-table td:last-child { text-align: right; }
.woocommerce-checkout-review-order-table tbody td { padding: 10px 0; }
.ro-thumb { width: 74px; }
.ro-img { position: relative; width: 62px; }
.ro-img img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.ro-qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; background: rgba(40, 40, 40, .85); color: #fff; font-size: 11px; font-weight: 600; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; }
.ro-name small { display: block; color: var(--muted); font-size: 12px; }
.woocommerce-checkout-review-order-table tfoot tr:first-child th, .woocommerce-checkout-review-order-table tfoot tr:first-child td { padding-top: 16px; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 20px; font-weight: 600; padding-top: 14px; }
.woocommerce-shipping-totals td ul { list-style: none; }
.woocommerce-shipping-totals td li { margin-bottom: 4px; }
.woocommerce-shipping-totals td label { display: inline; }
.woocommerce-remove-coupon { font-size: 12px; text-decoration: underline; margin-left: 6px; color: var(--muted); }
.co-coupon { display: flex; gap: 10px; margin-bottom: 8px; }
.co-coupon input { flex: 1; }
.co-coupon .btn { min-height: 48px; }
.co-coupon__msg { font-size: 12px; color: var(--muted); margin: 0 0 14px; min-height: 1em; }

/* Payment */
#payment { margin-top: 4px; }
.wc_payment_methods { border: 1px solid #d9d4d1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.wc_payment_method { border-bottom: 1px solid #d9d4d1; }
.wc_payment_method:last-child { border-bottom: 0; }
.wc_payment_method > label { display: flex !important; align-items: center; gap: 10px; padding: 16px; margin: 0 !important; font-size: 14px; color: var(--ink) !important; cursor: pointer; }
.wc_payment_method > label img { margin-left: auto; max-height: 24px; width: auto; }
.wc_payment_method > input { position: absolute; opacity: 0; pointer-events: none; }
.wc_payment_method > label::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 1px solid #aaa; flex: none; }
.wc_payment_method > input:checked + label { background: #f6f6f6; font-weight: 500; }
.wc_payment_method > input:checked + label::before { border: 5px solid var(--ink); }
.payment_box { background: #f6f6f6; padding: 4px 16px 16px; font-size: 13px; color: var(--muted); }
.payment_box p { margin: 0; }
.payment_box fieldset { border: 0; padding: 0; margin: 12px 0 0; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { text-decoration: underline; }
#place_order { width: 100%; min-height: 54px; background: var(--brand); border-color: var(--brand); font-size: 15px; letter-spacing: .02em; text-transform: none; font-weight: 600; border-radius: var(--radius); }
.blockUI.blockOverlay { opacity: .5 !important; background: #fff !important; }

/* ---------- Account / cart / thank-you ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a { font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce, .woocommerce-account .woocommerce:has(.u-columns) { display: block; }
.u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-form-login, .woocommerce-form-register { border: 1px solid var(--line); padding: 24px; border-radius: 8px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart-form .product-thumbnail img { width: 72px; height: 90px; object-fit: cover; border-radius: 4px; }
.woocommerce-cart-form .quantity { height: 46px; }
.woocommerce-cart-form .product-remove a { font-size: 22px; color: var(--muted); }
.cart_totals h2 { font-size: 18px; margin-bottom: 12px; }
.wc-proceed-to-checkout .button { width: 100%; min-height: 52px; background: var(--brand); border-color: var(--brand); }
.woocommerce-cart-form .coupon { display: flex; gap: 8px; margin-top: 12px; }
.woocommerce-cart-form .coupon input { max-width: 220px; }
.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 28px; padding: 18px 20px; background: var(--soft); border-radius: 8px; font-size: 13px; }
.woocommerce-order-overview li { list-style: none; }
.woocommerce-order-overview strong { display: block; font-size: 15px; }

/* Responsive */
@media (max-width: 900px) {
	.rv__top { grid-template-columns: 1fr; justify-items: stretch; }
	.rv-row { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
	.products.grid, .products.grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pdp__grid { grid-template-columns: 1fr; }
	.pdp-summary { position: static; max-width: 560px; }
}
@media (max-width: 900px) {
	.ecom-checkout { grid-template-columns: 1fr; background: #fff; }
	.co-main { padding: 20px var(--gutter) 28px; border: 0; order: 2; }
	.co-main__inner { margin: 0 auto; }
	.co-aside { padding: 20px var(--gutter); background: #f5f5f5; order: 1; }
	.co-aside__inner { margin: 0 auto; position: static; }
	.woocommerce-account .woocommerce, .woocommerce-cart .woocommerce, .u-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.products.grid, .products.grid[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.view-toggle button[data-cols="4"] { display: none; }
	.pdp-gallery { grid-template-columns: 1fr; }
	.pdp-thumbs { flex-direction: row; order: 2; overflow-x: auto; position: static; }
	.pdp-thumbs li { flex: 0 0 64px; }
	.pdp__grid { padding-top: 0; }
	.pdp-main__img { max-height: none; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { flex-basis: 100% !important; }
}

.pdp form.cart .single_add_to_cart_button, .pdp form.cart .buy-now { margin-top: 0; min-height: 52px; }

/* ---------- Mobile pass ---------- */
@media (max-width: 720px) {
	.card__title { font-size: 13px; margin: 10px 2px 3px; }
	.price { font-size: 14px; }
	.card__sale { left: 8px; top: 8px; padding: 3px 8px; font-size: 10px; }
	.shop-title { font-size: 26px; margin: 14px 0 8px; }
	.shop-desc { font-size: 13px; }
	.shop-tools { margin-bottom: 14px; }
	.woocommerce-pagination { margin: 32px 0 16px; }
	.pdp__grid { padding: 0 var(--gutter) 28px; gap: 22px; }
	.pdp-title { font-size: 22px; }
	.pdp-price .price { font-size: 24px; }
	.pdp-ship { margin-bottom: 16px; }
	.swatches--img .swatch { width: 56px; height: 70px; }
	.pdp-features { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }
	.love__inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 24px 20px; }
	.love__intro { padding-right: 20px; }
	.love__sub { margin-bottom: 20px; }
	.love__grid { display: flex; gap: 12px; padding: 0 20px 4px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.love__grid::-webkit-scrollbar { display: none; }
	.love__card, .love__card:nth-child(even), .love__card:nth-child(even):hover { flex: 0 0 76vw; scroll-snap-align: start; transform: none; }
	.rv__top { padding: 22px 18px; }
	.rv-card { flex-basis: 84vw; padding: 18px; }
	.rv-dialog { max-height: calc(100dvh - 24px); border-radius: 22px; }
	.rv-dialog .comment-respond { padding-top: 56px; }
	.rv-title { font-size: 22px; }
	.co-header__row { height: 64px; }
	.woocommerce-order-overview { flex-direction: column; gap: 12px; }
	.woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
	.woocommerce-MyAccount-navigation li a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; font-size: 13px; }
	.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; border-color: var(--ink); }
	.woocommerce-form-login, .woocommerce-form-register { padding: 18px; }
	.shop_table_responsive thead { display: none; }
	.shop_table_responsive tr { display: block; margin-bottom: 12px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 14px; }
	.shop_table_responsive th { display: none; }
	.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border: 0; text-align: right; }
	.shop_table_responsive td::before { content: attr(data-title); font-size: 13px; font-weight: 600; color: var(--muted); text-align: left; }
	.shop_table_responsive td.product-remove::before, .shop_table_responsive td.product-thumbnail::before, .shop_table_responsive td.actions::before { content: none; }
	.woocommerce-cart-form .coupon { flex-wrap: wrap; }
	.woocommerce-cart-form .coupon input { max-width: none; flex: 1 1 100%; }
	.wc-proceed-to-checkout .button { min-height: 54px; }
}
@media (max-width: 420px) {
	.products.grid, .products.grid[data-cols] { gap: 26px 10px; }
	.card__title { font-size: 12.5px; }
	.pdp .single_add_to_cart_button { flex-basis: 100%; }
	.pdp .quantity { width: 100%; justify-content: space-between; }
	.pdp .quantity .qty-btn { width: 56px; }
	.pdp .quantity input.qty { flex: 1; }
}
.upsell__price .price, .vcard__product .price, .search-results .price { font-size: 13px; justify-content: flex-start; }
