/* ============ Dillifest Events — Styles v3 ============ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FFCF00; --primary-hover: #e8be02;
  --secondary: #e00000; --dark: #2b0a2a; --darker: #461745;
  --bg: #EAEDED; --card: #ffffff; --text: #111827; --muted: #6B7280;
  --border: #E5E7EB; --link: #007185; --whatsapp: #25D366; --green: #10B981;
}

body { font-family: 'Manrope', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
mark { background: #FFF3B0; padding: 0 2px; border-radius: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top-bar { background: var(--dark); color: white; font-size: 12px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.top-bar a { color: white; }
.top-bar a:hover { color: var(--primary); }
.top-bar .accent { color: var(--primary); }
.pincode-badge { background: rgba(255,153,0,0.15); border: 1px solid var(--primary); color: var(--primary); padding: 2px 8px; border-radius: 12px; font-size: 11px; cursor: pointer; }

header { background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 16px; padding: 12px 16px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: Outfit; font-size: 20px; }
.logo-text { line-height: 1.1; }
.logo-text .brand { font-family: Outfit; font-weight: 700; font-size: 18px; color: var(--text); }
.logo-text .tag { font-size: 10px; letter-spacing: 3px; color: var(--secondary); font-weight: 700; text-transform: uppercase; }

/* Search */
.search-wrap { flex: 1; max-width: 720px; position: relative; }
.search { display: flex; border: 2px solid var(--primary); border-radius: 8px; overflow: hidden; height: 44px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.search input { flex: 1; padding: 0 16px; border: none; outline: none; font-size: 14px; }
.search button { background: var(--primary); color: var(--text); padding: 0 20px; font-weight: 600; transition: background 0.2s; }
.search button:hover { background: var(--primary-hover); }

.search-dropdown { position: absolute; top: 48px; left: 0; right: 0; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.14); z-index: 60; max-height: 500px; overflow: auto; }
.dd-section { padding: 8px 0; border-bottom: 1px solid var(--border); }
.dd-section:last-child { border-bottom: 0; }
.dd-head { padding: 6px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; }
.dd-head a { color: var(--link); font-size: 11px; text-transform: none; letter-spacing: 0; }
.dd-item { padding: 10px 14px; font-size: 14px; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; gap: 10px; }
.dd-item:hover, .dd-item.active { background: #FFF7ED; }
.dd-item.dd-product img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dd-name { font-weight: 500; font-size: 14px; }
.dd-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dd-correct { background: #FFF7ED; padding: 8px 14px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); }
.dd-empty { padding: 20px; text-align: center; color: var(--muted); font-size: 13px; }

.nav-link { display: none; font-size: 13px; color: var(--text); font-weight: 500; }
.nav-link:hover { color: var(--primary); }
@media (min-width: 900px) { .nav-link { display: inline; } }

.nav { background: var(--darker); color: white; }
.nav-inner { display: flex; gap: 20px; padding: 10px 16px; max-width: 1200px; margin: 0 auto; overflow-x: auto; font-size: 13px; white-space: nowrap; }
.nav-inner a { transition: color 0.2s; font-weight: 500; }
.nav-inner a:hover, .nav-inner a.active { color: var(--primary); }
.nav-inner a.pill { background: var(--primary); color: var(--text); padding: 2px 10px; border-radius: 12px; font-weight: 700; }

/* Hero */
.hero { max-width: 1200px; margin: 24px auto 0; padding: 0 16px; }
.hero-inner { background: linear-gradient(135deg, #FFE9CC 0%, #FFD9DE 100%); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr; min-height: 300px; }
@media (min-width: 768px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
.hero-content { padding: 40px; }
.hero-pill { display: inline-block; background: rgba(255,255,255,0.7); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.05; }
.hero-content p { margin: 16px 0 24px; color: #374151; max-width: 400px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { display: none; }
@media (min-width: 768px) { .hero-image { display: block; } .hero-image img { width: 100%; height: 100%; object-fit: cover; } }

/* Buttons */
.btn { padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 14px; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-primary { background: var(--primary); color: var(--text); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: white; border: 2px solid #d1d5db; color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1EA855; }
.btn-danger { background: #ef4444; color: white; padding: 6px 12px; font-size: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-add { padding: 6px 14px; font-size: 12px; border: 1px solid var(--primary); background: white; color: var(--text); border-radius: 20px; font-weight: 600; }
.btn-add:hover { background: var(--primary); }
.btn-add.added { background: var(--green); color: white; border-color: var(--green); }

/* Category tiles */
.cat-tiles { max-width: 1200px; margin: 24px auto; padding: 0 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(8, 1fr); } }
.cat-tile { background: white; padding: 14px; border-radius: 12px; text-align: center; transition: all 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.cat-tile.special { background: linear-gradient(135deg, #FFF7ED, #FEE2E2); border: 1px solid var(--primary); }
.cat-tile .emoji { font-size: 28px; margin-bottom: 6px; }
.cat-tile .name { font-weight: 600; font-size: 12px; color: var(--text); }
.cat-tile .cta { font-size: 10px; color: var(--link); margin-top: 4px; }

/* Section */
.section { max-width: 1200px; margin: 24px auto; padding: 0 16px; }
.section-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-size: 22px; font-weight: 700; }
.section-head a { color: var(--link); font-size: 14px; }
.section-head a:hover { color: var(--primary); }

/* Availability badge */
.avail-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; margin-left: 8px; }
.avail-badge.good { background: #ECFDF5; color: var(--green); border: 1px solid #A7F3D0; }
.avail-badge.later { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }

/* Package cards */
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); } }
.pkg-card { background: linear-gradient(135deg, #FFFCF7, #FEF3E7); border: 1px solid #FCD9A0; border-radius: 12px; padding: 16px; text-align: center; }
.pkg-card.small { padding: 12px; }
.pkg-name { font-family: Outfit; font-weight: 700; font-size: 15px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1.5px; }
.pkg-price { font-family: Outfit; font-weight: 800; font-size: 24px; color: var(--text); margin: 8px 0; }
.pkg-strip { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Product grid — mobile 2-col, larger screens unchanged */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .grid { gap: 12px; } }
@media (min-width: 500px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s; cursor: pointer; position: relative; height: 100%; -webkit-tap-highlight-color: transparent; }
.card:active { transform: scale(0.98); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.card-image { aspect-ratio: 1/1; background: #f9fafb; overflow: hidden; position: relative; flex-shrink: 0; }
@media (min-width: 500px) { .card-image { aspect-ratio: 4/3; } }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-image img { transform: scale(1.05); }
.card-tags { position: absolute; top: 6px; left: 6px; display: flex; flex-direction: column; gap: 3px; max-width: calc(100% - 12px); }
@media (min-width: 500px) { .card-tags { top: 10px; left: 10px; gap: 4px; } }
.tag-chip { color: white; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
@media (min-width: 500px) { .tag-chip { font-size: 10px; padding: 3px 8px; box-shadow: none; } }
.card-body { padding: 8px; display: flex; flex-direction: column; flex-grow: 1; gap: 4px; }
@media (min-width: 500px) { .card-body { padding: 14px; gap: 0; } }
.card-title { font-family: Outfit; font-weight: 600; font-size: 13px; line-height: 1.3; min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 500px) { .card-title { font-size: 15px; min-height: 42px; margin-bottom: 6px; } }
.stars { color: var(--primary); font-size: 12px; }
@media (min-width: 500px) { .stars { font-size: 14px; } }
.stars .review { color: var(--link); font-size: 11px; margin-left: 3px; }
@media (min-width: 500px) { .stars .review { font-size: 12px; margin-left: 4px; } }
.card-avail { font-size: 10px; font-weight: 700; color: var(--green); padding: 2px 6px; background: #ECFDF5; border-radius: 4px; display: inline-block; width: fit-content; margin-top: 2px; }
.card-avail.later { color: #92400E; background: #FEF3C7; }
@media (min-width: 500px) { .card-avail { font-size: 11px; padding: 3px 8px; margin-top: 4px; } }
.price-block { margin-top: auto; }
@media (min-width: 500px) { .price-block { margin-top: 8px; } }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
@media (min-width: 500px) { .price-row { gap: 8px; } }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: 11px; }
@media (min-width: 500px) { .price-strike { font-size: 13px; } }
.price { font-family: Outfit; font-weight: 700; font-size: 17px; color: var(--text); }
@media (min-width: 500px) { .price { font-size: 22px; } }
.price-save { display: inline-block; background: #ECFDF5; color: var(--green); font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-top: 2px; }
@media (min-width: 500px) { .price-save { font-size: 11px; padding: 2px 6px; margin-top: 4px; } }
.card-body .btn { margin-top: 8px; padding: 8px 12px; font-size: 12px; }
@media (min-width: 500px) { .card-body .btn { margin-top: 12px; padding: 10px 20px; font-size: 13px; } }

/* Filters */
.filters { background: white; border-radius: 12px; padding: 16px; margin-bottom: 16px; display: grid; grid-template-columns: 1fr; gap: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
@media (min-width: 768px) { .filters { grid-template-columns: repeat(3, 1fr); align-items: end; } }
.filter-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin-bottom: 6px; display: block; }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-row input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.filter-actions { display: flex; gap: 8px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.gallery-main { background: #f9fafb; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: 0.7; }
.gallery-thumbs img.active { border-color: var(--primary); opacity: 1; }
.cat-label { color: var(--secondary); font-size: 11px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; }
.product-detail h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin: 4px 0; }
.feature-list { list-style: none; margin-top: 16px; }
.feature-list li { padding: 4px 0; color: #374151; font-size: 14px; }
.feature-list li::before { content: '✓'; color: var(--green); margin-right: 8px; font-weight: 700; }
.big-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.big-price .price { font-size: 36px; }
.big-price .price-strike { font-size: 18px; }
.big-price .price-save { font-size: 13px; padding: 4px 10px; }
.location-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }

/* Addons */
.addons-strip { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.addons-strip h3 { font-size: 20px; margin-bottom: 4px; }
.addons-strip .sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .addon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .addon-grid { grid-template-columns: repeat(4, 1fr); } }
.addon-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; transition: all 0.2s; position: relative; }
.addon-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.addon-card.selected { border-color: var(--green); background: #F0FDF4; }
.addon-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: #f3f4f6; }
.addon-card .name { font-size: 13px; font-weight: 500; min-height: 32px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addon-card .price { font-size: 14px; font-weight: 700; margin: 6px 0; }

/* Booking form */
.booking-wrapper { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .booking-wrapper { grid-template-columns: 2fr 1fr; } }
.booking-form { background: #FFFCF7; border: 1px solid #FFE4B5; padding: 24px; border-radius: 16px; }
.booking-form h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #374151; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], input[type="url"], input[type="file"], select, textarea, input[type="range"] {
  width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; outline: none; transition: all 0.2s;
}
input[type="range"] { padding: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,153,0,0.15); }

.summary { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 24px; height: fit-content; position: sticky; top: 100px; }
.summary h3 { font-size: 18px; margin-bottom: 12px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.summary-row.muted { color: var(--muted); font-size: 13px; }
.summary-divider { border-top: 1px dashed #d1d5db; margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; }
.summary-total .label { font-size: 14px; font-weight: 600; }
.summary-total .amount { font-family: Outfit; font-size: 26px; font-weight: 700; color: var(--secondary); }
.summary .note { font-size: 11px; color: var(--muted); margin-top: 12px; }

/* Admin */
.admin-login { min-height: 100vh; background: linear-gradient(135deg, #FFE9CC, #FFD9DE); display: flex; align-items: center; justify-content: center; padding: 16px; }
.admin-login-card { background: white; padding: 32px; border-radius: 20px; box-shadow: 0 24px 48px rgba(0,0,0,0.15); width: 100%; max-width: 400px; }
.admin-login-card .lock { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.admin-login-card h1 { text-align: center; font-size: 22px; margin-bottom: 4px; }
.admin-login-card .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }

.admin-header { background: var(--dark); color: white; }
.admin-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px; max-width: 1400px; margin: 0 auto; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tabs button { padding: 8px 16px; border-radius: 50px; font-size: 14px; font-weight: 600; background: white; border: 1px solid var(--border); }
.admin-tabs button.active { background: var(--primary); border-color: var(--primary); }

.admin-panel { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .admin-panel { grid-template-columns: 460px 1fr; } }
.admin-form { background: white; padding: 24px; border-radius: 12px; border: 1px solid var(--border); height: fit-content; }
.admin-form h2 { font-size: 18px; margin-bottom: 16px; }

.admin-table-wrap { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: #f9fafb; text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
td .thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; float: left; margin-right: 12px; }
td .actions { text-align: right; white-space: nowrap; }
td .actions button { padding: 4px 8px; margin-left: 4px; border-radius: 6px; }
.icon-btn { color: var(--link); font-size: 16px; }
.icon-btn:hover { color: var(--primary); }
.icon-btn.danger { color: #ef4444; }

/* Image uploader (admin) */
.upload-box { border: 2px dashed #d1d5db; border-radius: 10px; padding: 16px; text-align: center; cursor: pointer; transition: all 0.2s; display: block; }
.upload-box:hover { border-color: var(--primary); background: #FFF7ED; }
.upload-box .icon { font-size: 32px; margin-bottom: 6px; }
.upload-box .txt { font-size: 12px; color: var(--muted); }
.image-preview-strip { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.image-preview-strip .prev { position: relative; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.image-preview-strip .prev img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-strip .prev button { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.7); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; line-height: 20px; padding: 0; }

.img-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.img-card { display: flex; gap: 12px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; }
.img-card .img-thumb { width: 90px; height: 90px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.img-card .img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-info { flex: 1; font-size: 12px; }
.img-name { font-family: monospace; font-size: 11px; word-break: break-all; color: var(--text); }
.img-meta { color: var(--muted); font-size: 11px; margin: 2px 0 4px; }
.img-info input { font-size: 12px; padding: 4px 8px; }

/* Multi row builder */
.row-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.row-item { display: flex; gap: 6px; align-items: center; }
.row-item input { flex: 1; padding: 8px 10px; font-size: 13px; }
.row-item .rm { background: #fef2f2; color: #ef4444; border-radius: 6px; padding: 6px 10px; font-size: 12px; }
.row-add { background: #f3f4f6; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 6px; align-self: flex-start; }

/* Tag chooser */
.tag-chooser { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chooser label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px; font-size: 12px; cursor: pointer; }
.tag-chooser label input { margin-right: 4px; }
.tag-chooser label.checked { background: var(--primary); border-color: var(--primary); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fadeIn 0.2s; }
.modal { background: white; border-radius: 16px; padding: 28px; max-width: 460px; width: 100%; box-shadow: 0 24px 48px rgba(0,0,0,0.2); animation: slideUp 0.25s; }
.modal h2 { font-size: 22px; margin-bottom: 6px; }
.modal p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Area list in modal */
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 320px; overflow: auto; }
.area-btn { background: white; border: 2px solid var(--border); border-radius: 10px; padding: 10px 12px; text-align: left; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.area-btn:hover { border-color: var(--primary); background: #FFF7ED; }
.area-btn.active { border-color: var(--primary); background: #FFF7ED; }

/* Static pages */
.static-page { max-width: 820px; margin: 24px auto; padding: 0 16px; }
.static-page .section-card { padding: 40px; }
.static-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; color: var(--text); }
.static-page h2 { font-size: 22px; margin-top: 28px; margin-bottom: 12px; color: var(--secondary); }
.static-page p { color: #374151; line-height: 1.7; margin-bottom: 12px; }
.static-page ul { list-style: none; margin: 12px 0; }
.static-page ul li { padding: 6px 0; padding-left: 24px; position: relative; }
.static-page ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-family: Outfit; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 10px; color: #374151; line-height: 1.6; font-size: 14px; }

/* Footer */
footer { background: var(--darker); color: #d1d5db; margin-top: 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(4, 1fr); } }
footer h3, footer h4 { color: white; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
footer h3 { font-size: 16px; text-transform: none; letter-spacing: 0; }
footer ul { list-style: none; }
footer li { padding: 4px 0; font-size: 14px; }
footer a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #374151; padding: 16px; text-align: center; font-size: 12px; color: #6b7280; }

/* Toast */
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px); background: var(--text); color: white; padding: 12px 20px; border-radius: 8px; font-size: 14px; z-index: 200; transition: transform 0.3s; box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: #ef4444; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.sub-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.sub-nav a { background: #f3f4f6; padding: 6px 12px; border-radius: 20px; font-size: 12px; color: var(--text); }
.sub-nav a:hover, .sub-nav a.active { background: var(--primary); }
