/* ==========================================================================
   Shop: product cards, archive, single product, cart, checkout, account
   ========================================================================== */

/* ---------- price ---------- */
.amount, .woocommerce-Price-amount { font-family: var(--font-head); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
del { color: var(--muted); font-weight: 500; font-size: 0.8em; margin-right: 6px; }
del .amount { color: var(--muted); font-weight: 500; }
ins { text-decoration: none; }

/* ---------- product grid + card ---------- */
.pgrid { display: grid; gap: 22px; }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1180px) { .pgrid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1040px) { .pgrid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .pgrid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pgrid { gap: 12px; } }

.pcard {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s var(--ease), border-color 0.2s;
	container-type: inline-size;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--line-strong); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(145deg, #f4f8f5, #e6eee9); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard.is-out .pcard__media img { filter: grayscale(0.7); opacity: 0.7; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard__title { font-size: 16.5px; line-height: 1.3; margin: 0 0 6px; letter-spacing: -0.012em; }
.pcard__title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--brand); }
.pcard__fit { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.pcard__price .amount { font-size: 20px; }
.pcard__add {
	position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 36px; padding: 0 13px; overflow: hidden;
	background: var(--brand); color: #fff; border-radius: 10px;
	font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: -0.005em; line-height: 1; white-space: nowrap;
	box-shadow: 0 10px 20px -12px rgba(0, 107, 58, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.pcard__add::before {
	content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.pcard__add:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 26px -14px rgba(0, 107, 58, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.pcard__add:hover::before { transform: translateX(120%); }
.pcard__add:active { transform: translateY(0); }
.pcard__add:focus-visible { outline: 3px solid rgba(0, 107, 58, 0.35); outline-offset: 2px; }
.pcard__add .icon { width: 16px; height: 16px; stroke-width: 2.2; flex: none; transition: transform 0.25s var(--ease); }
.pcard__add:hover .icon { transform: translateX(2px); }
.pcard__add-done { display: none; }
.pcard__add--view { background: var(--brand-50); color: var(--brand-700); box-shadow: none; border: 1px solid var(--brand-100); }
.pcard__add--view:hover { background: var(--brand); color: #fff; }
.pcard__add.is-loading { opacity: 0.65; pointer-events: none; }
.pcard__add.is-loading .icon { animation: rscSpin 0.8s linear infinite; }
.pcard__add.is-added { background: var(--ink); }
.pcard__add.is-added .pcard__add-label { display: none; }
.pcard__add.is-added .pcard__add-done { display: inline; }
@container (max-width: 250px) {
	.pcard__foot { flex-direction: column; align-items: stretch; gap: 10px; }
	.pcard__add { width: 100%; }
}
@keyframes rscSpin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
	.pcard__body { padding: 14px 14px 16px; }
	.pcard__title { font-size: 15px; }
	.pcard__price .amount { font-size: 18px; }
	.pcard__foot { flex-direction: column; align-items: stretch; gap: 10px; }
	.pcard__add { width: 100%; height: 38px; }
}

/* ---------- shop layout ---------- */
.shop { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters {
	position: sticky; top: calc(var(--header-h) + 20px);
	max-height: calc(100vh - var(--header-h) - 40px); overflow: auto;
	background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 22px 22px;
}
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 4px; }
.filters__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; }
.filters__head .icon { width: 20px; height: 20px; color: var(--brand); }
.filters__close { display: none; }
.fgroup { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 12px; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.fselect { display: block; margin-bottom: 12px; }
.fselect > span:first-child { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fselect select, .select-wrap select {
	width: 100%; height: 46px; padding: 0 40px 0 14px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235f7066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink);
	appearance: none; -webkit-appearance: none; cursor: pointer;
}
.fselect select:focus, .select-wrap select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 107, 58, 0.12); }
.select-wrap { position: relative; display: block; }
.select-wrap > .icon { display: none; }
.fradio, .fcheck { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 14.5px; font-weight: 500; color: var(--text); cursor: pointer; }
.fradio input, .fcheck input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.fradio:hover, .fcheck:hover { color: var(--brand); }
.fradio em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); background: var(--tint); padding: 1px 8px; border-radius: 999px; }
.frange { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.frange input { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-size: 14.5px; background: #fff; min-width: 0; }
.frange input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 107, 58, 0.12); }
.filters__actions { display: grid; gap: 8px; padding-top: 20px; }
.filters__help { margin-top: 18px; padding: 18px; background: var(--tint); border-radius: 14px; font-size: 14px; }
.filters__help strong { font-family: var(--font-head); color: var(--ink); }
.filters__help p { margin: 4px 0 10px; color: var(--muted); }
.filters__overlay { display: none; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.toolbar__filters { display: none; }
.toolbar__count { margin: 0; font-weight: 600; color: var(--muted); font-size: 15px; }
.toolbar__sort { margin-left: auto; }
.toolbar__sort .select-wrap select { width: auto; min-width: 210px; height: 44px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 14px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--brand-700); transition: background 0.15s; }
.chip .icon { width: 16px; height: 16px; padding: 2px; background: #fff; border-radius: 50%; }
.chip:hover { background: var(--brand-100); color: var(--brand-700); }
.chip--clear { background: none; border-color: transparent; padding: 7px 10px; text-decoration: underline; color: var(--muted); }

.empty { text-align: center; padding: 64px 24px; background: var(--tint); border: 1.5px dashed var(--line-strong); border-radius: 22px; }
.empty__ico { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; background: #fff; color: var(--brand); border-radius: 50%; box-shadow: var(--shadow-sm); }
.empty__ico .icon { width: 30px; height: 30px; }
.empty h2 { font-size: 24px; }
.empty p { max-width: 460px; margin: 0 auto; color: var(--muted); }

@media (max-width: 960px) {
	.shop { grid-template-columns: 1fr; }
	.toolbar { flex-wrap: wrap; }
	.toolbar__filters { display: inline-flex; }
	.toolbar__sort { margin-left: auto; }
	.toolbar__sort .select-wrap select { min-width: 0; }
	.filters {
		position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: min(360px, 92%); max-height: none;
		border-radius: 0 22px 22px 0; transform: translateX(-102%); transition: transform 0.3s var(--ease);
		padding-bottom: 40px; box-shadow: var(--shadow-lg);
	}
	.filters.is-open { transform: none; }
	.filters__close { display: inline-grid; }
	.filters__overlay { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(10, 24, 17, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
	.filters__overlay.is-open { opacity: 1; pointer-events: auto; }
	body.filters-open { overflow: hidden; }
}

/* ---------- single product ---------- */
.pdp { padding: 4px 0 24px; }
.pdp .crumbs { margin: 28px 0 24px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main {
	position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden;
	background: linear-gradient(145deg, #f6f9f7, #e9f0ec); border: 1px solid var(--line); border-radius: 24px;
}
.gallery__img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity 0.2s; }
.gallery__img.is-swapping { opacity: 0.25; }
.gallery__badges { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; gap: 8px; }
.gallery__zoom {
	position: absolute; right: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); box-shadow: var(--shadow-sm);
	transition: background 0.2s, color 0.2s;
}
.gallery__zoom:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery__zoom .icon { width: 21px; height: 21px; }
.gallery__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gallery__thumb { display: block; width: 88px; height: 72px; padding: 0; overflow: hidden; background: var(--tint); border: 2px solid transparent; border-radius: 14px; transition: border-color 0.2s, transform 0.2s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--brand); }

.pdp__info { position: relative; }
.pdp__cat { display: inline-block; margin-bottom: 10px; font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.pdp__title { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 16px; }
.pdp__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pdp__meta li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.pdp__meta .icon { width: 16px; height: 16px; color: var(--brand); }
.pdp__meta strong { color: var(--ink); font-weight: 700; }
.pdp__meta .is-ok { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); font-weight: 700; }
.pdp__meta .is-out { background: #fdecea; border-color: #f6cfcb; color: var(--danger); font-weight: 700; }
.pdp__meta .is-out .icon { color: var(--danger); }

.pdp__price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp__price-main .amount { font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.pdp__price small { font-size: 13px; color: var(--muted); }
.pdp__short { margin-bottom: 22px; color: var(--muted); font-size: 16px; }
.pdp__short p:last-child { margin-bottom: 0; }

.fitbox { margin-bottom: 22px; padding: 18px 20px; background: var(--tint); border: 1px solid var(--line); border-radius: 18px; }
.fitbox__head { display: flex; align-items: center; gap: 14px; }
.fitbox__ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--brand); border-radius: 12px; border: 1px solid var(--line); }
.fitbox__head strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.fitbox__head span span, .fitbox__head > div > span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
.fitbox__form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; margin-top: 14px; }
.fitbox__form .fselect { margin: 0; }
.fitbox__form select { height: 44px; font-size: 14px; }
.fitbox__result { margin: 12px 0 0; padding: 11px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.fitbox__result.is-fits { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.fitbox__result.is-nofit { background: #fdecea; color: var(--danger); border: 1px solid #f6cfcb; }
.fitbox__result.is-unknown { background: #fff; color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 560px) { .fitbox__form { grid-template-columns: 1fr 1fr; } .fitbox__form .btn { grid-column: 1 / -1; } }

/* buy form */
.pdp__buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; }
.pdp__buy .quantity { flex: none; }
.pdp__buy .single_add_to_cart_button {
	flex: 1 1 220px; min-height: 58px; padding: 0 28px; border: 0; border-radius: 14px;
	background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
	box-shadow: 0 14px 28px -14px rgba(0, 107, 58, 0.85);
	transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.pdp__buy .single_add_to_cart_button:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(0, 107, 58, 0.9); }
.pdp__buy .single_add_to_cart_button.is-loading { opacity: 0.7; pointer-events: none; }
.pdp__buy .single_add_to_cart_button.disabled, .pdp__buy .single_add_to_cart_button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.pdp__buy .variations { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.pdp__buy .variations td, .pdp__buy .variations th { padding: 6px 0; text-align: left; }
.pdp__buy .variations label { font-weight: 700; color: var(--ink); }
.pdp__buy .woocommerce-variation-price .amount { font-size: 22px; }
.pdp__buy .stock { margin: 0 0 12px; font-weight: 600; color: var(--brand); }
.pdp__buy .reset_variations { font-size: 13px; margin-left: 10px; }
.soldbox { padding: 22px; background: #fdf3f2; border: 1px solid #f6cfcb; border-radius: 16px; }
.soldbox strong { font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.soldbox p { margin: 6px 0 14px; color: var(--muted); }

.pdp__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 26px; }
.pdp__links a { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pdp__links a:hover { color: var(--brand); }
.pdp__links .icon { width: 19px; height: 19px; color: var(--brand); }

.trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.trust .icon { flex: none; width: 24px; height: 24px; color: var(--brand); margin-top: 1px; }
.trust strong { display: block; font-family: var(--font-head); font-size: 14px; line-height: 1.3; color: var(--ink); }
.trust small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* quantity stepper */
.quantity { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.quantity .qty { width: 54px; height: 54px; padding: 0; border: 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { outline: 0; }
.qty-btn { width: 44px; height: 54px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; color: var(--ink); font-size: 20px; line-height: 1; }
.qty-btn:hover { background: var(--brand-50); color: var(--brand); }
.qty-btn .icon { width: 18px; height: 18px; }

/* tabs */
.ptabs { margin-top: 72px; }
.ptabs__nav { display: none; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.js .ptabs__nav { display: flex; }
.ptabs__nav::-webkit-scrollbar { display: none; }
.ptabs__nav button { position: relative; flex: none; padding: 16px 22px; background: none; border: 0; font-family: var(--font-head); font-size: 15.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ptabs__nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform 0.25s var(--ease); border-radius: 3px 3px 0 0; }
.ptabs__nav button:hover { color: var(--ink); }
.ptabs__nav button[aria-selected="true"] { color: var(--brand); }
.ptabs__nav button[aria-selected="true"]::after { transform: scaleX(1); }
.ptabs__panel { padding: 36px 0 0; max-width: 900px; animation: rscFade 0.3s var(--ease); }
.js .ptabs__h { display: none; }
.ptabs__h { font-size: 24px; margin: 28px 0 14px; }
.ptabs__panel[hidden] { display: none; }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; border-spacing: 0; }
.spec th, .spec td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec tbody tr:nth-child(odd) { background: var(--tint); }
.spec th { width: 38%; font-weight: 600; color: var(--muted); }
.spec td { color: var(--ink); font-weight: 600; word-break: break-word; }
.spec--fit thead th { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; width: auto; }
.fit-notes { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; background: var(--tint); border-radius: 12px; font-size: 14.5px; }
.fit-notes .icon { flex: none; margin-top: 2px; color: var(--brand); }

.related { margin-top: 84px; }

/* sticky mobile bar */
.stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
	background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
	box-shadow: 0 -12px 32px -18px rgba(16, 40, 28, 0.4);
	transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.stickybar.is-visible { transform: none; }
.stickybar__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.stickybar__info { min-width: 0; display: flex; flex-direction: column; }
.stickybar__info strong { font-family: var(--font-head); font-size: 14px; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar__info .amount { font-size: 17px; }
@media (max-width: 960px) {
	.stickybar { display: block; }
	body.single-product { padding-bottom: 76px; }
	.to-top { bottom: 92px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(8, 18, 13, 0.94); animation: rscFade 0.2s; padding: 56px 16px; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #fff; }
.lightbox button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 50%; }
.lightbox button:hover { background: #fff; color: var(--ink); }
.lightbox__close { right: 18px; top: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -24px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 960px) {
	.pdp__grid { grid-template-columns: 1fr; gap: 28px; }
	.gallery { position: static; }
	.ptabs { margin-top: 48px; }
	.ptabs__nav button { padding: 14px 16px; font-size: 14.5px; }
	.related { margin-top: 56px; }
}

/* ---------- WooCommerce notices ---------- */
.rsc-notices { padding-top: 8px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	list-style: none; margin: 0 0 20px; padding: 16px 20px;
	background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand); border-radius: 12px;
	font-size: 15px; font-weight: 500; color: var(--brand-700);
}
.woocommerce-info { background: var(--tint); border-color: var(--line); border-left-color: var(--brand); color: var(--text); }
.woocommerce-error { background: #fdf0ef; border-color: #f6cfcb; border-left-color: var(--danger); color: var(--danger); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { text-decoration: underline; font-weight: 700; }

/* ---------- generic WooCommerce buttons ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.rsc-notices .button, .woocommerce-message .button, .woocommerce #respond input#submit,
.woocommerce-page .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; min-height: 46px; background: var(--brand); color: #fff;
	border: 1.5px solid transparent; border-radius: 10px;
	font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background 0.18s, color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover,
.rsc-notices .button:hover, .woocommerce-message .button:hover, .woocommerce-page .button:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.woocommerce .button.disabled, .woocommerce .button:disabled, .woocommerce button.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.woocommerce a.button.wc-backward, .woocommerce .button.wc-backward { background: var(--brand); }

/* ---------- cart ---------- */
.woo-content { min-width: 0; }
.woocommerce-cart-form { margin-bottom: 32px; }
.woo-content .woocommerce { display: block; }
.woocommerce table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.woocommerce table.shop_table th { padding: 16px 20px; text-align: left; background: var(--tint); font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); }
.woocommerce table.shop_table td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text); }
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.cart img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--tint); }
.woocommerce table.cart .product-name a { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; }
.woocommerce table.cart .product-name a:hover { color: var(--brand); }
.woocommerce table.cart .product-remove { width: 56px; }
.woocommerce a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--muted) !important; font-size: 22px; line-height: 1; font-weight: 400; }
.woocommerce a.remove:hover { background: var(--danger); color: #fff !important; }
.woocommerce table.cart td.actions { background: var(--tint); padding: 16px 20px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 10px; float: left; }
.woocommerce table.cart td.actions .coupon input { height: 46px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; min-width: 190px; background: #fff; }
.woocommerce table.cart td.actions > .button { float: right; }
.woocommerce table.cart td.actions::after { content: ""; display: table; clear: both; }
.woocommerce .cart-collaterals { display: flex; justify-content: flex-end; }
.woocommerce .cart-collaterals .cart_totals { width: min(460px, 100%); padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.woocommerce .cart_totals h2 { font-size: 22px; margin-bottom: 18px; }
.woocommerce .cart_totals table.shop_table { border: 0; border-radius: 0; background: none; }
.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { padding: 14px 0; background: none; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: 15px; font-family: var(--font-body); font-weight: 600; color: var(--text); }
.woocommerce .cart_totals .order-total th, .woocommerce .cart_totals .order-total td { font-size: 17px; color: var(--ink); border-bottom: 0; }
.woocommerce .cart_totals .order-total .amount { font-size: 26px; }
.woocommerce .wc-proceed-to-checkout { padding-top: 18px; }
.woocommerce .wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 58px; font-size: 17px; border-radius: 14px; }
.woocommerce ul#shipping_method { list-style: none; display: grid; gap: 8px; text-align: left; }
.woocommerce ul#shipping_method li { display: flex; align-items: center; gap: 10px; }
.woocommerce ul#shipping_method input { accent-color: var(--brand); }
.woocommerce .shipping-calculator-button { font-weight: 600; font-size: 14px; }
.cart-empty.woocommerce-info { justify-content: center; padding: 48px 24px; font-size: 18px; font-weight: 600; text-align: center; }
.return-to-shop { text-align: center; margin-top: 8px; }
@media (max-width: 760px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
	.woocommerce table.shop_table_responsive tr:last-child { border-bottom: 0; }
	.woocommerce table.shop_table_responsive td { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 18px; border: 0; text-align: right; }
	.woocommerce table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; color: var(--ink); text-align: left; }
	.woocommerce table.shop_table_responsive td.product-remove { position: absolute; right: 8px; top: 8px; width: auto; padding: 0; z-index: 1; }
	.woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.product-thumbnail::before, .woocommerce table.shop_table_responsive td.actions::before { display: none; }
	.woocommerce table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	.woocommerce table.cart td.actions { display: block; padding: 16px 18px; }
	.woocommerce table.cart td.actions .coupon { float: none; flex-direction: column; margin-bottom: 12px; }
	.woocommerce table.cart td.actions .coupon input { width: 100%; }
	.woocommerce table.cart td.actions > .button { float: none; width: 100%; }
	.woocommerce .cart-collaterals .cart_totals { padding: 22px 18px; }
}

/* ---------- checkout ---------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout .woocommerce-form-login-toggle { margin-bottom: 8px; }
.woocommerce-form-coupon, .woocommerce-form-login { padding: 20px 24px; margin-bottom: 24px; background: var(--tint); border: 1px solid var(--line); border-radius: 16px; }
.woocommerce-form-coupon .form-row { display: inline-block; margin: 0 8px 0 0; }
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto 1fr; column-gap: 48px; align-items: start; }
form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
form.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 28px 30px 0; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; font-size: 22px; }
form.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; padding: 14px 30px 30px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; box-shadow: var(--shadow); }
.woocommerce-checkout .col2-set { display: block; width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-checkout h3 { font-size: 22px; margin: 0 0 20px; }
.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields { padding: 30px; margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce form .form-row { margin: 0; padding: 0; min-width: 0; float: none; width: auto; }
.woocommerce form .form-row-wide, .woocommerce form .form-row-first:only-child, #order_comments_field, #billing_address_1_field, #shipping_address_1_field, #billing_email_field { grid-column: 1 / -1; }
.woocommerce form .form-row label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.woocommerce form .form-row .required, .woocommerce form .form-row abbr { color: var(--danger); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 500; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; }
.woocommerce form .form-row.woocommerce-invalid .input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--danger); }
.woocommerce form .form-row.woocommerce-validated .input-text { border-color: var(--line-strong); }
.woocommerce-checkout #ship-to-different-address { font-size: 18px; margin: 0 0 18px; }
.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.woocommerce-checkout input[type="checkbox"], .woocommerce-checkout input[type="radio"] { accent-color: var(--brand); width: 18px; height: 18px; }
.woocommerce-checkout-review-order-table { border: 0 !important; border-radius: 0 !important; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 14px 0 !important; background: none !important; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-body) !important; font-size: 15px !important; font-weight: 500 !important; color: var(--text) !important; border-bottom: 1px solid var(--line) !important; }
.woocommerce-checkout-review-order-table thead th { font-family: var(--font-head) !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: var(--ink) !important; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600 !important; color: var(--ink) !important; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0 !important; font-size: 17px !important; color: var(--ink) !important; font-weight: 700 !important; }
.woocommerce-checkout-review-order-table .order-total .amount { font-size: 26px; }
#payment { margin-top: 10px; background: none; border-radius: 0; }
#payment ul.payment_methods { list-style: none; display: grid; gap: 10px; padding: 0 0 18px; border: 0; }
#payment ul.payment_methods > li { padding: 14px 16px; background: var(--tint); border: 1.5px solid var(--line); border-radius: 14px; }
#payment ul.payment_methods > li:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
#payment ul.payment_methods > li label { display: inline; margin-left: 8px; font-weight: 700; font-family: var(--font-head); color: var(--ink); cursor: pointer; }
#payment .payment_box { margin-top: 10px; padding: 12px 14px; background: #fff; border-radius: 10px; font-size: 14px; color: var(--muted); }
#payment .payment_box p:last-child { margin: 0; }
#payment .place-order { padding: 0; }
#place_order { width: 100%; min-height: 60px; font-size: 18px; border-radius: 14px; box-shadow: 0 14px 28px -14px rgba(0, 107, 58, 0.85); }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: 14px; }
.woocommerce-checkout .blockUI.blockOverlay { border-radius: 22px; }
@media (max-width: 1040px) {
	form.woocommerce-checkout { grid-template-columns: 1fr; }
	form.woocommerce-checkout #customer_details, form.woocommerce-checkout #order_review_heading, form.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	form.woocommerce-checkout #order_review_heading { margin-top: 8px; }
}
@media (max-width: 560px) {
	.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields { padding: 22px 18px; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	form.woocommerce-checkout #order_review_heading { padding: 22px 18px 0; }
	form.woocommerce-checkout #order_review { padding: 10px 18px 22px; }
}

/* order received */
.woocommerce-order .woocommerce-notice--success { padding: 22px 26px; margin-bottom: 24px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 16px; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--brand-700); }
ul.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 32px; }
ul.woocommerce-order-overview li { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 17px; color: var(--ink); text-transform: none; letter-spacing: 0; }

/* ---------- my account ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
.woocommerce-MyAccount-navigation a:hover { background: var(--tint); color: var(--brand); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brand); color: #fff; }
.woocommerce-MyAccount-content { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.woocommerce-account:not(.logged-in) .woocommerce, .woocommerce-account .woocommerce:has(#customer_login) { display: block; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
#customer_login .u-column1, #customer_login .u-column2 { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
#customer_login h2 { font-size: 24px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.woocommerce-form-login { border: 0; padding: 0; margin: 0; background: none; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { margin-bottom: 16px; }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.woocommerce-LostPassword { margin-top: 14px; }
@media (max-width: 960px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; }
	#customer_login { grid-template-columns: 1fr; }
}

/* ---------- select2 (country / state) ---------- */
.select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 50px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 47px; padding-left: 16px; padding-right: 36px; color: var(--ink); font-size: 15px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--open .select2-selection--single { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 107, 58, 0.12); }
.select2-dropdown { border: 1.5px solid var(--brand) !important; border-radius: 12px !important; overflow: hidden; box-shadow: var(--shadow); }
.select2-search--dropdown { padding: 10px; }
.select2-search--dropdown .select2-search__field { height: 42px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; }
.select2-results__option { padding: 10px 16px; font-size: 14.5px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--brand); color: #fff; }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option[data-selected="true"] { background: var(--brand-50); color: var(--brand-700); }

/* ---------- misc ---------- */
.woocommerce-breadcrumb { display: none; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }
.screen-reader-text.woocommerce-hidden { display: none; }
.woocommerce-pagination { display: none; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.6) !important; }

/* cart count bump */
.rsc-cart-count.rsc-bump { animation: rscBump 0.4s var(--ease); }
@keyframes rscBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* searchable filter lists */
.flistbox { display: block; }
.fsearch { position: relative; display: block; margin-bottom: 8px; }
.fsearch .icon { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--muted); pointer-events: none; }
.fsearch input { width: 100%; height: 42px; padding: 0 12px 0 38px; background: var(--tint); border: 1.5px solid transparent; border-radius: 10px; font-size: 14px; color: var(--ink); }
.fsearch input::placeholder { color: var(--muted); }
.fsearch input:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 107, 58, 0.12); }
.flist { max-height: 210px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.flist .fradio { padding: 7px 4px; border-radius: 8px; }
.flist .fradio:hover { background: var(--tint); }
.flist .fradio.is-off { display: none; }
.flist__none { margin: 8px 4px 0; font-size: 13.5px; color: var(--muted); }
.fradio em { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
