/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fff;
  overscroll-behavior-y: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: #202020; /* Dark Grey */
  color: #fff;
  text-align: center;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 100;
  font-weight: 500;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.announcement-bar a:hover {
  color: #ccc;
}

.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  transition: color 0.2s;
  line-height: 1;
}

.announcement-close:hover {
  color: #fff;
}

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 32px 16px;
  margin-top: 0;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  overflow: visible;
}

.page-home .header {
  top: 40px;
}




.header:hover {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

/* Scrolled / sticky state */
.header.scrolled {
  position: fixed;
  top: 0;
  margin-top: 0;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  padding: 14px 32px;
  align-items: center;
}

.header.scrolled .logo {
  display: none;
}

.header.scrolled .nav-icon,
.page-jewelry .header .nav-icon,
.page-product .header .nav-icon,
.page-custom .header .nav-icon {
  color: #111;
}

.header.scrolled .nav-icon:hover,
.page-jewelry .header .nav-icon:hover,
.page-product .header .nav-icon:hover,
.page-custom .header .nav-icon:hover {
  color: #d4af37;
}

.header.scrolled .nav-link {
  color: #444;
}

.header.scrolled .nav-link:hover {
  color: #111;
}

.header.scrolled .header-center {
  gap: 0;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-right {
  justify-content: flex-end;
}

.header-home-logo {
  display: flex;
  align-items: center;
}

.header-home-logo img {
  height: 28px;
  width: auto;
  filter: invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.header-home-logo:hover img {
  opacity: 1;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s;
  min-width: 40px;
  text-align: center;
  line-height: 1;
}

.lang-switch-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.header:hover .lang-switch-btn,
.header.scrolled .lang-switch-btn {
  border-color: #111;
  color: #111;
}

.header:hover .lang-switch-btn:hover,
.header.scrolled .lang-switch-btn:hover {
  background: #111;
  color: #fff;
}

.nav-icon {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.heart-icon {
  color: #111 !important;
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  display: inline-block;
  line-height: 1;
}

/* Ensure emojis in text also stay black if possible */
.summary-item-desc {
  color: #666;
}

.header:hover .nav-icon {
  color: #111;
}

.header:hover .nav-icon:hover {
  color: #d4af37;
}

/* Logo */
.logo {
  transition: height 0.35s ease, opacity 0.35s ease;
}

.logo img {
  height: 52px;
  width: auto;
  filter: brightness(1.1);
  transition: opacity 0.3s, filter 0.35s;
}

.logo:hover img {
  opacity: 0.85;
}

.header:hover .logo img {
  filter: brightness(1.1) invert(1);
}

.header.scrolled .logo img {
  filter: brightness(1.1) invert(1);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 11.5px;
  letter-spacing: 1.8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
}

.header:hover .nav-link {
  color: #444;
}

.header:hover .nav-link:hover {
  color: #111;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Nav item wrapper for mega menu */
.nav-item {
  position: relative;
}

.nav-item.active .nav-link::after {
  width: 100%;
  background: #111;
}

.header:hover .nav-item.active .nav-link,
.header.scrolled .nav-item.active .nav-link {
  color: #111;
}

/* ===== MEGA MENU ===== */
.mega-menu {
  position: fixed;
  left: 0;
  width: 100vw;
  background: #fff;
  padding: 48px 80px 56px;
  display: none;
  gap: 56px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 9999;
}

.mega-menu.show {
  display: flex;
  animation: megaFadeIn 0.25s ease forwards;
}

.mega-menu.hiding {
  display: flex;
  animation: megaFadeOut 0.3s ease forwards;
}

/* Jewelry Special Layout */
#jewelry-mega {
  flex-direction: column;
  gap: 40px;
}

.mega-top-row {
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.mega-cat-list {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.mega-cat-list a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: #111 !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  position: relative;
}

.mega-cat-list a:hover {
  color: #d4af37 !important;
}

.mega-cat-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #d4af37;
  transition: width 0.3s;
}

.mega-cat-list a:hover::after {
  width: 100%;
}

.mega-bottom-row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.mega-featured-section {
  flex: 2.5;
}

.mega-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.mega-featured-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.mega-featured-item:hover {
  transform: translateY(-5px);
}

.mega-featured-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f9f9f9;
}

.mega-featured-item p {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: #111;
}

.mega-featured-item span {
  font-size: 11px;
  color: #888;
}

.mega-col-img-large {
  flex: 1;
  max-width: 320px;
}

.mega-col-img-large img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes megaFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

.mega-heading {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.mega-col a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.mega-col a:hover {
  color: #111;
}

.mega-col-img {
  margin-left: auto;
  min-width: 240px;
}

.mega-img {
  width: 240px;
  height: 280px;
  background: #ededed;
  overflow: hidden;
}

.mega-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs List */
.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #555;
  border-bottom: 1px solid #f9f9f9;
  padding: 8px 0;
}

.specs-list li strong {
  color: #111;
  font-weight: 600;
  display: inline-block;
  width: 130px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.specs-list li:last-child {
  border-bottom: none;
}

.summary-group {
  margin-bottom: 24px;
  padding: 16px;
  background: #f9f9f9;
  border-left: 2px solid #111;
}

.summary-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 12px;
  color: #111;
}

.spec-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: #111;
  margin: 24px 0 12px;
  border-bottom: 1px solid #111;
  padding-bottom: 4px;
}

.spec-group-title:first-child {
  margin-top: 0;
}

.spec-divider {
  height: 1px;
  margin: 12px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE (shared) ===== */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .header {
    padding: 16px 20px 0;
  }

  .logo img {
    height: 40px;
  }
}
