﻿.shop-page { min-height: 70vh; padding: clamp(34px, 6vw, 76px) clamp(20px, 5vw, 72px); background: var(--soft); }
.shop-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: 1400px; margin: 0 auto 34px; padding: clamp(28px, 5vw, 58px); color: #fff; border-radius: 16px; background: linear-gradient(135deg, #07111f, #064baf); box-shadow: var(--shadow); }
.shop-hero h1 { margin: 5px 0 8px; font-size: clamp(42px, 7vw, 78px); line-height: 1; }
.shop-hero p:last-child { max-width: 720px; margin: 0; color: rgba(255,255,255,.74); }
.shop-cart-button { flex: 0 0 auto; padding: 14px 18px; color: #07111f; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--cyan-400), var(--green-400)); font: inherit; font-weight: 900; cursor: pointer; }
.shop-cart-button strong { display: inline-grid; place-items: center; min-width: 27px; height: 27px; margin-left: 7px; padding: 0 7px; color: #fff; border-radius: 20px; background: #07111f; }
.shop-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; max-width: 1400px; margin: 0 auto 28px; }
.shop-search { display: grid; gap: 5px; min-width: min(100%, 320px); color: var(--muted); font-size: 13px; font-weight: 900; }
.shop-search input { min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; }
.shop-categories { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.shop-categories button { padding: 9px 13px; color: var(--blue-800); border: 1px solid var(--line); border-radius: 20px; background: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.shop-categories button.active { color: #07111f; border-color: transparent; background: linear-gradient(135deg, var(--cyan-400), var(--green-400)); }
.shop-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1400px; margin: auto; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 15px 38px rgba(12,40,78,.09); cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.product-card:hover { border-color: rgba(8,120,230,.45); box-shadow: 0 22px 48px rgba(12,40,78,.16); transform: translateY(-3px); }
.product-card:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 4px; }
.product-visual { position: relative; display: grid; place-items: center; min-height: 160px; color: var(--cyan-400); background: radial-gradient(circle at 50% 30%, #0b4387, #07111f 68%); }
.product-visual span { font-size: 34px; font-weight: 1000; letter-spacing: -.04em; }
.product-visual img { width: 100%; height: 160px; padding: 10px; object-fit: contain; object-position: center; }
.product-visual b { position: absolute; top: 13px; right: 13px; padding: 4px 9px; color: #07111f; border-radius: 15px; background: var(--green-400); font-size: 12px; }
.product-content { display: grid; gap: 10px; padding: 20px; }
.product-content h2, .product-content p { margin: 0; }
.product-content h2 { min-height: 58px; font-size: 21px; line-height: 1.35; }
.product-content > p:not(.product-category) { min-height: 104px; color: var(--muted); font-size: 14px; white-space: pre-line; }
.product-category { color: var(--blue-600); font-size: 12px; font-weight: 900; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.product-buy strong { color: var(--blue-800); font-size: 18px; }
.product-buy small { color: var(--muted); font-size: 12px; }
.product-buy button { padding: 9px 11px; color: #fff; border: 0; border-radius: 7px; background: var(--blue-600); font-weight: 900; cursor: pointer; }
.product-buy button:disabled { opacity: .5; cursor: not-allowed; }
.product-content .product-delivery { min-height: auto; color: var(--blue-600); font-size: 12px; font-weight: 900; white-space: pre-line; }
.shop-empty { text-align: center; }
.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; z-index: 100; inset: 0; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(7,17,31,.68); }
.cart-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(100%, 480px); height: 100%; padding: 24px; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.25); }
.cart-head { display: flex; align-items: start; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-head h2, .cart-head p { margin: 0; }
.cart-head button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 27px; cursor: pointer; }
.cart-items { display: grid; gap: 12px; overflow: auto; padding: 18px 0; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.cart-item h3, .cart-item p { margin: 0; }
.cart-item h3 { font-size: 16px; }
.cart-item p { color: var(--blue-600); font-size: 11px; font-weight: 900; }
.cart-quantity { display: flex; align-items: center; gap: 9px; }
.cart-quantity button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; margin-top: auto; padding: 18px 0 5px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 900; }
.cart-note, .cart-empty { color: var(--muted); font-size: 13px; }
.cart-checkout { width: 100%; border: 0; cursor: pointer; }
.cart-checkout:disabled { opacity: .45; cursor: not-allowed; }
.cart-clear { margin-top: 8px; padding: 8px; color: var(--muted); border: 0; background: transparent; cursor: pointer; }
@media (max-width: 1100px) { .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .shop-hero, .shop-toolbar { align-items: stretch; flex-direction: column; } .shop-categories { justify-content: flex-start; } .shop-products { grid-template-columns: 1fr; } .product-content > p:not(.product-category), .product-content h2 { min-height: auto; } }
