/* ==========================================
CSS VARIABLES (Adjust colors and fonts here)
========================================== */
:root {
  --color-cream-bg: #FCF9F2;
  --color-cherry-red: #8A1324;
  --color-espresso-brown: #3D2314;
  --color-header-text: #FCF9F2;
  --color-rose-pink: #E6B4BE;
  /* Sophisticated Playfair & Calligraphy Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Pinyon Script', cursive;
  --font-sans: 'Montserrat', sans-serif;
}

/* Base Resets, Smooth Scroll & Custom Cursor */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-cream-bg);
  color: var(--color-espresso-brown);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M0,0 L0,17 L4.5,12.5 L8,20 L10.5,19 L7,11.5 L12,11.5 Z' fill='%233D2314' stroke='white' stroke-width='1'/><path d='M10 11.5c-.8-1.5-3-3.5-5.5-2.5-3 1.2-2.5 5-.5 5 2.5 0 5-1.5 6-2.5.8 1.5 3 3.5 5.5 2.5 3-1.2 2.5-5 .5-5-2.5 0-5 1.5-6 2.5zm-1 1c-1 2.5-3 5.5-4.5 7.5-.3.4 0 .8.5.6 2-1 4.5-3.5 5-5.6.5 2 3 4.5 5 5.6.5.2.8-.2.5-.6-1.5-2-3.5-5-4.5-7.5z' transform='translate(8, 8) scale(0.6)' fill='%238A1324' opacity='0.5'/></svg>") 0 0, auto;
}

a, button, .product-card, .easter-egg, .wishlist-heart-btn, .drawer-close, .auth-close, .google-account-item, .buy-now-btn, .payment-tab {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M0,0 L0,17 L4.5,12.5 L8,20 L10.5,19 L7,11.5 L12,11.5 Z' fill='%238A1324' stroke='white' stroke-width='1'/><path d='M10 11.5c-.8-1.5-3-3.5-5.5-2.5-3 1.2-2.5 5-.5 5 2.5 0 5-1.5 6-2.5.8 1.5 3 3.5 5.5 2.5 3-1.2 2.5-5 .5-5-2.5 0-5 1.5-6 2.5zm-1 1c-1 2.5-3 5.5-4.5 7.5-.3.4 0 .8.5.6 2-1 4.5-3.5 5-5.6.5 2 3 4.5 5 5.6.5.2.8-.2.5-.6-1.5-2-3.5-5-4.5-7.5z' transform='translate(8, 8) scale(0.6)' fill='%23C04C5A' opacity='0.8'/></svg>") 0 0, pointer;
}

/* Mini Bow Contrail Particles */
.bow-particle {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  font-size: 11px;
  z-index: 10000;
  line-height: 1;
  user-select: none;
  transform-origin: center;
}

/* 90VH Hero Header Design */
.hero-header {
  position: relative;
  width: 100%;
  height: 90vh;
  background-color: var(--color-cherry-red);
  border-bottom: 2px solid var(--color-espresso-brown);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 5% 6vh 5%;
  z-index: 1000;
}

/* Interactive Floating Top Navbar */
.header-top-bar {
  position: fixed;
  top: 1.2rem;
  left: 5%;
  right: 5%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transform: translate3d(0, 0, 0);
  will-change: background, backdrop-filter, transform, padding, top;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-top-bar.sticky {
  top: 0.5rem;
  padding: 0.4rem 1.8rem;
  background: rgba(138, 19, 36, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 40px;
}

.header-top-bar.sticky .logo-small {
  font-size: 2.1rem;
}

.header-top-bar.sticky .nav-link {
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
}

.logo-small {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--color-header-text);
  user-select: none;
  line-height: 1;
  padding-top: 5px;
  transition: font-size 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wish-count-badge {
  display: inline-block;
  background-color: var(--color-cream-bg);
  color: var(--color-cherry-red);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.1rem 0.45rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: capitalize;
  color: var(--color-header-text);
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.nav-link.nav-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.nav-link.nav-btn:hover {
  background-color: var(--color-header-text);
  color: var(--color-cherry-red);
  border-color: var(--color-header-text);
  text-shadow: none;
}

/* Header Row Layout */
.header-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 4rem;
  margin-top: auto;
  margin-bottom: auto;
}

.header-text-side {
  flex: 1.2;
}

.header-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--color-header-text);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(255, 230, 235, 0.5), 0 0 25px rgba(255, 230, 235, 0.3);
}

.coquette-script {
  font-family: var(--font-script);
  font-size: 1.25em;
  text-transform: none;
  letter-spacing: 0;
  display: inline-block;
  line-height: 0.8;
}

.header-subtext {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 300;
  max-width: 540px;
  color: var(--color-header-text);
  opacity: 0.85;
  line-height: 1.6;
}

.header-splash-side {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.splash-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  filter: drop-shadow(0px 8px 24px rgba(0, 0, 0, 0.15));
}

/* Canvas Canvas Falling Petals */
#rose-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Cream Area: Products Section */
.main-content {
  position: relative;
  z-index: 2;
  background-color: var(--color-cream-bg);
  padding: 6rem 5% 8rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-section {
  width: 100%;
  max-width: 1200px;
}

.shop-intro {
  margin-bottom: 5rem;
  max-width: 700px;
}

.category-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-cherry-red);
  font-weight: 400;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 230, 235, 0.4);
}

.section-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

/* Main Featured Product Card Design (Double-Border Coquette Red) */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: #FFFDFC;
  border: 1.5px dashed var(--color-espresso-brown);
  outline: 4px double var(--color-cherry-red); /* Featured Cherry Red by Default */
  outline-offset: -6px;
  border-radius: 6px;
  padding: 1.5rem 1.3rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(138, 19, 36, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(138, 19, 36, 0.18);
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #F3ECE0;
  border: 1px solid var(--color-espresso-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 4px;
}

.placeholder-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.7;
}

.product-info {
  text-align: left;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.wishlist-heart-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-espresso-brown);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  line-height: 1;
  padding: 2px;
  opacity: 0.45;
}

.wishlist-heart-btn:hover {
  transform: scale(1.25);
  color: var(--color-cherry-red);
  opacity: 0.85;
}

.wishlist-heart-btn.active {
  color: var(--color-cherry-red);
  opacity: 1;
  text-shadow: 0 0 12px var(--color-rose-pink);
  transform: scale(1.15);
}

.product-desc {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Ornamental Coquette Divider */
.coquette-ribbon-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 6rem auto 2rem auto;
  gap: 1.5rem;
  opacity: 0.7;
}

.divider-line {
  flex: 1;
  border-bottom: 1px dashed var(--color-espresso-brown);
}

.divider-bow {
  font-size: 1.4rem;
  animation: gentleTilt 3s infinite ease-in-out;
}

@keyframes gentleTilt {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(12deg) scale(1.1); }
}

/* About Us Section */
.about-section {
  width: 100%;
  max-width: 1200px;
  margin-top: 4rem;
}

.about-card.coquette-border {
  background-color: #FFFDFC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3.5rem;
  border-radius: 12px;
  gap: 4rem;
  box-shadow: 0 10px 30px rgba(61, 35, 20, 0.05);
}

.about-text-side {
  flex: 1.3;
}

.about-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--color-espresso-brown);
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-signoff {
  margin-top: 2rem;
  border-top: 1px dashed rgba(61, 35, 20, 0.15);
  padding-top: 1.5rem;
}

.signoff-cursive {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--color-cherry-red);
  line-height: 1.2;
}

.signoff-team {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.about-deco-side {
  flex: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-lace-frame {
  width: 180px;
  height: 180px;
  border: 2px dashed var(--color-espresso-brown);
  outline: 4px double var(--color-cherry-red);
  outline-offset: -8px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-cream-bg);
  box-shadow: 0 8px 24px rgba(61, 35, 20, 0.08);
  animation: slowSpin 25s infinite linear;
}

.lace-monogram {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 5rem;
  color: var(--color-cherry-red);
  line-height: 1;
  animation: counterRotate 25s infinite linear;
}

.lace-est {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: -0.5rem;
  animation: counterRotate 25s infinite linear;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counterRotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Keepsakes Sidebar Drawer (Wishlist) */
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-cream-bg);
  border-left: 2px solid var(--color-espresso-brown);
  z-index: 10000;
  box-shadow: -15px 0 35px rgba(61, 35, 20, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
}

.wishlist-drawer.open {
  transform: translate3d(-420px, 0, 0);
}

.drawer-inner {
  padding: 3.5rem 2rem 2rem 2rem;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.drawer-close {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--color-espresso-brown);
  transition: transform 0.3s ease;
}

.drawer-close:hover {
  transform: rotate(90deg);
}

.drawer-header {
  text-align: center;
  margin-bottom: 2rem;
}

.drawer-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cherry-red);
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-espresso-brown);
  margin-top: 0.2rem;
}

.coquette-divider {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.wishlist-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.wish-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(61, 35, 20, 0.2);
  animation: fadeIn 0.4s ease;
}

.wish-item-thumb {
  width: 70px;
  height: 70px;
  background-color: #F3ECE0;
  border: 1px solid var(--color-espresso-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}

.wish-item-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  text-align: center;
  padding: 4px;
  opacity: 0.7;
}

.wish-item-details {
  flex: 1;
}

.wish-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-espresso-brown);
}

.wish-item-price {
  font-size: 0.8rem;
  opacity: 0.8;
}

.wish-item-remove-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-cherry-red);
  text-decoration: underline;
  padding: 4px;
}

.drawer-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 2rem;
}

.drawer-empty-state.hidden {
  display: none;
}

.empty-msg {
  font-family: var(--font-serif);
  font-style: italic;
  opacity: 0.65;
  font-size: 1rem;
}

/* Coquette Authentication Modal */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 35, 20, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.auth-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.coquette-border {
  border: 2px dashed var(--color-espresso-brown);
  outline: 4px double var(--color-cherry-red);
  outline-offset: -8px;
}

.auth-box {
  background-color: var(--color-cream-bg);
  width: 100%;
  max-width: 440px;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 15px 45px rgba(61, 35, 20, 0.25);
  transform: scale(0.9) translate3d(0, 10px, 0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-overlay.open .auth-box {
  transform: scale(1) translate3d(0, 0, 0);
}

.auth-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-espresso-brown);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-cherry-red);
}

.coquette-ribbon {
  font-size: 1.5rem;
  margin-top: -0.2rem;
  animation: floatRibbon 3s infinite ease-in-out;
}

@keyframes floatRibbon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: panelSlideIn 0.4s ease forwards;
}

@keyframes panelSlideIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.auth-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-espresso-brown);
}

.auth-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.75;
  margin-bottom: 1.8rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-espresso-brown);
}

.auth-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px dashed var(--color-espresso-brown);
  padding: 0.6rem 0.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-espresso-brown);
  outline: none;
  transition: border-bottom-color 0.3s ease;
}

.auth-input:focus {
  border-bottom-color: var(--color-cherry-red);
}

.auth-input::placeholder {
  font-family: var(--font-serif);
  font-style: italic;
  opacity: 0.5;
}

.auth-submit-btn {
  background-color: var(--color-cherry-red);
  color: var(--color-cream-bg);
  border: 1px solid var(--color-cherry-red);
  padding: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.auth-submit-btn:hover {
  background-color: transparent;
  color: var(--color-cherry-red);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed rgba(61, 35, 20, 0.2);
}

.auth-divider span {
  padding: 0 10px;
  font-size: 0.7rem;
  font-family: var(--font-serif);
  font-style: italic;
  opacity: 0.6;
}

.google-sso-btn {
  background-color: #FFFDFC;
  border: 1px solid rgba(61, 35, 20, 0.25);
  border-radius: 50px;
  padding: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-espresso-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.3s ease;
}

.google-sso-btn:hover {
  border-color: var(--color-cherry-red);
  background-color: var(--color-cream-bg);
}

.google-svg {
  width: 16px;
  height: 16px;
}

.auth-footer-note {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1.5rem;
  opacity: 0.8;
}

.auth-link {
  color: var(--color-cherry-red);
  text-decoration: underline;
}

/* Google Account Picker Modal */
.google-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.google-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.google-modal-box {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  padding: 2.2rem 2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  position: relative;
  color: #202124;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.google-modal-overlay.open .google-modal-box {
  transform: scale(1);
}

.google-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #5f6368;
}

.google-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.google-svg-lg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.8rem;
}

.google-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #202124;
}

.google-sub {
  font-size: 0.85rem;
  color: #5f6368;
  margin-top: 0.2rem;
}

.google-accounts-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #dadce0;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid #f1f3f4;
  transition: background 0.2s ease;
  border-radius: 6px;
}

.google-account-item:hover {
  background-color: #f8f9fa;
}

.google-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #8A1324;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.google-avatar.alt {
  background-color: #3D2314;
}

.google-avatar.add {
  background-color: #e8eaed;
  color: #5f6368;
}

.google-account-info {
  display: flex;
  flex-direction: column;
}

.account-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3c4043;
}

.account-email {
  font-size: 0.78rem;
  color: #70757a;
}

/* Postal Confirmation Overlay */
.postal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 35, 20, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.postal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.postal-card {
  background-color: var(--color-cream-bg);
  width: 100%;
  max-width: 480px;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(61, 35, 20, 0.3);
  position: relative;
  transform: rotate(-3deg) scale(0.9);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.postal-overlay.open .postal-card {
  transform: rotate(0deg) scale(1);
}

.postal-stamp {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.2rem;
  border: 1px dashed var(--color-cherry-red);
  padding: 4px 8px;
  transform: rotate(8deg);
  opacity: 0.8;
}

.postal-inner {
  display: flex;
  flex-direction: column;
}

.postal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-cherry-red);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(61, 35, 20, 0.1);
  padding-bottom: 0.5rem;
}

.postal-script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--color-cherry-red);
  line-height: 1;
}

.postal-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1rem 0;
}

.postal-signoff {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.85;
}

.postal-signature {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-cherry-red);
  line-height: 1;
  margin-top: 0.2rem;
}

.postal-close-btn {
  background-color: var(--color-cherry-red);
  color: var(--color-cream-bg);
  border: 1px solid var(--color-cherry-red);
  padding: 0.65rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2rem;
  align-self: center;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.postal-close-btn:hover {
  background-color: transparent;
  color: var(--color-cherry-red);
}

/* Product Detail View Modal */
.detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 35, 20, 0.5);
  backdrop-filter: blur(6px);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.detail-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-box {
  background-color: var(--color-cream-bg);
  width: 100%;
  max-width: 820px;
  padding: 3rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(61, 35, 20, 0.25);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detail-modal-overlay.open .detail-modal-box {
  transform: scale(1);
}

.detail-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-espresso-brown);
}

.detail-modal-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.detail-image-side {
  flex: 1;
}

.detail-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F3ECE0;
  border: 1px dashed var(--color-espresso-brown);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.detail-flower-watermark {
  font-size: 3rem;
  margin-top: 1rem;
  opacity: 0.6;
}

.detail-info-side {
  flex: 1.3;
  display: flex;
  flex-direction: column;
}

.detail-product-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-espresso-brown);
}

.detail-product-price {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-cherry-red);
  font-weight: 500;
  margin-top: 0.2rem;
}

.detail-divider {
  border-bottom: 1px dashed rgba(61, 35, 20, 0.2);
  margin: 1.2rem 0;
}

.detail-product-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.detail-includes-box {
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--color-espresso-brown);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.8rem;
}

.includes-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-cherry-red);
  margin-bottom: 0.4rem;
}

.includes-text {
  font-size: 0.82rem;
  opacity: 0.8;
}

.detail-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.buy-now-btn {
  background-color: var(--color-cherry-red);
  color: var(--color-cream-bg);
  border: 1px solid var(--color-cherry-red);
  padding: 0.8rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  flex: 1.2;
}

.buy-now-btn:hover {
  background-color: transparent;
  color: var(--color-cherry-red);
}

.detail-keepsake-btn {
  background: none;
  border: 1px solid var(--color-espresso-brown);
  padding: 0.8rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  border-radius: 50px;
  color: var(--color-espresso-brown);
  transition: all 0.3s ease;
}

.detail-keepsake-btn:hover {
  border-color: var(--color-cherry-red);
  color: var(--color-cherry-red);
}

/* Redesigned Coquette Checkout Modal */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 35, 20, 0.55);
  backdrop-filter: blur(6px);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.checkout-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-box {
  background-color: var(--color-cream-bg);
  width: 100%;
  max-width: 860px;
  padding: 3rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(61, 35, 20, 0.3);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow-y: auto;
  max-height: 90vh;
}

.checkout-modal-overlay.open .checkout-modal-box {
  transform: scale(1);
}

.checkout-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-espresso-brown);
}

.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-espresso-brown);
}

.checkout-layout {
  display: flex;
  gap: 3rem;
}

.checkout-summary-col, .checkout-payment-col {
  flex: 1;
}

.checkout-sub-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(61, 35, 20, 0.2);
  padding-bottom: 0.4rem;
}

.checkout-item-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #FFFDFC;
  border: 1px dashed var(--color-espresso-brown);
  padding: 1rem;
  border-radius: 6px;
}

.checkout-thumb {
  width: 50px;
  height: 50px;
  background: #F3ECE0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 4px;
}

.checkout-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
}

.checkout-item-cost {
  font-size: 0.85rem;
  color: var(--color-cherry-red);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
}

.free-text {
  color: #27ae60;
  font-weight: 500;
}

.total-row {
  border-top: 1px solid var(--color-espresso-brown);
  padding-top: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-cherry-red);
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(39, 174, 96, 0.08);
  border: 1.5px dashed #27ae60;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #1e7e43;
}

/* Tabs for Payment Gateways */
.payment-tabs {
  display: flex;
  border-bottom: 1px dashed var(--color-espresso-brown);
  margin-bottom: 1.5rem;
  gap: 8px;
}

.payment-tab {
  flex: 1;
  background: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-espresso-brown);
  opacity: 0.6;
  transition: all 0.2s ease;
}

.payment-tab:hover {
  opacity: 0.9;
}

.payment-tab.active {
  background-color: #FFFDFC;
  border-color: var(--color-espresso-brown);
  opacity: 1;
  font-weight: 600;
  box-shadow: 0 -3px 8px rgba(61, 35, 20, 0.05);
}

.payment-fields-panel {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeIn 0.3s ease;
}

.payment-fields-panel.active {
  display: flex;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.input-row-half {
  display: flex;
  gap: 1rem;
}

.input-row-half .input-group {
  flex: 1;
}

.secure-pay-btn {
  background-color: var(--color-cherry-red);
  color: var(--color-cream-bg);
  border: 1px solid var(--color-cherry-red);
  padding: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  width: 100%;
}

.secure-pay-btn:hover {
  background-color: transparent;
  color: var(--color-cherry-red);
}

.paypal-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.paypal-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-espresso-brown);
}

.mock-paypal-btn {
  background-color: #FFC439;
  border: none;
  border-radius: 50px;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #003087;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  width: 100%;
}

.mock-paypal-btn:hover {
  transform: translateY(-2px);
}

.paypal-logo-text em:first-child {
  color: #003087;
  font-style: italic;
  font-weight: 800;
}

.paypal-logo-text em:last-child {
  color: #0079C1;
  font-style: italic;
  font-weight: 800;
}

.floating-heart {
  position: fixed;
  pointer-events: none;
  z-index: 10003;
  user-select: none;
}

/* Footer Monogram (High Visibility Red) */
.footer-area {
  background-color: var(--color-cream-bg);
  padding: 5rem 5% 4rem 5%;
  text-align: center;
  border-top: 1px dashed var(--color-espresso-brown);
  position: relative;
  z-index: 2;
}

.monogram-signature {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 5.5rem;
  color: var(--color-cherry-red);
  opacity: 1;
  user-select: none;
  margin-bottom: -1rem;
  text-shadow: 0 0 10px rgba(138, 19, 36, 0.2);
}

.footer-sub {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-easter-egg {
  margin-top: 1.5rem;
}

.easter-egg {
  font-size: 1.5rem;
  display: inline-block;
  user-select: none;
  animation: gentlePulse 2.2s infinite ease-in-out;
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(6deg); }
}

.easter-egg-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #FCF9F2;
  color: #8A1324;
  border: 1px dashed #3D2314;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(138, 19, 36, 0.15);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  z-index: 10000;
  animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.easter-egg-msg.fade-out {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
  .hero-header {
    height: auto;
    min-height: 95vh;
    padding: 1.5rem 3% 6rem 3%;
  }

  /* Compact Horizontal Menu for Mobile screens so that everything fits on one line */
  .header-top-bar {
    width: 96%;
    left: 2%;
    right: 2%;
    padding: 0.4rem 0.6rem;
    top: 0.5rem;
    background: rgba(138, 19, 36, 0.98); /* Ensure readability against dynamic backgrounds */
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 30px;
  }

  .header-top-bar.sticky {
    top: 0.35rem;
    padding: 0.4rem 0.6rem;
    border-radius: 30px;
  }

  .logo-small {
    font-size: 1.5rem;
    padding-top: 0;
    margin-right: 4px;
  }

  .nav-menu {
    gap: 0.35rem;
  }

  .nav-link {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
    letter-spacing: 0.3px;
  }

  .nav-link.nav-btn {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.55);
    padding: 0.25rem 0.55rem;
  }

  .wish-count-badge {
    font-size: 0.6rem;
    padding: 0.05rem 0.25rem;
    margin-left: 1px;
  }

  .header-main-content {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    margin-top: 2rem;
  }

  .splash-img {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-card.coquette-border {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
    text-align: center;
  }

  .detail-modal-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Responsive Checkout Modal adjustments */
  .checkout-modal-box {
    padding: 2rem 1.25rem;
    width: 95%;
  }

  .checkout-layout {
    flex-direction: column;
    gap: 1.8rem;
  }
  
  .checkout-summary-col {
    order: 2; /* Move the order breakdown to the bottom of the form context on mobile screens */
    border-top: 1px dashed rgba(61, 35, 20, 0.15);
    padding-top: 1.5rem;
  }

  .checkout-payment-col {
    order: 1;
  }
}

/* ==========================================================================
   Mobile Top Bar & Header Adjustments (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Ultra-Compact Sticky Top Bar */
  .header-top-bar {
    padding: 0.35rem 0.75rem !important;
  }

  .header-top-bar.sticky {
    padding: 0.25rem 0.5rem !important;
  }

  .nav-container {
    padding: 0 0.25rem;
  }

  /* Compact Brand / Logo text inside bar */
  .brand-logo-text {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  .brand-ribbon-icon {
    width: 16px;
    height: 16px;
  }

  /* Compact Menu & Links */
  .nav-menu {
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
    border-radius: 12px;
  }

  /* Compact Action Buttons & Icons */
  .nav-actions {
    gap: 0.35rem;
  }

  .nav-action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .cart-badge {
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    font-size: 0.6rem;
  }

  /* Hero & Layout Stacking */
  .header-main-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .header-subtext {
    margin: 0 auto;
  }

  .header-splash-side {
    justify-content: center;
  }

  .about-card.coquette-border {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
    text-align: center;
  }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
  .header-top-bar {
    padding: 0.25rem 0.5rem !important;
  }

  .nav-link {
    font-size: 0.65rem;
    padding: 0.2rem 0.35rem;
  }

  .brand-logo-text {
    font-size: 0.85rem;
  }
}