.hero {
  width: 100%;
  max-width: none;
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr);
  padding: 92px max(calc((100vw - 1200px)/2), 6vw);
  background-color: #071b49;
  background-image:
    linear-gradient(90deg, rgba(4, 18, 45, .94) 0%, rgba(5, 25, 61, .86) 47%, rgba(5, 25, 61, .48) 100%),
    linear-gradient(0deg, rgba(4, 18, 45, .25), rgba(4, 18, 45, .12)),
    url("assets/repair-it-storefront.jpeg");
  background-position: center, center, center 46%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { color: #7be8f3; }
.hero-copy h1 { color: #fff; }
.hero-copy h1 em { color: #54dcef; }
.hero-copy > p { color: rgba(255,255,255,.88); }
.hero-meta { color: rgba(255,255,255,.78); }
.hero-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 34px; }
.hero-address { color: #fff; font-size: .95rem; font-weight: 600; }
.hero-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social-item { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.95); font-size: .82rem; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.social-item svg { width: 19px; height: 19px; fill: #6ce5ef; flex: 0 0 auto; }
a.social-item:hover { color: #fff; border-color: #6ce5ef; background: rgba(18,200,236,.18); transform: translateY(-2px); }
.hero .button-primary { color: var(--navy); background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.hero .button-primary:hover { background: #e8faff; }
.hero .button-quiet { color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; }
.hero .hero-art { display: none; }
.header nav { gap: 12px; }
.header nav a { padding: 8px 13px; border: 1px solid #d9e4ef; border-radius: 4px; background: linear-gradient(180deg, #fff, #f3f7fb); color: #0b285d; box-shadow: 0 2px 6px rgba(7,27,73,.07); font: 700 .84rem Manrope, 'DM Sans', Arial, sans-serif; letter-spacing: .025em; transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.header nav a:hover { transform: translateY(-2px); border-color: #12aecd; background: #071b49; color: #fff; box-shadow: 0 8px 18px rgba(7,27,73,.18); }
.header nav a:focus-visible { outline: 3px solid #12c8ec; outline-offset: 3px; }
.ticker-track { display: flex; align-items: center; gap: 0; }
.ticker-track a { display: inline-block; margin: 0 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.ticker-track a:hover, .ticker-track a:focus-visible { color: #6ce5ef; background: rgba(108,229,239,.1); border-color: #6ce5ef; text-shadow: 0 0 12px rgba(108,229,239,.32); }
.ticker-track a:focus-visible { outline: 2px solid #6ce5ef; outline-offset: 3px; }
.ticker-brand { color: #fff !important; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; aspect-ratio: 1.45; overflow: hidden; background: #edf3f8; }
.product-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; }
.product-gallery img:first-child:last-child { grid-column: 1 / -1; }
.product-image.photo-pending { display: grid; place-items: center; height: 230px; color: #60748b; background: repeating-linear-gradient(135deg, #f4f7fa, #f4f7fa 14px, #eaf0f5 14px, #eaf0f5 28px); }
.photo-pending span { padding: 8px 12px; border: 1px solid #c8d5e2; border-radius: 4px; background: #ffffffdb; font-size: .78rem; font-weight: 700; }
.filters { justify-content: flex-start; align-items: end; gap: 12px; flex-wrap: wrap; }
.catalog-select { display: grid; gap: 6px; color: #536579; font-size: .75rem; font-weight: 700; }
.catalog-select select { min-width: 190px; min-height: 42px; border: 1px solid #dce4ef; border-radius: 3px; padding: 8px 34px 8px 11px; color: #223b58; background: #fff; font: 500 .84rem 'DM Sans',Arial,sans-serif; }
.catalog-select select:focus-visible, .clear-filters:focus-visible { outline: 3px solid #12c8ec; outline-offset: 2px; }
.clear-filters { min-height: 42px; padding: 8px 13px; border: 1px solid #dce4ef; border-radius: 3px; color: #4d6177; background: #fff; cursor: pointer; font-size: .8rem; }
.clear-filters:hover { border-color: #0d2f79; color: #0d2f79; }
.cart-pill { border: 0; cursor: pointer; }
.cart-pill:disabled { cursor: default; opacity: .78; }
.cart-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 1000; display: block; background: rgba(5,16,35,.52); backdrop-filter: blur(2px); }
.cart-panel:not([hidden]) { position: fixed; z-index: 1001; inset: 0 0 0 auto; width: min(460px,100vw); height: 100vh; height: 100dvh; padding: 28px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; background: #fff; box-shadow: -18px 0 50px rgba(7,27,73,.22); }
.cart-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-kicker { color: #1281a2; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.cart-header h2 { margin: 6px 0 0; font-size: 1.7rem; }
.cart-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; font-size: 1.6rem; cursor: pointer; }
.cart-lines { display: flex; flex: 1; flex-direction: column; gap: 0; overflow-y: auto; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-item-copy { display: grid; gap: 5px; min-width: 0; color: var(--navy); font-size: .9rem; }
.cart-item-copy strong { line-height: 1.45; }
.cart-item-copy span { color: var(--muted); font-size: .8rem; }
.cart-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--navy); }
.cart-item-actions button { min-width: 30px; min-height: 30px; border: 1px solid var(--line); border-radius: 3px; color: var(--navy); background: #fff; cursor: pointer; }
.cart-item-actions .cart-remove { padding: 5px 8px; color: #8c3c45; font-size: .73rem; }
.cart-checkout { padding-top: 18px; border-top: 1px solid var(--line); color: var(--navy); }
.cart-checkout > strong { font-size: 1.03rem; }
.cart-checkout p { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.cart-checkout .button { width: 100%; }
.cart-close:focus-visible,.cart-item-actions button:focus-visible,.cart-open:focus-visible { outline: 3px solid #12c8ec; outline-offset: 3px; }
.stock-badge { display: inline-flex; align-items: center; width: fit-content; margin: 8px 0 2px; padding: 5px 9px; border-radius: 3px; color: #176b52; background: #e7f6ef; font-size: .74rem; font-weight: 800; }
.stock-badge.stock-none { color: #8b3434; background: #fff0ef; }
.product-sold-out { opacity: .88; }
.product-bottom { align-items: center; gap: 12px; flex-wrap: wrap; }
.add-cart:disabled { cursor: default; opacity: .62; }
.out-of-stock-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 12px; border: 1px solid #cbd7e5; border-radius: 3px; color: #0b347a; background: #f5f9fd; font-size: .76rem; font-weight: 700; text-align: center; }
.out-of-stock-link:hover { border-color: #12aecd; color: #071b49; background: #eafaff; }
.cart-item-actions button:disabled { cursor: default; opacity: .45; }
.cart-checkout .button:disabled { cursor: not-allowed; opacity: .62; }
@media(max-width:480px) { .cart-panel:not([hidden]) { padding: 20px; } .cart-line { align-items: flex-start; flex-direction: column; } }
@media(max-width:760px) {
  .header nav { gap: 8px; }
  .header nav a { flex: 0 1 auto; padding: 8px 10px; text-align: center; font-size: .76rem; }
  .hero {
    min-height: 680px;
    padding: 70px 24px 54px;
    background-image:
      linear-gradient(90deg, rgba(4,18,45,.9), rgba(5,25,61,.7)),
      linear-gradient(0deg, rgba(4,18,45,.38), rgba(4,18,45,.15)),
      url("assets/repair-it-storefront.jpeg");
    background-position: center, center, 58% center;
  }
  .hero-copy { max-width: 100%; }
  .hero-meta { align-items: flex-start; gap: 16px; }
  .hero-socials { gap: 12px 18px; }
}
.compatibility-info{display:grid;gap:10px;margin:14px 0;padding:12px 13px;border:1px solid #dbe5ef;border-radius:3px;background:#f7fafd;color:#334963;font-size:.82rem;line-height:1.5}.compatibility-info strong{display:block;color:#0b285d;font-size:.77rem}.compatibility-info ul{margin:6px 0 0;padding-left:19px}.compatibility-pending{padding-top:9px;border-top:1px solid #dbe5ef}.compatibility-pending strong{color:#83551a}.compatibility-pending p{margin:6px 0 0;color:#5f6f82;font-size:.77rem}
.compatibility-guideline{margin-top:4px;padding:12px;border-left:3px solid #12aecd;border-radius:2px;background:#eaf5fa;color:#334963}.compatibility-guideline h5{margin:0 0 8px;color:#0b285d;font-size:.77rem;line-height:1.4}.compatibility-guideline p{margin:6px 0}.compatibility-guideline ul{margin:5px 0 0;padding-left:19px}.compatibility-guideline li{padding:1px 0}
.product-description{margin-top:8px}.product-description h4,.compatibility-info h4{margin:0;color:#0b285d;font-size:.91rem}.product-description p{margin:5px 0 0}.buyer-verification-note{display:grid;gap:8px;margin:12px 0;padding:14px;border:1px solid #dbe5ef;border-left:3px solid #12aecd;border-radius:3px;background:#f3f8fc;color:#465a70;font-size:.77rem;line-height:1.55}.buyer-verification-note p{margin:0}.buyer-verification-note h4{margin:5px 0 0;color:#0b285d;font-size:.78rem;letter-spacing:.025em}.buyer-verification-note strong{color:#0b285d;font-size:.77rem}.compatibility-info h4{margin-bottom:2px}
