* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #f7f5f2; --white: #fff; --dark: #1a1a1a; --mid: #5a5a5a;
  --light: #c8c0b4; --accent: #b07d56; --accent-hover: #8f6240;
  --shadow: 0 4px 24px rgba(0,0,0,0.08); --shadow-hover: 0 10px 40px rgba(0,0,0,0.14);
}
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--dark); }

/* ── HEADER ── */
header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 48px; height: 68px; gap: 16px; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--dark); text-decoration: none; white-space: nowrap; justify-self: start; }
.logo span { color: var(--accent); }
.header-icons { justify-self: end; display: flex; gap: 6px; align-items: center; }
.search-wrap { width: 100%; max-width: 380px; position: relative; justify-self: center; }
.search-wrap input { width: 100%; padding: 16px 48px 16px 22px; border: 1.5px solid var(--light); border-radius: 30px; font-size: 15px; background: var(--bg); color: var(--dark); outline: none; transition: border-color .2s; }
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--mid); pointer-events: none; }
.icon-btn { position: relative; background: none; border: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--bg); color: var(--accent); }
.icon-btn.heart-active { color: #e05050; }
.badge { position: absolute; top: 5px; right: 5px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white); }

/* ── NAV ── */
nav { border-top: 1px solid #ece8e3; display: flex; justify-content: center; gap: 4px; overflow-x: auto; }
nav a { text-decoration: none; color: var(--mid); font-size: 13.5px; font-weight: 500; padding: 14px 22px; letter-spacing: .3px; white-space: nowrap; border-bottom: 2.5px solid transparent; transition: color .2s, border-color .2s; }
nav a:hover, nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── HERO ── */
.hero { background: linear-gradient(130deg, #2c2420 0%, #4a3728 55%, #6b4f3a 100%); color: #fff; padding: 64px 80px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; right: -80px; bottom: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(176,125,86,.25) 0%, transparent 65%); pointer-events: none; }
.hero-text h1 { font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.hero-text h1 em { color: #d4a47a; font-style: normal; }
.hero-text p { color: #c8b8ac; font-size: 15px; line-height: 1.75; margin-bottom: 28px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: var(--accent); color: #fff; border-radius: 40px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: background .2s, transform .15s; }
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }
.hero-cta-outline { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); border-radius: 40px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.hero-cta-outline:hover { border-color: #d4a47a; background: rgba(212,164,122,.08); }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong { font-size: 22px; font-weight: 800; color: #d4a47a; }
.hero-stat span { font-size: 12px; color: #a09080; letter-spacing: .4px; text-transform: uppercase; }

/* ── ROOMS ── */
.rooms-section { background: var(--white); padding: 56px 0 48px; }
.rooms-inner { max-width: 1360px; margin: 0 auto; padding: 0 72px; }
.rooms-inner h2 { font-size: 26px; font-weight: 700; margin-bottom: 28px; }
.rooms-track-outer { position: relative; }
.rooms-track-wrap { overflow: hidden; }
.rooms-track { display: flex; gap: 20px; transition: transform .42s cubic-bezier(.4,0,.2,1); will-change: transform; }
.room-card { flex: 0 0 calc(25% - 15px); cursor: pointer; transition: transform .2s; }
.room-card:hover { transform: translateY(-4px); }
.room-card-img { aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: #ede9e3; margin-bottom: 14px; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.room-card p { font-size: 12.5px; color: var(--mid); line-height: 1.6; }
.rooms-nav-btn { position: absolute; top: 38%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid #e0dbd4; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: background .2s, box-shadow .2s, color .2s; z-index: 5; }
.rooms-nav-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 16px rgba(176,125,86,.3); }
.rooms-nav-btn.prev { left: -56px; }
.rooms-nav-btn.next { right: -56px; }

/* ── MAIN ── */
main { max-width: 1360px; margin: 0 auto; padding: 52px 32px 80px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-header h2 { font-size: 24px; font-weight: 700; }
.section-header a { color: var(--accent); font-size: 13px; text-decoration: none; font-weight: 500; }
.section-header a:hover { text-decoration: underline; }

/* ── PRODUCT GRID ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform .22s, box-shadow .22s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ede9e3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; }
.card-wish { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #ccc; transition: color .2s, transform .15s; z-index: 2; }
.card-wish:hover { color: #e05050; transform: scale(1.15); }
.card-wish.active { color: #e05050; }
.card-wish.active svg { fill: #e05050; }
.card-body { padding: 18px 20px 20px; }
.card-category { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--light); margin-bottom: 6px; }
.card-name { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; line-height: 1.35; }
.card-desc { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 19px; font-weight: 700; color: var(--accent); }
.card-price .old { font-size: 12px; color: var(--light); font-weight: 400; text-decoration: line-through; margin-left: 6px; }
.add-btn { background: var(--dark); color: #fff; border: none; border-radius: 30px; padding: 8px 18px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; }
.add-btn:hover { background: var(--accent); transform: scale(1.04); }
.add-btn.added { background: var(--accent); }

/* ── ACCOUNT DROPDOWN ── */
.acct-wrap { position: relative; }
.acct-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--white); border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.14); min-width: 160px; overflow: hidden; z-index: 200; animation: popIn .18s cubic-bezier(.34,1.56,.64,1); }
.acct-menu.open { display: block; }
.acct-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 14px; color: var(--dark); text-decoration: none; transition: background .15s; }
.acct-menu a:hover { background: var(--bg); color: var(--accent); }
.acct-menu a svg { flex-shrink: 0; }

/* ── CART DRAWER ── */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300; backdrop-filter: blur(3px); }
.drawer-overlay.open { display: block; }
.drawer { position: fixed; top: 0; right: -420px; width: 420px; max-width: 95vw; height: 100vh; background: var(--white); z-index: 301; display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,.12); transition: right .35s cubic-bezier(.4,0,.2,1); }
.drawer.open { right: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid #ece8e3; }
.drawer-head h3 { font-size: 18px; font-weight: 700; }
.drawer-close { background: var(--bg); border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--mid); transition: background .2s; }
.drawer-close:hover { background: #ebe6e0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-empty { text-align: center; padding: 60px 0; color: var(--mid); font-size: 15px; }
.drawer-empty svg { display: block; margin: 0 auto 16px; opacity: .3; }
.drawer-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0ece7; }
.drawer-item img { width: 72px; height: 60px; object-fit: cover; border-radius: 10px; background: #ede9e3; flex-shrink: 0; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-item-price { font-size: 14px; color: var(--accent); font-weight: 700; }
.drawer-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--light); background: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: background .2s; }
.qty-btn:hover { background: var(--bg); }
.qty-val { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.drawer-remove { background: none; border: none; cursor: pointer; color: var(--light); font-size: 18px; padding: 4px; transition: color .2s; align-self: flex-start; }
.drawer-remove:hover { color: #e05050; }
.drawer-footer { padding: 20px 24px; border-top: 1px solid #ece8e3; }
.drawer-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.drawer-total span:last-child { color: var(--accent); font-size: 20px; }
.btn-checkout { width: 100%; padding: 15px; background: var(--dark); color: #fff; border: none; border-radius: 40px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-checkout:hover { background: var(--accent); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 24px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: popIn .28s cubic-bezier(.34,1.56,.64,1); }
@keyframes popIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--bg); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; color: var(--mid); transition: background .2s; }
.modal-close:hover { background: #ebe6e0; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-gallery { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.modal-main-img { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #ede9e3; }
.modal-main-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 8px; }
.thumb { width: 68px; height: 54px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; flex-shrink: 0; background: #ede9e3; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 36px 36px 36px 12px; display: flex; flex-direction: column; }
.modal-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--light); margin-bottom: 10px; }
.modal-name { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.modal-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.stars { color: #f0a832; font-size: 15px; letter-spacing: 1px; }
.rating-count { font-size: 13px; color: var(--mid); }
.modal-price { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.modal-price .old { font-size: 16px; color: var(--light); font-weight: 400; text-decoration: line-through; margin-left: 8px; }
.modal-desc { font-size: 14px; color: var(--mid); line-height: 1.75; margin-bottom: 24px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 28px; }
.spec { font-size: 13px; }
.spec-label { color: var(--light); margin-bottom: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.spec-value { font-weight: 600; color: var(--dark); }
.modal-colors { margin-bottom: 24px; }
.modal-colors p { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--light); margin-bottom: 10px; }
.color-dots { display: flex; gap: 8px; }
.color-dot { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: border-color .2s, transform .15s; }
.color-dot.active, .color-dot:hover { border-color: var(--accent); transform: scale(1.15); }
.modal-actions { display: flex; gap: 12px; margin-top: auto; }
.btn-cart { flex: 1; background: var(--dark); color: #fff; border: none; border-radius: 40px; padding: 14px 24px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-cart:hover { background: var(--accent); }
.btn-wish-modal { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--light); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--mid); transition: color .2s, border-color .2s; flex-shrink: 0; }
.btn-wish-modal:hover, .btn-wish-modal.active { color: #e05050; border-color: #e05050; }
.btn-wish-modal.active svg { fill: #e05050; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--dark); color: #fff; padding: 12px 28px; border-radius: 30px; font-size: 14px; font-weight: 500; z-index: 999; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── FOOTER ── */
footer { background: #1a1a1a; color: #888; text-align: center; padding: 28px; font-size: 13px; }
footer span { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { padding: 48px 24px; }
  .rooms-inner { padding: 0 52px; }
  .room-card { flex: 0 0 220px; }
  .header-top { padding: 0 20px; }
  main { padding-left: 16px; padding-right: 16px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-info { padding: 0 28px 28px; }
  .drawer { width: 100%; max-width: 100%; }
}
