:root {
    --sp-ink: #111111;
    --sp-body: #555555;
    --sp-muted: #666666;
    --sp-faint: #737373;
    --sp-surface: #f5f4f1;
    --sp-line: #eeeeee;
    --sp-line-2: #dddddd;
    --sp-line-3: #e2ddd3;
    --sp-green: #1e7a4a;
    --sp-green-bg: #eafaf0;
    --sp-blue: #2563c4;
    --sp-blue-bg: #e8f0ff;
    --sp-accent: #22d3ee;
    --sp-star: #f5a623;
    --sp-font-head: 'Space Grotesk', sans-serif;
    --sp-font-body: 'Manrope', sans-serif;
    --sp-radius-lg: 28px;
    --sp-radius-md: 20px;
    --sp-radius-card: 16px;
    --sp-radius-input: 10px;
    --sp-gap-section-x: 56px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.sp-theme {
    margin: 0;
    background: #ffffff;
    color: var(--sp-ink);
    font-family: var(--sp-font-body);
    font-size: 15px;
    min-height: 100vh;
}

body.sp-is-navigating #sp-app {
    opacity: 0.35;
    transition: opacity 160ms ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

h1, h2, h3 {
    font-family: var(--sp-font-head);
    margin: 0;
    color: var(--sp-ink);
}

p {
    color: var(--sp-body);
    line-height: 1.7;
    margin: 0;
}

button {
    font-family: inherit;
}

.sp-skip-link {
    background: var(--sp-ink);
    color: #fff;
    left: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    position: fixed;
    top: -60px;
    z-index: 1000;
    transition: top 160ms ease;
}

.sp-skip-link:focus {
    top: 16px;
}

/* Buttons & chips */

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    padding: 16px 32px;
    background: var(--sp-ink);
    color: #fff;
    transition: opacity 160ms ease, transform 160ms ease;
}

.sp-btn:hover {
    opacity: 0.86;
}

.sp-btn--dark {
    background: var(--sp-ink);
    color: #fff;
}

.sp-btn--outline {
    background: #fff;
    color: var(--sp-ink);
    border: 2px solid var(--sp-ink);
    padding: 14px 30px;
}

.sp-btn--block {
    width: 100%;
    margin-top: 14px;
}

.sp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--sp-surface);
    color: var(--sp-ink);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.sp-chip--blue {
    background: var(--sp-blue-bg);
    color: var(--sp-blue);
}

.sp-chip--green {
    background: var(--sp-green-bg);
    color: var(--sp-green);
}

.sp-chip--muted {
    background: var(--sp-surface);
    color: var(--sp-muted);
}

.sp-chip--select select {
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
}

/* Placeholder media */

.sp-media {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.sp-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	background:#f3f2f2;
}

.sp-media--placeholder {
    background: repeating-linear-gradient(135deg, #e9e6df, #e9e6df 12px, #e2ddd3 12px, #e2ddd3 24px);
    display: flex;
    align-items: flex-end;
    color: rgba(0, 0, 0, 0.35);
    font-size: 12px;
}

.sp-media--placeholder span {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 0 10px 0 0;
}

.sp-stars {
    color: var(--sp-star);
    font-size: 13px;
    margin: 4px 0;
}

.sp-stars__meta {
    color: var(--sp-muted);
    font-weight: 400;
}

/* Nav */

.sp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    z-index: 50;
    border-bottom: 1px solid transparent;
}

.sp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sp-logo__badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--sp-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
}

.sp-logo__bar {
    width: 2px;
    background: #fff;
    border-radius: 1px;
}

.sp-logo__bar--accent {
    background: var(--sp-accent);
}

.sp-logo__word {
    font-family: var(--sp-font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.sp-logo--custom {
    display: inline-flex;
    align-items: center;
}

.sp-logo--custom .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.sp-logo--custom .custom-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

.sp-logo__accent {
    color: var(--sp-accent);
}

.sp-nav__links {
    display: flex;
    gap: 34px;
    font-size: 14px;
    font-weight: 500;
}

.sp-nav__links a:hover {
    font-weight: 700;
}

.sp-nav__icons {
    display: flex;
    gap: 18px;
    align-items: center;
    color: var(--sp-ink);
}

.sp-nav__icon {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    position: relative;
    padding: 0;
}

.sp-cart-badge {
    position: absolute;
    top: -6px;
    right: -9px;
    background: var(--sp-ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.sp-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--sp-line);
    padding: 16px 56px;
    display: flex;
    gap: 10px;
    z-index: 40;
}

.sp-search[hidden] {
    display: none;
}

.sp-search input {
    flex: 1;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-input);
    height: 46px;
    padding: 0 16px;
    font: inherit;
}

.sp-search button {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

/* Sections */

.sp-page {
    transition: opacity 180ms ease;
}

.sp-section {
    padding: 80px var(--sp-gap-section-x) 0;
}

.sp-section:last-of-type {
    padding-bottom: 90px;
}

.sp-section__head {
    margin-bottom: 36px;
}

.sp-sec-title {
    font-family: var(--sp-font-head);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}

.sp-sec-sub {
    color: var(--sp-muted);
    font-size: 15px;
    margin: 0;
}

/* Hero */

.sp-hero {
    padding: 70px var(--sp-gap-section-x) 90px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.sp-hero h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -1px;
    margin: 0 0 20px;
}

.sp-hero p {
    font-size: 16px;
    color: var(--sp-body);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 420px;
}

.sp-hero__media {
    width: 100%;
    height: 520px;
    border-radius: var(--sp-radius-lg);
}

/* Trust strip */

.sp-trust {
    display: flex;
    border-top: 1px solid var(--sp-line);
    border-bottom: 1px solid var(--sp-line);
}

.sp-trust > div {
    flex: 1;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid var(--sp-line);
}

.sp-trust > div:last-child {
    border-right: none;
}

/* Categories */

.sp-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sp-cat__media {
    width: 100%;
    height: 180px;
    border-radius: var(--sp-radius-md);
}

.sp-cat p {
    font-weight: 700;
    font-size: 15px;
    margin: 12px 2px 0;
    color: var(--sp-ink);
}

/* Compare */

.sp-compare {
    margin: 90px var(--sp-gap-section-x);
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sp-compare__media {
    width: 100%;
    height: 260px;
    border-radius: var(--sp-radius-md);
}

.sp-compare p {
    margin: 12px 0 0;
}

.sp-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.sp-price-old {
    color: var(--sp-faint);
    text-decoration: line-through;
    font-size: 18px;
}

.sp-price-new {
    font-family: var(--sp-font-head);
    font-size: 32px;
    font-weight: 700;
}

/* Packs */

.sp-pack-contents {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 18px;
    margin: 4px 0 18px;
}

.sp-pack-contents__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sp-faint);
    margin-bottom: 12px;
}

.sp-pack-contents__items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.sp-pack-contents__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 88px;
    text-align: center;
    gap: 6px;
}

.sp-pack-contents__media {
    width: 72px;
    height: 72px;
    border-radius: var(--sp-radius-input);
}

.sp-pack-contents__name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.sp-pack-contents__price {
    font-size: 12px;
    color: var(--sp-muted);
}

.sp-pack-contents__savings {
    font-size: 13px;
    color: var(--sp-green);
    font-weight: 600;
    border-top: 1px solid var(--sp-line-2);
    padding-top: 12px;
}

/* Volume pricing */

.sp-tier-table {
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-md);
    padding: 4px 16px;
    margin: 4px 0 18px;
}

.sp-tier-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-tier-table__row:last-child {
    border-bottom: none;
}

.sp-tier-table__row.is-active {
    color: var(--sp-green);
    font-weight: 700;
}

.sp-qty--pdp {
    flex-shrink: 0;
}

/* Product grid & card */

.sp-products-grid {
    display: grid;
    gap: 24px;
}

.sp-products-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.sp-products-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sp-product-card {
    position: relative;
}

.sp-product-card__link {
    display: block;
}

.sp-product-card__media {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--sp-radius-card);
    margin-bottom: 14px;
}

.sp-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: var(--sp-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 100px;
}

.sp-product-card__badge--muted {
    background: var(--sp-blue);
}

.sp-product-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.sp-product-card__price {
    font-weight: 700;
    font-size: 16px;
}

.sp-product-card__price del {
    color: var(--sp-faint);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.85em;
    margin-right: 6px;
}

.sp-product-card__price ins {
    text-decoration: none;
}

.sp-product-card__quick {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--sp-line-2);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.sp-product-card:hover .sp-product-card__quick,
.sp-product-card:focus-within .sp-product-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.sp-empty {
    padding: 40px;
    text-align: center;
    color: var(--sp-muted);
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
}

.sp-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.sp-page-link {
    background: var(--sp-surface);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    height: 40px;
    width: 40px;
}

.sp-page-link.is-active {
    background: var(--sp-ink);
    color: #fff;
}

/* Newsletter */

.sp-newsletter {
    background: var(--sp-surface);
    margin-top: 60px;
    padding: 40px var(--sp-gap-section-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-newsletter__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-newsletter__copy strong {
    font-family: var(--sp-font-head);
    font-size: 20px;
}

.sp-newsletter__copy span {
    color: var(--sp-muted);
    font-size: 14px;
}

.sp-newsletter__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-newsletter__form input {
    height: 46px;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-input);
    padding: 0 16px;
    font: inherit;
    min-width: 220px;
}

/* Footer */

.sp-footer {
    background: var(--sp-ink);
    color: #fff;
    padding: 50px var(--sp-gap-section-x);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 0;
}

.sp-footer__links {
    display: flex;
    gap: 10px;
}

/* Shop / category */

.sp-shop {
    padding: 36px var(--sp-gap-section-x) 90px;
}

.sp-breadcrumb {
    font-size: 13px;
    color: var(--sp-faint);
    margin-bottom: 10px;
}

.sp-shop__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-shop__body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: start;
}

.sp-filters {
    border: none;
    margin: 0;
    padding: 0;
}

.sp-filters__group {
    margin-bottom: 26px;
}

.sp-filters__label {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sp-filters__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sp-body);
    cursor: pointer;
}

.sp-check input {
    position: absolute;
    opacity: 0;
    width: 14px;
    height: 14px;
}

.sp-check__box {
    width: 14px;
    height: 14px;
    border: 1.6px solid var(--sp-faint);
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
}

.sp-check input:checked + .sp-check__box {
    background: var(--sp-ink);
    border-color: var(--sp-ink);
}

.sp-check input:checked + .sp-check__box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sp-filters__toolbar {
    display: flex;
    gap: 10px;
}

.sp-products-region[aria-busy="true"] {
    opacity: 0.45;
    pointer-events: none;
}

/* Product page */

.sp-product {
    padding: 0 0 90px;
}

.sp-product__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px var(--sp-gap-section-x) 70px;
}

.sp-gallery__main {
    width: 100%;
    height: 440px;
    border-radius: var(--sp-radius-md);
    margin-bottom: 14px;
}

.sp-gallery__thumbs {
    display: flex;
    gap: 10px;
}

.sp-gallery__thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--sp-radius-input);
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: none;
}

.sp-gallery__thumb .sp-media,
.sp-gallery__thumb .sp-media--placeholder {
    border-radius: var(--sp-radius-input);
}

.sp-product__info h1 {
    font-size: 34px;
    margin: 0 0 8px;
}

.sp-product__desc {
    color: var(--sp-body);
    font-size: 15px;
    line-height: 1.7;
    margin: 18px 0 26px;
}

.sp-product__desc p {
    margin: 0 0 12px;
}

.sp-product__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.sp-product__actions .sp-btn {
    flex: 1;
}

.sp-product__unavailable {
    color: var(--sp-muted);
    font-size: 15px;
}

/* "Avísame cuando esté disponible" (inc/stock-interest.php) */

.sp-stock-interest {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.sp-stock-interest__copy {
    font-size: 14px;
    color: var(--sp-body);
    margin-bottom: 12px;
}

.sp-stock-interest__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-stock-interest__row input[type="email"] {
    flex: 1;
    min-width: 180px;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-input);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
}

.sp-stock-interest__row .sp-btn {
    white-space: nowrap;
}

.sp-trust-row {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--sp-body);
    border-top: 1px solid var(--sp-line);
    padding-top: 18px;
}

.sp-trust-row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-accordion {
    border-top: 1px solid var(--sp-line);
    margin-top: 22px;
    padding-top: 18px;
}

.sp-accordion__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sp-ink);
    padding: 0;
}

.sp-accordion__panel {
    font-size: 13px;
    color: var(--sp-muted);
    line-height: 1.8;
    margin-top: 8px;
    display: none;
}

.sp-accordion.is-open .sp-accordion__panel {
    display: block;
}

.sp-accordion.is-open [data-accordion-icon] {
    transform: rotate(180deg);
    display: inline-block;
}

.sp-reviews {
    padding: 0 var(--sp-gap-section-x) 90px;
}

.sp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.sp-review-card {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-card);
    padding: 24px;
}

.sp-review-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    color: var(--sp-ink);
}

.sp-review-card__author {
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-muted);
}

/* Cart drawer / modal / toast */

.sp-cart-drawer,
.sp-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.sp-cart-drawer {
    background: rgba(17, 17, 17, 0.42);
}

.sp-cart-drawer__panel {
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: auto;
    max-width: 420px;
    width: min(100%, 420px);
    padding: 24px;
}

.sp-cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sp-cart-drawer__head button,
.sp-modal__close,
.sp-cart-remove {
    background: var(--sp-surface);
    border: none;
    border-radius: 100px;
    color: var(--sp-ink);
    cursor: pointer;
    font-size: 18px;
    height: 32px;
    width: 32px;
}

.sp-cart-drawer__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: auto;
}

.sp-cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: auto;
}

.sp-cart-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--sp-line);
}

.sp-cart-item__media {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    flex-shrink: 0;
}

.sp-cart-item--page .sp-cart-item__media {
    width: 90px;
    height: 90px;
}

.sp-cart-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sp-cart-item__body strong {
    font-size: 15px;
    font-weight: 700;
}

.sp-cart-item__meta {
    font-size: 13px;
    color: var(--sp-muted);
}

.sp-cart-item__pack-note {
    font-size: 12px;
    color: var(--sp-muted);
    line-height: 1.4;
}

.sp-cart-item__price {
    font-weight: 700;
    min-width: 60px;
    text-align: right;
}

.sp-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--sp-line-2);
    border-radius: 100px;
    padding: 4px 6px;
    font-size: 14px;
    flex-shrink: 0;
}

.sp-qty__btn {
    width: 22px;
    height: 22px;
    border-radius: 100px;
    border: none;
    background: var(--sp-surface);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-qty__value {
    min-width: 16px;
    text-align: center;
}

.sp-cart-drawer__summary,
.sp-cart-page__summary {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sp-line);
}

.sp-totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--sp-body);
    margin-bottom: 8px;
}

.sp-totals-row--green {
    color: var(--sp-green);
}

.sp-totals-row--total {
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-ink);
    border-top: 1px solid var(--sp-line);
    padding-top: 16px;
    margin-top: 8px;
}

.sp-cart-drawer__summary .sp-chip,
.sp-cart-page__summary .sp-chip {
    margin-bottom: 18px;
}

.sp-shipping-bar {
    height: 6px;
    border-radius: 100px;
    background: var(--sp-line);
    overflow: hidden;
    margin-bottom: 12px;
}

.sp-shipping-bar__fill {
    height: 100%;
    border-radius: 100px;
    background: var(--sp-green);
    transition: width 240ms ease;
}

.sp-cross-sell {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sp-line);
}

.sp-cross-sell__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sp-faint);
    margin-bottom: 12px;
}

.sp-cross-sell__items {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.sp-cross-sell__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 100px;
}

.sp-cross-sell__media {
    width: 100px;
    height: 100px;
    border-radius: var(--sp-radius-card);
}

.sp-cross-sell__name {
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-ink);
    line-height: 1.3;
}

.sp-cross-sell__price {
    font-size: 12px;
    font-weight: 700;
}

.sp-cart-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.sp-cart-actions .sp-btn {
    flex: 1;
}

.sp-cart-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--sp-muted);
}

.sp-cart-notices {
    margin-bottom: 20px;
}

.sp-cart-notice {
    background: #fdecea;
    color: #b3261e;
    border-radius: var(--sp-radius-input);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 10px;
}

.sp-modal {
    display: grid;
    place-items: center;
}

.sp-modal[hidden] {
    display: none;
}

.sp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.55);
}

.sp-modal__panel {
    background: #fff;
    border-radius: var(--sp-radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-height: min(86vh, 820px);
    overflow: auto;
    padding: 28px;
    position: relative;
    width: min(920px, calc(100% - 28px));
    z-index: 1;
}

.sp-modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
}

.sp-quick {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(240px, 0.85fr) 1fr;
}

.sp-quick__media {
    border-radius: var(--sp-radius-md);
    min-height: 320px;
}

.sp-quick__body h2 {
    font-size: 26px;
    margin: 8px 0 12px;
}

.sp-quick__price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.sp-quick__copy p {
    margin-bottom: 16px;
}

.sp-quick__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-toast {
    background: var(--sp-ink);
    border-radius: 100px;
    bottom: 24px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    left: 50%;
    padding: 13px 20px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 120;
}

/* Cart page */

.sp-page--cart .sp-cart {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px var(--sp-gap-section-x) 70px;
}

.sp-cart-items--page .sp-cart-item {
    padding: 20px 0;
}

/* Checkout */

.sp-page--checkout .sp-checkout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px var(--sp-gap-section-x) 70px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.sp-checkout__summary {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 30px;
    position: sticky;
    top: 24px;
}

.sp-checkout .woocommerce-billing-fields__field-wrapper,
.sp-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sp-checkout .form-row {
    margin: 0 0 14px;
}

.sp-checkout .form-row-wide {
    grid-column: 1 / -1;
}

.sp-checkout label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-muted);
    display: block;
    margin-bottom: 6px;
}

.sp-checkout input[type="text"],
.sp-checkout input[type="email"],
.sp-checkout input[type="tel"],
.sp-checkout input[type="password"],
.sp-checkout select,
.sp-checkout textarea {
    width: 100%;
    height: 46px;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-input);
    padding: 0 16px;
    font: inherit;
    color: var(--sp-ink);
}

.sp-checkout textarea {
    height: auto;
    padding: 12px 16px;
}

.sp-checkout #order_review_heading {
    font-size: 18px;
    margin: 0 0 20px;
}

.sp-checkout .woocommerce-billing-fields > h3,
.sp-checkout .woocommerce-billing-fields__field-wrapper + h3 {
    display: none;
}

.sp-checkout table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
}

.sp-checkout table.shop_table th,
.sp-checkout table.shop_table td {
    padding: 10px 0;
    border-top: 1px solid var(--sp-line-3);
    text-align: left;
}

.sp-checkout table.shop_table tfoot tr:last-child {
    font-size: 18px;
    font-weight: 700;
}

.sp-checkout ul.wc_payment_methods {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-checkout ul.wc_payment_methods li.wc_payment_method {
    display: block;
}

.sp-checkout ul.wc_payment_methods input.input-radio {
    position: absolute;
    opacity: 0;
}

.sp-checkout ul.wc_payment_methods label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sp-surface);
    color: var(--sp-ink);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.sp-checkout ul.wc_payment_methods input.input-radio:checked + label {
    background: var(--sp-ink);
    color: #fff;
}

.sp-checkout ul.wc_payment_methods .payment_box {
    flex-basis: 100%;
    font-size: 13px;
    color: var(--sp-muted);
    padding: 10px 4px 0;
}

.sp-checkout .place-order {
    margin-top: 16px;
}

.sp-checkout #place_order {
    width: 100%;
    background: var(--sp-ink);
    color: #fff;
    border: none;
    border-radius: 100px;
    height: 52px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.sp-checkout__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: var(--sp-faint);
    margin-top: 20px;
}

.sp-checkout__security span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Order confirmation */

.sp-order-confirm {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px var(--sp-gap-section-x) 90px;
    text-align: center;
}

.sp-order-confirm__icon {
    width: 56px;
    height: 56px;
    border-radius: 100px;
    background: var(--sp-green-bg);
    color: var(--sp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sp-order-confirm__icon--error {
    background: #fdecea;
    color: #b3261e;
}

.sp-order-confirm h1 {
    font-size: 30px;
    margin: 0 0 10px;
}

.sp-order-confirm > p {
    max-width: 440px;
    margin: 0 auto 30px;
}

.sp-order-confirm__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 24px;
    text-align: left;
    margin-bottom: 30px;
}

.sp-order-confirm__meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-order-confirm__meta span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sp-faint);
}

.sp-order-confirm__meta strong {
    font-size: 14px;
}

.sp-order-confirm__items {
    text-align: left;
    margin-bottom: 30px;
}

.sp-order-confirm__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sp-line);
}

.sp-order-confirm__item-media {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--sp-radius-input);
    overflow: hidden;
}

.sp-order-confirm__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sp-order-confirm__item-body span {
    font-size: 13px;
    color: var(--sp-muted);
}

.sp-order-confirm__item-price {
    font-weight: 700;
    font-size: 14px;
}

.sp-order-confirm__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Bank-transfer / COD instructions injected by gateways via
   woocommerce_thankyou_{method} on the order-confirm screen. */
.sp-order-confirm .woocommerce-bacs-bank-details,
.sp-order-confirm .woocommerce-message,
.sp-order-confirm .woocommerce-notice {
    text-align: left;
    background: var(--sp-surface) !important;
    border: none !important;
    border-radius: var(--sp-radius-md);
    padding: 20px 24px;
    margin: 0 0 24px;
    font-size: 14px;
    list-style: none;
}

/* Native order-details table + customer address (woocommerce_thankyou hook) */
.sp-order-confirm .woocommerce-order-details,
.sp-order-confirm .woocommerce-customer-details {
    text-align: left;
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 28px;
    margin: 0 0 24px;
}

.sp-order-confirm .woocommerce-order-details__title,
.sp-order-confirm .woocommerce-column__title {
    font-family: var(--sp-font-head);
    font-size: 18px;
    margin: 0 0 18px;
}

.sp-order-confirm table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sp-order-confirm table.shop_table th,
.sp-order-confirm table.shop_table td {
    padding: 10px 0;
    border-top: 1px solid var(--sp-line-3);
    text-align: left;
}

.sp-order-confirm table.shop_table tfoot th,
.sp-order-confirm table.shop_table tfoot td {
    font-weight: 700;
}

.sp-order-confirm address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: var(--sp-body);
}

/* My Account */

.sp-page--account {
    padding: 36px var(--sp-gap-section-x) 90px;
}

.sp-account {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: start;
}

.sp-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-account-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-body);
}

.sp-account-nav a:hover {
    background: var(--sp-surface);
    color: var(--sp-ink);
}

.sp-account-nav li.is-active a,
.sp-account-nav a[aria-current="page"] {
    background: var(--sp-ink);
    color: #fff;
}

.woocommerce-MyAccount-content > p:first-child {
    margin-bottom: 20px;
    color: var(--sp-body);
}

.woocommerce-MyAccount-content a {
    text-decoration: underline;
}

/* WooCommerce's own stylesheet ships `.woocommerce a.button` style rules
   that are more specific than a single-class selector — !important keeps
   these overrides winning regardless of load order or plugin updates. */
.sp-page--account .button,
.sp-page--account .woocommerce-button,
.sp-page--account a.button,
.sp-page--account button.button,
.sp-page--account input.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer;
    border: none !important;
    border-radius: 100px !important;
    padding: 12px 24px !important;
    background: var(--sp-ink) !important;
    color: #fff !important;
    text-decoration: none;
}

.sp-page--account .button:hover,
.sp-page--account .woocommerce-button:hover {
    opacity: 0.86;
}

.sp-page--account .woocommerce-form-row,
.sp-page--account .form-row {
    margin: 0 0 14px;
}

.sp-page--account label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-muted);
    display: block;
    margin-bottom: 6px;
}

.sp-page--account input.input-text,
.sp-page--account select,
.sp-page--account textarea {
    width: 100%;
    height: 46px;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-radius-input);
    padding: 0 16px;
    font: inherit;
    color: var(--sp-ink);
}

.sp-page--account textarea {
    height: auto;
    padding: 12px 16px;
}

.sp-page--account .woocommerce-form__input-checkbox {
    width: 14px;
    height: 14px;
}

.sp-page--account .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sp-body);
    margin: 0 0 14px;
}

#customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

#customer_login h2 {
    font-family: var(--sp-font-head);
    font-size: 22px;
    margin: 0 0 20px;
}

.woocommerce-LostPassword {
    font-size: 13px;
}

.sp-page--account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}

.sp-page--account table.shop_table th,
.sp-page--account table.shop_table td {
    padding: 12px 10px;
    border-top: 1px solid var(--sp-line);
    text-align: left;
}

.sp-page--account table.shop_table th:first-child,
.sp-page--account table.shop_table td:first-child {
    padding-left: 0;
}

.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.woocommerce-Address {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-card);
    padding: 24px;
}

.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
}

.woocommerce-Address-title h2 {
    font-size: 16px;
}

.woocommerce-Address-title .edit {
    font-size: 13px;
    font-weight: 600;
}

.woocommerce-Address address {
    font-style: normal;
    color: var(--sp-body);
    font-size: 14px;
    line-height: 1.6;
}

.sp-page--account .woocommerce-message,
.sp-page--account .woocommerce-info,
.sp-page--account .wc-block-components-notice-banner {
    background: var(--sp-surface) !important;
    border: none !important;
    border-radius: var(--sp-radius-md);
    padding: 20px 24px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    list-style: none;
}

.sp-page--account .woocommerce-message::before,
.sp-page--account .woocommerce-info::before {
    display: none !important;
}

.sp-page--account .woocommerce-error {
    background: #fdecea !important;
    border: none !important;
    color: #b3261e;
    border-radius: var(--sp-radius-md);
    padding: 20px 24px;
    margin: 0 0 20px;
    list-style: none;
    font-size: 14px;
}

/* Generic content pages */

.sp-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp-gap-section-x);
}

.sp-content-card {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-md);
    padding: 32px;
}

.sp-content-card--wide {
    margin: 60px auto;
    max-width: 780px;
}

.sp-content-list {
    display: grid;
    gap: 18px;
    margin: 60px 0;
}

.sp-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sp-faint);
    margin-bottom: 8px;
}

.sp-entry-content a {
    text-decoration: underline;
}

.sp-entry-content h2 {
    font-size: 22px;
    margin: 32px 0 12px;
}

.sp-entry-content h2:first-child {
    margin-top: 0;
}

.sp-entry-content h3 {
    font-size: 17px;
    margin: 22px 0 8px;
}

.sp-entry-content p {
    margin: 0 0 16px;
}

.sp-entry-content ul,
.sp-entry-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--sp-body);
    line-height: 1.7;
}

.sp-entry-content li {
    margin-bottom: 6px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

/* Responsive */

@media (max-width: 1100px) {
    .sp-page--checkout .sp-checkout {
        grid-template-columns: 1fr;
    }

    .sp-checkout__summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 900px) {
    .sp-hero,
    .sp-cats,
    .sp-compare,
    .sp-products-grid--4,
    .sp-products-grid--3,
    .sp-shop__body,
    .sp-product__top,
    .sp-reviews__grid,
    .sp-quick,
    .sp-trust,
    .sp-account,
    .woocommerce-Addresses,
    #customer_login {
        grid-template-columns: 1fr;
    }

    .sp-account-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sp-gallery__main {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .sp-hero__media {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .sp-trust {
        flex-direction: column;
    }

    .sp-trust > div {
        border-right: none;
        border-bottom: 1px solid var(--sp-line);
    }

    .sp-nav__links {
        display: none;
    }

    .sp-nav,
    .sp-hero,
    .sp-section,
    .sp-shop,
    .sp-product__top,
    .sp-reviews,
    .sp-compare,
    .sp-page--account {
        padding-left: 24px;
        padding-right: 24px;
    }

    .sp-compare {
        margin-left: 24px;
        margin-right: 24px;
        padding: 32px;
    }

    .sp-shop__body [data-filters-sidebar] {
        display: none;
        margin-bottom: 24px;
    }

    .sp-shop__body [data-filters-sidebar].is-open {
        display: block;
    }
}

@media (max-width: 620px) {
    .sp-hero h1 {
        font-size: 38px;
    }

    .sp-sec-title {
        font-size: 26px;
    }

    .sp-nav {
        gap: 10px;
    }

    .sp-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .sp-newsletter {
        flex-direction: column;
        text-align: center;
    }

    .sp-newsletter__form {
        width: 100%;
    }

    .sp-newsletter__form input {
        flex: 1;
        min-width: 0;
    }

    .sp-product__actions {
        flex-direction: column;
    }

    .sp-order-confirm__meta {
        grid-template-columns: 1fr;
    }

    .sp-order-confirm__actions {
        flex-direction: column;
    }

    .sp-order-confirm__actions .sp-btn {
        width: 100%;
    }
}
