/* All catalogue styling stays inside .shop-page. */
.shop-page {
  --shop-accent: #626bd6;
  --shop-border: rgba(167, 181, 239, .17);
  --shop-muted: #abb2cf;
  padding: 30px 0 80px;
}

.shop-page .site-container { width: 90%; max-width: 1760px; }
.woocommerce-shop .shop-page .site-container { width: 85%; max-width: none; }
.shop-page button, .shop-page input, .shop-page select { font: inherit; }
.shop-page button, .shop-page select { cursor: pointer; }
.shop-page a:focus-visible, .shop-page button:focus-visible,
.shop-page input:focus-visible, .shop-page select:focus-visible,
.shop-page summary:focus-visible { outline: 2px solid #b7c3ff; outline-offset: 5px; }
.shop-page .woocommerce-breadcrumb { margin: 0 0 30px; color: var(--shop-muted); font-size: 12px; }
.shop-page .woocommerce-breadcrumb a { color: var(--text-light); }
.shop-page .woocommerce-breadcrumb span { margin: 0 10px; opacity: .5; }
.shop-page .shop-heading { margin-bottom: 42px; }
.shop-page .shop-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.woocommerce-shop .shop-page .shop-heading { text-align: center; }
.woocommerce-shop .shop-page .shop-heading-row { justify-content: center; }
.shop-page .shop-eyebrow { margin: 0 0 10px; color: #a5afff; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.shop-page h1 { margin: 0; font-size: clamp(34px, 3.5vw, 56px); font-weight: 700; line-height: 1.15; letter-spacing: -1.8px; }
.woocommerce-shop .shop-page h1 { font-size: clamp(32px, calc(3.5vw - 2px), 54px); font-weight: 600; }
.shop-page h1 > span { color: #929cff; }
.shop-page .shop-intro { margin: 15px 0 0; color: var(--shop-muted); font-size: 14px; line-height: 1.8; }
.shop-page .shop-collection-jump { display: inline-flex; align-items: center; gap: 28px; padding: 13px 0; border-bottom: 1px solid var(--shop-border); font-size: 13px; white-space: nowrap; }
.shop-page .shop-collection-jump span { color: #a5afff; font-size: 23px; }
.shop-page .shop-description { color: var(--shop-muted); max-width: 850px; font-size: 14px; }
.shop-page .shop-catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 3vw, 52px); align-items: start; }
.shop-page .shop-filters { min-width: 0; border-top: 1px solid var(--shop-border); }
.shop-page .shop-filter-toggle { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 600; }
.shop-page .shop-filter-toggle::-webkit-details-marker { display: none; }
.shop-page .shop-filter-toggle > span:first-child { display: flex; gap: 10px; align-items: center; }
.shop-page .shop-filter-count { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--shop-border); border-radius: 7px; color: #b9c2fc; font-size: 11px; }
.shop-page .shop-filter-form { padding-bottom: 20px; }
.shop-page .shop-filter-search { padding: 5px 0 25px; }
.shop-page .shop-filter-search > label { display: block; margin-bottom: 9px; font-size: 12px; color: var(--shop-muted); }
.shop-page .shop-filter-search > div { position: relative; }
.shop-page .shop-filter-search input { width: 100%; min-width: 0; padding: 12px 40px 12px 12px; border: 1px solid var(--shop-border); border-radius: 7px; background: #0b0e27; color: #fff; font-size: 12px; }
.shop-page .shop-filter-search input::placeholder { color: #949cbf; }
.shop-page .shop-filter-search button { position: absolute; inset: 0 0 0 auto; width: 40px; display: grid; place-items: center; border: 0; background: transparent; color: #b5bdef; }
.shop-page .shop-filter-group { min-width: 0; margin: 0 0 25px; padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--shop-border); }
.shop-page .shop-filter-group legend { width: 100%; padding: 0; margin-bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.shop-page .shop-filter-options { display: flex; flex-direction: column; gap: 8px; }
.shop-page .shop-filter-option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer; font-size: 12px; line-height: 1.6; }
.shop-page .shop-filter-option:hover { color: #c1c9ff; }
.shop-page .shop-filter-option input[type="checkbox"] { appearance: none; flex: 0 0 17px; width: 17px; height: 17px; margin: 0; border: 1px solid #343a5b; border-radius: 3px; background: #15192f; cursor: pointer; }
.shop-page .shop-filter-option input:checked { border-color: #818bed; background: var(--shop-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='2' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E"); }
.shop-page .shop-option-count { margin-left: auto; color: #9ca6d1; font-size: 11px; }
.shop-page .shop-filter-group--pills .shop-filter-options { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.shop-page .shop-filter-group--pills .shop-filter-option { min-height: 38px; }
.shop-page .shop-filter-group--pills input, .shop-page .shop-filter-group--colors input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.shop-page .shop-filter-group--pills .shop-option-name { padding: 9px 11px; border: 1px solid #3b405e; border-radius: 5px; transition: background .18s, border-color .18s; font-size: 11px; font-weight: 500; }
.shop-page .shop-filter-group--pills input:checked + span { color: #fff; background: #373e88; border-color: #8e98f1; }
.shop-page .shop-filter-group--pills input:focus-visible + span, .shop-page .shop-filter-group--colors input:focus-visible + span { outline: 2px solid #b7c3ff; outline-offset: 4px; }
.shop-page .shop-filter-group--colors .shop-filter-options { flex-direction: row; flex-wrap: wrap; gap: 9px; }
.shop-page .shop-filter-group--colors .shop-filter-option { min-height: 36px; }
.shop-page .shop-color-swatch { display: block; position: relative; width: 33px; height: 33px; border: 3px solid var(--page-bg); border-radius: 50%; outline: 1px solid #343951; background: var(--swatch); transition: transform .18s, outline-color .18s; }
.shop-page .shop-filter-group--colors input:checked + .shop-color-swatch { outline: 2px solid #a7b2ff; transform: scale(.91); }
.shop-page .shop-filter-group--colors input:checked + .shop-color-swatch::after { content: "✓"; position: absolute; inset: 4px; display: grid; place-items: center; border-radius: 50%; background: #101329; color: #fff; font-size: 11px; }
.shop-page .shop-price-inputs { display: flex; align-items: flex-end; gap: 10px; }
.shop-page .shop-price-inputs > span { padding-bottom: 10px; color: var(--shop-muted); }
.shop-page .shop-price-inputs label { min-width: 0; flex: 1; }
.shop-page .shop-price-inputs label span { display: block; margin-bottom: 7px; color: var(--shop-muted); font-size: 11px; }
.shop-page .shop-price-inputs input { width: 100%; padding: 11px 9px; color: #fff; background: #0b0e27; border: 1px solid var(--shop-border); border-radius: 5px; font-size: 12px; }
.shop-page .shop-price-inputs input::placeholder { color: #949cbf; }
.shop-page .shop-sale-mark { display: grid; place-items: center; margin-left: auto; width: 22px; height: 22px; border-radius: 5px; background: #28305c; color: #c1c9ff; font-size: 11px; }
.shop-page .shop-filter-actions { display: grid; gap: 16px; text-align: center; }
.shop-page .shop-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; background: #565fc2; color: #fff; font-weight: 600; font-size: 13px; transition: background .2s; }
.shop-page .shop-button:hover { background: #6973df; }
.shop-page .shop-reset { padding: 4px; color: #b6bedf; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.shop-page .shop-results { min-width: 0; transition: opacity .18s; }
.shop-page .shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; min-height: 63px; margin-bottom: 22px; border-top: 1px solid var(--shop-border); border-bottom: 1px solid var(--shop-border); padding: 10px 0; }
.shop-page .shop-toolbar h2 { margin: 0; font-size: 13px; font-weight: 500; color: #c4cae1; }
.shop-page .shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-page .shop-sort label { font-size: 11px; color: var(--shop-muted); }
.shop-page .shop-sort select, .shop-page .shop-per-page select { max-width: 100%; color-scheme: dark; padding: 9px 24px 9px 10px; border: 1px solid var(--shop-border); border-radius: 5px; background: #0b0e27; color: #fff; font-size: 12px; }
.shop-page .shop-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.shop-page .shop-active-filters a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid #363c70; border-radius: 5px; background: #171c40; color: #d4d9ff; font-size: 11px; overflow-wrap: anywhere; }
.shop-page .shop-active-filters a:hover { border-color: #8590e2; }
.shop-page .shop-active-filters span { font-size: 18px; line-height: 1; }

/* Exactly three products per row on desktop, regardless of WooCommerce defaults. */
.shop-page .shop-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.shop-page .shop-product-card { min-width: 0; }
.shop-page .shop-product-link { display: flex; flex-direction: column; align-items: center; height: 100%; text-align: center; }
.shop-page .shop-product-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #e5eaef; }
.shop-page .shop-product-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .4s; }
.shop-page .shop-product-image--secondary { opacity: 0; }
.shop-page .shop-product-badge { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 4px; background: #333a85; color: #fff; font-size: 10px; font-weight: 600; }
.shop-page .shop-product-stock-overlay { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 16px; background: rgba(0, 2, 26, .76); pointer-events: none; }
.shop-page .shop-product-stock-label { padding: 2px 10px; border: 2px solid #fff; border-radius: 3px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.35; }
.shop-page .shop-product-link h3 { margin: 13px 0 5px; color: #fff; font-size: clamp(14px, 1.12vw, 21px); font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.shop-page .shop-product-price { display: block; margin-top: auto; margin-bottom: 10px; color: #e9ecff; font-size: 14px; font-weight: 500; }
.woocommerce-shop .shop-page .shop-product-price { color: #ffffff; font-weight: 700; }
.shop-page .shop-product-price del { margin-right: 5px; color: #9da7cc; font-size: 12px; }
.shop-page .shop-product-price ins { text-decoration: none; }
.shop-page .shop-product-button { display: inline-flex; padding: 7px 12px; border-radius: 5px; color: #fff; background: #5963c8; font-size: 11px; font-weight: 500; transition: background .2s, box-shadow .2s; }
.shop-page .shop-product-link:focus-visible .shop-product-button { background: #737ee6; }
.woocommerce-shop .shop-page .shop-product-link:focus-visible .product-button { background: #6d7cff; box-shadow: 0 5px 14px rgba(90, 107, 255, .28); transform: translateY(-1px); }
@media (hover: hover) {
  .shop-page .shop-product-link:hover .shop-product-button { background: #737ee6; box-shadow: 0 4px 18px #525ed438; }
  .shop-page .shop-product-link:hover .shop-product-image { transform: scale(1.025); }
  .shop-page .shop-product-link:hover .has-secondary .shop-product-image:not(.shop-product-image--secondary) { opacity: 0; }
  .shop-page .shop-product-link:hover .shop-product-image--secondary { opacity: 1; }
}
.shop-page .shop-pagination-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--shop-border); }
.shop-page .shop-per-page { display: flex; align-items: center; gap: 10px; color: var(--shop-muted); font-size: 11px; }
.woocommerce-shop .shop-page .shop-pagination-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
/* Offset by half the sidebar and grid gap to align with the full page centre. */
.woocommerce-shop .shop-page .shop-per-page { grid-column: 2; justify-self: center; position: relative; left: calc(-125px - clamp(12px, 1.5vw, 26px)); }
.woocommerce-shop .shop-page .shop-pagination-row nav.woocommerce-pagination { grid-column: 3; justify-self: end; min-width: 0; max-width: 100%; }
.shop-page nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; list-style: none; }
.shop-page nav.woocommerce-pagination ul li { float: none; border: 0; }
.shop-page nav.woocommerce-pagination ul li a, .shop-page nav.woocommerce-pagination ul li span { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 8px; border: 1px solid var(--shop-border); border-radius: 5px; color: #dfe3ff; background: transparent; font-size: 12px; }
.shop-page .shop-pagination-row nav.woocommerce-pagination ul li span.current,
.shop-page .shop-pagination-row nav.woocommerce-pagination ul li a:hover { background: #565fc2; border-color: #737dde; color: #fff; }
.shop-page .shop-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 390px; padding: 40px 24px; border: 1px dashed #343b64; border-radius: 10px; text-align: center; background: radial-gradient(ellipse at top, #151b3c, transparent 75%); }
.shop-page .shop-empty-symbol { color: #a4afff; font-size: 54px; }
.shop-page .shop-empty h3 { margin: 10px 0; max-width: 430px; font-size: 22px; }
.shop-page .shop-empty p { max-width: 430px; margin: 0 0 24px; color: var(--shop-muted); font-size: 13px; line-height: 1.8; }
.shop-page .shop-catalog[aria-busy="true"] .shop-results { opacity: .45; pointer-events: none; }
.shop-page .shop-catalog[aria-busy="true"] { cursor: progress; }
.shop-page .woocommerce-message, .shop-page .woocommerce-info, .shop-page .woocommerce-error { background: #10162f; color: #fff; border-color: #8d9cf3; font-size: 13px; }
.shop-page .shop-extras { margin-top: 80px; }
.shop-page .shop-inspiration { padding: 44px 0 0; border-top: 1px solid var(--shop-border); text-align: center; scroll-margin-top: 30px; }
.shop-page .shop-inspiration h2 { margin: 0 0 10px; font-size: clamp(24px, 2vw, 30px); font-weight: 600; letter-spacing: -.5px; }
.shop-page .shop-inspiration > p:not(.shop-eyebrow) { margin: 0 0 28px; color: var(--shop-muted); font-size: 14px; }
.shop-page .shop-inspiration .category-grid { gap: 24px; }
.shop-page .shop-inspiration .category-card { border-radius: 8px; }
.shop-page .shop-category-label { position: absolute; inset: auto 16px 16px; padding: 10px; border-radius: 4px; background: #fff; color: #0b102b; font-size: 14px; font-weight: 700; }
.shop-page .shop-extras .reviews-section { margin-top: 62px; }
.shop-page .shop-extras .reviews-section .section-title { font-weight: 700; }

@media (max-width: 1200px) {
  .shop-page .shop-catalog { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .woocommerce-shop .shop-page .shop-per-page { left: -122px; }
  .shop-page .shop-product-grid { gap: 30px 16px; }
  .shop-page .shop-extras .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .shop-page .shop-catalog { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .woocommerce-shop .shop-page .shop-per-page { left: 0; }
  .shop-page .shop-filters { border: 1px solid var(--shop-border); border-radius: 7px; padding: 0 18px; }
  .shop-page .shop-filter-toggle { padding: 15px 0; }
  .shop-page .shop-filter-toggle::after { content: "+"; margin-left: 12px; font-size: 23px; font-weight: 400; }
  .shop-page .shop-filter-count { margin-left: auto; }
  .shop-page .shop-filters[open] .shop-filter-toggle::after { content: "−"; }
  .shop-page .shop-filter-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
  .shop-page .shop-filter-form > input[type="hidden"] { display: none; }
  .shop-page .shop-filter-search, .shop-page .shop-filter-actions { grid-column: 1 / -1; }
  .shop-page .shop-product-link h3 { font-size: 16px; }
  .shop-page .shop-toolbar { border-top: 0; margin-bottom: 20px; }
  .shop-page .shop-inspiration .category-grid { gap: 15px; }
}
@media (max-width: 768px) {
  .shop-page { padding: 22px 0 50px; }
  .shop-page .site-container { width: 92%; }
  .shop-page .shop-heading { margin-bottom: 26px; }
  .shop-page .shop-heading-row { display: block; }
  .shop-page h1 { font-size: 38px; letter-spacing: -1px; }
  .woocommerce-shop .shop-page h1 { font-size: 36px; }
  .woocommerce-shop .shop-page .shop-pagination-row { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-shop .shop-page .shop-per-page,
  .woocommerce-shop .shop-page .shop-pagination-row nav.woocommerce-pagination { grid-column: 1; justify-self: center; }
  .shop-page .shop-intro { font-size: 13px; }
  .shop-page .shop-collection-jump { margin-top: 14px; gap: 20px; padding-bottom: 8px; font-size: 12px; }
  .shop-page .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .shop-page .shop-product-link h3 { font-size: 15px; }
  .shop-page .shop-product-price { font-size: 13px; }
  .shop-page .shop-extras { margin-top: 48px; }
  .shop-page .shop-extras .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-page .shop-inspiration .category-grid { gap: 12px; }
  .shop-page .shop-extras .reviews-section { margin-top: 42px; }
  .shop-page .shop-inspiration { padding-top: 32px; }
}
@media (max-width: 540px) {
  .shop-page .shop-filter-form { display: block; }
  .shop-page .shop-product-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .shop-page .shop-product-link h3 { font-size: 19px; }
  .shop-page .shop-product-price { font-size: 15px; }
  .shop-page .shop-product-button { min-height: 36px; padding: 9px 16px; font-size: 12px; }
  .shop-page .shop-sort { gap: 6px; }
  .shop-page .shop-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .shop-page .shop-sort select { max-width: 195px; font-size: 11px; }
  .shop-page .shop-pagination-row { justify-content: center; }
  .shop-page .shop-empty h3 { font-size: 19px; }
  .shop-page .shop-category-label { inset: auto 8px 8px; font-size: 11px; padding: 6px; }
  .shop-page .shop-filter-search input, .shop-page .shop-price-inputs input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page *, .shop-page *::before, .shop-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
