/* ── Google Font: Plus Jakarta Sans ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;700&family=Dancing+Script:wght@700&display=swap');

/* ── Variables ── */
:root {
  --primary:   #E2725B;
  --primary-dk:#c45a44;
  --bg:        #FFF5E1;
  --text:      #3D2B1F;
  --gold:      #9CAF88;
  --peach:     #fdebd0;
  --white:     #ffffff;
  --card-bg:   #fffdf8;
  --border:    #e8d5c0;
  --shadow-sm: 0 2px 12px rgba(61,43,31,0.08);
  --shadow-md: 0 6px 24px rgba(61,43,31,0.12);
  --shadow-lg: 0 12px 40px rgba(61,43,31,0.16);
  --radius:    14px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
nav {
  background: #3D2B1F;
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 16px rgba(61,43,31,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
nav .logo img { height: 52px; width: 52px; object-fit: cover; object-position: center; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
nav .logo span { font-family: 'Dancing Script', cursive; font-size: 2.1rem; color: #FFF5E1; letter-spacing: 1px; }
nav .nav-links a {
  color: rgba(255,245,225,0.88);
  text-decoration: none;
  margin-left: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}
nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #E2725B;
  transition: width 0.25s;
}
nav .nav-links a:hover { color: #E2725B; }
nav .nav-links a:hover::after { width: 100%; }
nav .cart-icon { position: relative; }
nav .cart-icon span {
  background: #E2725B;
  color: #ffffff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  position: absolute;
  top: -8px; right: -10px;
}

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF5E1;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  nav { padding: 12px 20px; flex-wrap: wrap; position: relative; }
  nav .logo img { height: 40px; width: 40px; object-fit: cover; object-position: center; }
  nav .logo span { font-size: 1.6rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px 0 8px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    margin-left: 0;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .cart-icon span { top: -6px; right: -12px; }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #3D2B1F 0%, #5c3d2e 50%, #3D2B1F 100%);
  color: #FFF5E1;
  text-align: center;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(226,114,91,0.2) 0%, transparent 65%);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 14px;
  color: #FFF5E1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: relative;
}
.hero p { font-size: 1.1rem; color: rgba(255,245,225,0.85); margin-bottom: 30px; position: relative; }
.hero a, .hero .btn-primary, .hero .btn-ghost {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  position: relative;
  margin: 0 8px;
}
.hero .btn-primary, .hero a:not(.btn-ghost) {
  background: #E2725B;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(226,114,91,0.4);
  border: 2px solid #E2725B;
}
.hero .btn-primary:hover, .hero a:not(.btn-ghost):hover {
  background: #c45a44;
  border-color: #c45a44;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,114,91,0.45);
}
.hero .btn-ghost {
  background: transparent;
  color: #FFF5E1;
  border: 2px solid rgba(255,245,225,0.5);
}
.hero .btn-ghost:hover {
  background: rgba(255,245,225,0.12);
  border-color: #FFF5E1;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 0.95rem; }
  .hero a, .hero .btn-primary, .hero .btn-ghost { padding: 11px 24px; font-size: 0.88rem; margin: 4px 6px; }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #fdebd0;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3D2B1F;
  flex-wrap: wrap;
  letter-spacing: 0.2px;
}

/* ── SECTION TITLE ── */
.section-title {
  text-align: center;
  padding: 48px 20px 22px;
  font-size: 1.9rem;
  color: #3D2B1F;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  width: 100%;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 768px) {
  .section-title { font-size: 1.5rem; padding: 32px 16px 16px; }
}

/* ── CAROUSEL ── */
.collection-carousel-wrapper {
  overflow: hidden;
  margin: 8px 0 44px;
  padding: 18px 0;
  background: linear-gradient(90deg, #c45a44 0%, #E2725B 50%, #c45a44 100%);
  border-top: 2px solid rgba(156,175,136,0.5);
  border-bottom: 2px solid rgba(156,175,136,0.5);
  box-shadow: 0 4px 18px rgba(226,114,91,0.35);
}
.collection-carousel {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  align-items: center;
}
.collection-carousel:hover { animation-play-state: paused; }
.collection-carousel span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0 24px;
  letter-spacing: 0.6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.collection-carousel span::before { content: '🎁'; margin-right: 10px; font-size: 1rem; }
@media (max-width: 768px) {
  .collection-carousel-wrapper { padding: 14px 0; margin: 6px 0 32px; }
  .collection-carousel span { font-size: 0.92rem; padding: 0 16px; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 20px 48px 70px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 24px 70px; }
}
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; padding: 20px 16px 70px; }
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: #E2725B;
}
.product-card img { width: 100%; height: 240px; object-fit: contain; background: #FFF5E1; padding: 12px; }
.product-card .info { padding: 16px 18px 18px; }
.product-card .info h3 { font-size: 0.97rem; margin-bottom: 4px; color: #3D2B1F; font-weight: 600; }
.product-card .info small { color: #9CAF88; font-size: 0.8rem; font-weight: 600; }
.product-card .info .price { color: #E2725B; font-weight: 700; font-size: 1.15rem; margin-top: 6px; }
.price-original { text-decoration: line-through; color: #aaa; font-size: 0.9em; font-weight: 500; margin-right: 6px; }
.price-discounted { color: #E2725B; font-weight: 700; }
.product-card .info button {
  margin-top: 12px;
  width: 100%;
  padding: 11px;
  background: #E2725B;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}
.product-card .info button:hover { background: #c45a44; transform: scale(1.02); }

/* ── BADGE ── */
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #9CAF88;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ── AUTH ── */
.auth-container {
  max-width: 430px;
  margin: 80px auto;
  background: var(--card-bg);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
@media (max-width: 480px) {
  .auth-container { margin: 24px 16px; padding: 28px 20px; }
  .auth-container h2 { font-size: 1.3rem; }
}
.auth-container h2 { text-align: center; margin-bottom: 28px; color: #E2725B; font-family: 'Playfair Display', serif; font-size: 1.6rem; }
.auth-tabs { display: flex; margin-bottom: 28px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.auth-tabs button {
  flex: 1; padding: 11px;
  border: none; background: #fdebd0;
  cursor: pointer; font-size: 0.95rem;
  transition: background 0.2s; color: #888;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.auth-tabs button.active { background: #E2725B; color: #ffffff; font-weight: 600; }
.auth-form input {
  width: 100%; padding: 12px 14px;
  margin-bottom: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; color: #3D2B1F;
  background: var(--card-bg);
  transition: border-color 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.auth-form input:focus { outline: none; border-color: #E2725B; }
.auth-form button {
  width: 100%; padding: 13px;
  background: #E2725B; color: #ffffff;
  border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.auth-form button:hover { background: #c45a44; }
.msg { text-align: center; margin-top: 12px; font-size: 0.9rem; color: #E2725B; }

/* ── CART ── */
.cart-container { max-width: 820px; margin: 48px auto; padding: 0 24px; }
.cart-container h2 { margin-bottom: 28px; color: #3D2B1F; font-family: 'Playfair Display', serif; font-size: 1.7rem; }
.cart-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: #FFF5E1; flex-shrink: 0; }
.cart-item .item-info { flex: 1; min-width: 0; }
.cart-item .item-info h4 { margin-bottom: 5px; color: #3D2B1F; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item .item-info p { color: #E2725B; font-weight: 700; }
.cart-item .remove-btn { background: none; border: none; color: #ccc; font-size: 1.2rem; cursor: pointer; transition: color 0.2s; flex-shrink: 0; }
.cart-item .remove-btn:hover { color: #E2725B; }
.cart-summary {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: right;
}
.cart-summary h3 { margin-bottom: 16px; font-size: 1.3rem; color: #3D2B1F; }
.cart-summary button {
  background: #E2725B; color: #ffffff;
  border: none; padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.cart-summary button:hover { background: #c45a44; }
.empty-cart { text-align: center; padding: 70px 20px; color: #aaa; font-size: 1.1rem; }
.empty-cart a {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 28px;
  background: #E2725B;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .cart-item { padding: 12px 14px; gap: 12px; }
  .cart-item img { width: 58px; height: 58px; }
}

/* ── CHECKOUT ── */
.checkout-container {
  max-width: 500px;
  margin: 64px auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}
.checkout-container h2 { color: #E2725B; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.checkout-container .amount { font-size: 2rem; color: #E2725B; font-weight: 700; margin: 16px 0; }
.checkout-container p { color: #777; margin-bottom: 20px; font-size: 0.95rem; }
.checkout-container button {
  background: #E2725B; color: #ffffff;
  border: none; padding: 14px 38px;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.checkout-container button:hover { background: #c45a44; }
.success-msg { color: #9CAF88; font-size: 1.05rem; margin-top: 16px; display: none; }

/* ── FOOTER ── */
footer {
  background: #3D2B1F;
  color: rgba(255,245,225,0.75);
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  border-top: 3px solid rgba(226,114,91,0.4);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,245,225,0.12);
}
.footer-brand .footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #FFF5E1;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,245,225,0.5);
  max-width: 220px;
  line-height: 1.7;
}
.footer-features { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-feat { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: rgba(255,245,225,0.7); white-space: nowrap; }
.footer-feat-icon {
  width: 34px; height: 34px;
  background: rgba(226,114,91,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.footer-feat div strong { display: block; color: #FFF5E1; font-size: 0.85rem; margin-bottom: 1px; }
.footer-feat div span { font-size: 0.76rem; color: rgba(255,245,225,0.45); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,245,225,0.4); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,245,225,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: #E2725B;
  transition: width 0.25s;
}
.footer-links a:hover { color: #E2725B; }
.footer-links a:hover::after { width: 100%; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(61,43,31,0.15);
  border: 1px solid var(--border);
  z-index: 99998;
  padding: 20px 24px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
  opacity: 0;
}
#cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
#cookie-banner.hide { transform: translateX(-50%) translateY(120px); opacity: 0; }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-text { display: flex; align-items: flex-start; gap: 14px; flex: 1; }
.cookie-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.cookie-text strong { display: block; color: #3D2B1F; font-size: 0.95rem; margin-bottom: 4px; }
.cookie-text p { color: #777; font-size: 0.82rem; line-height: 1.5; margin: 0; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button { padding: 10px 22px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; font-family: 'Plus Jakarta Sans', sans-serif; }
#cookie-decline { background: transparent; color: #999; border: 1.5px solid #ddd; }
#cookie-decline:hover { border-color: #E2725B; color: #E2725B; }
#cookie-accept { background: #E2725B; color: #ffffff; }
#cookie-accept:hover { background: #c45a44; transform: scale(1.03); }

/* ── PROMO BANNER ── */
.promo-banner {
  display: block;
  text-decoration: none;
  margin: 0 0 44px;
  background: linear-gradient(135deg, #3D2B1F 0%, #5c3d2e 40%, #7a4f3a 100%);
  border-top: 2px solid rgba(226,114,91,0.5);
  border-bottom: 2px solid rgba(226,114,91,0.5);
  box-shadow: 0 6px 28px rgba(61,43,31,0.22);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(226,114,91,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(61,43,31,0.3);
}
.promo-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.promo-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E2725B;
  background: rgba(226,114,91,0.15);
  border: 1px solid rgba(226,114,91,0.4);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}
.promo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFF5E1;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.promo-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-original {
  font-size: 1rem;
  color: rgba(255,245,225,0.45);
  text-decoration: line-through;
  font-weight: 500;
}
.promo-offer {
  font-size: 1.5rem;
  font-weight: 800;
  color: #E2725B;
  letter-spacing: 0.3px;
}
.promo-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}
.promo-subtitle-left {
  font-size: 0.95rem;
  color: rgba(255,245,225,0.72);
  font-weight: 500;
  line-height: 1.5;
}
.promo-subtitle {
  font-size: 0.95rem;
  color: rgba(255,245,225,0.72);
  font-weight: 500;
  max-width: 300px;
  line-height: 1.5;
}
.promo-cta {
  display: inline-block;
  background: #E2725B;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 30px;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 14px rgba(226,114,91,0.4);
  transition: background 0.2s, transform 0.2s;
}
.promo-banner:hover .promo-cta {
  background: #c45a44;
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .promo-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }
  .promo-main { font-size: 1.3rem; }
  .promo-offer { font-size: 1.25rem; }
  .promo-right { align-items: flex-start; text-align: left; }
  .promo-subtitle { max-width: 100%; font-size: 0.88rem; }
}

/* ── Cut price / discounted price ── */
.price-original {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.85em;
  font-weight: 500;
  margin-right: 6px;
}
.price-discounted {
  color: var(--primary);
  font-weight: 700;
}
.product-card .price-original {
  font-size: 0.82rem;
  color: #aaa;
  text-decoration: line-through;
  margin-right: 4px;
}
.product-card .price-discounted {
  color: #E2725B;
  font-weight: 700;
}

/* ── Nav active ── */
nav .nav-links a.nav-active { color: #E2725B !important; font-weight: 700; }
nav .nav-links a.nav-active::after { width: 100% !important; }
