/* Liana's Beauty — Shared Styles */
/* Colors: coral #E8724A | cream #FAF8F5 | dark #1E1B18 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: #fff; color: #1E1B18; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ─── Announcement Bar ─────────────────────────── */
.announcement-bar {
  background: #1E1B18; color: #fff; text-align: center;
  padding: 9px 16px; font-size: 12px; letter-spacing: 0.08em; font-weight: 400;
}
.announcement-bar a { color: #E8724A; margin-left: 6px; }

/* ─── Header ───────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.97); border-bottom: 1px solid #EAE7E4;
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 600; letter-spacing: 0.18em;
  color: #1E1B18; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.logo span { color: #E8724A; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.nav-link {
  font-size: 13px; font-weight: 400; color: #5C5550;
  letter-spacing: 0.04em; position: relative; transition: color 0.2s; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: #E8724A; transition: right 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: #E8724A; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #3D3834;
  background: transparent; border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s; position: relative;
}
.icon-btn:hover { background: #F5F3F1; color: #E8724A; }
.cart-count {
  position: absolute; top: 4px; right: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #E8724A; color: #fff; font-size: 9px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; }

/* ─── Mobile Menu ──────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: #fff;
  z-index: 200; flex-direction: column; overflow-y: auto; padding: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid #EAE7E4;
}
.mobile-menu-nav { padding: 16px 24px; flex: 1; }
.mobile-menu-item {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500;
  color: #1E1B18; padding: 14px 0; border-bottom: 1px solid #F0EDE9;
  transition: color 0.2s;
}
.mobile-menu-item:hover { color: #E8724A; }
.mobile-menu-footer {
  padding: 24px; border-top: 1px solid #EAE7E4;
  display: flex; gap: 16px;
}

/* ─── Buttons ──────────────────────────────────── */
.btn-coral {
  display: inline-flex; align-items: center; gap: 8px;
  background: #E8724A; color: #fff; padding: 13px 28px; border-radius: 40px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-coral:hover { background: #D4562E; transform: translateY(-2px); }
.btn-coral:active { transform: translateY(0); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1E1B18; color: #fff; padding: 13px 28px; border-radius: 40px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-dark:hover { background: #E8724A; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #1E1B18; padding: 12px 28px; border-radius: 40px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  border: 1px solid #D4CFC9; cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: #E8724A; color: #E8724A; }
.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  color: #1E1B18; font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.btn-text .circle-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 14px;
}
.btn-text:hover { color: #E8724A; }
.btn-text:hover .circle-arrow { background: #E8724A; border-color: #E8724A; color: #fff; }

/* ─── Section Commons ──────────────────────────── */
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #E8724A; margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 600;
  letter-spacing: -0.02em; color: #1E1B18; line-height: 1.15;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-title { margin-bottom: 16px; }
.section-header p { font-size: 15px; color: #7A736A; line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* ─── Product Card ─────────────────────────────── */
.product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(30,27,24,0.1); }
.product-img-wrap {
  position: relative; background: #F5F3F1; overflow: hidden; aspect-ratio: 1;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 20px; font-size: 10px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; z-index: 1;
}
.badge-new { background: #1E1B18; color: #fff; }
.badge-sale { background: #E8724A; color: #fff; }
.badge-best { background: rgba(232,114,74,0.12); color: #E8724A; }
.product-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(8px); transition: opacity 0.3s, transform 0.3s; z-index: 1;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12); color: #3D3834; transition: background 0.2s, color 0.2s;
}
.action-btn:hover { background: #E8724A; color: #fff; }
.quick-add {
  position: absolute; bottom: -52px; left: 0; right: 0;
  background: #1E1B18; color: #fff; text-align: center; padding: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: bottom 0.3s ease; cursor: pointer; border: none; z-index: 1;
}
.product-card:hover .quick-add { bottom: 0; }
.quick-add:hover { background: #E8724A; }
.product-info { padding: 16px; }
.product-cat {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #E8724A; margin-bottom: 6px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600;
  color: #1E1B18; line-height: 1.2; margin-bottom: 8px;
}
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: #F5A623; font-size: 12px; letter-spacing: 1px; }
.rating-n { font-size: 11px; color: #B8B2AB; }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price { font-size: 18px; font-weight: 600; color: #E8724A; }
.price-old { font-size: 13px; color: #B8B2AB; text-decoration: line-through; }

/* ─── Footer ───────────────────────────────────── */
.site-footer { background: #1E1B18; color: #fff; }
.footer-main { padding: 64px 0 48px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr; gap: 48px;
}
.footer-logo { display: block; margin-bottom: 16px; }
.footer-desc { font-size: 13px; line-height: 1.75; color: #7A736A; margin-bottom: 20px; max-width: 200px; }
.footer-email-link {
  font-size: 13px; color: #E8724A; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.footer-email-link:hover { color: #F0A080; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: #7A736A; transition: color 0.2s; }
.footer-links a:hover { color: #E8724A; }
.footer-input-wrap {
  display: flex; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
}
.footer-input {
  flex: 1; padding: 10px 14px; background: transparent; border: none;
  outline: none; color: #fff; font-size: 13px; font-family: 'DM Sans', sans-serif;
}
.footer-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-input-btn {
  background: #E8724A; border: none; padding: 10px 14px;
  cursor: pointer; color: #fff; transition: background 0.2s; font-size: 16px;
}
.footer-input-btn:hover { background: #D4562E; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 24px 32px;
  max-width: 1280px; margin: 0 auto; display: flex;
  justify-content: space-between; align-items: center;
}
.copyright { font-size: 12px; color: #5C5550; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #7A736A; font-size: 13px; transition: all 0.2s;
}
.social-link:hover { background: #E8724A; border-color: #E8724A; color: #fff; }

/* ─── Mobile Bottom Nav ────────────────────────── */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #EAE7E4; z-index: 100;
  padding: 8px 0 env(safe-area-inset-bottom, 12px);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.07);
}
.bottom-nav-items { display: flex; justify-content: space-around; }
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 20px; color: #B8B2AB; font-size: 10px; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.2s;
}
.bottom-nav-item.active { color: #E8724A; }
.bottom-nav-item:hover { color: #E8724A; }
.bottom-nav-icon { font-size: 22px; line-height: 1; }

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { height: 60px; padding: 0 16px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section-inner { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
