/* ============================================
   RomanticSuperstore.com — Standalone E-Commerce
   Brand Color: Red #CC0000
   Font: Poppins
   ============================================ */

:root {
  --brand: #CC0000;
  --brand-dark: #A30000;
  --brand-light: #E84040;
  --brand-gradient: linear-gradient(135deg, #CC0000, #E84040);
  --text-dark: #111111;
  --text-body: #333333;
  --text-light: #999;
  --bg: #ffffff;
  --bg-light: #f6f6f6;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --max-width: 1400px;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--text-body); background: var(--bg); line-height: 1.6; font-size: 14px; }
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 600; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 30px; }

.btn { display: inline-block; padding: 12px 28px; border: none; border-radius: 30px; font-size: 13px; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; transition: all var(--transition); text-align: center; text-transform: uppercase; letter-spacing: 0.05em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: white; }
.btn-sm { padding: 8px 20px; font-size: 11px; }
.btn-lg { padding: 13px 48px; font-size: 14px; }
.btn-white { background: white; color: var(--brand); }
.btn-white:hover { background: var(--bg-light); color: var(--brand-dark); }

.announcement-bar { background: var(--brand); color: white; text-align: center; padding: 10px 20px; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; position: relative; }
.announcement-bar a { color: white; text-decoration: underline; font-weight: 700; }
.announcement-bar .close-bar { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: white; font-size: 18px; cursor: pointer; opacity: 0.7; }

.site-header { background: var(--bg); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #eee; }
.header-top { max-width: var(--max-width); margin: 0 auto; padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 55px; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--brand); letter-spacing: -0.5px; }
.logo-tagline { font-size: 9px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; }

.header-search { flex: 1; max-width: 500px; position: relative; }
.header-search input { width: 100%; padding: 12px 50px 12px 20px; border: 2px solid #e0e0e0; border-radius: 30px; font-size: 13px; font-family: 'Poppins', sans-serif; background: var(--bg-light); outline: none; transition: border-color var(--transition); }
.header-search input:focus { border-color: var(--brand); background: white; }
.header-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: none; background: var(--brand); color: white; border-radius: 50%; cursor: pointer; font-size: 16px; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-action { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--text-body); cursor: pointer; transition: color var(--transition); text-decoration: none; }
.header-action:hover { color: var(--brand); }
.header-action-icon { font-size: 22px; margin-bottom: 2px; }
.cart-badge { position: relative; }
.cart-badge .cart-count { position: absolute; top: -6px; right: -10px; background: var(--brand); color: white; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-dark); }

.main-nav { background: var(--brand); }
.main-nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 30px; display: flex; align-items: stretch; justify-content: center; }
.main-nav a { color: white; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 18px; transition: background var(--transition); white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: rgba(0,0,0,0.2); color: white; }

.hero { background: var(--brand-gradient); padding: 80px 40px; text-align: center; color: white; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: rgba(255,255,255,0.05); transform: rotate(15deg); }
.hero h1 { font-size: 44px; color: white; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 8px; position: relative; }
.hero .tagline { font-size: 18px; opacity: 0.9; margin-bottom: 8px; font-weight: 400; font-style: italic; color: white; }
.hero .hero-sub { font-size: 14px; opacity: 0.8; margin-bottom: 30px; }
.hero-logo { max-height: 80px; margin-bottom: 16px; }

.section-title { text-align: center; font-size: 24px; font-weight: 600; color: var(--text-dark); margin: 50px 0 30px; text-transform: uppercase; letter-spacing: 0.05em; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--brand); margin: 12px auto 0; border-radius: 2px; }

.home-cards { max-width: var(--max-width); margin: 0 auto 40px; padding: 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-card { background: var(--bg-light); border-radius: var(--radius); padding: 36px; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-card h3 { font-size: 18px; margin-bottom: 12px; }
.home-card p { margin-bottom: 20px; color: var(--text-body); font-size: 13px; }

.category-bar { max-width: var(--max-width); margin: 30px auto 0; padding: 0 30px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.category-btn { padding: 8px 20px; border: 2px solid #e0e0e0; border-radius: 30px; font-size: 12px; font-weight: 500; font-family: 'Poppins', sans-serif; color: var(--text-body); background: white; cursor: pointer; transition: all var(--transition); text-transform: uppercase; }
.category-btn:hover, .category-btn.active { border-color: var(--brand); color: var(--brand); background: rgba(204,0,0,0.05); }

.page-banner { background: var(--brand); text-align: center; padding: 45px 20px; }
.page-banner h1 { color: white; font-size: 32px; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }
.page-banner p { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 8px; }

.shop-controls { max-width: var(--max-width); margin: 0 auto 20px; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.shop-controls span { font-size: 13px; color: var(--text-light); }
.shop-controls select { padding: 8px 16px; border: 1px solid #ddd; border-radius: 30px; font-size: 12px; font-family: 'Poppins', sans-serif; background: white; }
.product-grid { max-width: var(--max-width); margin: 0 auto 60px; padding: 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; border: 1px solid #eee; position: relative; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.product-card-img-wrap { position: relative; background: var(--bg-light); overflow: hidden; }
.product-card-img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; transition: transform var(--transition); }
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; opacity: 0; transform: translateY(10px); transition: all var(--transition); }
.product-card:hover .product-card-actions { opacity: 1; transform: translateY(0); }
.product-card-actions .btn { width: 100%; font-size: 11px; padding: 10px; }
.product-card-info { padding: 14px 16px; }
.product-card-name { font-size: 13px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { font-size: 16px; color: var(--brand); font-weight: 700; }
.product-card-rating { margin-top: 6px; color: #f5a623; font-size: 12px; }

.search-bar { max-width: var(--max-width); margin: 0 auto 20px; padding: 0 30px; }
.search-bar input { width: 100%; padding: 12px 24px; border: 2px solid #e0e0e0; border-radius: 30px; font-size: 14px; font-family: 'Poppins', sans-serif; outline: none; transition: border-color var(--transition); }
.search-bar input:focus { border-color: var(--brand); }

.product-detail { max-width: var(--max-width); margin: 40px auto 60px; padding: 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.product-detail-img-wrap { background: var(--bg-light); border-radius: var(--radius); padding: 30px; display: flex; align-items: center; justify-content: center; }
.product-detail-img { max-width: 100%; max-height: 500px; object-fit: contain; }
.product-detail-info h1 { font-size: 26px; margin-bottom: 16px; line-height: 1.3; }
.product-detail-price { font-size: 28px; color: var(--brand); font-weight: 700; margin-bottom: 20px; }
.product-detail-desc { margin-bottom: 28px; line-height: 1.8; color: var(--text-body); }
.product-detail-actions { display: flex; gap: 12px; align-items: center; }
.qty-input { width: 70px; padding: 12px; border: 2px solid #e0e0e0; border-radius: var(--radius); text-align: center; font-size: 16px; font-family: 'Poppins', sans-serif; }

.cart-page { max-width: 900px; margin: 40px auto 60px; padding: 0 30px; }
.cart-table { width: 100%; background: var(--bg); border-radius: var(--radius); border: 1px solid #eee; overflow: hidden; }
.cart-table th { background: var(--text-dark); color: white; padding: 14px 16px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.cart-table img { width: 60px; height: 60px; object-fit: contain; border-radius: 4px; background: var(--bg-light); }
.cart-remove { color: #e53935; cursor: pointer; font-weight: 700; border: none; background: none; font-size: 18px; }
.cart-total-row { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 24px; }
.cart-total { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 16px; }

.content-page { max-width: 800px; margin: 40px auto 60px; padding: 0 30px; }
.content-page h2 { font-size: 22px; margin-bottom: 16px; }
.content-page p { margin-bottom: 16px; line-height: 1.8; }
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 500px; }
.contact-form input, .contact-form textarea, .newsletter-form input { padding: 12px 18px; border: 2px solid #e0e0e0; border-radius: var(--radius); font-size: 13px; font-family: 'Poppins', sans-serif; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); outline: none; }
.contact-form textarea { min-height: 120px; resize: vertical; }

.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.location-card { background: white; border: 2px solid #eee; border-radius: var(--radius); padding: 30px; text-align: center; transition: all var(--transition); }
.location-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.location-card h3 { color: var(--brand); font-size: 20px; margin-bottom: 12px; }
.location-card p { font-size: 13px; margin-bottom: 6px; }

.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-item summary { font-weight: 600; font-size: 15px; cursor: pointer; color: var(--text-dark); list-style: none; }
.faq-item summary::before { content: '+ '; color: var(--brand); font-weight: 700; }
.faq-item[open] summary::before { content: '− '; }
.faq-item p { margin-top: 12px; color: var(--text-body); line-height: 1.8; }

.site-footer { background: var(--text-dark); color: #aaa; padding: 50px 0 0; margin-top: 60px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-logo { font-size: 22px; font-weight: 700; color: var(--brand-light); display: block; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 13px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #aaa; font-size: 13px; }
.footer-col ul a:hover { color: var(--brand-light); }
.footer-product { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; color: #aaa; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-price { color: var(--brand-light); font-weight: 600; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: white; border-radius: 30px; }
.newsletter-form input::placeholder { color: #666; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { font-size: 20px; }
.footer-bottom { text-align: center; padding: 20px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: #555; }

.spin-trigger { position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: white; font-size: 28px; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(204,0,0,0.4); z-index: 90; display: flex; align-items: center; justify-content: center; }
.spin-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.spin-container { background: white; border-radius: 16px; padding: 30px; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.spin-container h2 { font-size: 22px; margin-bottom: 16px; color: var(--brand); }
.spin-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: #999; }
.spin-btn { margin-top: 16px; }
.spin-result { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--brand); }

@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .home-cards { grid-template-columns: 1fr 1fr; } .locations-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .home-cards { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: repeat(2, 1fr); } .product-detail { grid-template-columns: 1fr; } .header-search { display: none; } .hero { padding: 50px 20px; } .hero h1 { font-size: 32px; } .locations-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr; } .main-nav { display: none; } .main-nav.open { display: block; } .main-nav.open .main-nav-inner { flex-direction: column; } .mobile-menu-btn { display: block; } }
