* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #faf6f1; color: #3d2c22; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; line-height: 1.6; }
.page { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }

.hero { text-align: center; padding: 16px 0 8px; }
.hero h1 { margin: 0 0 4px; font-size: 34px; font-weight: 700; color: #3d2c22; }
.hero h1 .en { font-family: 'Aladin', 'Segoe Script', cursive; font-size: 34px; font-weight: 400; color: #9a7b2d; letter-spacing: 2px; margin-inline-start: 6px; text-shadow: 0 1px 0 #f3e7c9; }
.hero h1 .en::before, .hero h1 .en::after { content: '\2726'; font-size: 13px; color: #c9a959; margin: 0 8px; vertical-align: 4px; }
.hero .tag { display: inline-block; margin: 4px 0 10px; padding: 4px 14px; background: #f5e8dc; color: #7a4b32; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero .intro { max-width: 560px; margin: 0 auto 16px; color: #7d6a5c; font-size: 14px; }
.hero-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hero-photos img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; background: #f5eee6; }

.box { background: #fffdf9; border: 1px solid #efe5da; border-radius: 18px; padding: 18px 16px; margin-top: 18px; box-shadow: 0 2px 10px rgba(120,84,60,.05); }
.box h2 { margin: 0 0 12px; font-size: 19px; font-weight: 700; color: #3d2c22; }
.cap { font-size: 12px; color: #a08b7c; margin: 8px 0 0; }
.err { color: #b3563e; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #f0e7dc; padding-bottom: 8px; font-size: 13px; }
.facts span { color: #a08b7c; }
.facts strong { color: #3d2c22; font-weight: 600; text-align: end; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts div { flex-direction: column; border-bottom: none; padding-bottom: 0; } .facts strong { text-align: start; } }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.cats button { border: 1px solid #e6d9c9; background: #fffdf9; color: #7a4b32; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
.cats button.active { background: #7a4b32; color: #fdf8f2; border-color: #7a4b32; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { border: 1px solid #efe5da; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #fffdf9; box-shadow: 0 2px 10px rgba(120,84,60,.05); }
.card .imgwrap { position: relative; }
.card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #f5eee6; display: block; }
.badge-top { position: absolute; top: 10px; inset-inline-start: 10px; background: #7a4b32; color: #fdf8f2; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.badge-nobundle { position: absolute; top: 10px; inset-inline-end: 10px; background: #efe5da; color: #7a4b32; font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge-low { position: absolute; bottom: 10px; inset-inline-start: 10px; background: #b3563e; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-size: 11px; color: #a08b7c; }
.card h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; color: #3d2c22; }
.card .desc { margin: 0; font-size: 12px; line-height: 19px; color: #7d6a5c; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.promo { font-weight: 700; color: #a05c36; font-size: 16px; }
.regular { color: #c4b4a5; font-size: 12px; }
.pct { font-size: 11px; font-weight: 600; color: #7a4b32; background: #f5e8dc; border-radius: 999px; padding: 3px 9px; }

.btn { border: none; border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.btn.primary { background: #7a4b32; color: #fdf8f2; }
.btn.secondary { background: #f5e8dc; color: #7a4b32; }
.btn.ghost { background: transparent; color: #7a4b32; }
.card .btn { width: 100%; margin-top: auto; }

.cart-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0e7dc; }
.cart-row img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: #f5eee6; flex-shrink: 0; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-weight: 600; font-size: 14px; }
.cart-price { font-size: 12px; color: #7d6a5c; }
.qty { display: flex; align-items: center; gap: 4px; direction: ltr; }
.qty button { width: 40px; height: 40px; border: 1px solid #e6d9c9; background: #fffdf9; border-radius: 12px; font-size: 18px; color: #7a4b32; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.discount-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 14px; color: #4e7a52; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; font-size: 15px; }
.total-row strong { color: #a05c36; font-size: 17px; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #3d2c22; }
.form input, .form select { border: 1px solid #e6d9c9; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-family: inherit; background: #fffdf9; color: #3d2c22; }
.form input:focus, .form select:focus { outline: 2px solid #d9bfa9; }

.note { background: #faf4ec; border: 1px solid #efe5da; border-radius: 14px; padding: 14px; font-size: 14px; margin-bottom: 12px; }
.order-pre { margin: 0 0 12px; white-space: pre-wrap; font-family: inherit; font-size: 13px; line-height: 22px; background: #faf4ec; border: 1px solid #efe5da; border-radius: 14px; padding: 14px; }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.foot { text-align: center; color: #a08b7c; font-size: 12px; margin-top: 24px; }
