/* Alize Jewellery — Global theme styles */

:root {
  --navy: #14213d;
  --navy-deep: #0c1626;
  --navy-soft: #1e3054;
  --gold: #c6a664;
  --gold-light: #e4cd94;
  --gold-dark: #a5824a;
  --cream: #f4efe4;
  --cream-2: #ece2d0;
  --ink: #221f1a;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(12, 22, 38, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body.alize-theme {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.alize-theme h1,
body.alize-theme h2,
body.alize-theme h3,
body.alize-theme .serif {
  font-family: 'Cormorant Garamond', serif;
}

body.alize-theme .logo-font {
  font-family: 'Marcellus', serif;
}

body.alize-theme a {
  text-decoration: none;
  color: inherit;
}

body.alize-theme ul {
  list-style: none;
}

body.alize-theme img {
  max-width: 100%;
  display: block;
}

body.alize-theme .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

body.alize-theme .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 38px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

body.alize-theme .btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

body.alize-theme .btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(198, 166, 100, 0.35);
}

body.alize-theme .btn-outline {
  border-color: var(--gold);
  color: var(--cream);
}

body.alize-theme .btn-outline:hover {
  background: rgba(198, 166, 100, 0.12);
  transform: translateY(-2px);
}

body.alize-theme .btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

body.alize-theme .btn-outline-dark:hover {
  background: var(--navy);
  color: var(--cream);
}

body.alize-theme .eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

body.alize-theme .eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold-dark);
}

body.alize-theme main.site-main {
  min-height: 40vh;
}

/* Top utility bar */
body.alize-theme .topbar {
  background: var(--navy-deep);
  color: var(--cream-2);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 9px 0;
}

body.alize-theme .topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.alize-theme .topbar-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}

body.alize-theme .topbar-ticker {
  position: relative;
  min-height: 18px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}

body.alize-theme .topbar-ticker-item {
  display: none;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.45s ease;
}

body.alize-theme .topbar-ticker-item.is-active {
  display: block;
  opacity: 1;
}

body.alize-theme .topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

body.alize-theme .topbar-right a.is-active {
  color: var(--gold-light);
}

body.alize-theme .topbar a:hover {
  color: var(--gold-light);
}

/* Header / Nav */
body.alize-theme header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

body.alize-theme nav.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

body.alize-theme .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.alize-theme .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3d63, var(--navy-deep));
  border: 1px solid rgba(198, 166, 100, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
}

body.alize-theme .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.alize-theme .brand-text {
  line-height: 1;
}

body.alize-theme .brand-text .name {
  font-family: 'Marcellus', serif;
  color: var(--gold-light);
  font-size: 21px;
  letter-spacing: 2px;
}

body.alize-theme .brand-text .tag {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--cream-2);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

body.alize-theme .nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

body.alize-theme .nav-links a {
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}

body.alize-theme .nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

body.alize-theme .nav-links a:hover::after,
body.alize-theme .nav-links a.is-active::after {
  width: 100%;
}

body.alize-theme .nav-links a:hover,
body.alize-theme .nav-links a.is-active {
  color: var(--gold-light);
}

body.alize-theme .nav-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}

body.alize-theme .nav-icons a,
body.alize-theme .nav-icons button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.alize-theme .nav-icons svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

body.alize-theme .nav-icons a:hover,
body.alize-theme .nav-icons button:hover {
  color: var(--gold-light);
}

body.alize-theme .cart-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.alize-theme .hamburger {
  display: none !important;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

/* Mobile menu — fullscreen app style */
body.alize-theme .mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 12500;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
  padding: 0;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.38s ease, opacity 0.38s ease, visibility 0.38s ease;
  overflow: hidden;
}

body.alize-theme .mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

body.alize-theme .mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(198, 166, 100, 0.2);
  flex-shrink: 0;
}

body.alize-theme .mobile-menu-brand .name {
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 2px;
}

body.alize-theme .mobile-menu-brand .tag {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
}

body.alize-theme .mobile-menu-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(198, 166, 100, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.alize-theme .mobile-menu-close:hover {
  background: rgba(198, 166, 100, 0.15);
  border-color: var(--gold);
}

body.alize-theme .mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 22px calc(28px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

body.alize-theme .mobile-menu-nav a {
  display: block;
  color: var(--cream);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}

body.alize-theme .mobile-menu-nav a:active {
  color: var(--gold-light);
}

body.alize-theme.alize-menu-open {
  overflow: hidden;
}

/* Footer */
body.alize-theme footer.site-footer {
  background: var(--navy);
  color: rgba(244, 239, 228, 0.75);
  padding-top: 80px;
}

body.alize-theme .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.alize-theme .footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  margin: 20px 0 26px;
  color: rgba(244, 239, 228, 0.6);
}

body.alize-theme .foot-social {
  display: flex;
  gap: 12px;
}

body.alize-theme .foot-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(198, 166, 100, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

body.alize-theme .foot-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

body.alize-theme .foot-social svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold-light);
}

body.alize-theme .foot-social a:hover svg {
  stroke: var(--navy-deep);
}

body.alize-theme footer.site-footer h4 {
  font-family: 'Marcellus', serif;
  color: var(--gold-light);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

body.alize-theme footer.site-footer ul li {
  margin-bottom: 12px;
  font-size: 13.5px;
}

body.alize-theme footer.site-footer ul li a:hover {
  color: var(--gold-light);
}

body.alize-theme .foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

body.alize-theme .foot-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

body.alize-theme .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(244, 239, 228, 0.5);
  flex-wrap: wrap;
  gap: 14px;
}

body.alize-theme .pay-icons {
  display: flex;
  gap: 10px;
}

body.alize-theme .pay-icons span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Global responsive */
@media (max-width: 1080px) {
  body.alize-theme .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 768px) {
  body.alize-theme .topbar {
    display: none;
  }

  body.alize-theme .nav-links {
    display: none;
  }

  body.alize-theme .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  body.alize-theme .container {
    padding: 0 22px;
  }

  body.alize-theme .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  body.alize-theme .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 769px) {
  body.alize-theme .hamburger {
    display: none !important;
  }

  body.alize-theme .mobile-menu {
    display: none !important;
  }
}
