* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: #1f2937; background: #f6f8fb; }
a { color: #0b5ed7; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 94vw); margin: 0 auto; }
.site-header { background: linear-gradient(120deg, #ffffff 0%, #eef5ff 100%); border-bottom: 1px solid #d8e6ff; padding: 1.5rem 0 1.2rem; }
.site-header.inner { padding: 1.2rem 0; }
.site-header.hero { background-size: cover; background-position: center; background-repeat: no-repeat; border-bottom-color: rgba(255,255,255,0.15); padding: 2.1rem 0 2rem; }
.site-header.inner.product-hero { background-size: cover; background-position: center; background-repeat: no-repeat; border-bottom-color: rgba(255,255,255,0.15); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; }
.logo-link { font-size: 1.4rem; font-weight: 700; color: #0f172a; display: inline-flex; align-items: center; min-height: 50px; }
.brand-logo { width: min(180px, 42vw); height: auto; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25)); }
.lang-switch { display: flex; gap: 0.4rem; }
.lang-switch a { display: inline-block; border: 1px solid #9cc2ff; border-radius: 7px; padding: 0.28rem 0.58rem; font-size: 0.8rem; color: #0b5ed7; }
.lang-switch a.active { background: #0b5ed7; color: #fff; border-color: #0b5ed7; }
h1 { margin: 0 0 0.4rem; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.lead { margin: 0 0 0.8rem; color: #475569; }
.search-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #0a58ca; font-weight: 700; margin-bottom: 0.35rem; }
.search-input { width: 100%; max-width: 840px; font-size: 1.03rem; border: 1px solid #99c0ff; border-left: 4px solid #0b5ed7; border-radius: 10px; padding: 0.72rem 0.85rem; outline: none; background: #fff; }
.search-input:focus { border-color: #0b5ed7; box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.16); }
.search-help { max-width: 840px; margin-top: 0.8rem; }
.search-help-text { margin: 0 0 0.5rem; color: #1e3a8a; font-weight: 600; }
.search-help-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.site-header.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.site-header.hero .lead { color: #e6edf8; max-width: 840px; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.site-header.hero .search-label { color: #dbeafe; }
.site-header.hero .search-input { background: rgba(255,255,255,0.96); border-color: rgba(147,197,253,0.95); }
.site-header.hero .search-help-text { color: #f1f5f9; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.site-header.hero .search-help .cta-btn { background: rgba(255,255,255,0.93); }
.site-header.hero .lang-switch a { border-color: rgba(191,219,254,0.9); background: rgba(255,255,255,0.92); }
.site-header.hero .lang-switch a.active { background: #0b5ed7; border-color: #0b5ed7; color: #fff; }
.site-header.inner.product-hero h1,
.site-header.inner.product-hero .lead,
.site-header.inner.product-hero .breadcrumbs,
.site-header.inner.product-hero .breadcrumbs a,
.site-header.inner.product-hero .back-link { color: #f8fbff; text-shadow: 0 2px 12px rgba(0,0,0,0.38); }
.site-header.inner.product-hero .lang-switch a { border-color: rgba(191,219,254,0.9); background: rgba(255,255,255,0.92); }
.site-header.inner.product-hero .lang-switch a.active { background: #0b5ed7; border-color: #0b5ed7; color: #fff; }
main { padding: 1rem 0 2rem; }
.table-wrap { background: #fff; border: 1px solid #dbe8ff; border-radius: 10px; overflow-x: auto; }
.products-table { width: 100%; border-collapse: collapse; }
.products-table th, .products-table td { padding: 0.65rem 0.7rem; border-bottom: 1px solid rgba(15, 23, 42, 0.08); text-align: left; vertical-align: middle; }
.products-table th { font-size: 0.85rem; color: #334155; background: #f8fbff; }
.products-table tr:last-child td { border-bottom: none; }
.availability-cell { text-align: center; }
.availability-wrap { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; min-height: 18px; }
.availability-dot { display: inline-block; width: 12px; height: 12px; border-radius: 2px; border: 1px solid transparent; }
.availability-dot.in-stock { background: #16a34a; border-color: #15803d; }
.availability-dot.low-stock { background: #f59e0b; border-color: #d97706; }
.thumb { width: 62px; height: 46px; object-fit: cover; border: 1px solid #d8e6ff; border-radius: 6px; }
.prod-link { font-weight: 600; color: #0f172a; }
.summary { margin-top: 0.7rem; color: #64748b; font-size: 0.9rem; }
.breadcrumbs { margin-bottom: 0.6rem; color: #475569; font-size: 0.9rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.back-link { display: inline-block; margin-top: 0.4rem; }
.product-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.gallery { background: #fff; border: 1px solid #dbe8ff; border-radius: 10px; padding: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-content: flex-start; min-height: 200px; }
.gallery-img { width: min(170px, 30vw); max-width: 100%; height: auto; border: 1px solid #dbe8ff; border-radius: 8px; }
.details { background: #fff; border: 1px solid #dbe8ff; border-radius: 10px; padding: 0.8rem; }
.details dl { margin: 0; }
.details div { display: grid; grid-template-columns: 145px 1fr; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.details div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; color: #334155; }
.details dd { margin: 0; }
.product-description { background: #fff; border: 1px solid #dbe8ff; border-radius: 10px; padding: 1rem; }
.product-description h2 { margin-top: 0; font-size: 1.15rem; }
.cta-box { margin-bottom: 1rem; background: #fff; border: 1px solid #dbe8ff; border-radius: 10px; padding: 1rem; }
.cta-box h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.5rem; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 8px; border: 1px solid #0b5ed7; padding: 0.45rem 0.8rem; background: #fff; color: #0b5ed7; font-weight: 600; text-decoration: none; }
.cta-btn:hover { text-decoration: none; background: #eef5ff; }
.cta-row-link { font-size: 0.85rem; min-height: 34px; padding: 0.3rem 0.6rem; }
.muted { color: #64748b; }
.site-footer { border-top: 1px solid #dbe8ff; background: #ffffff; margin-top: 1.25rem; }
.footer-inner { padding: 1rem 0 1.2rem; display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 1rem; align-items: start; }
.footer-col { font-size: 0.93rem; color: #334155; display: grid; gap: 0.25rem; }
.footer-col-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; font-weight: 700; margin-bottom: 0.15rem; }
.footer-brand { display: flex; align-items: center; min-height: 56px; }
.footer-logo { width: min(160px, 38vw); height: auto; display: block; }
.footer-logo-text { font-weight: 700; color: #0f172a; }
.footer-col a { color: #0b5ed7; word-break: break-word; }
.footer-label { color: #64748b; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(15, 23, 42, 0.97); color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { width: min(1120px, 94vw); margin: 0 auto; padding: 0.85rem 0; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner-text strong { display: block; margin-bottom: 0.2rem; }
.cookie-banner-text p { margin: 0; color: #dbeafe; font-size: 0.92rem; }
.cookie-policy-link { display: inline-block; margin-top: 0.3rem; color: #93c5fd; text-decoration: underline; font-size: 0.9rem; }
.cookie-banner-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.cookie-btn { min-height: 38px; border-radius: 8px; border: 1px solid #93c5fd; padding: 0.45rem 0.8rem; font-weight: 600; cursor: pointer; }
.cookie-btn-primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.cookie-btn-muted { background: transparent; color: #dbeafe; }
@media (max-width: 880px) {
  .product-main { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; }
  .products-table th, .products-table td { font-size: 0.92rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
}