/* SellTheApp storefront layer. Loaded after app.css. Spec: docs/DESIGN.md */
:root {
    --sta-pink: #f72c74;
    --sta-pink-2: #eb2b6e;
    --sta-crimson: #c0245c;
    --sta-green: #2dbc4a;
    --sta-teal: #12a87b;
    --sta-blue: #174da3;
    --sta-blue-2: #1f58b8;
    --sta-sale: #ef5f79;
    --sta-ink: #172033;
    --sta-muted: #667085;
    --sta-line: #e6e9ef;
    --sta-head: "Jost", "Poppins", sans-serif;
}

.sta-wrap { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 15px; }

/* ---------- Brand bar ---------- */
.nav-bar.sta-brandbar { background: #fff; border-bottom: 0; }
.nav-bar.sta-brandbar .container-custom,
.nav-bar.sta-categorybar .container-custom { max-width: 1150px; }
.nav-bar.sta-brandbar .nav-bar-container { height: 100px; gap: 28px; }
.nav-bar.sta-brandbar .logo { height: 44px; flex: 0 0 auto; }
.nav-bar.sta-brandbar .link,
.nav-bar.sta-brandbar .drop-down .drop-down-btn,
.nav-bar.sta-brandbar .nav-bar-menu-btn,
.nav-bar.sta-brandbar .nav-bar-menu-close { color: var(--sta-ink); }
.nav-bar.sta-brandbar .link { font-size: 14px; font-weight: 600; }
.nav-bar.sta-brandbar .link:hover { color: var(--sta-pink); }

.sta-top-search,
.sta-hero-search { display: grid; grid-template-columns: minmax(0, 1fr) 59px; background: #fff; border: 1px solid #d9d9d9; border-radius: 4px; overflow: hidden; }
.sta-top-search { flex: 0 1 420px; height: 49px; }
.sta-top-search input,
.sta-hero-search input { min-width: 0; border: 0; outline: 0; padding: 0 19px; font-size: 17px; color: #444; background: #fff; }
.sta-top-search input::placeholder,
.sta-hero-search input::placeholder { color: #8a8f98; }
.sta-top-search button,
.sta-hero-search button { border: 0; border-left: 1px solid #d9d9d9; background: #fff; color: #000; font-size: 20px; cursor: pointer; }
.sta-top-search button:hover,
.sta-hero-search button:hover { color: var(--sta-pink); }
.sta-top-search:focus-within,
.sta-hero-search:focus-within { border-color: var(--sta-blue-2); box-shadow: 0 0 0 3px rgba(31, 88, 184, .18); }

.nav-bar.sta-brandbar .nav-bar-buttons { gap: 28px; }
.nav-bar.sta-brandbar .link-btn:not(:last-child) { margin-right: 0; }
.nav-bar .sta-cart-btn { background: transparent; border: 0; color: var(--sta-green); font-size: 26px; line-height: 1; padding: 4px 6px; }
.nav-bar .sta-cart-btn:hover { color: var(--sta-teal); }
.nav-bar .sta-login-btn { background: transparent; border: 0; color: var(--sta-ink); font-weight: 600; font-size: 16px; text-transform: uppercase; padding: 0; }
.nav-bar .sta-login-btn:hover { color: var(--sta-pink); }
.nav-bar .sta-signup-btn { height: 48px; background: var(--sta-green); border: 0; border-radius: 0; box-shadow: 0 4px 0 rgba(0, 0, 0, .18); color: var(--sta-ink); font-weight: 600; font-size: 16px; text-transform: uppercase; padding: 0 24px; }
.nav-bar .sta-signup-btn:hover { background: #27a941; color: var(--sta-ink); }

/* ---------- Category bar ---------- */
.nav-bar.sta-categorybar { background: var(--sta-crimson); border-bottom: 0; }
.nav-bar.sta-categorybar .nav-bar-container { height: 62px; }
.nav-bar.sta-categorybar .link,
.nav-bar.sta-categorybar .drop-down .drop-down-btn,
.nav-bar.sta-categorybar .nav-bar-menu-btn { color: #fff; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.nav-bar.sta-categorybar .link { margin-right: 36px; }
.nav-bar.sta-categorybar .link:hover,
.nav-bar.sta-categorybar .drop-down .drop-down-btn:hover { color: #ffd9e6; }
.nav-bar.sta-categorybar .sta-sell-link .link { margin-right: 0; }

@media (max-width: 1199.98px) {
    .nav-bar.sta-brandbar .nav-bar-container { height: 72px; gap: 12px; }
    .nav-bar.sta-brandbar .logo { height: 34px; }
    .sta-top-search { flex: 1 1 auto; height: 42px; }
    .sta-top-search input { font-size: 15px; padding: 0 12px; }
    .nav-bar.sta-brandbar .nav-bar-menu-inner { background: #fff; }
    .nav-bar.sta-brandbar .link { margin: 0 0 14px; }
    .nav-bar.sta-categorybar .nav-bar-container { height: 50px; }
    .nav-bar.sta-categorybar .nav-bar-menu-inner { background: var(--sta-crimson); }
    .nav-bar.sta-categorybar .nav-bar-menu-close { color: #fff; }
    .nav-bar.sta-categorybar .nav-bar-menu-inner .link { margin: 0 0 14px; }
}
@media (max-width: 575.98px) {
    .nav-bar.sta-brandbar .nav-bar-container { flex-wrap: wrap; height: auto; padding: 10px 0; }
    .nav-bar.sta-brandbar .sta-top-search { order: 5; flex: 1 0 100%; }
    .nav-bar.sta-brandbar .nav-bar-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.sta-hero {
    background-color: var(--sta-pink);
    background-image: linear-gradient(rgba(72, 72, 72, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(72, 72, 72, .16) 1px, transparent 1px);
    background-size: 4px 4px;
    border-top: 4px solid rgba(255, 255, 255, .36);
}
.sta-hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; padding: 42px 16px 24px; text-align: center; }

/* Hero side icons: 10 app icons per side in a staggered (honeycomb) layout, only where the side space is free. */
.sta-hero { position: relative; overflow: hidden; }
.sta-hero-icons { --icon: 99px; --gap-x: 22px; position: absolute; top: 50%; z-index: 0; display: grid; grid-template-rows: repeat(2, var(--icon)); grid-auto-flow: column; grid-auto-columns: var(--icon); gap: 24px var(--gap-x); transform: translateY(-58%); }
.sta-hero-icons-left { right: calc(50% + 385px); }
.sta-hero-icons-right { left: calc(50% + 385px); }
.sta-hero-icon { display: block; width: var(--icon); height: var(--icon); padding: 0; overflow: hidden; background: #fff; border: 4px solid rgba(255, 255, 255, .92); border-radius: 26px; box-shadow: 0 16px 32px rgba(94, 13, 52, .3); rotate: -4deg; transition: scale .2s, rotate .2s, box-shadow .2s; animation: sta-icon-float 7s ease-in-out infinite; }
.sta-hero-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sta-hero-icon:nth-child(4n+3), .sta-hero-icon:nth-child(4n+4) { translate: 0 56px; }
.sta-hero-icon:nth-child(even) { rotate: 4deg; animation-delay: -2.3s; }
.sta-hero-icon:nth-child(3n) { animation-delay: -4.6s; }
.sta-hero-icon:hover { scale: 1.1; rotate: 0deg; box-shadow: 0 20px 38px rgba(94, 13, 52, .38); animation-play-state: paused; }
@keyframes sta-icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .sta-hero-icon { animation: none; } }
/* Show as many 1.5x icons per side as fit beside the centre text: 10 / 6 / 4, none on small screens. */
@media (max-width: 1969.98px) { .sta-hero-icon:nth-child(n+7) { display: none; } }
@media (max-width: 1499.98px) { .sta-hero-icon:nth-child(n+5) { display: none; } }
@media (max-width: 1299.98px) { .sta-hero-icons { display: none; } }
.sta-hero-title { font-family: var(--sta-head); color: #fff; font-size: 36px; font-weight: 700; line-height: 1.05; text-transform: uppercase; margin: 0 0 28px; max-width: 760px; }
.sta-hero-text { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.65; margin: 0 0 12px; max-width: 760px; }
.sta-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.sta-hero-actions a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); box-shadow: 0 10px 24px rgba(94, 13, 52, .16); color: #fff; font-size: 13px; font-weight: 900; }
.sta-hero-actions a:hover { background: #fff; color: var(--sta-crimson); }
.sta-hero-search { width: 100%; max-width: 520px; height: 50px; }
.sta-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; margin-top: 30px; }
.sta-platform { display: inline-flex; align-items: center; justify-content: center; min-width: 188px; height: 84px; padding: 0 36px 6px; border-radius: 999px; box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .12); color: #fff; font-size: 26px; font-weight: 900; line-height: 1; transition: transform .15s, box-shadow .15s; }
.sta-platform:hover { color: #fff; transform: translateY(-5px); box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .13), 0 16px 30px rgba(0, 0, 0, .2); }
.sta-platform-0 { background: #2fb1ee; }
.sta-platform-1 { background: #ffc414; }
.sta-platform-2 { background: #c2255b; }
@media (max-width: 575.98px) {
    .sta-hero-inner { padding: 28px 14px 20px; }
    .sta-hero-title { font-size: 26px; margin-bottom: 16px; }
    .sta-hero-text { font-size: 14px; }
    .sta-platforms { gap: 12px 16px; }
    .sta-platform { min-width: 136px; height: 62px; padding: 0 24px 4px; font-size: 20px; box-shadow: inset 0 -9px 0 rgba(0, 0, 0, .12); }
}

/* ---------- Filter strip ---------- */
.sta-filter-strip { background: var(--background_color); padding: 0 0 22px; }
.sta-filter-strip .sta-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.sta-filter-chip { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; background: #fff; border: 1px solid rgba(23, 77, 163, .18); border-radius: 6px; color: var(--sta-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.sta-filter-chip:hover { background: var(--sta-blue); color: #fff; }

/* ---------- Home product area ---------- */
.sta-home-products { padding: 4px 0 20px; }
.sta-home-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; max-width: 1760px; margin: 0 auto; padding: 0 24px; align-items: start; }
.sta-sidebar { position: sticky; top: 18px; padding-top: 30px; display: grid; gap: 18px; }
.sta-side-card { display: block; background: #fff; border: 1px solid #dbe4f0; border-radius: 8px; box-shadow: 0 16px 40px rgba(16, 24, 39, .08); padding: 20px; }
.sta-side-eyebrow { display: block; color: var(--sta-teal); font-size: 10px; font-weight: 900; text-transform: uppercase; margin-bottom: 7px; }
.sta-side-title { font-family: var(--sta-head); color: var(--sta-ink); font-size: 24px; font-weight: 900; line-height: 1.12; margin: 0 0 12px; }
.sta-side-text { color: var(--sta-muted); font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0 0 16px; }
.sta-price-inputs { display: grid; gap: 10px; margin-bottom: 14px; }
.sta-price-inputs label { display: grid; gap: 6px; color: var(--sta-ink); font-size: 12px; font-weight: 900; }
.sta-price-inputs input { height: 42px; padding: 8px 10px; border: 1px solid #d8dde6; border-radius: 6px; color: var(--sta-ink); font-size: 14px; font-weight: 700; background: #fff; }
.sta-price-inputs input:focus { outline: 0; border-color: var(--sta-blue-2); box-shadow: 0 0 0 3px rgba(31, 88, 184, .18); }
.sta-side-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--sta-blue-2); color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; }
.sta-side-btn:hover { background: var(--sta-blue); color: #fff; }
.sta-side-btn-green { width: 100%; background: #22c348; }
.sta-side-btn-green:hover { background: #19ad3d; }

/* Home collections: each row opens with a soft tinted header band so sections are easy to tell apart. */
.sta-collection { --accent: #174da3; --accent-rgb: 23, 77, 163; margin-top: 48px; }
.sta-collection:first-child { margin-top: 8px; }
.sta-collection--latest { --accent: #2563eb; --accent-rgb: 37, 99, 235; }
.sta-collection--trending { --accent: #f97316; --accent-rgb: 249, 115, 22; }
.sta-collection--featured { --accent: #9333ea; --accent-rgb: 147, 51, 234; }
.sta-collection--sale { --accent: #e11d48; --accent-rgb: 225, 29, 72; }
.sta-collection--best { --accent: #16a34a; --accent-rgb: 22, 163, 74; }
.sta-collection--free { --accent: #0891b2; --accent-rgb: 8, 145, 178; }
.sta-collection--bundle { --accent: #0d9488; --accent-rgb: 13, 148, 136; }

/* Bundles: 2 wide cards per row with a 2x2 cover of the items. */
.sta-bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sta-bundle-card { display: flex; gap: 18px; min-height: 190px; padding: 14px; background: #fff; border: 1px solid var(--sta-line); border-radius: 16px; color: var(--sta-ink); box-shadow: 0 2px 6px rgba(16, 24, 40, .05); transition: transform .15s, box-shadow .15s; }
.sta-bundle-card:hover { color: var(--sta-ink); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(16, 24, 40, .12); }
.sta-bundle-cover { position: relative; flex: 0 0 190px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 4px; overflow: hidden; border-radius: 12px; background: #eef2f7; aspect-ratio: 1; align-self: center; }
.sta-bundle-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sta-bundle-count { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(13, 148, 136, .95); color: #fff; font-size: 12px; font-weight: 800; }
.sta-bundle-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 4px 0; }
.sta-bundle-title { font-family: var(--sta-head); font-size: 21px; font-weight: 800; line-height: 1.2; }
.sta-bundle-desc { color: var(--sta-muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sta-bundle-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.sta-bundle-price del { color: var(--sta-muted); font-size: 14px; }
.sta-bundle-price strong { color: var(--sta-green); font-size: 24px; font-weight: 900; }
.sta-bundle-save { padding: 3px 9px; border-radius: 6px; background: #fff1f2; color: #e11d48; font-size: 12px; font-weight: 800; }
.sta-bundle-cta { align-self: flex-start; padding: 8px 16px; border-radius: 8px; background: #0d9488; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.sta-bundle-cta.is-soon { background: #94a3b8; }
.sta-bundle-hero { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px; background: #fff; border: 1px solid var(--sta-line); border-radius: 18px; }
.sta-bundle-cover-lg { flex-basis: 320px; }
.sta-bundle-info { flex: 1 1 320px; min-width: 0; }
.sta-bundle-h1 { font-family: var(--sta-head); font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.sta-bundle-price-lg strong { font-size: 34px; }
@media (max-width: 1199.98px) { .sta-bundle-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) {
    .sta-bundle-card { flex-direction: column; }
    .sta-bundle-cover { flex-basis: auto; width: 100%; }
}
.sta-collection-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 14px 16px 14px 22px; overflow: hidden; background: linear-gradient(90deg, rgba(var(--accent-rgb), .11) 0%, rgba(var(--accent-rgb), .04) 55%, rgba(255, 255, 255, .85) 100%); border: 1px solid rgba(var(--accent-rgb), .16); border-radius: 14px; }
.sta-collection-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.sta-collection-titlewrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sta-collection-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #fff; font-size: 19px; box-shadow: 0 8px 18px rgba(var(--accent-rgb), .28); }
.sta-collection-text { min-width: 0; }
.sta-collection-title { font-family: var(--sta-head); color: var(--sta-ink); font-size: 25px; font-weight: 800; line-height: 1.2; margin: 0; }
.sta-eyebrow { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; color: var(--sta-muted); font-size: 13px; font-weight: 500; line-height: 1.45; text-transform: none; }
.sta-viewall { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; background: var(--accent); border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; box-shadow: 0 4px 10px rgba(var(--accent-rgb), .22); transition: filter .15s, transform .15s; }
.sta-viewall::after { content: "\2192"; font-size: 14px; line-height: 1; }
.sta-viewall:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }

.sta-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1699.98px) { .sta-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1399.98px) { .sta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) {
    .sta-home-layout { grid-template-columns: minmax(0, 1fr); padding: 0 15px; }
    .sta-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 10px; }
}
@media (max-width: 991.98px) { .sta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 767.98px) { .sta-sidebar { grid-template-columns: minmax(0, 1fr); } }
/* Home rows: exactly 4 full rows at every width (28 items loaded). */
.sta-grid-4rows > :nth-child(n+29) { display: none; }
@media (max-width: 1699.98px) { .sta-grid-4rows > :nth-child(n+21) { display: none; } }
@media (max-width: 1399.98px) { .sta-grid-4rows > :nth-child(n+17) { display: none; } }
@media (max-width: 991.98px) { .sta-grid-4rows > :nth-child(n+13) { display: none; } }
@media (max-width: 575.98px) {
    .sta-grid-4rows > :nth-child(n+9) { display: none; }
    .sta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sta-collection { margin-top: 34px; }
    .sta-collection-head { padding: 12px 12px 12px 18px; gap: 10px; border-radius: 12px; }
    .sta-collection-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
    .sta-collection-title { font-size: 19px; }
    .sta-eyebrow { display: none; }
    .sta-viewall { height: 36px; padding: 0 12px; font-size: 11px; }
}

/* ---------- Product card ---------- */
a.item.sta-card { display: flex; flex-direction: column; height: 100%; padding: 0; margin: 0; background: #fff; border: 1px solid var(--sta-line); border-radius: 7px; box-shadow: 0 8px 22px rgba(23, 32, 51, .06); overflow: hidden; color: var(--sta-ink); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.item.sta-card:hover,
a.item.sta-card:focus-visible { color: var(--sta-ink); border-color: rgba(31, 122, 236, .28); box-shadow: 0 14px 34px rgba(23, 32, 51, .13); transform: translateY(-2px); }
.sta-card-art { position: relative; display: block; aspect-ratio: 16 / 11; background: #eef2f7; overflow: hidden; }
.sta-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sta-card-badge { position: absolute; top: 9px; left: 9px; z-index: 1; padding: 5px 8px; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.sta-badge-sale { background: var(--sta-sale); }
.sta-badge-new { background: var(--sta-teal); }
.sta-badge-hot { background: var(--sta-blue); }
.sta-card-views { position: absolute; top: 9px; right: 9px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; background: rgba(15, 23, 42, .78); border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; box-shadow: 0 8px 20px rgba(15, 23, 42, .28); color: #fff; font-size: 12px; font-weight: 900; line-height: 1.5; }
.sta-card-views i { font-size: 12px; }
.sta-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 13px 11px 14px; background: #fff; }
.sta-card-title { color: var(--sta-ink); font-size: 13px; font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sta-card-by { margin-top: 5px; color: var(--sta-muted); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sta-card-price { margin-top: auto; padding-top: 10px; color: var(--sta-teal); font-size: 16px; font-weight: 900; line-height: 1.6; }
.sta-card-price del { margin-right: 6px; color: var(--sta-teal); opacity: .75; font-weight: 800; }
.sta-card-price ins { text-decoration: none; }

/* Row variant: image left, text right ("Shop by categories") */
.sta-grid.sta-grid-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sta-grid-rows a.item.sta-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); border-radius: 6px; }
.sta-grid-rows .sta-card-art { aspect-ratio: auto; min-height: 150px; height: 100%; }
.sta-grid-rows .sta-card-views { display: none; }
.sta-grid-rows .sta-card-body { justify-content: center; padding: 18px; }
.sta-grid-rows .sta-card-title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.sta-grid-rows .sta-card-by { font-size: 12px; }
.sta-grid-rows .sta-card-price { margin-top: 14px; padding-top: 0; font-size: 19px; font-weight: 800; }
@media (max-width: 1399.98px) { .sta-grid.sta-grid-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .sta-grid.sta-grid-rows { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ---------- Trust band ---------- */
.sta-trust { margin-top: 30px; padding: 46px 0; background-color: var(--sta-pink-2); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px); color: #fff; }
.sta-trust-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.sta-trust-eyebrow { color: #ffe7ef; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.sta-trust h2 { font-family: var(--sta-head); color: #fff; font-size: 28px; font-weight: 500; line-height: 1.25; margin: 8px 0 12px; }
.sta-trust p { color: #fff2f6; font-size: 15px; line-height: 1.7; margin: 0; }
.sta-trust ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.sta-trust li { position: relative; padding-left: 28px; font-size: 14px; font-weight: 700; }
.sta-trust li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.sta-trust li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 6px; height: 9px; border: solid var(--sta-pink-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
@media (max-width: 767.98px) { .sta-trust-grid { grid-template-columns: minmax(0, 1fr); } .sta-trust h2 { font-size: 22px; } }

/* ---------- Footer ---------- */
.footer.sta-footer { background: #101827; }
.footer.sta-footer .container-custom { max-width: 1170px; }
.footer.sta-footer .footer-upper { padding-top: 34px; padding-bottom: 34px; }
.footer.sta-footer .footer-title .h5 { font-family: var(--sta-head); font-size: 16px; font-weight: 500; text-transform: none; color: #fff; }
.footer.sta-footer .footer-title { margin-bottom: 14px; }
.footer.sta-footer .footer-title-divider { display: none; }
.footer.sta-footer .footer-links .footer-link { margin: 10px 0; }
.footer.sta-footer .footer-links .footer-text { color: #fff; font-size: 13px; font-weight: 700; opacity: 1; }
.footer.sta-footer .footer-links .footer-text:hover { text-decoration: underline; }
.footer.sta-footer .sta-footer-about .logo { height: 40px; }
.footer.sta-footer .sta-footer-about .footer-text { font-size: 14px; opacity: .8; }
.footer.sta-footer .footer-lower { background: var(--sta-pink-2); border-top: 0; padding-top: 20px; padding-bottom: 20px; }
.footer.sta-footer .footer-lower .footer-copyright { color: #fff; font-weight: 600; }

/* ---------- Item page ---------- */
.item-single-title { font-size: 34px; font-weight: 700; color: var(--sta-ink); line-height: 1.2; }
.sta-details .small { font-size: 14px; }
.sta-details .d-flex > p:first-child { color: #25313b; font-weight: 700; }
.sta-details .d-flex > p:last-child { color: #5f6f77; text-align: right; }
.sta-details a { color: var(--sta-blue-2); font-weight: 700; }
@media (max-width: 575.98px) { .item-single-title { font-size: 24px; } }

/* Small screens: products first, filters after; breathing room above the chips */
@media (max-width: 1199.98px) {
    .sta-home-layout .sta-sidebar { order: 2; margin-top: 24px; }
    .sta-filter-strip { padding-top: 14px; }
}

/* ---------- Item page (docs/DESIGN.md section 8) ---------- */
.sta-item-page { background: #f6f9fb; }
.sta-item-page .section > .container { max-width: 1270px; }
.sta-item-page .item-single-title { font-size: 38px; font-weight: 700; line-height: 1.15; color: #26333b; margin-bottom: 8px !important; }
.sta-item-byline { margin: 0 0 8px; color: #6b7880; font-size: 15px; }
.sta-item-byline a { color: var(--sta-blue-2); font-weight: 800; }
.sta-item-byline a:hover { text-decoration: underline; }
.sta-item-views { margin-left: 12px; white-space: nowrap; }
.sta-item-page .breadcrumb .breadcrumb-item a { color: var(--sta-blue-2); font-weight: 800; }
.sta-item-page .card-v { background: #fff; border: 1px solid #d9e3e7 !important; border-radius: 4px; }
.sta-item-page .item-single-img img { border-radius: 4px; }

/* tabs row */
.sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: -24px -24px 24px; border-bottom: 1px solid #d9e3e7; background: #fbfdfe; }
.sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 > div { flex: 1 1 0; }
.sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 .btn { display: flex; align-items: center; justify-content: center; height: 62px; padding: 0 16px; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #5d6b73; font-size: 17px; font-weight: 800; box-shadow: none; }
.sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 .btn:hover { color: #26333b; }
.sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 .btn.btn-primary { color: #26333b; border-bottom-color: var(--sta-blue-2); }
.sta-item-page .item-single-paragraph { color: #44535c; font-size: 16px; line-height: 1.75; }

/* buy box */
.sta-item-side > .card-v:first-child { border-color: #dce8ef !important; border-radius: 10px; box-shadow: 0 16px 40px rgba(16, 24, 39, .08); overflow: hidden; }
.sta-item-side > .card-v:first-child .card-v-header { border-top: 4px solid var(--sta-blue-2); }
.sta-item-side .item-price .item-price-number { color: #14a879; font-size: 24px; font-weight: 900; }
.sta-item-side .item-price .item-price-through { color: #98a2b3; font-weight: 700; }
.sta-item-side .card-v-body .btn { min-height: 56px; border-radius: 7px; font-size: 17px; font-weight: 900; }
.sta-item-side .card-v-body .btn.btn-primary { background: var(--sta-blue-2); border-color: var(--sta-blue-2); color: #fff; box-shadow: 0 8px 18px rgba(31, 88, 184, .22); }
.sta-item-side .card-v-body .btn.btn-primary:hover { background: var(--sta-blue); border-color: var(--sta-blue); }
.sta-item-side .card-v-body .btn.btn-outline-primary { background: #20c997; border-color: #20c997; color: #fff; box-shadow: 0 8px 18px rgba(32, 201, 151, .22); }
.sta-item-side .card-v-body .btn.btn-outline-primary:hover { background: var(--sta-teal); border-color: var(--sta-teal); }
.sta-item-side .form-check-input:checked { background-color: var(--sta-blue-2); border-color: var(--sta-blue-2); }
.sta-item-side .list .list-item { color: #5f6f77; }
@media (min-width: 992px) { .sta-item-side { position: sticky; top: 18px; align-self: flex-start; } }
@media (max-width: 575.98px) {
    .sta-item-page .item-single-title { font-size: 26px; }
    .sta-item-page .tabs-custom > .card-v > .row.g-3.mb-4 .btn { height: 50px; font-size: 14px; }
    .sta-item-views { display: block; margin: 4px 0 0; }
}

/* ---------- Listing page (section 7) ---------- */
.sta-hide { display: none !important; }
.sta-list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sta-result-count { margin: 0; padding: 9px 20px; background: #fff; border-radius: 4px; color: #414141; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.sta-sort { height: 42px; min-width: 220px; padding: 0 16px; background: #fff; border: 1px solid var(--sta-line); border-radius: 4px; color: #414141; font-size: 14px; }
.sta-sort:focus { outline: 0; border-color: var(--sta-blue-2); box-shadow: 0 0 0 3px rgba(31, 88, 184, .18); }
.sta-grid.sta-grid-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1699.98px) { .sta-grid.sta-grid-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1399.98px) { .sta-grid.sta-grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sta-grid.sta-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.sta-pagination { margin-top: 30px; }
.sta-pagination .pagination { justify-content: center; gap: 6px; flex-wrap: wrap; }
.sta-pagination .page-item:not(:last-child) { margin-right: 0; }
.sta-pagination .page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; background: transparent; border: 0; border-radius: 999px !important; color: #4d4d4d; font-size: 16px; }
.sta-pagination .page-link:hover { background: #e6e9ef; color: var(--sta-ink); }
.sta-pagination .page-item.active .page-link { background: var(--sta-blue-2); color: #fff; }
.sta-pagination .page-item.disabled .page-link { opacity: .4; }

/* cards placed in Bootstrap columns elsewhere (profile, favourites, related items) */
.col > a.item.sta-card,
[class*="col-"] > a.item.sta-card { height: 100%; }

/* ---------- Cart, checkout, sign in / sign up ---------- */
.btn.btn-primary { background-color: var(--sta-blue-2); border-color: var(--sta-blue-2); color: #fff; }
.btn.btn-primary:active,
.btn.btn-primary:focus,
.btn.btn-primary:hover { background-color: var(--sta-blue); border-color: var(--sta-blue); color: #fff; }

/* ---------- Sale bar ---------- */
.sta-salebar { background: #0f172a; color: #fff; }
.sta-salebar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; max-width: 1150px; margin: 0 auto; padding: 9px 15px; font-size: 14px; }
.sta-salebar-name { padding: 4px 12px; border-radius: 999px; background: var(--sta-pink); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.sta-salebar-text { font-weight: 600; }
.sta-salebar-timer { font-weight: 700; font-variant-numeric: tabular-nums; color: #ffd9e6; white-space: nowrap; }
.sta-salebar-timer b { margin-left: 6px; color: #fff; font-weight: 900; }
.sta-salebar-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; background: var(--sta-green); color: var(--sta-ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.sta-salebar-btn:hover { background: #27a941; color: var(--sta-ink); }
.sta-card-price del { color: #98a2b3; opacity: 1; font-size: 13px; font-weight: 700; }
.sta-item-side .item-price .item-price-through { margin-right: 8px; font-size: 16px; text-decoration: line-through; }
@media (max-width: 575.98px) { .sta-salebar-inner { font-size: 13px; padding: 8px 12px; } }

/* ---------- Hero heading with laurels ---------- */
.sta-hero-head { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 20px; }
.sta-hero-head .sta-hero-title { margin: 0; max-width: 430px; font-size: 34px; line-height: 1.18; }
.sta-laurel { flex: 0 0 auto; width: 62px; height: 100px; color: #fff; }
.sta-laurel-flip { transform: scaleX(-1); }
@media (max-width: 575.98px) {
    .sta-hero-head { gap: 8px; }
    .sta-hero-head .sta-hero-title { font-size: 21px; }
    .sta-laurel { width: 34px; height: 56px; }
}

/* ---------- Listing sidebar ---------- */
.sta-filter-sort { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sta-line); border-radius: 6px; overflow: hidden; }
.sta-filter-sort a { padding: 10px 8px; text-align: center; color: var(--sta-muted); font-size: 13px; font-weight: 700; line-height: 1.3; background: #fff; }
.sta-filter-sort a + a { border-left: 1px solid var(--sta-line); }
.sta-filter-sort a.active { color: var(--sta-teal); background: #f1fbf7; }
.sta-filter-sort a:hover { color: var(--sta-ink); }
.sta-filter-platforms { display: grid; gap: 2px; }
.sta-filter-platforms a { padding: 7px 10px; border-radius: 6px; color: var(--sta-muted); font-size: 14px; font-weight: 600; }
.sta-filter-platforms a:hover { background: #f4f6f9; color: var(--sta-ink); }
.sta-filter-platforms a.active { color: var(--sta-teal); font-weight: 800; }

/* ---------- Buyer protection badge ---------- */
.sta-protect { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 0 0; border-top: 1px solid #edf3f6; }
.sta-protect svg { flex: 0 0 auto; width: 40px; height: 46px; }
.sta-protect strong { display: block; color: var(--sta-ink); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.sta-protect span { display: block; color: #5f6f77; font-size: 12px; line-height: 1.4; }

/* ---------- Sell page ---------- */
.sta-gem { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.sta-sell-hero { background-color: #3a3d42; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 4px 4px; color: #fff; padding: 54px 0; }
.sta-sell-hero-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 60px; align-items: center; max-width: 900px; }
.sta-sell-hero h1 { font-family: var(--sta-head); color: #fff; font-size: 28px; font-weight: 500; line-height: 1.3; margin: 0 0 14px; }
.sta-sell-hero p { color: #e6e9ef; font-size: 15px; line-height: 1.6; margin: 0 0 22px; max-width: 520px; }
.sta-sell-cta { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 34px; background: var(--sta-pink); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.sta-sell-cta:hover { background: var(--sta-crimson); color: #fff; }
.sta-sell-levels { background: #fff; padding: 30px 0; }
.sta-level { display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; max-width: 900px; margin: 0 auto; padding: 26px 0; border-bottom: 1px solid var(--sta-line); }
.sta-level:last-child { border-bottom: 0; }
.sta-level-gem { width: 84px; }
.sta-level-name h2 { font-family: var(--sta-head); font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 0 0 4px; }
.sta-level-name p { margin: 0; color: var(--sta-muted); font-size: 14px; font-weight: 600; }
.sta-level-share strong { display: block; color: var(--sta-ink); font-size: 26px; font-weight: 900; line-height: 1.1; }
.sta-level-share span { color: var(--sta-muted); font-size: 14px; }
.sta-sell-steps { padding: 46px 0 56px; text-align: center; }
.sta-sell-steps h2 { font-family: var(--sta-head); font-size: 28px; font-weight: 500; color: var(--sta-ink); margin: 0 0 26px; }
.sta-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; text-align: left; }
.sta-step { background: #fff; border: 1px solid var(--sta-line); border-radius: 8px; padding: 22px; box-shadow: 0 8px 22px rgba(23, 32, 51, .06); }
.sta-step b { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sta-pink); color: #fff; font-weight: 900; margin-bottom: 12px; }
.sta-step h3 { font-size: 17px; font-weight: 700; color: var(--sta-ink); margin: 0 0 6px; }
.sta-step p { margin: 0; color: var(--sta-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 767.98px) {
    .sta-sell-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
    .sta-sell-hero-gem { width: 120px; margin: 0 auto; }
    .sta-sell-hero h1 { font-size: 22px; }
    .sta-level { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; }
    .sta-level-gem { width: 60px; }
    .sta-level-share { grid-column: 2; }
    .sta-steps-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sign in / sign up ---------- */
.sign-box { max-width: 460px; margin: 0 auto; }
.sign-box.sign-box-lg { max-width: 560px; }
.sign-box .card-v { background: #fff; border: 1px solid var(--sta-line); border-radius: 8px; box-shadow: 0 16px 40px rgba(16, 24, 39, .08); padding: 34px; }
.sign-box .sign-box-title { font-family: var(--sta-head); font-size: 28px; font-weight: 500; color: #555; text-align: center; margin-bottom: 6px; }
.sign-box .sign-box-text { text-align: center; color: var(--sta-muted); }
.sign-box .form-control { border-color: #d9d9d9; border-radius: 4px; }
.sign-box .form-control:focus { border-color: var(--sta-blue-2); box-shadow: 0 0 0 3px rgba(31, 88, 184, .18); }
.sign-box .btn.btn-primary { width: 100%; min-height: 48px; background: var(--sta-green); border-color: var(--sta-green); border-radius: 0; box-shadow: 0 4px 0 rgba(0, 0, 0, .18); color: var(--sta-ink); font-weight: 700; text-transform: uppercase; }
.sign-box .btn.btn-primary:hover { background: #27a941; border-color: #27a941; color: var(--sta-ink); }
.sign-box a { color: var(--sta-blue-2); font-weight: 600; }

/* ---------- Seller profile header ---------- */
.header.header-profile { background: #fff; background-image: none !important; border-bottom: 1px solid var(--sta-line); }
.header.header-profile::before { display: none; }
.header-profile .user-avatar.user-avatar-xl,
.header-profile .user-avatar.user-avatar-xl img { border-radius: 6px; }
.header-profile .btn.btn-primary { background: var(--sta-ink); border-color: var(--sta-ink); }
.header-profile .user-stat-number { color: var(--sta-teal); font-weight: 900; }

/* ---------- Header details ---------- */
.nav-bar.sta-brandbar .nav-bar-links .link { white-space: nowrap; }
.nav-bar .sta-login-btn,
.nav-bar .sta-signup-btn { white-space: nowrap; }
