:root { font-family: "Inter", "Segoe UI", Arial, sans-serif; color: #111318; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: transparent; border: 0; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 118px; padding: 12px 32px 0; background: #fff; border-bottom: 1px solid #ececec; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 30px; letter-spacing: 8px; white-space: nowrap; }
.header-icons { display: flex; gap: 16px; align-items: center; }
.header-icons.right { justify-content: flex-end; }
.site-header nav { grid-column: 1 / -1; display: flex; justify-content: center; gap: 34px; border-top: 1px solid #f1f1f1; padding: 18px 0; color: #001b3d; font-size: 15px; }
.icon-btn { font-size: 22px; line-height: 1; }
.story-row { display: flex; justify-content: center; gap: 20px; padding: 18px 20px 24px; border-bottom: 1px solid #f2f2f2; overflow-x: auto; }
.story { width: 88px; height: 88px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #ff8a00, #d500ff); flex: 0 0 auto; }
.story img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid #fff; }
.hero-panel { position: relative; margin: 32px auto; width: min(1232px, calc(100% - 48px)); min-height: 630px; border: 1px solid #e3e7eb; display: grid; grid-template-columns: .85fr 1.35fr; align-items: center; gap: 40px; padding: 84px 30px 38px 150px; }
.hero-copy span, .price-label, .filters h3, .product-info dt { display: block; font-size: 11px; font-weight: 800; letter-spacing: 4px; }
.hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: 80px; font-weight: 400; margin: 28px 0; }
.hero-copy p { width: 170px; margin: 9px auto; border-bottom: 1px solid #777; text-align: center; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-images img { width: 100%; height: 505px; object-fit: cover; }
.section-head { width: min(1180px, calc(100% - 48px)); margin: 42px auto 18px; display: flex; justify-content: space-between; align-items: center; }
.section-head h2, .testimonials h2 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.home-grid { width: min(1180px, calc(100% - 48px)); margin: 0 auto 54px; }
.product-card { position: relative; text-align: center; }
.product-image { display: block; aspect-ratio: 2 / 3; background: #f7f4f0; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover img { transform: scale(1.03); }
.heart { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.product-name { display: block; margin: 16px 0 12px; letter-spacing: 1.5px; }
.catalog-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; width: min(1240px, calc(100% - 48px)); margin: 24px auto 54px; }
.filters { border: 1px solid #e2e2e2; padding: 20px; align-self: start; }
.filter-title { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 4px; }
.filters h3 { margin-top: 28px; padding-top: 20px; border-top: 1px solid #eee; }
.filters button, .filters label { display: block; width: 100%; text-align: left; padding: 7px 0; color: #36404c; }
.filters .active { color: #000; font-weight: 800; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e5e5; padding-bottom: 28px; margin-bottom: 28px; }
.catalog-bar select { margin-left: 12px; padding: 13px 42px 13px 14px; border: 1px solid #d2d2d2; background: #fff; }
.detail { display: grid; grid-template-columns: minmax(320px, 450px) 1fr; gap: 48px; width: min(1210px, calc(100% - 48px)); margin: 48px auto; }
.gallery-main { position: relative; aspect-ratio: 3 / 4; background: #f7f4f0; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs button { width: 72px; height: 96px; border: 1px solid #ddd; padding: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 32px; font-weight: 400; margin-top: 6px; }
.mode-tabs { display: inline-flex; border: 1px solid #d8d8d8; margin-bottom: 18px; }
.mode-tabs button { padding: 12px 18px; font-weight: 800; letter-spacing: 2px; }
.mode-tabs button:first-child { background: #000; color: #fff; }
.detail-price { display: block; font-size: 20px; margin: 0 0 34px; }
.product-info dl { border-top: 1px solid #eee; padding-top: 24px; }
.size-list button { border: 1px solid #d0d0d0; padding: 14px 26px; margin-right: 10px; }
.cart-btn, .outline-btn, .admin button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; font-weight: 800; }
.cart-btn { width: calc(100% - 60px); background: #000; color: #fff; }
.outline-btn { width: calc(100% - 60px); border: 1px solid #111; margin-top: 12px; }
.description { color: #545d69; line-height: 1.7; }
.ad-slot { width: min(1180px, calc(100% - 48px)); min-height: 96px; margin: 28px auto; display: grid; place-items: center; overflow: hidden; }
.ad-slot.empty { border: 1px dashed #c9cdd4; background: #fafafa; color: #8a93a2; font-size: 12px; font-weight: 800; letter-spacing: 3px; }
.catalog .ad-slot { width: 100%; margin: 0 0 28px; }
.testimonials, .legal-page { width: min(980px, calc(100% - 48px)); margin: 30px auto 80px; line-height: 1.75; }
.testimonials blockquote { border-left: 3px solid #0c6b5a; padding-left: 18px; color: #3b4450; }
.legal-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 400; text-transform: uppercase; }
.legal-page header { border-bottom: 1px solid #e3e5e8; margin-bottom: 30px; padding-bottom: 22px; }
.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 760px; background: #f5f6f8; }
.admin-login { width: min(460px, calc(100% - 48px)); margin: 72px auto; }
.admin aside { background: #111318; color: #fff; padding: 28px 20px; }
.admin aside a { display: flex; gap: 10px; padding: 12px; color: #d8dde5; }
.admin aside button { width: 100%; margin-top: 18px; background: #fff; color: #111318; min-height: 42px; font-weight: 800; }
.admin-main { padding: 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat, .panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; }
.admin-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.panel label { display: block; margin-bottom: 12px; font-weight: 700; color: #2d3540; }
.panel input, .panel textarea, .panel select { width: 100%; border: 1px solid #d5d7db; padding: 12px; background: #fff; margin-top: 6px; }
.panel textarea { min-height: 130px; font-family: Consolas, "Courier New", monospace; resize: vertical; }
.wide-panel { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.textarea-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check-line { display: flex !important; align-items: center; gap: 10px; }
.check-line input { width: auto; margin: 0; }
.hint { display: block; color: #7c8592; font-size: 12px; font-weight: 500; margin-top: 3px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-list { display: grid; gap: 10px; }
.admin-list article { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; border: 1px solid #eceff3; padding: 12px; border-radius: 6px; }
.admin-list article span { color: #657080; font-size: 13px; }
.admin-list article div { display: flex; gap: 8px; grid-row: span 2; }
.admin-table { display: grid; gap: 10px; }
.admin-table article { display: grid; grid-template-columns: 58px minmax(0, 1fr) 120px auto auto; gap: 14px; align-items: center; border: 1px solid #eceff3; padding: 10px; border-radius: 6px; }
.admin-table img { width: 58px; height: 78px; object-fit: cover; background: #f3f4f6; }
.admin-table span { display: block; color: #657080; font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }
.is-muted { opacity: .48; }
.footer { border-top: 1px solid #ddd; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 46px; padding: 48px min(7vw, 96px); }
.footer h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.footer a { display: block; margin: 12px 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 8px; background: #f0f0f0; display: grid; place-items: center; }
.icon-line { display: flex; gap: 10px; align-items: flex-start; }
.whatsapp { background: #0a6d5c; color: #fff; border-radius: 8px; padding: 14px 18px; text-align: center; font-weight: 800; display: inline-flex !important; gap: 8px; align-items: center; justify-content: center; }
.payment-strip { border-top: 1px solid #ddd; text-align: center; padding: 20px; color: #263045; font-weight: 800; word-spacing: 24px; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; padding: 12px 16px 0; min-height: auto; }
  .brand { font-size: 21px; letter-spacing: 4px; text-align: center; }
  .site-header nav { grid-column: 1 / -1; flex-direction: column; gap: 12px; padding: 14px 0; }
  .hero-panel, .catalog-layout, .detail, .admin, .footer { grid-template-columns: 1fr; }
  .hero-panel { padding: 34px 18px; width: calc(100% - 24px); min-height: auto; }
  .hero-copy h1 { font-size: 54px; }
  .hero-images img { height: 330px; }
  .product-grid, .stat-grid, .admin-panels, .textarea-grid, .form-grid, .admin-table article { grid-template-columns: 1fr; }
  .cart-btn, .outline-btn { width: 100%; }
}
