/* RedNexus Swag store. Tokens from the academy (root.css / main.css). Store pages only. */
:root {
    --shop-red: hsl(355 89% 53%);
    --shop-red-hover: hsl(355 89% 46%);
    --shop-bg: #0F0F12;
    --shop-bg-2: #141418;
    --shop-bg-3: #1A1A1F;
    --shop-line: #2A2A31;
    --shop-text: #F2F3F5;
    --shop-muted: #9AA6B5; /* muted #7A8899 lightened for 4.5:1 on the dark background */
    --shop-cyan: #00C8FF;
    --shop-gold: #F0A500;
    --shop-success: #2BD47D;
    --shop-radius: 12px;
    --shop-font: "Inter", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[lang="ar"] { --shop-font: "Cairo", "Inter", system-ui, sans-serif; }

.shop-body {
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: var(--shop-font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
.shop-body * { font-family: inherit; }
.shop-body i[class^="ph"], .shop-body i[class*=" ph"] { font-family: "Phosphor", "Phosphor-Fill" !important; }
.shop-body i.ph-fill { font-family: "Phosphor-Fill" !important; }
.shop-main { flex: 1 0 auto; }
.shop-body a { color: inherit; text-decoration: none; }
.shop-body :focus-visible { outline: 2px solid var(--shop-cyan); outline-offset: 2px; }
.shop-skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2000; background: var(--shop-red); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* Typography */
.shop-h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; margin-bottom: .75rem; letter-spacing: -.01em; }
.shop-h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; margin-bottom: 1rem; }
.shop-h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.shop-display { font-size: clamp(2.25rem, 1.5rem + 4vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1rem; }
.shop-lead { font-size: 1.1rem; color: var(--shop-muted); }
.shop-eyebrow { color: var(--shop-red); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .5rem; }
.shop-muted { color: var(--shop-muted); }
.shop-link { color: var(--shop-cyan) !important; text-decoration: underline; text-underline-offset: 3px; }
.shop-link--btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.shop-text-success { color: var(--shop-success); }
.shop-text-gold { color: var(--shop-gold); }
.shop-text-red { color: var(--shop-red); }
.shop-prose { line-height: 1.75; }
.shop-prose h2, .shop-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.shop-prose ul, .shop-prose ol { padding-inline-start: 1.25rem; }
.shop-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.shop-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.shop-prose th, .shop-prose td { border: 1px solid var(--shop-line); padding: .5rem; text-align: center; }
.shop-prose a { color: var(--shop-cyan); }

/* Layout */
.shop-section { padding-block: 1.5rem 2.5rem; }
.shop-narrow { max-width: 860px; margin-inline: auto; }
.shop-narrow--sm { max-width: 460px; }
.shop-panel { background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1.25rem; }
fieldset.shop-panel { min-width: 0; }
fieldset.shop-panel legend { float: left; width: 100%; padding: 0; margin: 0 0 1rem; }
fieldset.shop-panel legend + * { clear: left; }
.shop-sticky { position: sticky; top: 88px; }
.shop-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons & inputs */
.shop-btn { background: var(--shop-red); color: #fff !important; border: 1px solid var(--shop-red); border-radius: 10px; font-weight: 700; padding: .65rem 1.1rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; transition: background .15s, border-color .15s; }
.shop-btn:hover { background: var(--shop-red-hover); border-color: var(--shop-red-hover); }
.shop-btn:disabled, .shop-btn.disabled { background: var(--shop-bg-3); border-color: var(--shop-line); color: var(--shop-muted) !important; opacity: 1; cursor: not-allowed; }
.shop-btn--ghost { background: transparent; border-color: var(--shop-line); }
.shop-btn--ghost:hover { background: var(--shop-bg-3); border-color: var(--shop-muted); }
.shop-btn--lg { padding: .85rem 1.4rem; font-size: 1.05rem; min-height: 52px; }
.shop-btn--sm { padding: .4rem .8rem; min-height: 38px; font-size: .9rem; }
.shop-input { background: var(--shop-bg) !important; border: 1px solid var(--shop-line) !important; color: var(--shop-text) !important; border-radius: 10px; min-height: 46px; }
.shop-input:focus { border-color: var(--shop-cyan) !important; box-shadow: 0 0 0 .2rem rgba(0, 200, 255, .15) !important; }
.shop-input.is-invalid { border-color: var(--shop-red) !important; }
select.form-select.shop-input { background: var(--shop-bg) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cfd3da' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right .9rem center / 14px 10px !important; padding-right: 2.5rem; }
[dir="rtl"] select.form-select.shop-input { background-position: left .9rem center !important; padding-right: .75rem; padding-left: 2.5rem; }
.shop-body .shop-btn-google { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 10px; font-weight: 600; }
.shop-body .shop-btn-google:hover, .shop-body .shop-btn-google:focus { background: #f2f2f2; color: #1f1f1f; }
.shop-divider { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; color: var(--shop-muted); font-size: .85rem; }
.shop-divider::before, .shop-divider::after { content: ""; flex: 1; height: 1px; background: var(--shop-line); }
.shop-input--sm { min-height: 38px; padding-block: .3rem; font-size: .9rem; width: auto; }
.shop-body .form-label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.shop-form-error { color: #FF6B78; font-size: .9rem; margin: .35rem 0 0; }
.shop-form-error:empty { display: none; }
.shop-check { display: flex; gap: .6rem; align-items: flex-start; padding-inline-start: 0; }
.shop-check .form-check-input { margin: .2rem 0 0; flex: none; float: none; }
.shop-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--shop-text); font-size: 1.35rem; position: relative; }
.shop-icon-btn:hover { background: var(--shop-bg-3); }

/* Alerts */
.shop-alert { border-radius: 10px; border: 1px solid; }
.shop-alert--success { background: rgba(43, 212, 125, .08); border-color: rgba(43, 212, 125, .4); color: #9DF0C3; }
.shop-alert--error { background: rgba(242, 28, 46, .08); border-color: rgba(242, 28, 46, .45); color: #FFB3BA; }

/* Header */
.shop-announcement { background: var(--shop-red); color: #fff; text-align: center; font-weight: 600; font-size: .9rem; padding: .45rem 1rem; }
.shop-header { position: sticky; top: 0; z-index: 1030; background: rgba(15, 15, 18, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--shop-line); }
.shop-nav { display: flex; align-items: center; gap: .75rem; min-height: 68px; }
.shop-logo { display: inline-flex; align-items: center; gap: .5rem; }
.shop-logo img { height: 34px; width: auto; }
.shop-logo__swag { font-weight: 900; letter-spacing: .14em; color: var(--shop-red); font-size: .9rem; border: 1px solid var(--shop-red); padding: 1px 6px; border-radius: 4px; }
.shop-nav__links { list-style: none; margin: 0 0 0 1rem; padding: 0; gap: .25rem; align-items: center; }
[dir="rtl"] .shop-nav__links { margin: 0 1rem 0 0; }
.shop-nav__link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .75rem; border-radius: 8px; font-weight: 600; background: none; border: 0; color: var(--shop-text); }
.shop-nav__link:hover { background: var(--shop-bg-3); }
.shop-nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: .15rem; }
.shop-cart-count { position: absolute; top: 2px; inset-inline-end: 0; background: var(--shop-red); color: #fff; font-size: .7rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.shop-lang { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shop-line); border-radius: 50%; font-weight: 800; font-size: .85rem; }
.shop-lang:hover { border-color: var(--shop-red); }
.shop-search { display: flex; gap: .5rem; padding-bottom: 1rem; }
.shop-mega { position: relative; }
.shop-mega__panel { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 520px; background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1.25rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.shop-mega:hover .shop-mega__panel, .shop-mega:focus-within .shop-mega__panel, .shop-mega.is-open .shop-mega__panel { display: block; }
.shop-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; }
.shop-mega__all { grid-column: 1 / -1; color: var(--shop-red); font-weight: 700; }
.shop-mega__head { font-weight: 700; display: block; margin-bottom: .35rem; }
.shop-mega__item { display: block; color: var(--shop-muted); padding: .15rem 0; }
.shop-mega__item:hover, .shop-mega__head:hover { color: var(--shop-text); }
.shop-offcanvas { background: var(--shop-bg-2); color: var(--shop-text); }
.shop-offcanvas__link { display: block; padding: .7rem 0; font-weight: 600; border-bottom: 1px solid var(--shop-line); }
.shop-offcanvas__link--sub { padding-inline-start: 1rem; font-weight: 400; color: var(--shop-muted); }

/* Hero */
.shop-hero .carousel-item img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; display: block; }
@media (max-width: 767.98px) { .shop-hero .carousel-item img { aspect-ratio: 4 / 5; } }
.shop-hero__slide { position: relative; display: block; }
.shop-hero__caption { position: absolute; inset: auto 0 0 0; padding: 2rem 1.25rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.shop-hero__title { font-size: clamp(1.5rem, 1rem + 3vw, 3rem); font-weight: 900; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.shop-hero--plain { padding: 4rem 0 3rem; background: radial-gradient(ellipse at 20% 0%, rgba(242, 28, 46, .25), transparent 60%), var(--shop-bg); border-bottom: 1px solid var(--shop-line); }

/* Category tiles */
.shop-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .shop-tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.shop-tile { position: relative; aspect-ratio: 1; border-radius: var(--shop-radius); overflow: hidden; background: var(--shop-bg-3); border: 1px solid var(--shop-line); display: flex; align-items: flex-end; }
.shop-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-tile:hover img { transform: scale(1.04); }
.shop-tile__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--shop-red); }
.shop-tile__name { position: relative; width: 100%; padding: .75rem 1rem; font-weight: 800; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

/* Product grid & card */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card { background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: var(--shop-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.shop-card:hover { border-color: #3A3A44; }
.shop-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--shop-bg-3); overflow: hidden; }
.shop-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.shop-card__img--hover { opacity: 0; }
@media (hover: hover) and (min-width: 992px) { .shop-card:hover .shop-card__img--hover { opacity: 1; } }
.shop-card.is-sold-out .shop-card__img { filter: grayscale(.7); opacity: .7; }
.shop-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--shop-muted); }
.shop-card__labels { position: absolute; top: .5rem; inset-inline-start: .5rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.shop-card__body { padding: .75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.shop-card__body > :last-child { margin-top: auto; }
.shop-card__name { font-size: .95rem; font-weight: 600; margin: 0; line-height: 1.35; }
.shop-card__name a:hover { color: var(--shop-red); }
.shop-label { display: inline-block; font-size: .72rem; font-weight: 800; padding: .2rem .5rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.shop-label--red { background: var(--shop-red); color: #fff; }
.shop-label--cyan { background: var(--shop-cyan); color: #00222C; }
.shop-label--gold { background: var(--shop-gold); color: #241800; }
.shop-label--dark { background: #000; color: #fff; border: 1px solid var(--shop-line); }
.shop-price { margin: 0; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.shop-price__now { font-weight: 800; }
.shop-price__was { color: var(--shop-muted); font-size: .9em; }
.shop-price--lg { font-size: 1.5rem; margin-bottom: 1rem; }

/* Catalogue toolbar */
.shop-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--shop-muted); font-size: .88rem; margin-bottom: 1rem; }
.shop-crumbs a:hover { color: var(--shop-text); }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.shop-filter-panel { background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.shop-filter-panel fieldset legend { font-size: .95rem; font-weight: 700; float: none; margin-bottom: .5rem; }
.shop-badge { background: var(--shop-red); color: #fff; border-radius: 10px; font-size: .75rem; padding: 0 .45rem; }
.shop-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-chip { border: 1px solid var(--shop-line); border-radius: 20px; padding: .35rem .9rem; font-size: .9rem; }
.shop-chip:hover { border-color: var(--shop-red); }
.shop-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-option { position: relative; }
.shop-option input { position: absolute; opacity: 0; }
.shop-option span { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--shop-line); border-radius: 8px; padding: .4rem .8rem; cursor: pointer; min-height: 40px; }
.shop-option input:checked + span { border-color: var(--shop-red); background: rgba(242, 28, 46, .12); }
.shop-option input:focus-visible + span { outline: 2px solid var(--shop-cyan); }
.shop-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); flex: none; }
.shop-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.shop-pagination .pagination { --bs-pagination-bg: var(--shop-bg-2); --bs-pagination-border-color: var(--shop-line); --bs-pagination-color: var(--shop-text); --bs-pagination-active-bg: var(--shop-red); --bs-pagination-active-border-color: var(--shop-red); --bs-pagination-hover-bg: var(--shop-bg-3); --bs-pagination-hover-color: #fff; }

/* Product page */
.shop-gallery__main { position: relative; aspect-ratio: 1; background: var(--shop-bg-3); border-radius: var(--shop-radius); overflow: hidden; border: 1px solid var(--shop-line); }
.shop-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
@media (hover: hover) and (min-width: 992px) {
    .shop-gallery__main { cursor: zoom-in; }
    .shop-gallery__main.is-zoomed img { transform: scale(2); }
}
.shop-gallery__thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.shop-gallery__thumb { flex: 0 0 72px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--shop-bg-3); scroll-snap-align: start; }
.shop-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-gallery__thumb[aria-current="true"] { border-color: var(--shop-red); }
.shop-buy { position: sticky; top: 88px; }
.shop-fieldset { margin-bottom: 1.1rem; }
.shop-fieldset legend { font-size: .95rem; font-weight: 700; float: none; margin-bottom: .5rem; }
.shop-option-btn { min-width: 48px; min-height: 44px; padding: .4rem .85rem; border: 1px solid var(--shop-line); background: transparent; color: var(--shop-text); border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; position: relative; }
.shop-option-btn:not(.shop-option-btn--swatch) { min-width: 48px; height: 48px; min-height: 0; padding: 0 .55rem; justify-content: center; }
.shop-option-btn:hover { border-color: var(--shop-muted); }
.shop-option-btn[aria-pressed="true"] { border-color: var(--shop-red); background: rgba(242, 28, 46, .14); }
.shop-option-btn.is-unavailable { color: var(--shop-muted); text-decoration: line-through; border-style: dashed; cursor: not-allowed; }
.shop-option-btn.is-unavailable::after { content: ""; position: absolute; inset: 50% 6px auto; height: 1px; background: var(--shop-muted); transform: rotate(-18deg); }
.shop-stock { min-height: 1.5rem; font-weight: 600; margin-bottom: .75rem; }
.shop-stock.is-low { color: var(--shop-gold); }
.shop-stock.is-out { color: #FF6B78; }
.shop-stock.is-ok { color: var(--shop-success); }
.shop-qty { display: inline-flex; border: 1px solid var(--shop-line); border-radius: 10px; overflow: hidden; }
.shop-qty__btn { width: 44px; background: transparent; border: 0; color: var(--shop-text); font-size: 1rem; }
.shop-qty__btn:hover { background: var(--shop-bg-3); }
.shop-qty__btn:disabled { opacity: .35; cursor: not-allowed; background: transparent; }
.shop-qty--sm .shop-qty__btn { width: 36px; height: 38px; font-size: .9rem; }
.shop-qty--sm .shop-qty__input { width: 40px; }
.shop-qty__input { width: 48px; text-align: center; background: transparent; border: 0; color: var(--shop-text); font-weight: 700; -moz-appearance: textfield; }
.shop-qty__input::-webkit-outer-spin-button, .shop-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.shop-perks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .5rem; color: var(--shop-muted); }
.shop-perks i { color: var(--shop-red); margin-inline-end: .35rem; }
.shop-accordion { --bs-accordion-bg: var(--shop-bg-2); --bs-accordion-border-color: var(--shop-line); --bs-accordion-btn-bg: var(--shop-bg-2); --bs-accordion-active-bg: var(--shop-bg-3); --bs-accordion-active-color: var(--shop-text); --bs-accordion-btn-color: var(--shop-text); --bs-accordion-color: var(--shop-text); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(0, 200, 255, .2); }
.shop-modal { background: var(--shop-bg-2); color: var(--shop-text); border: 1px solid var(--shop-line); }

/* Cart / lines */
.shop-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.shop-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--shop-line); }
.shop-lines--cart .shop-line { grid-template-columns: 96px 1fr auto; }
.shop-lines--compact .shop-line { grid-template-columns: 56px 1fr auto; padding: .6rem 0; }
.shop-line__img { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--shop-bg-3); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--shop-muted); }
.shop-lines--compact .shop-line__img { overflow: visible; }
.shop-line__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.shop-line__qty-badge { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--shop-muted); color: #000; font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.shop-line__name { font-weight: 700; display: block; }
.shop-line__total { font-weight: 700; white-space: nowrap; }
.shop-line__controls { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }
.shop-line__problem { display: block; color: #FF6B78; font-size: .9rem; margin-top: .25rem; font-weight: 600; }
.shop-line.has-problem .shop-line__img { outline: 2px solid var(--shop-red); }
.shop-totals { margin: 0 0 1rem; }
.shop-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.shop-totals dt { font-weight: 400; color: var(--shop-muted); }
.shop-totals dd { margin: 0; font-weight: 600; }
.shop-totals__discount dd { color: var(--shop-success); }
.shop-totals__total { border-top: 1px solid var(--shop-line); margin-top: .35rem; padding-top: .75rem !important; }
.shop-totals__total dt, .shop-totals__total dd { color: var(--shop-text); font-weight: 800; font-size: 1.15rem; }
.shop-code { font-family: ui-monospace, Menlo, Consolas, monospace !important; background: var(--shop-bg-3); padding: 0 .35rem; border-radius: 4px; font-size: .85em; }
.shop-discount { display: flex; gap: .5rem; margin-bottom: .5rem; }
.shop-discount--applied { justify-content: space-between; align-items: center; background: var(--shop-bg-3); border-radius: 10px; padding: .6rem .8rem; }

/* Checkout */
.shop-pay-options { display: grid; gap: .6rem; }
.shop-pay-option { display: flex; gap: .75rem; align-items: flex-start; border: 1px solid var(--shop-line); border-radius: 10px; padding: .9rem; cursor: pointer; }
.shop-pay-option:has(input:checked) { border-color: var(--shop-red); background: rgba(242, 28, 46, .08); }
.shop-pay-option input { margin-top: .3rem; accent-color: var(--shop-red); }
.shop-pay-option.is-disabled { opacity: .55; cursor: not-allowed; }

/* Orders */
.shop-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.shop-timeline li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; font-size: .85rem; color: var(--shop-muted); position: relative; }
.shop-timeline li::before { content: ""; position: absolute; top: 8px; inset-inline-start: calc(-50% + 10px); width: calc(100% - 20px); height: 2px; background: var(--shop-line); }
.shop-timeline li:first-child::before { display: none; }
.shop-timeline__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--shop-line); background: var(--shop-bg); position: relative; z-index: 1; }
.shop-timeline li.is-done, .shop-timeline li.is-current { color: var(--shop-text); }
.shop-timeline li.is-done .shop-timeline__dot { background: var(--shop-red); border-color: var(--shop-red); }
.shop-timeline li.is-done::before, .shop-timeline li.is-current::before { background: var(--shop-red); }
.shop-timeline li.is-current .shop-timeline__dot { border-color: var(--shop-red); box-shadow: 0 0 0 4px rgba(242, 28, 46, .25); }
.shop-status { font-weight: 700; margin: 0; }
.shop-status--cancelled, .shop-status--refused { color: #FF6B78; }
.shop-status--returned { color: var(--shop-gold); }
.shop-order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.shop-order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: 10px; padding: .9rem 1rem; }
.shop-order-row:hover { border-color: var(--shop-muted); }
.shop-status-pill { font-size: .8rem; font-weight: 700; border: 1px solid var(--shop-line); border-radius: 20px; padding: .2rem .65rem; white-space: nowrap; }

/* Empty / error */
.shop-empty { padding: 3rem 1rem; }
.shop-empty__icon { font-size: 3.5rem; color: var(--shop-red); display: block; margin-bottom: .75rem; }
.shop-error-code { font-size: 4rem; font-weight: 900; color: var(--shop-red); margin: 0; line-height: 1; }

/* Brand block */
.shop-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 2rem; border-radius: var(--shop-radius); background: linear-gradient(135deg, rgba(242, 28, 46, .18), rgba(0, 200, 255, .06)), var(--shop-bg-2); border: 1px solid var(--shop-line); }
.shop-brand > div { max-width: 640px; }

/* Added-to-cart panel */
.shop-added { position: fixed; z-index: 1080; inset-inline-end: 1rem; top: 84px; width: min(360px, calc(100vw - 2rem)); }
.shop-added__inner { background: var(--shop-bg-2); border: 1px solid var(--shop-line); border-radius: var(--shop-radius); padding: 1rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.shop-added__title { font-weight: 800; margin: 0; color: var(--shop-success); }
.shop-added__item { margin: .25rem 0 0; color: var(--shop-muted); font-size: .92rem; }
@media (max-width: 575.98px) { .shop-added { top: auto; bottom: 1rem; } }

/* Footer */
.shop-footer { background: #0A0A0C; border-top: 1px solid var(--shop-line); padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
.shop-footer__title { font-size: .95rem; font-weight: 800; margin-bottom: .75rem; }
.shop-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: var(--shop-muted); }
.shop-footer__list a:hover { color: var(--shop-text); }
.shop-social { display: flex; gap: .5rem; margin-top: 1rem; font-size: 1.4rem; }
.shop-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shop-line); border-radius: 50%; }
.shop-footer__bottom { border-top: 1px solid var(--shop-line); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.shop-pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--shop-muted); font-size: .85rem; }
.shop-pay-chip { border: 1px solid var(--shop-line); border-radius: 6px; padding: .15rem .5rem; font-weight: 700; color: var(--shop-text); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
    .shop-body * { transition: none !important; animation: none !important; }
}

/* Size guide table (shop.partials.size-guide-table) */
.shop-size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.shop-size-table th, .shop-size-table td { border: 1px solid var(--shop-line); padding: .6rem .75rem; text-align: center; white-space: nowrap; }
.shop-size-table thead th { background: var(--shop-bg-3); font-weight: 700; font-size: .9rem; }
.shop-size-table tbody th { font-weight: 800; }
.shop-size-table tbody tr:nth-child(even) td, .shop-size-table tbody tr:nth-child(even) th { background: rgba(255, 255, 255, .02); }
