/* =========================================
   MIRRORIAN — Global Styles
   Minimal luxury, clean, mirror-inspired
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Stack+Sans+Headline:wght@200..700&family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');
:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #f2f2f2;
  --mid-gray: #e0e0e0;
  --border: #e8e8e8;
  --text-primary: #111111;
  --text-secondary: #303030;
  --text-muted: #585858;
  --accent: #111111;
  --accent-hover: #333333;
  --mirror-silver: #c8c8c8;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-mid: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.14);
  --radius: 2px;
  --radius-lg: 4px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Libre Baskerville",'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-wide {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 100px;
}

@media (max-width: 1200px) {
  .container-wide {
    padding: 0 32px;
  }
  
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn:hover {
  background: var(--text-primary);
  color: var(--white);
}

.btn-solid {
  background: var(--text-primary);
  color: var(--white);
}

.btn-solid:hover {
  background: #333;
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--white);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 0 20px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.navbar-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.navbar-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 3px;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-primary);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 500px) {
  .navbar-actions {
    gap: 0px;
  }
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-radius: 50%;
}

.icon-btn:hover {
  background: var(--light-gray);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon-wrap {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--text-primary);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search Bar */
.search-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.search-overlay.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-bottom-color: var(--text-primary);
}

.search-input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* Mobile nav toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ── Footer ── */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Mirror Reflection Divider ── */
.mirror-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.mirror-divider::before,
.mirror-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.mirror-divider span {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--mirror-silver);
  font-style: italic;
}

/* ── Page content wrapper ── */
.page-content {
  margin-top: 70px;
}

/* ── Messages ── */
.messages-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.alert-success { border-left: 3px solid #2d6a4f; }
.alert-warning { border-left: 3px solid #b89400; }
.alert-error { border-left: 3px solid #c1121f; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .navbar-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-mid);
  }

  .navbar-nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  width: 80px;
  height: 80px;
  bottom: 30px;
  right: 30px;
  background-color: #434343;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-mid);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebd5c;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
