:root {
  --paper: #f5f4f0;
  --ink: #171d24;
  --muted: #6f7780;
  --line: #e3e5e4;
  --accent: #d94a32;
  --accent-dark: #ad3422;
}

html { scroll-behavior: smooth; }
.store-body { background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.store-main { padding-top: 28px; padding-bottom: 72px; min-height: 60vh; }
.store-body a { text-underline-offset: 3px; }
.store-body :focus-visible { outline: 3px solid #f17858; outline-offset: 3px; }
.site-nav { background: #111820; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 7px 30px rgba(14,20,27,.12); }
.site-nav .brand { font-size: 18px; font-weight: 800; letter-spacing: -.045em; }
.site-nav .brand::before { content: ""; width: 12px; height: 12px; margin-right: 10px; background: var(--accent); border-radius: 3px; transform: rotate(-24deg); box-shadow: 5px 5px 0 rgba(217,74,50,.35); }
.site-nav .search-bar { border: 1px solid #e8ebed; box-shadow: 0 4px 15px rgba(0,0,0,.12); }
.site-nav .search-bar input[type="text"] { color: var(--ink); }
.site-nav .search-bar .search-go { background: var(--accent); }
.site-nav .search-bar .search-go:hover { background: var(--accent-dark); }
.site-nav .cart-dot { background: var(--accent); }

.catalog-hero { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; min-height: 252px; padding: clamp(28px, 4vw, 54px); overflow: hidden; border-radius: 24px; background: #18232c; color: #fff; isolation: isolate; }
.catalog-hero::before { content: ""; position: absolute; z-index: -1; width: 630px; height: 630px; top: -360px; right: -110px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 68px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.022), 0 0 0 260px rgba(255,255,255,.018); }
.catalog-hero::after { content: ""; position: absolute; z-index: -1; width: 350px; height: 350px; right: -112px; bottom: -251px; background: var(--accent); border-radius: 50%; filter: blur(2px); }
.catalog-hero-copy { max-width: 780px; }
.catalog-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #dce4e7; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.catalog-eyebrow span { display: inline-block; width: 22px; height: 2px; background: #fb755e; }
.catalog-hero h1 { max-width: 790px; margin: 0; font-size: clamp(30px, 4.1vw, 56px); font-weight: 760; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero-heading-accent { display: block; color: #ffad9d; font-size: .65em; letter-spacing: -.025em; margin-top: 10px; }
.hero-intro { max-width: 650px; margin: 18px 0 0; color: #cbd5d8; font-size: 14px; line-height: 1.65; }
.hero-count { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 2px; }
.hero-count strong { font-size: clamp(27px, 3.3vw, 45px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hero-count span { margin-top: 8px; color: #cdd6d9; font-size: 12px; }

.catalog-filters { position: relative; z-index: 1; margin: -16px 18px 0; padding: 21px 24px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(25,34,43,.055); }
.filters-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; }
.filters-heading { display: flex; align-items: center; gap: 10px; color: #29323c; font-weight: 750; letter-spacing: -.015em; }
.filter-line { width: 18px; height: 3px; background: var(--accent); border-radius: 2px; }
.filter-selects { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.league-control { display: flex; align-items: center; gap: 12px; }
.league-control label { color: var(--muted); font-size: 13px; font-weight: 650; white-space: nowrap; }
.league-control .form-select { min-width: 205px; max-width: 260px; padding: 8px 34px 8px 13px; border: 1px solid #dce0e2; border-radius: 10px; color: var(--ink); font-size: 13px; font-weight: 650; background-color: #f8f9f8; }
.league-control .form-select:disabled { color: #899299; background-color: #f0f2f2; }
.category-scroll { display: flex; flex-wrap: wrap; gap: 8px; }
.category-scroll .btn { padding: 8px 13px; border-radius: 999px; border-color: #e0e4e5; color: #48515b; font-size: 12px; font-weight: 650; line-height: 1.25; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.category-scroll .btn:hover { border-color: #aeb6bc; background: #f0f3f3; color: var(--ink); }
.category-scroll .btn-dark { border-color: #1c2730; background: #1c2730; color: #fff; }
.category-scroll .btn-dark:hover { border-color: #26343f; background: #26343f; color: #fff; }
.category-scroll .badge { margin-left: 4px; background: rgba(98,107,115,.12) !important; color: inherit; font-size: 10px; font-weight: 700; }
.catalog-results { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 31px 4px 15px; color: var(--muted); font-size: 13px; }
.catalog-results > div { display: flex; align-items: center; gap: 10px; }
.catalog-results strong { color: var(--ink); font-weight: 700; }
.result-rule { width: 26px; height: 1px; background: var(--accent); }

.catalog-card { overflow: hidden; border: 1px solid #e6e8e7; border-radius: 17px; background: #fff; box-shadow: 0 2px 12px rgba(25,34,43,.025); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.catalog-card:hover { transform: translateY(-4px); border-color: #cfd5d5; box-shadow: 0 18px 32px rgba(25,34,43,.11); }
.catalog-card-image { overflow: hidden; background: #f1f3f2; }
.catalog-card-image img { padding: 10px; transition: transform .3s ease; }
.catalog-card-image .card-new-badge { position: absolute; z-index: 2; top: 12px; right: 12px; bottom: auto; left: auto; width: auto; height: auto; padding: 7px 10px; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 3px 12px rgba(29, 34, 38, .14); font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .04em; }
.catalog-card:hover .catalog-card-image img { transform: scale(1.035); }
.catalog-card-body { display: flex; flex-direction: column; align-items: flex-start; min-height: 132px; padding: 16px 16px 17px; }
.card-category { color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.catalog-card .card-title { display: -webkit-box; margin: 8px 0 10px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.45; }
.card-discover { display: flex; align-items: center; gap: 7px; margin-top: auto; color: #68727b; font-size: 11px; font-weight: 700; }
.card-discover span { color: var(--accent); font-size: 15px; line-height: 1; }

.pagination { gap: 4px; }
.pagination .page-link { border: 1px solid #dde2e3; border-radius: 9px !important; color: var(--ink); background: #fff; font-weight: 650; }
.pagination .active .page-link { border-color: #1c2730; background: #1c2730; }
.store-body .btn-danger { background: var(--accent); border-color: var(--accent); }
.store-body .btn-danger:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.store-body .btn-outline-danger { border-color: var(--accent); color: var(--accent-dark); }
.store-body .btn-outline-danger:hover { background: var(--accent); color: #fff; }
.store-body .form-control:focus, .store-body .form-select:focus { border-color: #e28876; box-shadow: 0 0 0 .2rem rgba(217,74,50,.13); }
.store-body .thumb-btn { border-radius: 10px !important; overflow: hidden; }
.store-body .size-btn { min-width: 44px; border-radius: 9px; }

.product-layout { align-items: start; margin-top: 12px; }
.product-photo-frame { border: 1px solid #e6e8e7; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(25,34,43,.045); }
.product-photo-frame img { padding: 16px; }
.product-info { padding: 10px 0 0; }
.product-info h1 { margin-top: 10px; font-size: clamp(23px, 2.5vw, 35px); font-weight: 760; line-height: 1.17; letter-spacing: -.035em; }
.product-info .product-category { color: var(--accent-dark); font-size: 12px; font-weight: 780; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.product-info .product-description { color: #535d66; line-height: 1.65; }
.product-info #add-cart { min-height: 46px; font-weight: 750; border-radius: 10px; }
.product-info #qty-input { max-width: 72px; }
.related-grid { margin-top: 8px; }

.site-footer { border-top: 1px solid #e3e5e4; background: #edf0ee; }
.site-footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 31px; }
.footer-brand { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.site-footer p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { color: #4f5961; font-size: 12px; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }

@media (max-width: 767.98px) {
  .store-main { padding-top: 15px; padding-bottom: 44px; }
  .site-nav-inner { gap: 9px; }
  .site-nav .brand { font-size: 16px; }
  .site-nav .brand::before { width: 9px; height: 9px; margin-right: 7px; }
  .site-nav .search-bar { min-width: 0; }
  .site-nav .nav-tools { gap: 9px; }
  .site-nav .nav-tools .size-guide-link { display: none; }
  .site-nav .nav-tools a, .site-nav .nav-tools .lang-btn { font-size: 12px; }
  .catalog-hero { min-height: 242px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 23px 34px; border-radius: 18px; }
  .catalog-hero h1 { font-size: clamp(28px, 7vw, 37px); }
  .hero-intro { margin-top: 12px; font-size: 12px; line-height: 1.55; }
  .hero-count { flex-direction: row; align-items: baseline; gap: 9px; }
  .hero-count strong { font-size: 26px; }
  .hero-count span { margin: 0; }
  .catalog-filters { margin: -13px 8px 0; padding: 17px 16px; border-radius: 15px; }
  .filters-topline { align-items: stretch; flex-direction: column; gap: 11px; margin-bottom: 13px; }
  .filter-selects { align-items: stretch; flex-direction: column; gap: 10px; }
  .league-control { justify-content: space-between; }
  .league-control .form-select { flex: 1; min-width: 0; max-width: 240px; }
  .category-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid #e1e4e4; border-radius: 10px; background: #f8f9f8; color: var(--ink); font-size: 12px; font-weight: 700; }
  .category-toggle span { max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--accent-dark); }
  .category-scroll { max-height: 200px; overflow: auto; padding-top: 12px; }
  .catalog-results { margin-top: 23px; }
  .catalog-grid { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
  .catalog-card { border-radius: 12px; }
  .catalog-card-image img { padding: 5px; }
  .catalog-card-image .card-new-badge { top: 8px; right: 8px; padding: 6px 8px; font-size: 10px; }
  .catalog-card-body { min-height: 108px; padding: 10px 10px 11px; }
  .catalog-card .card-title { margin: 6px 0; font-size: 11px; }
  .card-category { font-size: 9px; }
  .card-discover { font-size: 10px; }
  .product-layout { margin-top: 0; }
  .product-info { padding-top: 0; }
  .site-footer-inner { flex-direction: column; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .catalog-card, .catalog-card-image img { transition: none; }
}
