/* Amazon-style Design System */
:root {
  --nav-bg: #131921;
  --nav-secondary: #232f3e;
  --accent: #FF9900;
  --accent-hover: #F08804;
  --accent-light: #FEBd69;
  --text: #0F1111;
  --text-secondary: #565959;
  --text-link: #007185;
  --bg: #EAEDED;
  --card: #FFFFFF;
  --border: #D5D9D9;
  --star: #DE7921;
  --red: #B12704;
  --green: #067D62;
  --radius: 8px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Amazon Ember', Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: #C7511F; text-decoration: underline; }

/* ── NAV ── */
nav { background: var(--nav-bg); padding: 0; }
.nav-main { display: flex; align-items: center; padding: 10px 16px; gap: 12px; }
.nav-logo { flex-shrink: 0; }
.nav-logo a { font-size: 26px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -1px; }
.nav-logo a .highlight { color: var(--accent); }
.nav-search { flex: 1; display: flex; max-width: 800px; }
.nav-search select { background: #f3f3f3; border: none; border-radius: 4px 0 0 4px; padding: 0 8px; font-size: 12px; color: #555; border-right: 1px solid #cdcdcd; }
.nav-search input { flex: 1; padding: 10px 12px; border: none; font-size: 15px; outline: none; }
.nav-search button { background: var(--accent-light); border: none; border-radius: 0 4px 4px 0; padding: 0 12px; cursor: pointer; font-size: 18px; }
.nav-search button:hover { background: var(--accent); }
.nav-actions { display: flex; gap: 20px; flex-shrink: 0; }
.nav-actions a { color: #fff; text-decoration: none; font-size: 12px; }
.nav-actions a strong { display: block; font-size: 14px; }
.nav-cart { font-size: 24px; position: relative; }
.nav-cart .count { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #111; font-size: 12px; font-weight: 700; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }

.nav-lang select { background: transparent; color: #fff; border: 1px solid #555; border-radius: 4px; padding: 4px 8px; font-size: 13px; cursor: pointer; }
.nav-lang select:focus { outline: none; border-color: var(--accent); }

.nav-sub { background: var(--nav-secondary); padding: 6px 16px; display: flex; gap: 16px; }
.nav-sub a { color: #fff; font-size: 13px; text-decoration: none; }
.nav-sub a:hover { text-decoration: underline; color: #fff; }

/* ── HERO ── */
.hero { background: linear-gradient(to bottom, #f7d794 0%, #f8e5b3 40%, var(--bg) 100%); padding: 40px 20px 20px; text-align: center; }
.hero-msg { background: #fff; display: inline-block; padding: 8px 24px; font-size: 13px; color: var(--text-secondary); }
.hero-msg a { color: var(--text-link); }

/* ── LAYOUT ── */
.container { max-width: 1500px; margin: 0 auto; padding: 0 12px; }

/* ── CARDS GRID ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.card { background: var(--card); padding: 16px; }
.card h2 { font-size: 21px; margin-bottom: 12px; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-grid a { text-decoration: none; }
.card-grid img, .card-grid .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f7f7f7; display: flex; align-items: center; justify-content: center; font-size: 36px; border-radius: 4px; }
.card-grid p { font-size: 12px; color: var(--text); margin-top: 2px; }
.card-link { font-size: 13px; color: var(--text-link); margin-top: 16px; display: block; }
.card-link:hover { color: #C7511F; }

/* ── PRODUCT CARDS (shop) ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; background: var(--bg); }
.product-card { background: var(--card); border: 1px solid transparent; padding: 12px; cursor: pointer; }
.product-card:hover { border-color: var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.product-card .img-placeholder { width: 100%; aspect-ratio: 1; background: #f7f7f7; display: flex; align-items: center; justify-content: center; font-size: 64px; margin-bottom: 8px; border-radius: 4px; }
.product-card .name { font-size: 14px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; line-height: 1.3; }
.product-card .stars { color: var(--star); font-size: 18px; }
.product-card .rating-count { color: var(--text-link); font-size: 12px; margin-left: 4px; }
.product-card .price { font-size: 18px; margin: 4px 0; }
.product-card .price .symbol { font-size: 12px; vertical-align: super; }
.product-card .price .amount { font-weight: 400; }
.product-card .prime { font-size: 11px; color: var(--text-secondary); margin: 2px 0; }
.product-card .prime img { height: 18px; vertical-align: middle; }
.product-card .delivery { font-size: 12px; color: var(--text-secondary); }
.product-card .deal { background: var(--red); color: #fff; display: inline-block; padding: 2px 6px; font-size: 11px; font-weight: 700; border-radius: 2px; margin: 2px 0; }
.product-card .save { font-size: 12px; color: var(--red); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 8px 20px; border-radius: 20px; font-size: 13px; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--accent); color: #111; font-weight: 500; border-radius: 20px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-cart { background: #FFD814; border-radius: 20px; padding: 6px 16px; font-size: 13px; cursor: pointer; border: none; width: 100%; }
.btn-cart:hover { background: #F7CA00; }
.btn-outline { background: #fff; border: 1px solid #D5D9D9; color: var(--text); box-shadow: 0 2px 5px rgba(213,217,217,.3); }
.btn-outline:hover { background: #F7FAFA; }

/* ── SECTION ── */
.section { padding: 20px 0; }
.section-title { font-size: 21px; font-weight: 700; margin-bottom: 12px; padding: 0 12px; }
.horizontal-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 12px 12px; scrollbar-width: none; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.h-scroll-card { min-width: 220px; background: var(--card); padding: 12px; }
.h-scroll-card .img-placeholder { width: 100%; aspect-ratio: 1; background: #f7f7f7; display: flex; align-items: center; justify-content: center; font-size: 48px; border-radius: 4px; margin-bottom: 8px; }
.h-scroll-card .price { font-size: 14px; font-weight: 500; }
.h-scroll-card .deal { background: var(--red); color: #fff; display: inline-block; padding: 2px 4px; font-size: 11px; font-weight: 700; margin: 2px 0; }

/* ── FEATURED BANNER ── */
.banner { background: linear-gradient(135deg, #FF9900, #FFB84D); color: #111; padding: 24px; border-radius: 4px; margin: 16px 0; text-align: center; }
.banner h2 { font-size: 24px; margin-bottom: 8px; }
.banner p { font-size: 15px; margin-bottom: 12px; }
.banner .btn { background: #111; color: #fff; }

/* ── TIMELINE / HOW IT WORKS ── */
.how-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.how-card { background: var(--card); padding: 20px 16px; text-align: center; }
.how-card .icon { font-size: 40px; margin-bottom: 8px; }
.how-card h3 { font-size: 16px; margin-bottom: 4px; }
.how-card p { font-size: 13px; color: var(--text-secondary); }

/* ── FORMS ── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 7px 10px; border: 1px solid #888C8C; border-radius: 3px; font-size: 14px; background: #fff; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,153,0,0.2); }
.upload-zone { border: 2px dashed #888C8C; border-radius: 4px; padding: 40px; text-align: center; cursor: pointer; background: #F7FAFA; }
.upload-zone:hover { border-color: var(--accent); background: #F0F4F4; }

/* ── FOOTER ── */
.back-to-top { background: #37475A; color: #fff; text-align: center; padding: 12px; cursor: pointer; font-size: 13px; }
.back-to-top:hover { background: #485769; }
footer { background: var(--nav-bg); color: #DDD; padding: 40px 20px 20px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto 30px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-col a { display: block; color: #DDD; font-size: 13px; padding: 2px 0; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { text-align: center; font-size: 12px; color: #999; border-top: 1px solid #3a4553; padding-top: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } .how-cards { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .cards { grid-template-columns: 1fr 1fr; } .nav-main { flex-wrap: wrap; } .nav-search { order: 3; max-width: 100%; flex-basis: 100%; } .product-grid { grid-template-columns: repeat(2, 1fr); } .footer-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } .nav-actions { font-size: 10px; } }

/* ── COMMUNITY PAGE ── */
.community-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 60px 20px; text-align: center; }
.community-hero-content h1 { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.community-hero-content p { font-size: 16px; color: #ccc; max-width: 700px; margin: 0 auto; line-height: 1.6; }
.community-hero-slogan { font-size: 20px; font-style: italic; color: var(--accent); margin: 16px 0 20px; font-weight: 400; letter-spacing: 1px; text-shadow: 0 0 40px rgba(255,153,0,0.3); }
.community-hero-icons { margin-top: 20px; font-size: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.community-hero-icons span { animation: float 3s ease-in-out infinite; }
.community-hero-icons span:nth-child(odd) { animation-delay: 0.5s; }
.community-hero-icons span:nth-child(even) { animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.community-tagline { background: linear-gradient(135deg, #FF9900, #FFB84D); color: #111; padding: 20px; text-align: center; margin: 0; font-size: 17px; font-weight: 600; }

.month-section { margin: 32px 0; }
.month-header { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 2px solid var(--accent); margin-bottom: 16px; }
.month-header h2 { font-size: 24px; color: var(--text); }
.month-count { font-size: 13px; color: var(--text-secondary); }
.month-empty { padding: 20px; text-align: center; color: var(--text-secondary); font-size: 14px; background: var(--card); border-radius: var(--radius); }

.holiday-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.holiday-card { display: flex; gap: 16px; background: var(--card); padding: 20px; border-radius: var(--radius); text-decoration: none; color: var(--text); border: 1px solid transparent; transition: all 0.2s; }
.holiday-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.1); text-decoration: none; color: var(--text); transform: translateY(-2px); }
.holiday-card-emoji { font-size: 48px; flex-shrink: 0; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: #f7f7f7; border-radius: 12px; }
.holiday-card-body { flex: 1; min-width: 0; }
.holiday-card-date { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.holiday-card-date-desc { color: var(--text-link); }
.holiday-card-body h3 { font-size: 17px; margin-bottom: 6px; color: var(--text); }
.holiday-card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.holiday-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.holiday-tag { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #e7f4fd; color: #007185; }
.holiday-tag-sub { background: #f0f0f0; color: #565959; }

.floating-section { background: linear-gradient(to right, #fef9e7, #fefcf5); padding: 24px; border-radius: var(--radius); border: 1px solid #f0e6c0; }

.community-cta { background: var(--card); padding: 40px; text-align: center; margin: 40px 0; border-radius: var(--radius); }
.community-cta h2 { font-size: 24px; margin-bottom: 8px; }
.community-cta p { color: var(--text-secondary); margin-bottom: 20px; }
.community-cta-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── HOLIDAY DETAIL PAGE ── */
.breadcrumb { padding: 16px 0; font-size: 12px; color: var(--text-secondary); }
.breadcrumb a { color: var(--text-link); }

.holiday-hero { padding: 50px 30px; text-align: center; color: #fff; border-radius: var(--radius); margin-bottom: 32px; }
.holiday-hero-emoji { font-size: 80px; margin-bottom: 16px; }
.holiday-hero h1 { font-size: 36px; margin-bottom: 8px; }
.holiday-hero-date { font-size: 15px; color: #ccc; margin-bottom: 12px; }
.holiday-hero-summary { font-size: 16px; color: #ddd; max-width: 650px; margin: 0 auto 16px; line-height: 1.6; }
.holiday-hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.holiday-tag-hero { font-size: 12px; padding: 4px 14px; border-radius: 20px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.holiday-content { max-width: 800px; margin: 0 auto 60px; }
.holiday-section { margin-bottom: 40px; }
.holiday-section h2 { font-size: 22px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.holiday-section p { font-size: 15px; line-height: 1.8; color: var(--text); }

.holiday-list { display: flex; flex-direction: column; gap: 10px; }
.holiday-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--card); border-radius: var(--radius); font-size: 14px; }
.holiday-list-num { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #111; border-radius: 50%; font-size: 13px; font-weight: 700; flex-shrink: 0; }

.holiday-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.holiday-deco-tag { display: inline-block; padding: 10px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; font-size: 14px; color: var(--text); text-decoration: none; transition: all 0.2s; }
.holiday-deco-tag:hover { border-color: var(--accent); background: #fef4e4; color: var(--text); text-decoration: none; transform: translateY(-2px); }

.holiday-food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.holiday-food-card { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card); border-radius: var(--radius); font-size: 14px; }
.holiday-food-icon { font-size: 20px; }

.holiday-fun-fact { }
.fun-fact-card { background: linear-gradient(135deg, #fef9e7, #fdf2d0); border: 1px solid #f0d78c; border-radius: var(--radius); padding: 24px; font-size: 16px; line-height: 1.7; }
.fun-fact-card p::before { content: "💡 "; }

.holiday-related { }
.holiday-related-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.related-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; background: var(--card); border-radius: var(--radius); text-decoration: none; color: var(--text); border: 1px solid var(--border); transition: all 0.2s; text-align: center; }
.related-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.08); text-decoration: none; color: var(--text); }
.related-card .related-icon { font-size: 36px; }
.related-card h3 { font-size: 16px; }
.related-card p { font-size: 13px; color: var(--text-secondary); }
