.shop-page { background: #f4f7fa; }
.shop-page .nav-links a.is-active { color: var(--blue); }
.header-cart { display: inline-flex; min-height: 43px; align-items: center; gap: .55rem; padding: 0 .8rem; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: #fff; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.header-cart strong { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--navy); font-size: .65rem; }

.shop-hero { width: min(calc(100% - 4rem), var(--max)); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,.86fr) minmax(440px,1.14fr); align-items: center; gap: clamp(3rem,7vw,7rem); padding: clamp(4rem,8vw,7rem) 0; }
.shop-hero-copy h1 { max-width: 700px; margin: 0 0 1.4rem; color: var(--navy); font-size: clamp(3.2rem,6.4vw,6rem); font-weight: 700; letter-spacing: -.065em; }
.shop-hero-copy > p:not(.section-kicker) { max-width: 560px; margin-bottom: 2rem; font-size: 1.08rem; line-height: 1.75; }
.shop-hero-visual { position: relative; min-height: 520px; overflow: hidden; background: linear-gradient(140deg,rgba(7,26,58,.05),rgba(7,26,58,.08)), url('assets/shop-hero.png') center/cover, linear-gradient(145deg,#0d3972,#071a3a); box-shadow: 18px 22px 0 #dce7f1; }
.shop-hero-visual::before { position: absolute; inset: 1.25rem; border: 1px solid rgba(255,255,255,.34); content: ''; }
.shop-hero-caption { position: absolute; right: 2rem; bottom: 1.8rem; left: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.45); color: #fff; font-size: .62rem; letter-spacing: .13em; }
.shop-hero-caption strong { color: var(--cyan); }

.shop-trust { width: min(calc(100% - 4rem), var(--max)); margin: 0 auto 8rem; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: #fff; }
.shop-trust > div { position: relative; display: grid; grid-template-columns: 35px 1fr; gap: .2rem 1rem; padding: 1.35rem 1.4rem; border-right: 1px solid var(--line); }
.shop-trust > div:last-child { border-right: 0; }
.shop-trust span { grid-row: 1 / 3; color: var(--blue); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.shop-trust strong { color: var(--navy); font-family: var(--display); font-size: .9rem; }
.shop-trust small { color: var(--muted); font-size: .72rem; }
.shop-trust-link { grid-column: 2; margin-top: .25rem; color: var(--blue); font-size: .65rem; font-weight: 800; text-decoration: none; }
.shop-trust-link:hover { text-decoration: underline; }

.shop-catalog { padding: 0 max(2rem,calc((100% - var(--max))/2)) clamp(6rem,10vw,9rem); }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; margin-bottom: 1.5rem; }
.catalog-toolbar h2 { margin: 0; font-size: clamp(2.5rem,4.2vw,4.5rem); }
.catalog-tools { display: flex; align-items: center; gap: .65rem; }
.search-field { position: relative; }
.search-field input, .filter-field select { min-height: 48px; border: 1px solid #c6d4e3; border-radius: 2px; background: #fff; color: var(--navy); font: inherit; font-size: .78rem; }
.search-field input { width: 220px; padding: 0 2.4rem 0 .85rem; }
.search-field > span:last-child { position: absolute; top: 50%; right: .9rem; color: var(--blue); font-size: 1rem; transform: translateY(-50%); }
.filter-field select { padding: 0 2.2rem 0 .85rem; }
.catalog-status { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #738397; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.catalog-status span:first-child { color: var(--blue); }

.products-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { box-shadow: 0 20px 48px rgba(7,26,58,.13); transform: translateY(-6px); }
.product-art { position: relative; aspect-ratio: 1.25 / 1; overflow: hidden; background: linear-gradient(145deg,#eaf3fa,#dce9f4); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-art img { transform: scale(1.035); }
.product-art::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.45); pointer-events: none; content: ''; }
.product-sku { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .28rem .48rem; background: rgba(255,255,255,.88); color: var(--navy); font-size: .58rem; font-weight: 800; letter-spacing: .1em; backdrop-filter: blur(8px); }
.product-card-body { padding: 1.35rem; }
.product-badge { display: inline-block; margin-bottom: .8rem; color: var(--blue); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { margin-bottom: .65rem; color: var(--navy); font-size: 1.35rem; letter-spacing: -.04em; }
.product-card p { min-height: 2.9em; margin-bottom: 1rem; font-size: .84rem; line-height: 1.65; }
.details-button { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font: inherit; font-size: .7rem; font-weight: 800; }
.product-purchase { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.product-price { display: block; color: var(--navy); font-family: var(--display); font-size: 1.25rem; }
.product-price small { display: block; color: #8593a5; font-family: var(--body); font-size: .55rem; font-weight: 600; letter-spacing: .08em; }
.product-actions { display: grid; grid-template-columns: auto 1fr; gap: .45rem; }
.product-qty { display: grid; grid-template-columns: 28px 34px 28px; align-items: center; border: 1px solid #c5d5e5; }
.product-qty button { width: 28px; height: 34px; border: 0; background: #f4f8fb; color: var(--navy); cursor: pointer; font-size: .9rem; }
.product-qty input { width: 34px; height: 34px; padding: 0; border: 0; outline: none; color: var(--navy); font: inherit; font-size: .72rem; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.product-qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.add-to-cart { min-height: 36px; padding: 0 .75rem; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; font: inherit; font-size: .67rem; font-weight: 800; transition: background .2s ease; }
.add-to-cart:hover, .add-to-cart:focus-visible { border-color: var(--blue); background: var(--blue); outline: none; }
.no-results { grid-column: 1 / -1; padding: 4rem 1rem; border: 1px solid var(--line); background: #fff; color: var(--muted); text-align: center; }

.cart-drawer { position: fixed; inset: 0; z-index: 1200; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(2,15,37,.55); backdrop-filter: blur(4px); }
.cart-panel { position: absolute; top: 0; right: 0; width: min(100%,480px); height: 100%; overflow: auto; padding: 1.6rem; background: #fff; box-shadow: -24px 0 70px rgba(7,26,58,.22); }
.cart-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: .2rem 0 0; font-size: 1.65rem; }
.cart-eyebrow { color: var(--blue); font-size: .58rem; font-weight: 800; letter-spacing: .13em; }
.icon-button, .dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; font-size: 1.35rem; }
.cart-items { display: grid; gap: .65rem; padding: .9rem 0; }
.cart-empty { padding: 2.5rem .5rem; color: var(--muted); text-align: center; font-size: .9rem; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: .8rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid #e8eef4; }
.cart-line img { width: 64px; height: 64px; object-fit: cover; background: #eef4f8; }
.cart-line h3 { margin: 0 0 .2rem; font-size: .86rem; letter-spacing: -.025em; }
.cart-line p { margin: 0; font-size: .68rem; }
.qty-controls { display: flex; align-items: center; gap: .35rem; margin-top: .5rem; }
.qty-controls button { width: 25px; height: 25px; border: 1px solid #c9daeb; background: #fff; color: var(--navy); cursor: pointer; }
.qty-controls span { min-width: 20px; text-align: center; font-size: .72rem; font-weight: 800; }
.remove-line { width: auto !important; padding: 0 .35rem; border-color: transparent !important; color: #8b5b63 !important; font-size: .62rem; }
.cart-line-total { color: var(--navy); font-size: .8rem; }
.discount-box { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.discount-box label { display: block; margin-bottom: .45rem; color: var(--navy-2); font-size: .7rem; font-weight: 800; }
.discount-box > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; }
.discount-box input { min-width: 0; padding: .7rem .75rem; border: 1px solid #c9d8e9; border-radius: 2px; font: inherit; font-size: .78rem; text-transform: uppercase; }
.discount-box button { min-width: 92px; padding: .7rem .9rem; border: 0; border-radius: 2px; background: var(--navy); color: #fff; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 800; }
.discount-box button:hover, .discount-box button:focus-visible { background: var(--blue); outline: 3px solid rgba(8,121,223,.18); outline-offset: 2px; }
#discount-feedback { min-height: 1.2em; margin: .45rem 0 0; color: var(--blue-dark); font-size: .7rem; }
.cart-summary { padding: .9rem 0; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; color: var(--muted); font-size: .78rem; }
.cart-summary strong { color: var(--navy); font-size: .74rem; }
.cart-summary .cart-total { margin-top: .55rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--navy); font-size: .94rem; font-weight: 800; }
.cart-summary .cart-total strong { font-size: 1rem; }
.checkout-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .85rem 1rem; border: 0; border-radius: 2px; background: var(--blue); color: #fff; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 800; box-shadow: 0 10px 18px rgba(8,121,223,.2); }
.checkout-button:disabled { cursor: not-allowed; opacity: .42; box-shadow: none; }
.checkout-note { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 0; font-size: .68rem; }
.checkout-note a { color: var(--blue); font-weight: 800; text-decoration: none; }
.secure-dot { width: 7px; height: 7px; border-radius: 50%; background: #20b87a; box-shadow: 0 0 0 4px rgba(32,184,122,.12); }
.shop-toast { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1400; max-width: 320px; padding: .85rem 1rem; border-radius: 2px; background: var(--navy); color: #fff; font-size: .76rem; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.shop-toast.visible { opacity: 1; transform: translateY(0); }

.product-dialog { width: min(calc(100% - 2rem),900px); max-height: min(88vh,780px); padding: 0; overflow: auto; border: 0; background: #fff; color: var(--navy); box-shadow: 0 30px 100px rgba(7,26,58,.3); }
.product-dialog::backdrop { background: rgba(2,15,37,.7); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.dialog-product { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-product-image { min-height: 520px; background: #eaf1f6; }
.dialog-product-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-product-copy { padding: clamp(2rem,5vw,4rem); }
.dialog-product-copy .product-badge { margin-bottom: 1rem; }
.dialog-product-copy h2 { margin-bottom: 1rem; font-size: clamp(2rem,4vw,3rem); }
.dialog-product-copy > p { margin-bottom: 1.5rem; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 1.4rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.product-specs li { color: #53677d; font-size: .72rem; }
.product-specs li::before { margin-right: .45rem; color: var(--blue); content: '•'; }
.dialog-price { display: block; margin-bottom: 1rem; font-family: var(--display); font-size: 1.8rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.cart-open { overflow: hidden; }

@media (max-width: 980px) { .shop-hero { grid-template-columns: 1fr 1fr; } .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .header-cart span[data-lang] { display: none; }
  .header-cart { min-width: 43px; justify-content: center; padding: 0 .55rem; }
  .shop-hero { width: min(calc(100% - 2.5rem),var(--max)); min-height: 0; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
  .shop-hero-visual { min-height: 420px; }
  .shop-trust { width: min(calc(100% - 2.5rem),var(--max)); grid-template-columns: 1fr; margin-bottom: 6rem; }
  .shop-trust > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-trust > div:last-child { border-bottom: 0; }
  .shop-catalog { padding-right: 1.25rem; padding-left: 1.25rem; }
  .catalog-toolbar { grid-template-columns: 1fr; gap: 1.5rem; }
  .catalog-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .search-field input { width: 100%; }
  .filter-field select { width: 100%; }
  .dialog-product { grid-template-columns: 1fr; }
  .dialog-product-image { min-height: 320px; }
}
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } .catalog-status { align-items: flex-start; flex-direction: column; } .product-card p { min-height: 0; } .cart-panel { padding: 1.15rem; } }
@media (max-width: 390px) { .discount-box > div, .catalog-tools { grid-template-columns: 1fr; } .discount-box button { width: 100%; } .product-purchase { grid-template-columns: 1fr; } }
