/* ==========================================================================
   MERALDA JEWELS - LUXURY DESIGN SYSTEM
   ========================================================================== */

/* 1. RESET & VARIABLES */
:root {
  /* Colors */
  --emerald-primary: #004D46;
  /* Rich emerald green */
  --emerald-brand: #013A35;
  /* Logo typography color */
  --emerald-dark: #002B27;
  /* Very dark green for gradients/top bar */
  --gold-accent: #DDAD74;
  /* Warm gold matching the logo gradient */
  --white: #FFFFFF;
  --white-trans-10: rgba(255, 255, 255, 0.1);
  --white-trans-20: rgba(255, 255, 255, 0.2);
  --white-trans-80: rgba(255, 255, 255, 0.8);
  --shadow-luxury: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-button: 0 6px 20px rgba(0, 0, 0, 0.12);

  /* Layout */
  --top-bar-height: 38px;
}

@font-face {
  font-family: calora;
  src: url(../fonts/calora.woff);
  src: url(../fonts/calora.woff2);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  /* Deep emerald base */
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* 2. TOP BAR */
.top-bar {
  height: var(--top-bar-height);
  background-color: var(--emerald-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 9;
  display: flex;
  align-items: center;
}

.top-bar-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagline-slider {
  position: relative;
  overflow: hidden;
  height: 20px;
  min-width: 300px;
  display: flex;
  align-items: center;
}

.top-bar-left .tagline {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Sans", sans-serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-bar-left .tagline.active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.top-bar-left .tagline.enter {
  opacity: 0;
  transform: translateY(calc(-50% + 15px));
}

.top-bar-left .tagline.exit {
  opacity: 0;
  transform: translateY(calc(-50% - 15px));
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-bar-right .toll-free {
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.top-bar-right .divider {
  color: #ffffff80;
  font-size: 18px;
}

.top-bar-right .contact-link {
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.top-bar-right .contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-accent);
  transition: width 0.3s ease;
}

.top-bar-right .contact-link:hover {
  color: var(--gold-accent);
}

.top-bar-right .contact-link:hover::after {
  width: 100%;
}

/* 3. SITE HEADER (TRANSPARENT OVERLAY) */
.site-header {
  position: absolute;
  top: var(--top-bar-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  /* Let clicks pass through header area */
}

.header-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  display: flex;
  justify-content: center;
}

.logo-wrapper {
  position: absolute;
  top: calc(-1 * var(--top-bar-height));
  /* Stretch to the absolute top of the screen */
  z-index: 9999;
  pointer-events: auto;
  /* Enable logo clicks */
}

.logo-link {
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link:hover {
  transform: translateY(2px);
}

.logo-img {
  display: block;
  width: 179px;
  height: 89px;
  /* White card + logo naturally overlap top bar and banner */
}

/* 4. HERO SECTION & SLIDER */
.hero-section {
  position: relative;
  width: 100%;
  /* height: calc(100vh - var(--top-bar-height)); */
  min-height: 715px;
  overflow: hidden;
  background-color: #000c0a;
}

.slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scale(1.04);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide.active .slide-bg {
  transform: scale(1.0);
}





/* 5. HERO CONTENT & TYPOGRAPHY */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  max-width: 1920px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 80px;
  pointer-events: none;
  /* Clicks pass to slider or pagination */
}

/* Bottom-Right Heading */
.heading-container {
  position: absolute;
  bottom: 12%;
  right: 80px;
  pointer-events: auto;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.5px;
  animation: fadeInTitle 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Center-Lower CTA Button */
.cta-container {
  position: absolute;
  bottom: 12%;
  left: 0%;
  right: 0px;
  margin: auto;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

.btn-cta {
  display: inline-block;
  background-color: var(--white);
  color: var(--emerald-brand);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 7px;
  box-shadow: var(--shadow-button);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--emerald-brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #013a353b;
}

.btn-cta:hover .btn-decorator {
  display: none;
}

.btn-cta:active {
  transform: translateY(0);
}

/* 6. SLIDER PAGINATION */
.pagination-section {
  background: #ffffff;
  height: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #eaeaea;
}

.pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pagination-dot {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination-dot img {
  display: block;
  height: 12px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination-dot:hover {
  transform: scale(1.1);
}

/* 7. WHATSAPP FLOATING WIDGET */
.whatsapp-floating-widget {
  position: fixed;
  right: 30px;
  bottom: 70px;
  z-index: 99999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #25D366;
  /* box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); */
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

/* 8. ANIMATIONS */
@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ==========================================================================
   8.5. BUTTON DECORATORS & POPUP MODAL
   ========================================================================== */

/* Button Decorators */
.btn-cta {
  position: relative;
}

.btn-decorator,
.card-decorator {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.decorator-left {
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 50px;
  border-radius: 7px 0px 0px 7px;
}

.decorator-right {
  right: 0px;
  top: 0px;
  width: 90px;
  height: 33px;
  border-radius: 7px 7px 0px 0px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Container */
.modal-container {
  display: flex;
  background-color: #ffffff;
  width: 90%;
  max-width: 1080px;
  height: auto;
  min-height: 600px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
}

.modal-overlay.active .modal-container {
  transform: scale(1.0);
}

/* Submission Message Popup */
.message-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 18, 16, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.message-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.message-modal {
  position: relative;
  width: min(100%, 520px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f2e8 100%);
  border: 1px solid rgba(128, 92, 44, 0.14);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 30px 26px 24px;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s ease;
}

.message-overlay.active .message-modal {
  transform: translateY(0) scale(1);
}

.message-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.06);
  color: #1f1f1f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.message-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #1f4f3f;
  color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-badge.is-error {
  background: #9f3f2b;
}

.message-title {
  margin: 0 0 10px;
  color: #1c1c1c;
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 500;
}

.message-text {
  margin: 0;
  color: #4c4c4c;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.message-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.message-button {
  min-width: 108px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #1f4f3f;
  color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.message-overlay.is-error .message-button {
  background: #9f3f2b;
}

/* Left Side Image */
.modal-image-side {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: block;
}

.modal-image-side .modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Side Form */
.modal-form-side {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.modal-form-side form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-row label,
.form-col label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 6px;
  text-align: left;
}

.form-row-flex {
  display: flex;
  gap: 16px;
}

.form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Input Fields Common Styling */
.input-wrapper {
  position: relative;
  width: 100%;
  margin: 7px 0 10px;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper input[type="tel"],
.input-wrapper input[type="date"],
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  border: 1px solid #00000014;
  background-color: #00000005;
  color: #333333;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
  height: 44px;
}

.input-wrapper.calendar-wrapper input.form-date {
  padding-left: 40px;
}

.input-wrapper textarea {
  height: auto;
  resize: vertical;
  max-height: 111px;
  min-height: 111px;
}

/* Focus and Error States */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--emerald-primary);
}

.input-wrapper.has-error input,
.input-wrapper.has-error select,
.input-wrapper.has-error textarea {
  border-color: #ff3333;
}

.error-message {
  color: #ff3333;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  display: none;
  text-align: left;
}

/* Placeholder Styling */
.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  color: #b0b0b0;
}

/* Calendar Icon Wrapper */
.calendar-wrapper input {
  padding-left: 40px;
}

.calendar-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.calendar-icon svg {
  width: 100%;
  height: 100%;
  fill: #888888;
}

/* Hide default calendar indicator in Chrome/Edge, click calendar wrapper will trigger picker */
.calendar-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

/* Dropdown styling */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.select-arrow svg {
  width: 100%;
  height: 100%;
  fill: #888888;
}

/* Buttons in Modal */
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.btn-cancel {
  background: none;
  border: none;
  color: #333333;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.btn-cancel:hover {
  color: #000000;
}

.btn-submit {
  background-color: var(--emerald-primary);
  color: #ffffff;
  border: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 77, 70, 0.15);
}

.btn-submit:hover {
  background-color: var(--emerald-dark);
}

.btn-submit:active {
  transform: translateY(0);
}

.collection-section {
  position: relative;
}

/* ==========================================================================
   8.6. BENEFITS STRIP & TRENDING COLLECTIONS
   ========================================================================== */

/* Benefits Strip */
.benefits-strip {
  background-color: var(--emerald-brand);
  border-top: 2px solid var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
  padding: 13px 0px;
  width: 100%;
  position: relative;
  z-index: 15;
  box-shadow: #00000040 0px 8px 8px -2px, #00000040 0px 0px 0px 1px;
}

.benefits-carousel-viewport {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 0 60px;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 77, 70, 0.06);
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 125px;
  box-sizing: border-box;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 77, 70, 0.15);
}

.benefit-icon {
  width: auto;
  height: 43px;
  object-fit: contain;
  margin-bottom: 8px;
}

.benefit-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
  margin: 0;
}

/* Trending Collections Section */
.trending-section {
  background-color: #ffffff;
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 10;
  padding-bottom: 32px;
}

/* Floral decorations */
.floral-decor {
  position: absolute;
  top: 100px;
  width: 149px;
  height: 252px;
  pointer-events: none;
  z-index: 999;
  opacity: 0.95;
}

.floral-left {
  left: 0;
}

.floral-right {
  right: 0;
}

/* Header */
.trending-header {
  padding: 54px 20px 40px 20px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.trending-title-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.trending-title {
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.title-divider {
  height: 16px;
  width: auto;
}

.title-divider.right {
  transform: scaleX(-1);
}

.trending-subtitle {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #242424;
  margin: 13px 0 0 0;
}

/* Collections Grid */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  height: 500px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.collection-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-img {
  transform: scale(1.03);
}

.collection-info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  z-index: 5;
}

.collection-title {
  font-family: 'calora', 'Lora', serif;
  font-size: 32px;
  font-weight: 400;
  color: #000;
  margin: 0;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
}

.btn-shop-now {
  background-color: #ffffff;
  color: #004D46;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  padding: 8px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.btn-shop-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 77, 70, 0.2);
  background-color: #004D46;
  color: #ffffff;
}

.btn-shop-now:active {
  transform: translateY(0);
}

.card-decorator-left {
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 77px;
  height: 125px;
  border-radius: 10px 0px 0px 10px;
}

.card-decorator-right-top {
  right: 0px;
  top: 0px;
  width: 139px;
  height: 33px;
  border-radius: 10px 10px 0px 0px;
}

.card-decorator-right-end {
  right: 0px;
  bottom: 0px;
  width: 89px;
  height: 99px;
  border-radius: 0px 0px 10px 10px;
}

/* ==========================================================================
   8.7. LATEST OFFER FOR YOU & NEW COLLECTIONS
   ========================================================================== */

/* Latest Offer Section */
.offer-section {
  background-color: #ffffff;
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.offer-decor {
  position: absolute;
  top: 0;
  /* width: 365px;
  height: auto; */
  pointer-events: none;
  z-index: 9;
}

.offer-left {
  left: 0;
}

.offer-right {
  right: 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
}

.offer-banner-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  z-index: 99;
}

.offer-banner-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.offer-banner-card:hover .offer-img {
  transform: scale(1.03);
}

/* New Collections Section */
.new-collections-section {
  background-color: #ffffff;
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.new-collections-container {
  width: 100%;
  height: 600px;
  background-image: url('../images/collection/banner.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 80px;
  box-sizing: border-box;
  position: relative;
  z-index: 9;
}

.new-collections-grid {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  width: auto;
}

.new-collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgb(255 255 255 / 23%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 340px;
  height: 366px;
  flex-shrink: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 5px;
}

.new-card-img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.new-collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.new-collection-card:hover .new-card-img {
  transform: scale(1.02);
}

.section-background {
  background-color: #F5F5F5;
}

/* ==========================================================================
   Our Most Loved Jewelry Section
   ========================================================================== */
.loved-jewelry-section {
  position: relative;
  width: 100%;
  height: 850px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loved-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.loved-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.loved-content {
  position: absolute;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 24px;
  left: 0px;
  right: 0px;
  margin: auto;
  bottom: 107px;
  /* Perfect spacing between heading and button */
}

.loved-title {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-loved-shop {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: capitalize;
  padding: 12px 37px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-loved-shop:hover {
  background-color: var(--white);
  color: #121212;
  /* Dark text */
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Spot Light Collection Section
   ========================================================================== */
.spotlight-section {
  background-color: #ffffff;
  position: relative;
  width: 100%;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3-column layout */
  align-items: center;
  position: inherit;
  z-index: 99;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  width: 100%;
}


.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.03);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  width: 100%;
  position: relative;
  background-color: var(--emerald-brand);
}

.footer-main {
  width: 100%;
  position: relative;
  padding: 62px 0 40px;
  box-sizing: border-box;
}

/* Decorative Corner Artwork Flourishes */
.footer-flourish {
  position: absolute;
  top: 0;
  width: 124px;
  height: 136px;
  pointer-events: none;
  z-index: 1;
}

.flourish-top-left {
  left: 0;
}

.flourish-top-right {
  right: 0;
}

/* Header */
.footer-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-title-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-title {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.footer-title-divider {
  height: 16px;
  width: auto;
}

/* Contact Form Container */
.footer-form-container {
  max-width: 911px;
  /* Centered container width approximately 900px–1000px */
  margin: 0 auto;
  padding: 30px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  /* Darker green transparent panel */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Thin border */
  border-radius: 8px;
  /* Slight border radius */
  position: relative;
  z-index: 2;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.footer-form-row-flex {
  display: flex;
  gap: 20px;
  width: 100%;
}

.footer-form-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.footer-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--white);
  /* White labels */
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.footer-input-wrapper {
  position: relative;
  width: 100%;
}

/* Field Styling */
.footer-input {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.02);
  /* Dark transparent background */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Thin border */
  border-radius: 4px;
  padding: 0 16px;
  color: #FFFFFF;
  /* White text */
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.footer-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  /* Light placeholder text */
}

/* Focus State */
.footer-input:focus {
  border-color: #ffffff52;
  /* Brand gold focus border */
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

/* Date Field with Calendar Icon */
.footer-calendar-wrapper .footer-input {
  padding-left: 44px;
  /* Space for icon */
}

.footer-calendar-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.footer-calendar-icon img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  /* Ensure it's white/light inside wrapper */
}

/* Select Dropdown */
.footer-select-wrapper {
  position: relative;
}

.footer-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

/* Custom Select styling options theme */
.footer-select option {
  background-color: var(--emerald-brand);
  color: #FFFFFF;
}

.footer-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.footer-select-arrow svg {
  width: 9px;
  height: 6px;
}

/* Textarea */
.footer-textarea {
  height: 120px;
  padding: 14px 16px;
  resize: none;
  /* Resizable disabled */
}

/* Submit Button */
.btn-footer-submit {
  width: 100%;
  height: 40px;
  background-color: var(--white);
  border: 1px solid #fff;
  /* White background */
  color: var(--emerald-primary);
  /* Dark green text */
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: var(--shadow-button);
  cursor: pointer;
}

.btn-footer-submit:hover {
  border: 1px solid #fff;
  background-color: var(--emerald-primary);
  color: #fff;
}

.btn-footer-submit:active {
  transform: scale(0.99);
}

/* Error messages */
.footer-error-message {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: #ff6b6b;
  /* Premium soft red error text */
  margin-top: 4px;
  display: none;
}

.footer-input-wrapper.has-error .footer-input {
  border-color: #ff6b6b;
}

/* Bottom Footer Bar */
.footer-bottom-bar {
  background-color: var(--emerald-brand);
  /* Slightly darker emerald green */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left: Copyright */
.footer-bottom-left .copyright-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  /* Small size */
  color: #fff;
}

/* Center: Location Links */
.footer-bottom-center .location-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.footer-bottom-center .location-links li {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  /* Small font size */
  padding: 0 17px;
  border-right: 1px solid #ffffff1c;
  /* Vertical separators */
}

.footer-bottom-center .location-links li:last-child {
  border-right: none;
}

.location-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  opacity: 0.9;
}

/* Right: Social Media */
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-bottom-right .follow-us-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.social-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-icons a:hover {
  opacity: 0.8;
  /* Hover effect */
}

.footer-decor {
  position: absolute;
  top: 0;
  pointer-events: none;
  z-index: 9;
}

.footer-left {
  left: 0px;
}

.footer-right {
  right: 0px;
}

/* Hide default calendar icon in Chrome, Edge, Safari */
.footer-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Remove default styling */
.footer-date {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.options-list.input-wrapper,
.footer-input-wrapper.footer-radio-wrapper {
  display: flex;
  align-items: center;
  column-gap: 7px;
}

.options-list.input-wrapper input,
.footer-input-wrapper.footer-radio-wrapper input {
  margin-right: 3px;
}

.options-list.input-wrapper label {
  margin-bottom: 0px;
  color: #5d5d5d;
}

.first-radio {
  margin-right: 12px;
}

/* Visibility Utilities */
@media (min-width: 992px) {
  .mobile-only {
    display: none !important;
  }


}

@media (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }

  /* Mobile/Tablet Header Layout (< 992px) */
  .top-bar {
    background-color: var(--emerald-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1010;
    display: flex;
    align-items: center;
    padding: 10px 0;
    height: auto;
  }

  .top-bar-container.mobile-only {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 11px;
  }

  .top-bar-toll {
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
  }

  .top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
  }

  .top-bar-contact {
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
  }

  .top-bar-contact::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
  }

  .top-bar-contact:hover {
    color: var(--gold-accent);
  }

  .top-bar-contact:hover::after {
    width: 100%;
  }

  .site-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 77, 70, 0.05);
    pointer-events: auto;
  }

  .header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-wrapper-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  .logo-wrapper-mobile:hover {
    transform: scale(1.05);
  }

  .logo-icon-svg {
    width: 48px;
    height: 48px;
    display: block;
  }
}

/* ==========================================================================
   9. RESPONSIVE Breakpoints

   9. RESPONSIVE Breakpoints
   ========================================================================== */

/* Laptop / Smaller Desktop (1024px - 1440px) */
@media (max-width: 1800px) {
  .hero-section {
    min-height: 600px
  }
}

@media (max-width: 1600px) {

  .hero-section {
    min-height: 500px
  }

  .new-collection-card {
    width: 270px;
    height: 290px;
  }
}

@media (max-width: 1440px) {
  .hero-title {
    font-size: 4.2rem;
  }

  .hero-content {
    padding: 0 60px;
  }

  .heading-container {
    right: 60px;
  }

  .hero-section {
    min-height: 480px
  }

  .new-collections-grid {
    gap: 15px;
  }
}

@media (max-width: 1300px) {
  .hero-section {
    min-height: 450px;
  }

  .cta-container {
    bottom: 7%;
  }

  .new-collection-card {
    width: 220px;
    height: 245px;
  }

  .collections-grid {
    height: 700px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.8rem;
  }

  .benefits-carousel-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
  }

  .benefits-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .benefits-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 10px 30px 15px 30px;
    width: max-content;
  }

  .benefit-card {
    flex: 0 0 176px;
    width: 176px;
    box-sizing: border-box;
  }

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section {
    min-height: 600px;
  }

  .floral-decor {
    width: 110px;
  }

  .trending-header {
    padding: 40px 20px 40px 20px;
  }

  .offer-left,
  .offer-right {
    width: 200px;
  }

  .btn-cta {
    font-size: 14px;
    padding: 10px 20px;
  }

  .cta-container {
    bottom: 3%;
  }

  .decorator-left {
    height: 38px;
  }

  .new-collection-card {
    width: 190px;
    height: 210px;
  }

  .new-collections-container {
    background-position: 10% center;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --top-bar-height: 38px;
  }

  .top-bar-container {
    padding: 0 24px;
  }

  .header-container {
    padding: 0 24px;
  }

  .hero-section {
    height: 100vh;
    min-height: auto;
  }

  .hero-content {
    padding: 0 40px;
  }

  .heading-container {
    right: 40px;
    bottom: 14%;
  }

  .hero-title {
    font-size: 3.2rem;
  }



  .btn-cta {
    padding: 13px 30px;
    font-size: 13px;
  }

  /* Tablet Modal Overrides */
  .modal-container {
    max-width: 90%;
    min-height: auto;
  }

  .modal-form-side {
    padding: 30px;
  }

  /* Latest Offer Tablet */
  .offer-grid {
    grid-template-columns: 1fr;
  }

  /* New Collections Tablet */
  .new-collections-container {
    height: auto;
    padding: 60px 30px;
    justify-content: flex-end;
  }

  .new-collections-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /* Loved Jewelry Section Tablet */
  .loved-jewelry-section {
    height: 400px;
    /* Tablet: 380px-450px range */
  }

  /* Footer Section Tablet */
  .footer-flourish {
    width: 90px;
    height: 99px;
    /* Proportional scaling */
  }

  .footer-form-container {
    max-width: 80%;
    padding: 30px;
  }

  .new-collections-mobile {
    display: none;
  }
}

@media (max-width: 992px) {
  .collections-grid {
    height: auto;
  }

  .logo-img {
    height: 70px;
  }

  .site-header {
    padding: 8px 0;
  }

  .cta-container {
    bottom: 40px;
  }

  .floral-decor {
    top: 120px;
  }

  .offer-left {
    width: 180px;
  }

  .offer-right {
    width: 150px;
  }

  .loved-content {
    display: none;
  }

  .trending-section {

    padding-bottom: 20px;
  }

  .hero-section {
    height: 90vh;
    min-height: auto;
  }

  .new-collection-card {
    width: 170px;
    height: 190px;
  }

  .collections-grid {
    height: 700px;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {


  .hero-section {
    height: 60vh;
    min-height: auto;
  }


  .hero-content {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    bottom: 14%;
    height: 100%;
  }

  .heading-container {
    position: static;
    text-align: center;
    margin-bottom: 20px;
    order: 1;
    /* Title above CTA */
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .cta-container {
    /* position: static;
    transform: none;
    order: 2; */
    /* CTA below title */
    bottom: 20px;
  }

  .btn-cta {
    padding: 12px 28px;
    font-size: 12.5px;
  }

  .pagination-section {
    height: 34px;
  }

  .pagination-dot img {
    height: 8px;
  }

  .whatsapp-floating-widget {
    right: 20px;
    bottom: 20px;
  }

  .whatsapp-btn {
    width: 46px;
    height: 46px;
  }

  .whatsapp-svg {
    width: 24px;
    height: 24px;
  }

  /* Mobile Modal Overrides */
  .modal-container {
    flex-direction: column;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    min-height: auto;
  }

  .modal-image-side {
    height: 400px;
    flex: none;
  }

  .modal-image-side .modal-img {

    object-position: top;
  }

  .modal-form-side {
    padding: 24px;
  }

  .form-row-flex {
    flex-direction: column;
    gap: 16px;
  }

  .form-actions {
    margin-top: 15px;
    width: 100%;
    justify-content: flex-end;
  }

  /* Benefits Strip Mobile */
  .benefits-container {
    padding: 10px 16px 15px 16px;
    gap: 20px;
  }

  /* Trending Collections Mobile */
  .trending-header {
    padding: 30px 16px 30px 16px;
  }

  .trending-title {
    font-size: 18px;
  }

  .trending-title-wrapper {
    gap: 12px;
  }

  .title-divider {
    height: 8px;
  }



  .collections-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collection-title {
    font-size: 24px;
  }

  .collection-info {
    bottom: 15px;
    gap: 1px;
  }

  .btn-shop-now {
    font-size: 13px;
    padding: 5px 20px;
  }

  /* Latest Offer Mobile */
  .offer-grid {
    grid-template-columns: 1fr;
  }

  /* New Collections Mobile */
  .new-collections-container {
    display: none !important;
  }

  .new-collections-mobile {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .mobile-banner-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .mobile-featured-banner {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
  }

  .mobile-thumbnails-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 20px 24px 20px;
    gap: 16px;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -12%;
    left: 0px;
    right: 0px;
    margin: auto;
  }

  .mobile-thumbnails-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-thumbnail {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgb(255 255 255 / 23%);
    pointer-events: none;
    transition: border-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    padding: 1px;
    background: #2323232e;
    backdrop-filter: blur(3px);
  }

  .mobile-thumbnail.active {
    transform: scale(1.02);
  }

  .thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  /* Loved Jewelry Section Mobile */
  .loved-jewelry-section {
    height: 340px;
    /* Mobile: 300px-380px range */
  }

  .loved-title {
    font-size: 2rem;
  }

  .btn-loved-shop {
    padding: 10px 24px;
    font-size: 12px;
  }

  .spotlight-section {
    padding: 0px 0 0px;
  }

  .spotlight-container {
    padding: 0 20px;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-side,
  .spotlight-center {
    height: AUTO;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-main {
    padding: 60px 0;
  }

  .footer-flourish {
    width: 60px;
    height: 66px;
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-form-container {
    max-width: 92%;
    padding: 24px 20px;
  }

  .footer-form-row-flex {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 15px;
    gap: 20px;

  }

  .footer-bottom-center .location-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    row-gap: 15px;
  }

  .footer-bottom-center .location-links li {
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-bottom-center .location-links li:last-child {
    border-right: none;
  }

  .floral-decor {
    width: 90px;
  }

  .trending-subtitle {
    font-size: 13px;
  }

  .footer-main {
    padding: 50px 0;
  }

  .footer-bottom-center {
    order: 1;
    /* First row */
  }

  .footer-bottom-right {
    order: 2;
    /* Second row */
  }

  .footer-bottom-left {
    order: 3;
    /* Last row */
  }

  .footer-bottom-center .location-links li {
    font-size: 14px;
  }

  .new-collections-mobile {
    display: block;
    position: relative;
    margin-bottom: 90px;
  }
}

@media (max-width: 575px) {
  .floral-decor {
    width: 72px;
  }

  .offer-left {
    width: 115px;
  }

  .offer-right {
    width: 85px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-title-divider {
    width: 55px;
  }

  .hero-section {
    height: 50vh;
  }

  .btn-cta {
    padding: 10px 25px;
  }

  .benefit-icon {
    height: 35px;
  }

  .benefit-card {
    flex: 0 0 200px;
    width: 200px;
  }

  .modal-image-side {
    height: 340px;
  }

  .mobile-thumbnails-row {
    bottom: -18%;
    gap: 8px;
  }

  .collections-grid {
    height: 500px;
  }

  .collection-title {
    font-size: 22px;
  }

  .options-list.input-wrapper,
  .footer-input-wrapper.footer-radio-wrapper {
    flex-wrap: wrap;
    row-gap: 10px;
  }

}

@media (max-width: 480px) {
  .hero-section {
    height: 35vh;
  }

  .modal-image-side {
    height: 260px;
  }

  .new-collections-mobile {
    margin-bottom: 70px;
  }
}

/* ==========================================================================
   10. PREMIUM LUXURY SOCIAL MEDIA HOVER EFFECT (DESKTOP ONLY)
   ========================================================================== */
@media (min-width: 1024px) {
  .social-icons a {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .social-icons a:hover {
    transform: translateY(-6px) scale(1.08);
    filter: brightness(1.15) drop-shadow(0 6px 12px rgba(221, 173, 116, 0.45));
    opacity: 1;
  }
}

/* ==========================================================================
   11. PREMIUM LUXURY SCROLL REVEAL ANIMATIONS
   ========================================================================== */

/* Fallback for New Collections Background when JS is disabled */
html:not(.js) .new-collections-container {
  background-image: url('../images/collection/banner.webp');
}

/* 1. Hero Banner Section */
html.js .banner-section .slide-bg {
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .banner-section.is-visible .slide.active .slide-bg {
  transform: scale(1);
}

html.js .heading-container .hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
  /* override default CSS animation */
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .banner-section.is-visible .heading-container .hero-title {
  opacity: 1;
  transform: translateY(0);
}

html.js .cta-container .btn-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .banner-section.is-visible .cta-container .btn-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* 2. Benefits Section */
html.js .benefit-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .benefits-strip.is-visible .benefit-card {
  opacity: 1;
  transform: translateY(0);
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(1) {
  transition-delay: 0ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(2) {
  transition-delay: 100ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(3) {
  transition-delay: 200ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(4) {
  transition-delay: 300ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(5) {
  transition-delay: 400ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(6) {
  transition-delay: 500ms;
}

/* Marquee cloned children staggers */
html.js .benefits-strip.is-visible .benefit-card:nth-child(7) {
  transition-delay: 600ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(8) {
  transition-delay: 700ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(9) {
  transition-delay: 800ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(10) {
  transition-delay: 900ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(11) {
  transition-delay: 1000ms;
}

html.js .benefits-strip.is-visible .benefit-card:nth-child(12) {
  transition-delay: 1100ms;
}

/* 3. Trending Collections Section */
html.js .trending-section .collection-card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .trending-section .collection-img {
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .trending-section .btn-shop-now {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .trending-section.is-visible .collection-card {
  opacity: 1;
  transform: translateY(0);
}

html.js .trending-section.is-visible .collection-img {
  transform: scale(1);
}

html.js .trending-section.is-visible .btn-shop-now {
  opacity: 1;
  transform: translateY(0);
}

html.js .trending-section.is-visible .collection-card:nth-child(1) {
  transition-delay: 0ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(2) {
  transition-delay: 150ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(3) {
  transition-delay: 300ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(4) {
  transition-delay: 450ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(1) .collection-img {
  transition-delay: 0ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(2) .collection-img {
  transition-delay: 150ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(3) .collection-img {
  transition-delay: 300ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(4) .collection-img {
  transition-delay: 450ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(1) .btn-shop-now {
  transition-delay: 300ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(2) .btn-shop-now {
  transition-delay: 450ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(3) .btn-shop-now {
  transition-delay: 600ms;
}

html.js .trending-section.is-visible .collection-card:nth-child(4) .btn-shop-now {
  transition-delay: 750ms;
}

/* 4. Offer Banner Section */
html.js .offer-banner-card:nth-child(1) {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .offer-banner-card:nth-child(2) {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .offer-section.is-visible .offer-banner-card {
  opacity: 1;
  transform: translateX(0);
}

/* 5. New Collections Section */
html.js .new-collections-container {
  background-image: none;
}

html.js .new-collections-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/collection/banner.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  z-index: 1;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .new-collections-section.is-visible .new-collections-container::before {
  opacity: 1;
  transform: scale(1);
}

html.js .new-collections-grid {
  position: relative;
  z-index: 2;
}

html.js .new-collection-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .new-collections-section.is-visible .new-collection-card {
  opacity: 1;
  transform: translateY(0);
}

html.js .new-collections-section.is-visible .new-collection-card:nth-child(1) {
  transition-delay: 200ms;
}

html.js .new-collections-section.is-visible .new-collection-card:nth-child(2) {
  transition-delay: 350ms;
}

html.js .new-collections-section.is-visible .new-collection-card:nth-child(3) {
  transition-delay: 500ms;
}

/* Mobile thumbnail reveals */
html.js #mobileFeaturedBanner {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .new-collections-section.is-visible #mobileFeaturedBanner {
  opacity: 1;
  transform: scale(1);
}

html.js .mobile-thumbnail {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .new-collections-section.is-visible .mobile-thumbnail {
  opacity: 1;
  transform: translateY(0);
}

html.js .new-collections-section.is-visible .mobile-thumbnail:nth-child(1) {
  transition-delay: 200ms;
}

html.js .new-collections-section.is-visible .mobile-thumbnail:nth-child(2) {
  transition-delay: 350ms;
}

html.js .new-collections-section.is-visible .mobile-thumbnail:nth-child(3) {
  transition-delay: 500ms;
}

@keyframes luxuryPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(221, 173, 116, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(221, 173, 116, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(221, 173, 116, 0);
  }
}

.mobile-thumbnail.active {
  animation: luxuryPulse 2s infinite ease-in-out;
}

/* 6. Our Most Loved Jewelry Section */
html.js .loved-video-bg {
  transform: scale(1);
  transition: transform 10s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .loved-jewelry-section.is-visible .loved-video-bg {
  transform: scale(1.08);
}

html.js .loved-title {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .btn-loved-shop {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .loved-jewelry-section.is-visible .loved-title {
  opacity: 1;
  transform: translateY(0);
}

html.js .loved-jewelry-section.is-visible .btn-loved-shop {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

/* 7. Spot Light Collection Section */
html.js .spotlight-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .spotlight-section.is-visible .spotlight-card {
  opacity: 1;
  transform: translateY(0);
}

html.js .spotlight-section.is-visible .spotlight-card:nth-child(1) {
  transition-delay: 0ms;
}

html.js .spotlight-section.is-visible .spotlight-card:nth-child(2) {
  transition-delay: 200ms;
}

html.js .spotlight-section.is-visible .spotlight-card:nth-child(3) {
  transition-delay: 400ms;
}

/* 8. Contact Form Section */
html.js .footer-form-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .site-footer.is-visible .footer-form-container {
  opacity: 1;
  transform: translateY(0);
}

/* html.js .footer-form-container .footer-form-row,
html.js .footer-form-container .footer-form-col {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
} */

html.js .site-footer.is-visible .footer-form-container .footer-form-row:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 200ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row-flex .footer-form-col:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 440ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row-flex .footer-form-col:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 520ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 600ms;
}

html.js .site-footer.is-visible .footer-form-container .footer-form-row:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 680ms;
}

/* 9. Footer Section */
html.js .footer-bottom-bar {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .site-footer.is-visible .footer-bottom-bar {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 400ms;
}

html.js .social-icons a {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .site-footer.is-visible .social-icons a {
  opacity: 1;
  transform: scale(1);
}

html.js .site-footer.is-visible .social-icons a:nth-child(1) {
  transition-delay: 600ms;
}

html.js .site-footer.is-visible .social-icons a:nth-child(2) {
  transition-delay: 700ms;
}

html.js .site-footer.is-visible .social-icons a:nth-child(3) {
  transition-delay: 800ms;
}

html.js .site-footer.is-visible .social-icons a:nth-child(4) {
  transition-delay: 900ms;
}

.social-icons img.youtube {
  width: 25px;
  height: 25px;
}

/* Accessibility: Respect user settings for reduced motion */
@media (prefers-reduced-motion: reduce) {

  html.js .banner-section .slide-bg,
  html.js .heading-container .hero-title,
  html.js .cta-container .btn-cta,
  html.js .benefit-card,
  html.js .trending-section .collection-card,
  html.js .trending-section .collection-img,
  html.js .trending-section .btn-shop-now,
  html.js .offer-banner-card:nth-child(1),
  html.js .offer-banner-card:nth-child(2),
  html.js .new-collections-container::before,
  html.js #mobileFeaturedBanner,
  html.js .new-collection-card,
  html.js .mobile-thumbnail,
  html.js .loved-video-bg,
  html.js .loved-title,
  html.js .btn-loved-shop,
  html.js .spotlight-card,
  html.js .footer-form-container,
  html.js .footer-form-container .footer-form-row,
  html.js .footer-form-container .footer-form-col,
  html.js .footer-bottom-bar,
  html.js .social-icons a,
  .top-bar-left .tagline {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
