/* WooCommerce in the site's design. Light and dark follow the theme tokens. */

/* ---------- Shared pieces ---------- */
.sd-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: var(--r-pill); background: var(--ink-950); color: #fff; font: 600 10.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sd-badge--sale { background: var(--cobalt-600); }
.sd-badge--free { background: var(--success); color: #fff; }
:root[data-theme="dark"] .sd-badge--free { color: var(--ink-950); }
.sd-price-free { color: var(--success); font-weight: 600; }

.woocommerce .price, .woocommerce-page .price { color: var(--fg); font-weight: 600; letter-spacing: -.02em; }
.woocommerce .price del, .woocommerce-page .price del { margin-right: 6px; color: var(--faint); font-weight: 400; opacity: 1; }
.woocommerce .price ins, .woocommerce-page .price ins { text-decoration: none; }
.woocommerce .price .woocommerce-Price-currencySymbol { margin-right: 1px; }

/* Buttons used across the store */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
	background: var(--ink-950); color: #fff; font: 500 15px/1 var(--f-text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease-out);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover { background: var(--cobalt-600); color: #fff; }
:root[data-theme="dark"] .woocommerce a.button, :root[data-theme="dark"] .woocommerce button.button, :root[data-theme="dark"] .woocommerce input.button, :root[data-theme="dark"] .woocommerce #respond input#submit,
:root[data-theme="dark"] .woocommerce-page a.button, :root[data-theme="dark"] .woocommerce-page button.button, :root[data-theme="dark"] .woocommerce-page input.button { background: var(--chrome); color: var(--ink-950); }
:root[data-theme="dark"] .woocommerce a.button:hover, :root[data-theme="dark"] .woocommerce button.button:hover, :root[data-theme="dark"] .woocommerce-page a.button:hover, :root[data-theme="dark"] .woocommerce-page button.button:hover { background: var(--cobalt-500); color: #fff; }
.woocommerce .button.alt, .woocommerce-page .button.alt, .woocommerce #place_order, .woocommerce-page .checkout-button,
:root[data-theme="dark"] .woocommerce .button.alt, :root[data-theme="dark"] .woocommerce-page .button.alt, :root[data-theme="dark"] .woocommerce #place_order, :root[data-theme="dark"] .woocommerce-page .checkout-button {
	background: var(--cobalt-600); color: #fff; box-shadow: 0 10px 28px -10px rgba(194, 65, 12, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.woocommerce .button.alt:hover, .woocommerce-page .button.alt:hover, .woocommerce #place_order:hover, .woocommerce-page .checkout-button:hover,
:root[data-theme="dark"] .woocommerce .button.alt:hover, :root[data-theme="dark"] .woocommerce-page .button.alt:hover { background: var(--cobalt-500); color: #fff; }
.woocommerce .button:active, .woocommerce-page .button:active { transform: scale(.98); }
.woocommerce .button.disabled, .woocommerce .button:disabled, .woocommerce .button:disabled[disabled], .woocommerce-page .button.disabled { opacity: .45; cursor: not-allowed; }
.woocommerce .button.loading, .woocommerce-page .button.loading { opacity: .7; pointer-events: none; }
.woocommerce .button.loading::after, .woocommerce-page .button.loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: sd-spin .8s linear infinite; }
.woocommerce .button.added::after { content: ""; width: 14px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.woocommerce a.added_to_cart { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--accent); font-size: 14.5px; font-weight: 500; }
.woocommerce a.added_to_cart:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Star ratings drawn with the same mask as the rest of the site */
.woocommerce .star-rating, .woocommerce-page .star-rating {
	--star: 15px; position: relative; display: inline-block; width: calc((var(--star) + 2px) * 5 - 2px); height: var(--star); overflow: hidden; background: rgba(245, 184, 61, .25); vertical-align: -2px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.8l3 6.2 6.8.9-5 4.7 1.3 6.7L12 17l-6.1 3.3 1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E") 0 0 / calc(var(--star) + 2px) var(--star) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.8l3 6.2 6.8.9-5 4.7 1.3 6.7L12 17l-6.1 3.3 1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E") 0 0 / calc(var(--star) + 2px) var(--star) repeat-x;
}
.woocommerce .star-rating span, .woocommerce-page .star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; background: #F5B83D; font-size: 0; color: transparent; }
.woocommerce .star-rating::before, .woocommerce .star-rating span::before { content: none; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { display: grid; gap: 10px; margin-bottom: 24px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 16px; padding: 16px 20px 16px 50px; border-radius: 16px;
	background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); color: var(--fg); font-size: 15px; line-height: 1.5; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--success); -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%); mask: radial-gradient(circle, #000 60%, transparent 62%); }
.woocommerce-info::before { background: var(--accent); }
.woocommerce-error::before { background: #DC3545; }
.woocommerce-error { display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { order: 2; min-height: 40px; margin-left: auto; padding: 0 16px; font-size: 14px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sd-dark .woocommerce-message, .sd-dark .woocommerce-info, .sd-dark .woocommerce-error { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--chrome); }
.sd-dark .woocommerce-message a:not(.button), .sd-dark .woocommerce-info a:not(.button) { color: var(--cobalt-300); }
.sd-dark .woocommerce-message .button, .sd-dark .woocommerce-info .button { background: #fff; color: var(--ink-950); }

/* Form fields in the classic checkout, account and review forms */
.woocommerce form .form-row, .woocommerce-page form .form-row { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label, .woocommerce-page form .form-row label, .woocommerce form label { font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--fg); }
.woocommerce form .form-row .required, .woocommerce-page form .form-row .required { color: #DC3545; text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--muted); font-weight: 400; }
.woocommerce input.input-text, .woocommerce-page input.input-text, .woocommerce select, .woocommerce-page select, .woocommerce textarea, .woocommerce-page textarea,
.woocommerce form input[type="email"], .woocommerce form input[type="password"], .woocommerce form input[type="text"], .woocommerce form input[type="tel"], .woocommerce #respond textarea, .woocommerce #respond input[type="text"], .woocommerce #respond input[type="email"] {
	width: 100%; min-height: 50px; padding: 13px 16px; border: 0; border-radius: 12px; background-color: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font: 400 16px/1.4 var(--f-text); transition: box-shadow .25s, background-color .25s;
}
.woocommerce textarea, .woocommerce-page textarea { min-height: 130px; resize: vertical; }
.woocommerce input.input-text:hover, .woocommerce select:hover, .woocommerce textarea:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.woocommerce input.input-text:focus, .woocommerce select:focus, .woocommerce textarea:focus, .woocommerce form input:focus, .woocommerce #respond textarea:focus { outline: 0; background-color: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.woocommerce select, .woocommerce-page select { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23555E6B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { box-shadow: inset 0 0 0 1.5px #DC3545; }
.woocommerce input[type="checkbox"], .woocommerce input[type="radio"], .woocommerce-page input[type="checkbox"], .woocommerce-page input[type="radio"] { width: 18px; height: 18px; accent-color: var(--cobalt-600); vertical-align: -3px; }
.woocommerce .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .show-password-input { position: absolute; top: 50%; right: 12px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transform: translateY(-50%); }
.woocommerce .show-password-input::before { content: ""; display: block; width: 18px; height: 18px; margin: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { content: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: auto; float: none; max-width: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: auto; float: none; }
.woocommerce .woocommerce-billing-fields__field-wrapper, .woocommerce .woocommerce-shipping-fields__field-wrapper, .woocommerce .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.woocommerce .form-row-wide, .woocommerce .notes, .woocommerce #billing_country_field, .woocommerce #billing_email_field, .woocommerce #billing_address_1_field, .woocommerce #billing_address_2_field, .woocommerce #shipping_country_field, .woocommerce #shipping_address_1_field, .woocommerce #shipping_address_2_field { grid-column: 1 / -1; }
.woocommerce h3, .woocommerce-page h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.woocommerce-page .clear { clear: both; }

/* Country and state pickers (selectWoo) */
.select2-container .select2-selection--single { height: 50px; border: 0; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0 44px 0 16px; line-height: 50px; color: var(--fg); }
.select2-container .select2-selection--single .select2-selection__arrow { top: 12px; right: 12px; }
.select2-container--open .select2-selection--single, .select2-container--focus .select2-selection--single { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.select2-dropdown { overflow: hidden; border: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), var(--card-shadow-lg); color: var(--fg); }
.select2-search--dropdown .select2-search__field { padding: 10px 12px; border: 0; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.select2-results__option { padding: 9px 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--cobalt-600); color: #fff; }

/* Tables: order details, account orders and downloads */
.woocommerce table.shop_table, .woocommerce-page table.shop_table { width: 100%; margin: 0 0 24px; border: 0; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { color: var(--muted); font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.woocommerce table.shop_table tfoot th { font-weight: 500; color: var(--muted); }
.woocommerce table.shop_table tfoot tr:last-child th, .woocommerce table.shop_table tfoot tr:last-child td { border-bottom: 0; color: var(--fg); font-size: 17px; font-weight: 600; }
.woocommerce table.shop_table tbody tr:last-child td { border-bottom-color: var(--line); }
.woocommerce table.shop_table a:not(.button) { color: var(--fg); font-weight: 500; }
.woocommerce table.shop_table a:not(.button):hover { color: var(--accent); }
.woocommerce table.shop_table .button { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-actions, .woocommerce table.shop_table .download-file { white-space: nowrap; }

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-weight: 500; }
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink-950); box-shadow: none; color: #fff; }
:root[data-theme="dark"] .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--chrome); color: var(--ink-950); }

/* ---------- Shop grid ---------- */
.sd-store-hero .sd-page-hero__title { max-width: 16em; }
.sd-store__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(24px, 3vw, 36px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sd-store__bar .woocommerce-result-count { margin: 0; color: var(--muted); font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sd-store__bar .woocommerce-ordering { margin: 0; }
.sd-store__bar .woocommerce-ordering select { min-height: 44px; padding: 10px 44px 10px 18px; border-radius: var(--r-pill); background-color: var(--surface); font-size: 14.5px; }
.sd-store__empty { display: grid; justify-items: start; gap: 16px; }

.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; margin: 0; padding: 0; float: none; }
.sd-product-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.sd-product-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow-lg); }
.sd-product-card__media { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.sd-product-card__media::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--thumb, none) center / cover no-repeat; filter: blur(22px) saturate(1.2); opacity: .7; transform: scale(1.1); }
.sd-product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.sd-product-card:hover .sd-product-card__media img { transform: scale(1.04); }
.sd-product-card__ph { display: grid; place-items: center; height: 100%; color: var(--muted); background: radial-gradient(60% 80% at 100% 0%, rgba(194, 65, 12, .16), transparent 70%), var(--surface-2); }
.sd-product-card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-product-card__badges .onsale { position: static; }
.sd-product-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.sd-product-card__cat { color: var(--accent-ink); font-size: 10.5px; }
.sd-product-card__title { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.022em; text-wrap: pretty; }
.sd-product-card__title a { color: var(--fg); }
.sd-product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sd-product-card__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; }
.sd-product-card__rating { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.sd-product-card__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sd-product-card__foot .price { font-size: 18px; }
.sd-product-card__foot .button { min-height: 42px; padding: 0 16px; font-size: 14px; }
.sd-product-card__foot .added_to_cart { min-height: 42px; font-size: 14px; }

/* ---------- Single product ---------- */
.sd-product-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.sd-product-hero__notices .woocommerce-notices-wrapper { margin: 22px 0 0; }
.sd-product-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 3.5vw, 44px); }
.sd-product-hero__media { position: relative; min-width: 0; }
.sd-product-hero__media .onsale { position: absolute; top: 16px; left: 16px; z-index: 3; }
.sd-product .woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.sd-product .woocommerce-product-gallery__wrapper { margin: 0; }
.sd-product .woocommerce-product-gallery .flex-viewport, .sd-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.sd-product .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.sd-product .woocommerce-product-gallery__image a { display: block; }
.sd-product .woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.sd-product .woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.sd-product .woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #fff; opacity: .55; cursor: pointer; transition: opacity .3s, box-shadow .3s; }
.sd-product .woocommerce-product-gallery .flex-control-thumbs img:hover, .sd-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--cobalt-300); }
.sd-product .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(10, 11, 15, .6); font-size: 0; color: transparent; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sd-product .woocommerce-product-gallery__trigger > * { display: none; }
.sd-product .woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L20 20M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.sd-product .woocommerce-product-gallery__trigger:hover { background: var(--cobalt-600); }
.sd-product-hero__summary { display: grid; gap: 18px; align-content: start; min-width: 0; color: var(--slate-300); }
.sd-product-hero__summary > * { margin: 0; }
.sd-product__kicker .sd-tag { background: rgba(255, 160, 110, .14); color: var(--cobalt-300); }
.sd-product .product_title { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 54px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.sd-product-hero__summary .woocommerce-product-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.sd-product-hero__summary .woocommerce-review-link { color: var(--slate-300); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.sd-product-hero__summary .price { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.sd-product-hero__summary .price del { color: var(--slate-500); font-size: .62em; }
.sd-product-hero__summary .woocommerce-product-details__short-description { max-width: 34em; color: var(--slate-400); font-size: 17px; line-height: 1.6; }
.sd-product-hero__summary .woocommerce-product-details__short-description p { margin: 0 0 .6em; }
.sd-product-hero__summary .woocommerce-product-details__short-description p:last-child { margin: 0; }
.sd-product-hero__summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.sd-product-hero__summary form.cart .quantity { display: inline-flex; }
.sd-product-hero__summary form.cart .quantity .qty { width: 84px; min-height: 54px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; text-align: center; }
.sd-product-hero__summary .single_add_to_cart_button { flex: 1 1 200px; min-height: 54px; font-size: 16px; }
.sd-product-hero__summary .sd-product__demo { flex: 1 1 170px; justify-content: space-between; min-height: 54px; font-size: 16px; }
.sd-product__demo-row { display: flex; }
.sd-product__demo-row .sd-product__demo { flex: 1; }
.sd-product-hero__summary .woocommerce-variation-add-to-cart .sd-product__demo { flex: 1 1 170px; }
.sd-product-hero__summary form.cart .quantity.hidden + .single_add_to_cart_button, .sd-product-hero__summary form.cart .quantity:has(input[type="hidden"]) + .single_add_to_cart_button { flex-basis: 100%; }
.sd-product-hero__summary .stock { color: var(--live); font-size: 14px; }
.sd-product-hero__summary .stock.out-of-stock { color: #F87171; }
.sd-product-hero__summary form.variations_form { display: grid; gap: 16px; }
.sd-product-hero__summary .single_variation_wrap { width: 100%; }
.sd-product-hero__summary table.variations { width: 100%; border: 0; border-collapse: collapse; }
.sd-product-hero__summary table.variations tr { display: grid; gap: 8px; margin-bottom: 12px; }
.sd-product-hero__summary table.variations th, .sd-product-hero__summary table.variations td { padding: 0; border: 0; text-align: left; }
.sd-product-hero__summary table.variations th label { color: var(--chrome); font-size: 14px; font-weight: 600; }
.sd-product-hero__summary table.variations select { min-height: 52px; background-color: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23C5CBD3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.sd-product-hero__summary table.variations select:focus { background-color: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px var(--cobalt-300), 0 0 0 4px rgba(255, 160, 110, .15); }
.sd-product-hero__summary table.variations select option { background: var(--ink-900); color: #fff; }
.sd-product-hero__summary .reset_variations { display: inline-block; margin-top: 8px; color: var(--slate-400); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.sd-product-hero__summary .single_variation_wrap { display: grid; gap: 14px; }
.sd-product-hero__summary .woocommerce-variation-price .price { font-size: 26px; }
.sd-product-hero__summary .woocommerce-variation-description { color: var(--slate-400); }
.sd-product-hero__summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-product__perks { display: grid; gap: 10px; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.sd-product__perks li { display: flex; align-items: center; gap: 12px; color: var(--slate-300); font-size: 15px; }
.sd-product__perks .sd-icon { --s: 16px; flex: none; color: var(--cobalt-300); }
.sd-product__ask { color: var(--slate-400); font-size: 14.5px; }
.sd-product__ask a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.sd-product__ask a:hover { text-decoration-color: #fff; }
.sd-product-hero__summary .product_meta { color: var(--slate-400); font-size: 13.5px; }

/* Description, details and reviews */
.sd-product-more .woocommerce-tabs { max-width: 860px; margin: 0 auto clamp(56px, 7vw, 96px); }
.sd-product-more .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(24px, 3vw, 36px); padding: 5px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); list-style: none; width: fit-content; max-width: 100%; }
.sd-product-more .woocommerce-tabs ul.tabs::before, .sd-product-more .woocommerce-tabs ul.tabs::after { content: none; }
.sd-product-more .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.sd-product-more .woocommerce-tabs ul.tabs li::before, .sd-product-more .woocommerce-tabs ul.tabs li::after { content: none; }
.sd-product-more .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); color: var(--muted); font-size: 15px; font-weight: 500; transition: background-color .3s, color .3s; }
.sd-product-more .woocommerce-tabs ul.tabs li a:hover { color: var(--fg); }
.sd-product-more .woocommerce-tabs ul.tabs li.active a { background: var(--ink-950); color: #fff; }
:root[data-theme="dark"] .sd-product-more .woocommerce-tabs ul.tabs li.active a { background: var(--chrome); color: var(--ink-950); }
.sd-product-more .woocommerce-Tabs-panel { margin: 0; color: var(--fg-2); font-size: 17px; line-height: 1.75; }
.sd-product-more .woocommerce-Tabs-panel > :first-child { margin-top: 0; }
.sd-product-more .woocommerce-Tabs-panel h2 { margin: 1.8em 0 .5em; color: var(--fg); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.sd-product-more .woocommerce-Tabs-panel h3 { margin: 1.6em 0 .4em; color: var(--fg); font-size: 20px; }
.sd-product-more .woocommerce-Tabs-panel p { margin: 0 0 1.1em; }
.sd-product-more .woocommerce-Tabs-panel ul, .sd-product-more .woocommerce-Tabs-panel ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.sd-product-more .woocommerce-Tabs-panel ul { list-style: disc; }
.sd-product-more .woocommerce-Tabs-panel li { margin: .35em 0; }
.sd-product-more .woocommerce-Tabs-panel li::marker { color: var(--accent); }
.sd-product-more .woocommerce-Tabs-panel a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sd-product-more .woocommerce-Tabs-panel img { border-radius: 16px; }
.sd-product-more table.woocommerce-product-attributes { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); font-size: 15px; }
.sd-product-more table.woocommerce-product-attributes th, .sd-product-more table.woocommerce-product-attributes td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.sd-product-more table.woocommerce-product-attributes tr:last-child th, .sd-product-more table.woocommerce-product-attributes tr:last-child td { border-bottom: 0; }
.sd-product-more table.woocommerce-product-attributes th { width: 34%; color: var(--muted); font-weight: 500; }
.sd-product-more table.woocommerce-product-attributes td p { margin: 0; }
.woocommerce #reviews #comments h2, .woocommerce-Reviews-title { margin: 0 0 20px; font-size: 22px; letter-spacing: -.02em; }
.woocommerce #reviews ol.commentlist { display: grid; gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.woocommerce #reviews ol.commentlist li { margin: 0; }
.woocommerce #reviews ol.commentlist li .comment_container { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce #reviews ol.commentlist li img.avatar { position: static; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); }
.woocommerce #reviews ol.commentlist li .comment-text { margin: 0; padding: 0; border: 0; }
.woocommerce #reviews ol.commentlist li .comment-text .star-rating { float: none; margin-bottom: 6px; }
.woocommerce #reviews ol.commentlist li .comment-text p.meta { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.woocommerce #reviews ol.commentlist li .comment-text p.meta strong { color: var(--fg); }
.woocommerce #reviews ol.commentlist li .comment-text .description p { margin: 0; font-size: 16px; line-height: 1.6; }
.woocommerce #review_form_wrapper { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.woocommerce #review_form #respond .comment-reply-title { display: block; margin-bottom: 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.woocommerce #review_form #respond p { margin: 0 0 16px; }
.woocommerce #review_form #respond label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.woocommerce #review_form #respond .comment-form-cookies-consent label { display: inline; margin: 0 0 0 8px; font-weight: 400; }
.woocommerce #review_form #respond .form-submit input { min-height: 50px; padding: 0 26px; background: var(--cobalt-600); color: #fff; }
.woocommerce p.stars { margin: 0 0 16px; }
.woocommerce p.stars span { display: inline-flex; gap: 4px; }
.woocommerce p.stars a { position: relative; display: inline-block; width: 26px; height: 26px; overflow: hidden; background: var(--line-2); text-indent: -999em; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3 6.2 6.8.9-5 4.7 1.3 6.7L12 17l-6.1 3.3 1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3 6.2 6.8.9-5 4.7 1.3 6.7L12 17l-6.1 3.3 1.3-6.7-5-4.7 6.8-.9z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background-color .15s; }
.woocommerce p.stars:hover a, .woocommerce p.stars.selected a { background: #F5B83D; }
.woocommerce p.stars a:hover ~ a, .woocommerce p.stars.selected a.active ~ a { background: var(--line-2); }
.woocommerce p.stars:hover a:hover ~ a { background: var(--line-2); }
.woocommerce p.stars.selected:hover a { background: #F5B83D; }
.woocommerce p.stars.selected:hover a:hover ~ a { background: var(--line-2); }

/* Related products and upsells */
.sd-product-more .related, .sd-product-more .upsells { margin: 0 0 clamp(48px, 6vw, 80px); }
.sd-product-more .related:last-child, .sd-product-more .upsells:last-child { margin-bottom: 0; }
.sd-product-more .related > h2, .sd-product-more .upsells > h2 { margin: 0 0 clamp(22px, 3vw, 32px); font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }

/* ---------- Cart, checkout and account pages ---------- */
.sd-store-hero--page { padding-bottom: clamp(40px, 5vw, 64px); }
.sd-store-page .woocommerce { color: var(--fg); }
.sd-store-page > .sd-wrap > .woocommerce > .woocommerce-notices-wrapper:first-child { margin-top: 0; }

/* Block cart and checkout */
.sd-store-page .wp-block-woocommerce-cart, .sd-store-page .wp-block-woocommerce-checkout { margin: 0; padding: 0; color: var(--fg); font-family: var(--f-text); }
.sd-store-page .wc-block-components-sidebar-layout { margin: 0; }
.sd-store-page .wc-block-components-main { padding-right: clamp(0px, 3vw, 40px); }
.sd-store-page .wc-block-components-sidebar { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-store-page .wc-block-checkout__sidebar { padding: 12px 20px; }
.sd-store-page .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: 0; }
.sd-store-page .wc-block-components-order-summary .wc-block-components-panel__content, .sd-store-page .wc-block-components-order-summary { padding-left: 0; padding-right: 0; }
.sd-store-page .wc-block-checkout__sidebar.is-sticky { top: calc(var(--header-h) + 24px); }
.sd-store-page .wc-block-components-title.wc-block-components-title, .sd-store-page .wc-block-components-checkout-step__title, .sd-store-page .wc-block-cart__totals-title { color: var(--fg); font-family: var(--f-text); font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
.sd-store-page .wc-block-cart__totals-title { font-size: 12px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sd-store-page .wc-block-components-checkout-step__description, .sd-store-page .wc-block-components-checkout-step__heading-content { color: var(--muted); font-size: 14.5px; }
.sd-store-page .wc-block-components-checkout-step { padding-left: 0; }
.sd-store-page .wc-block-components-checkout-step::after, .sd-store-page .wc-block-components-checkout-step__heading::before { display: none; }
.sd-store-page .wc-block-checkout__form .wc-block-components-checkout-step__container { padding-bottom: 8px; }
.sd-store-page .wc-block-components-form .wc-block-components-text-input input, .sd-store-page .wc-block-components-text-input input,
.sd-store-page .wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.sd-store-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.sd-store-page .wc-block-components-select .wc-block-components-select__select, .sd-store-page .wc-block-components-textarea, .sd-store-page .wc-blocks-components-select__select {
	border: 0; border-radius: 12px; background-color: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font-family: var(--f-text);
}
.sd-store-page .wc-block-components-text-input input:focus, .sd-store-page .wc-block-components-combobox .components-combobox-control__input:focus, .sd-store-page .wc-blocks-components-select__select:focus, .sd-store-page .wc-block-components-textarea:focus {
	outline: 0; background-color: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft);
}
.sd-store-page .wc-block-components-text-input label, .sd-store-page .wc-block-components-combobox .wc-block-components-combobox-control label, .sd-store-page .wc-blocks-components-select__label { color: var(--muted); }
.sd-store-page .wc-block-components-text-input.has-error input, .sd-store-page .wc-block-components-combobox.has-error input { box-shadow: inset 0 0 0 1.5px #DC3545; }
.sd-store-page .wc-blocks-components-select .wc-blocks-components-select__container { border: 0; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.sd-store-page .wc-blocks-components-select .wc-blocks-components-select__select { box-shadow: none; background: transparent; }
.sd-store-page .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--muted); }
.sd-store-page .components-form-token-field__suggestions-list, .sd-store-page .wc-block-components-combobox .components-form-token-field__suggestions-list { border-radius: 12px; background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2), var(--card-shadow-lg); }
.sd-store-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 6px; border-color: var(--line-2); background: var(--bg); }
.sd-store-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { border-color: var(--cobalt-600); background: var(--cobalt-600); }
.sd-store-page .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.sd-store-page .wc-block-components-checkbox label { color: var(--fg-2); }
.sd-store-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option, .sd-store-page .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option { box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 14px; }
.sd-store-page .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .sd-store-page .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 14px; }
.sd-store-page .wc-block-components-radio-control--highlight-checked::after { border: 0; }
.sd-store-page .wc-block-components-radio-control__input { border-color: var(--line-2); background: var(--bg); }
.sd-store-page .wc-block-components-radio-control__input:checked { border-color: var(--cobalt-600); }
.sd-store-page .wc-block-components-radio-control__input:checked::before { background: var(--cobalt-600); }
.sd-store-page .wc-block-components-radio-control__label, .sd-store-page .wc-block-components-payment-method-label { color: var(--fg); font-weight: 500; }
.sd-store-page .wc-block-components-radio-control__description, .sd-store-page .wc-block-components-radio-control-accordion-content { color: var(--muted); }
.sd-store-page .wc-block-components-button:not(.is-link) {
	min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-pill); background: var(--cobalt-600); color: #fff; font: 500 16px/1 var(--f-text); text-decoration: none;
	box-shadow: 0 10px 28px -10px rgba(194, 65, 12, .8), inset 0 1px 0 rgba(255, 255, 255, .22); transition: background-color .3s var(--ease), transform .4s var(--ease-out);
}
.sd-store-page .wc-block-components-button:not(.is-link):hover { background: var(--cobalt-500); color: #fff; }
.sd-store-page .wc-block-components-button:not(.is-link):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sd-store-page .wc-block-components-button.is-link, .sd-store-page .wc-block-components-checkout-return-to-cart-button { color: var(--muted); }
.sd-store-page .wc-block-components-checkout-return-to-cart-button:hover { color: var(--fg); }
.sd-store-page .wc-block-components-checkout-return-to-cart-button svg { fill: currentColor; }
.sd-store-page .wc-block-cart__submit-container { margin-top: 8px; }
.sd-store-page table.wc-block-cart-items { border: 0; border-collapse: collapse; }
.sd-store-page .wc-block-cart-items__header { color: var(--muted); font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sd-store-page .wc-block-cart-items td, .sd-store-page .wc-block-cart-items th { border-color: var(--line) !important; }
.sd-store-page .wc-block-cart-item__image img, .sd-store-page .wc-block-components-order-summary-item__image img { border-radius: 12px; background: #fff; }
.sd-store-page .wc-block-components-product-name, .sd-store-page .wc-block-cart-item__product .wc-block-components-product-name { color: var(--fg); font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; text-decoration: none; }
.sd-store-page .wc-block-cart-item__prices, .sd-store-page .wc-block-cart-item__total { font-size: 15px; }
.sd-store-page a.wc-block-components-product-name:hover { color: var(--accent); }
.sd-store-page .wc-block-components-product-metadata, .sd-store-page .wc-block-components-product-details { color: var(--muted); font-size: 14px; }
.sd-store-page .wc-block-components-product-price, .sd-store-page .wc-block-formatted-money-amount { color: var(--fg); }
.sd-store-page .wc-block-components-product-badge { border-radius: var(--r-pill); border-color: var(--cobalt-600); color: var(--cobalt-600); font-size: 11px; padding: 2px 8px; }
.sd-store-page .wc-block-components-quantity-selector { border-radius: var(--r-pill); overflow: hidden; }
.sd-store-page .wc-block-components-quantity-selector::after { border-color: var(--line-2); border-radius: var(--r-pill); opacity: 1; }
.sd-store-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input, .sd-store-page .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--fg); }
.sd-store-page .wc-block-cart-item__remove-link { color: var(--muted) !important; font-size: 13px !important; text-decoration: underline !important; text-underline-offset: 3px; }
.sd-store-page .wc-block-components-totals-wrapper { border-color: var(--line); }
.sd-store-page .wc-block-components-totals-item { color: var(--fg-2); }
.sd-store-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .sd-store-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--fg); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.sd-store-page .wc-block-components-totals-coupon__button { min-height: 50px; box-shadow: none; }
.sd-store-page .wc-block-components-panel__button { color: var(--fg); font-weight: 500; }
.sd-store-page .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { border-color: var(--surface); background: var(--ink-950); color: #fff; box-shadow: none; }
:root[data-theme="dark"] .sd-store-page .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { background: var(--chrome); color: var(--ink-950); }
.sd-store-page .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 15px; }
.sd-store-page .wc-block-checkout__terms { color: var(--muted); font-size: 14px; }
.sd-store-page .wc-block-checkout__terms a { color: var(--accent); }
.sd-store-page .wc-block-components-express-payment-continue-rule { color: var(--muted); }
.sd-store-page .wc-block-components-express-payment-continue-rule::before, .sd-store-page .wc-block-components-express-payment-continue-rule::after { border-color: var(--line-2); }
.sd-store-page .wc-block-components-notice-banner { border-radius: 14px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 15px; }
.sd-store-page .wc-block-components-notice-banner.is-error { box-shadow: inset 0 0 0 1.5px #DC3545; }
.sd-store-page .wc-block-components-notice-banner.is-success { box-shadow: inset 0 0 0 1.5px var(--success); }
.sd-store-page .wc-block-components-notice-banner > svg { border-radius: 50%; }
.sd-store-page .wc-block-components-validation-error { color: #DC3545; }
.sd-store-page .wc-block-components-address-card { border-radius: 14px; border-color: var(--line-2); }
.sd-store-page .wc-block-components-spinner::after { border-color: var(--cobalt-600); border-top-color: transparent; }
.sd-store-page .wc-block-components-formatted-money-amount { font-weight: inherit; }
/* Digital orders: no order note link, the pay button sits closer to the fields */
.sd-digital-cart .sd-store-page .wc-block-checkout__add-note { display: none; }
.sd-store-page .wc-block-checkout__actions { padding-top: 8px; }
.sd-store-page .wc-block-checkout__actions_row { gap: 16px; }

/* Empty cart */
.sd-store-page .wp-block-woocommerce-empty-cart-block { text-align: center; }
.sd-store-page .wc-block-cart__empty-cart__title { margin: 8px 0 12px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.sd-store-page .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { width: 64px; height: 64px; margin: 0 auto 18px; background-color: var(--accent); }
.sd-store-page .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: block; width: 80px; height: 0; margin: 40px auto; border: 0; border-top: 1px solid var(--line-2); background: none; }
.sd-store-page .wp-block-woocommerce-empty-cart-block .wp-block-separator::before { content: none; }
.sd-store-page .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin: 0 0 24px; font-size: 22px; font-weight: 600; }
.sd-store-page .wc-block-grid__products { gap: 20px; margin: 0; }
.sd-store-page .wc-block-grid__product { border: 0; padding: 0 0 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sd-store-page .wc-block-grid__product-image img { background: var(--surface-2); }
.sd-store-page .wc-block-grid__product-title { padding: 0 16px; color: var(--fg); font-size: 16px; font-weight: 600; }
.sd-store-page .wc-block-grid__product-price { color: var(--fg); }
.sd-store-page .wc-block-grid__product .wp-block-button__link { min-height: 40px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink-950); color: #fff; font-size: 14px; }

/* Classic cart and checkout, for stores that use the shortcodes */
.sd-store-page .woocommerce-cart-form { margin-bottom: 32px; }
.sd-store-page table.cart td.product-thumbnail img { width: 72px; border-radius: 10px; background: #fff; }
.sd-store-page table.cart td.product-remove a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted) !important; font-size: 20px; }
.sd-store-page table.cart td.product-remove a.remove:hover { background: #FDECEC; color: #DC3545 !important; }
.sd-store-page table.cart td.actions { padding: 16px 18px; }
.sd-store-page table.cart td.actions .coupon { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.sd-store-page table.cart td.actions .coupon .input-text { width: 200px; min-height: 48px; }
.sd-store-page table.cart td.actions > .button { float: right; }
.sd-store-page .cart-collaterals .cart_totals { max-width: 440px; margin-left: auto; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-store-page .cart-collaterals .cart_totals table.shop_table { box-shadow: none; }
.sd-store-page .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px; }
.sd-store-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
.sd-store-page form.checkout > .col2-set { grid-column: 1; grid-template-columns: 1fr; }
.sd-store-page form.checkout > #order_review_heading, .sd-store-page form.checkout > #order_review { grid-column: 2; }
.sd-store-page form.checkout > #order_review_heading { grid-row: 1; margin: 0 0 14px; }
.sd-store-page form.checkout > #order_review { grid-row: 2 / span 3; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-store-page #order_review table.shop_table { box-shadow: none; }
.sd-store-page #payment { border-radius: 16px; background: var(--bg); }
.sd-store-page #payment ul.payment_methods { margin: 0; padding: 16px; border-bottom: 1px solid var(--line); list-style: none; }
.sd-store-page #payment ul.payment_methods li { margin: 0 0 10px; }
.sd-store-page #payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 14px; }
.sd-store-page #payment div.payment_box::before { content: none; }
.sd-store-page #payment .place-order { padding: 16px; }
.sd-store-page #place_order { width: 100%; min-height: 54px; font-size: 16px; }
.sd-store-page .woocommerce-terms-and-conditions-wrapper { color: var(--muted); font-size: 14px; }

/* Order received */
.sd-store-page .woocommerce-order { display: grid; gap: 24px; }
.sd-store-page .woocommerce-order > * { margin: 0; }
.sd-store-page .woocommerce-thankyou-order-received { position: relative; padding: 22px 24px 22px 64px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); color: var(--fg); font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.sd-store-page .woocommerce-thankyou-order-received::before { content: ""; position: absolute; left: 24px; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--success); transform: translateY(-50%); }
.sd-store-page .woocommerce-thankyou-order-received::after { content: ""; position: absolute; left: 32px; top: 50%; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-65%) rotate(-45deg); }
.sd-store-page ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sd-store-page ul.woocommerce-order-overview::before, .sd-store-page ul.woocommerce-order-overview::after { content: none; }
.sd-store-page ul.woocommerce-order-overview li { display: grid; gap: 6px; margin: 0; padding: 16px 18px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.sd-store-page ul.woocommerce-order-overview li strong { color: var(--fg); font: 600 16px/1.35 var(--f-text); letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
.sd-store-page .woocommerce-order-details__title, .sd-store-page .woocommerce-column__title, .sd-store-page .woocommerce-order-downloads__title { margin: 8px 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.sd-store-page .woocommerce-customer-details address { padding: 18px 20px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-style: normal; line-height: 1.7; }
.sd-store-page .woocommerce-customer-details address p { margin: 4px 0 0; }
.sd-store-page .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading { font-size: 20px; }
.sd-store-page .woocommerce-order > p { color: var(--muted); }

/* My Account */
.sd-store-page.is-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sd-store-page.is-account .woocommerce::before, .sd-store-page.is-account .woocommerce::after { content: none; }
.sd-store-page.is-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; margin: 0; }
.sd-store-page.is-account .woocommerce > :only-child, .sd-store-page.is-account .woocommerce > .woocommerce-notices-wrapper + .u-columns, .sd-store-page.is-account .woocommerce > .u-columns, .sd-store-page.is-account .woocommerce > .woocommerce-form-login, .sd-store-page.is-account .woocommerce > h2, .sd-store-page.is-account .woocommerce > .woocommerce-ResetPassword, .sd-store-page.is-account .woocommerce > .woocommerce-form-register { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--header-h) + 24px); width: auto; float: none; padding: 8px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--fg-2); font-size: 15px; font-weight: 500; transition: background-color .25s, color .25s; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--surface-2); color: var(--fg); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink-950); color: #fff; }
:root[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--chrome); color: var(--ink-950); }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
.woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; min-width: 0; color: var(--fg-2); font-size: 16px; line-height: 1.65; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color: var(--accent); }
.woocommerce-account .woocommerce-MyAccount-content mark { background: var(--accent-soft); color: var(--fg); padding: 0 4px; border-radius: 4px; }
.woocommerce-account .woocommerce-Addresses { gap: 18px; }
.woocommerce-account .woocommerce-Address { padding: 20px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.woocommerce-account .woocommerce-Address-title h2 { margin: 0; font-size: 18px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; }
.woocommerce-account fieldset { margin: 24px 0; padding: 20px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce-account fieldset legend { padding: 0 6px; font-weight: 600; }
.sd-store-page .u-columns.col2-set .u-column1, .sd-store-page .u-columns.col2-set .u-column2, .sd-store-page.is-account .woocommerce > .woocommerce-form-login { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.sd-store-page.is-account .woocommerce > .woocommerce-form-login { max-width: 520px; }
.sd-store-page .u-columns h2 { margin: 0 0 18px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.sd-store-page form.login, .sd-store-page form.register { margin: 0; padding: 0; border: 0; }
.sd-store-page .woocommerce-form-login__submit, .sd-store-page .woocommerce-form-register__submit { width: 100%; min-height: 52px; margin-top: 8px; }
.sd-store-page .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.sd-store-page .lost_password { margin: 14px 0 0; font-size: 14.5px; }
.sd-store-page .lost_password a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sd-store-page .woocommerce-privacy-policy-text { color: var(--muted); font-size: 13.5px; }
.sd-store-page .woocommerce-privacy-policy-text a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-store-page.is-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -8px; padding: 2px 8px 4px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); }
	.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-account .woocommerce-MyAccount-navigation li { flex: none; scroll-snap-align: start; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 40px; padding: 0 14px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border-color: transparent; }
	.woocommerce-account .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
	.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-Address-title h3 { margin: 0; }
	.woocommerce-account .woocommerce-Address-title a.edit { float: none; font-size: 14px; }
	.woocommerce-account .woocommerce-message, .woocommerce-account .woocommerce-info { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
	.woocommerce-account .woocommerce-info::before, .woocommerce-account .woocommerce-message::before { display: none; }
	.woocommerce-account .woocommerce-info .button, .woocommerce-account .woocommerce-message .button { float: none; order: 2; width: 100%; margin: 0; text-align: center; }
	.woocommerce-account table.shop_table_responsive tr td { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: right; }
	.woocommerce-account table.shop_table_responsive tr td::before { flex: none; text-align: left; }
	.woocommerce-account table.shop_table_responsive td.download-file a { max-width: 70%; white-space: normal; text-align: center; line-height: 1.25; padding: 10px 14px; }
	.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	.sd-store-page form.checkout { grid-template-columns: 1fr; }
	.sd-store-page form.checkout > #order_review_heading, .sd-store-page form.checkout > #order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 900px) {
	.sd-product-hero__grid { grid-template-columns: 1fr; }
	.sd-store-page .wc-block-components-main { padding-right: 0; }
}
@media (max-width: 600px) {
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: 1fr; }
	.woocommerce .col2-set, .woocommerce .woocommerce-billing-fields__field-wrapper, .woocommerce .woocommerce-shipping-fields__field-wrapper, .woocommerce .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	.sd-store__bar { align-items: stretch; }
	.sd-store__bar .woocommerce-ordering, .sd-store__bar .woocommerce-ordering select { width: 100%; }
	.sd-product .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.sd-product-more .woocommerce-tabs ul.tabs { width: 100%; justify-content: space-between; }
	.sd-product-more .woocommerce-tabs ul.tabs li a { padding: 0 14px; font-size: 14.5px; }
	.woocommerce #reviews ol.commentlist li .comment_container { grid-template-columns: 1fr; }
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 18px; border: 0; text-align: right !important; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); color: var(--muted); font-weight: 500; text-align: left; }
	.woocommerce table.shop_table_responsive tr td.actions::before, .woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.product-thumbnail::before { content: none; }
	.sd-store-page table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }
	.sd-store-page table.cart td.actions .coupon, .sd-store-page table.cart td.actions .coupon .input-text { width: 100%; }
	.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 14px 16px 14px 46px; }
	.woocommerce-message .button, .woocommerce-info .button { width: 100%; margin-left: 0; }
}
