.shop-main { padding-block: 48px 72px; min-height: 65vh; }
.shop-page .shop-nav { display: flex; gap: 28px; }
.shop-nav a[aria-current] { color: var(--gold); }
.shop-page .header-inner { gap: 20px; }
.cart-link { gap: 10px; }
#cart-count { display: inline-grid; place-items: center; border-left: 1px solid #1115; padding-left: 10px; min-width: 26px; }
.shop-intro { margin-bottom: 36px; display: flex; gap: 32px; justify-content: space-between; align-items: end; }
.shop-intro h1 { font-size: clamp(2rem,4vw,3.5rem); margin-bottom: 14px; }
.shop-intro p { max-width: 650px; }
.shop-intro .catalog-stamp { max-width: 260px; font-size: .8125rem; }
.shop-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 32px; align-items: start; }
.shop-filters { padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.shop-filters summary { font-weight: 600; cursor: pointer; list-style: none; }
.filter-fields { display: grid; gap: 18px; margin-top: 22px; }
.shop-page label { display: grid; gap: 8px; font-size: .875rem; color: var(--muted); }
.shop-page input, .shop-page select { font: inherit; font-size: .9375rem; width: 100%; min-width: 0; border: 1px solid #55524d; border-radius: 3px; background: var(--card); color: var(--text); padding: 12px; min-height: 46px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-filters .button { width: 100%; }
.search-form { display: flex; gap: 12px; }
.search-form label { flex: 1; }
.search-form input { height: 50px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 24px; }
.shop-toolbar label { display: flex; align-items: center; flex-shrink: 0; }
.shop-toolbar select { width: 210px; }
.shop-toolbar p { font-size: .875rem; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: var(--card); min-width: 0; }
.product-art { position: relative; display: grid; place-items: center; background: #fafafa; aspect-ratio: 1; }
.product-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; padding: 15px; }
.sale-label { position: absolute; top: 12px; left: 12px; background: #111; color: var(--gold); padding: 4px 9px; font-size: .75rem; z-index: 1; }
.product-card-content { padding: 20px; display: flex; flex-direction: column; align-items: start; flex: 1; }
.product-brand { font-size: .75rem; color: var(--gold); letter-spacing: .06em; margin-bottom: 8px; }
.product-card h2 { font-size: .9375rem; line-height: 1.55; letter-spacing: 0; margin-bottom: 16px; overflow-wrap: anywhere; }
.product-card .product-price { margin-top: auto; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1.125rem; font-weight: 700; color: var(--text); }
.product-price del { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.stock-label { font-size: .75rem; margin: 6px 0 16px; color: var(--muted); }
.product-card .button { width: 100%; margin-top: 2px; }
.product-card a:hover h2, .breadcrumbs a:hover { color: var(--gold-hover); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; }
.pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); }
.pagination [aria-current] { background: var(--gold); color: #111; border-color: var(--gold); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8125rem; color: var(--muted); margin-bottom: 32px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery .main-product-image { background: #fafafa; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 30px; }
.product-thumbnails { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.product-thumbnails button { padding: 0; width: 70px; height: 70px; border: 1px solid var(--line); background: #fafafa; }
.product-thumbnails button[aria-pressed="true"] { border: 2px solid var(--gold); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(1.75rem,2.6vw,2.375rem); line-height: 1.3; letter-spacing: -.02em; margin: 8px 0 22px; overflow-wrap: anywhere; }
.product-info .product-price { font-size: 1.75rem; margin: 20px 0 8px; }
.product-info .stock-label { font-size: .875rem; }
.product-summary { line-height: 1.75; }
.product-form { margin: 24px 0; display: grid; gap: 18px; }
.buy-row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: end; }
.buy-row button { min-height: 49px; }
.shop-page .button:disabled { cursor: not-allowed; opacity: .55; }
.product-metadata { font-size: .8125rem; display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 20px; }
.product-metadata a { text-decoration: underline; text-underline-offset: 3px; }
.product-description { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; }
.product-description h2 { font-size: 1.5rem; margin-bottom: 24px; }
.product-description p { white-space: pre-line; max-width: 900px; margin-bottom: 24px; }
.attributes { display: grid; gap: 0; max-width: 900px; }
.attributes div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(100px,1fr) 2fr; gap: 20px; }
.attributes dt { color: var(--muted); }
.category-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.category-links a { border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; font-size: .8125rem; }
.category-links a:hover { border-color: var(--gold); }
.cart-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr); gap: 40px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0,1fr) 85px; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; align-items: start; }
.cart-item img { width: 90px; height: 90px; object-fit: contain; background: #fafafa; }
.cart-item h2 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
.cart-item p { font-size: .8125rem; margin-top: 8px; }
.remove-item { padding: 0; min-height: 36px; background: transparent; border: 0; color: var(--muted); text-decoration: underline; font-size: .8125rem; }
.cart-item .line-price { display: block; margin-top: 12px; font-weight: 600; }
.cart-summary { background: var(--card); padding: 28px; display: grid; gap: 20px; }
.cart-summary h2 { font-size: 1.5rem; }
.cart-summary .total-line { display: flex; justify-content: space-between; gap: 20px; font-size: 1.25rem; }
.cart-summary p, .shop-notice { font-size: .875rem; }
.shop-notice { border-left: 2px solid var(--gold); padding: 14px 18px; background: var(--surface); color: var(--muted); }
.shop-notice a { color: var(--gold); text-decoration: underline; }
.checkout-panel { max-width: 760px; padding: 36px; background: var(--card); }
.checkout-panel h2 { font-size: 1.5rem; margin-bottom: 20px; }
.checkout-panel p { margin-bottom: 22px; }
.checkout-panel .button { margin: 0 10px 12px 0; }
.empty-state { padding: 56px 20px; text-align: center; border: 1px solid var(--line); }
.empty-state p { margin: 14px 0 24px; }
.shop-footer .container { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.shop-footer p { flex-basis: 100%; text-align: left; }
.shop-policies { display: flex; flex-wrap: wrap; gap: 18px; font-size: .8125rem; color: var(--muted); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: min(420px,calc(100vw - 48px)); padding: 14px 20px; background: var(--gold); color: #111; border-radius: 3px; box-shadow: 0 4px 20px #0008; }
.toast:empty { display: none; }
.shop-loading { padding-block: 80px; }
@media (max-width: 1100px) { .shop-layout { grid-template-columns: 210px minmax(0,1fr); gap: 24px; } .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .product-detail { gap: 32px; } }
@media (max-width: 800px) {
  .shop-page .header-actions { gap: 12px; }
  .shop-nav a:first-child { display: none; }
  .shop-intro { flex-direction: column; align-items: start; gap: 16px; }
  .shop-intro .catalog-stamp { max-width: none; }
  .shop-layout { display: block; }
  .shop-filters { margin-bottom: 24px; }
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .shop-filters summary::after { content: ' + / −'; float: right; color: var(--gold); }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { max-width: 580px; width: 100%; margin-inline: auto; }
  .cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shop-main { padding-block: 32px 48px; }
  .shop-page .header-inner { gap: 10px; flex-wrap: wrap; }
  .shop-page .shop-nav { font-size: .875rem; }
  .shop-page .header-actions { gap: 10px; }
  .shop-page .lang-switch button { min-width: 28px; padding-inline: 3px; }
  .cart-link { padding: 10px; min-height: 44px; font-size: .75rem; }
  .shop-intro h1 { font-size: 2rem; }
  .filter-fields { grid-template-columns: 1fr; }
  .shop-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .shop-toolbar label { justify-content: space-between; }
  .shop-toolbar select { width: min(70%,235px); }
  .product-grid { gap: 12px; }
  .product-card-content { padding: 12px; }
  .product-card h2 { font-size: .875rem; }
  .product-card .product-price { font-size: 1rem; }
  .product-card .button { padding-inline: 6px; font-size: .75rem; }
  .product-art img { padding: 8px; }
  .product-card .stock-label { font-size: .6875rem; }
  .product-description { margin-top: 32px; }
  .product-info h1 { font-size: 1.75rem; }
  .cart-item { grid-template-columns: 65px minmax(0,1fr); gap: 14px; }
  .cart-item img { width: 65px; height: 65px; }
  .cart-item > label { grid-column: 2; max-width: 90px; }
  .cart-summary, .checkout-panel { padding: 24px; }
  .shop-footer { padding-bottom: 40px; }
  .shop-policies { flex-direction: column; }
  .search-form { gap: 8px; }
  .search-form .button { padding-inline: 15px; }
}
