/*
 * PYNKMOSS — Silver Surf Jewellery
 * ================================
 * HOW TO EDIT:
 *   - Colors  → change values in :root {} below
 *   - Fonts   → change font-family in :root or body
 *   - Spacing → search for padding / margin
 *   - Products → edit product cards in index.html
 */

/* ─────────────────────────────────────────
   COLOUR PALETTE — edit these to rebrand
   ───────────────────────────────────────── */
:root {
  --color-sand:          #f0e8d8;   /* page background warm */
  --color-sand-light:    #faf6ef;   /* lightest background */
  --color-sand-dark:     #e8dcc8;   /* material section bg  */
  --color-ocean-deep:    #0d3347;   /* dark navy            */
  --color-ocean-mid:     #1a5c7a;   /* medium teal          */
  --color-ocean-light:   #4fa8c5;   /* accent teal          */
  --color-silver:        #c8cdd4;
  --color-silver-bright: #e8ecf0;
  --color-silver-dark:   #8a9099;
  --color-text-dark:     #1a1a1a;
  --color-text-mid:      #4a4a4a;
  --color-white:         #ffffff;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Josefin Sans', Helvetica, sans-serif;

  /* Spacing */
  --section-padding: 7rem 4rem;
  --max-width: 1200px;
}

/* ─────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--color-sand-light);
  color: var(--color-text-dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(13, 51, 71, 0.9);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-sans);
  font-weight: 200;
  letter-spacing: 0.35em;
  font-size: 1.1rem;
  color: var(--color-white);
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 300;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-white); }
.nav-cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  padding: 0.5rem 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.nav-cta:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }

/* ─────────────────────────────────────────
   HERO
   ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* ✏️  EDIT: change gradient colours to match your brand */
  background: linear-gradient(160deg, #0d3347 0%, #1a5c7a 45%, #4fa8c5 75%, #8fd8e8 100%);
}

.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; z-index: 0;
}
.hero-bg-image.visible { opacity: 0.45; }
.hero-bg-image.visible + .hero-bg { display: none; }
.hero-bg-image.visible ~ .hero-content { position: relative; z-index: 2; }

.hero-floating-img {
  position: absolute;
  right: 5%; bottom: 12%; z-index: 3;
  width: min(280px, 30vw);
  animation: fadeUp 1.4s 0.6s ease both, float 5s 2s ease-in-out infinite alternate;
}
.hero-floating-img img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.wave-layer {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%23f0e8d8' fill-opacity='1' d='M0,160L60,144C120,128,240,96,360,101.3C480,107,600,149,720,154.7C840,160,960,128,1080,112C1200,96,1320,96,1380,96L1440,96L1440,220L1380,220C1320,220,1200,220,1080,220C960,220,840,220,720,220C600,220,480,220,360,220C240,220,120,220,60,220L0,220Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  animation: waveFloat 8s ease-in-out infinite alternate;
}
.wave-layer-2 {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23eef4f7' fill-opacity='0.6' d='M0,96L80,112C160,128,320,160,480,154.7C640,149,800,107,960,90.7C1120,75,1280,85,1360,90.7L1440,96L1440,180L1360,180C1280,180,1120,180,960,180C800,180,640,180,480,180C320,180,160,180,80,180L0,180Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  animation: waveFloat2 6s ease-in-out infinite alternate;
}
.bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  animation: rise linear infinite;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.4em;
  color: rgba(255,255,255,0.7); margin-bottom: 1.2rem; font-weight: 300;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300; color: var(--color-white);
  letter-spacing: 0.18em; line-height: 1; margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3em; font-style: italic; margin-bottom: 2.8rem;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic; color: rgba(255,255,255,0.88);
  margin-bottom: 3rem; line-height: 1.6;
}
.hero-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--color-white); padding: 1rem 3rem;
  font-size: 0.72rem; letter-spacing: 0.25em;
  font-family: var(--font-sans); cursor: pointer;
  transition: all 0.3s; background: transparent;
}
.hero-cta:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}
.scroll-hint {
  position: absolute; bottom: 8rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-hint span { font-size: 0.58rem; letter-spacing: 0.25em; color: rgba(255,255,255,0.5); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   SHARED SECTION ELEMENTS
   ───────────────────────────────────────── */
.section-label {
  font-size: 0.62rem; letter-spacing: 0.4em;
  color: var(--color-ocean-mid); margin-bottom: 0.8rem; font-weight: 300;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1.2rem;
}

/* ─────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
  max-width: var(--max-width); margin: 0 auto;
  padding: var(--section-padding);
}
.about-image-wrap { position: relative; aspect-ratio: 3/4; }
.about-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-ocean-mid) 50%, var(--color-ocean-light) 100%);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* ✏️  Replace with your own photo: add <img> inside .about-image-placeholder */
.about-image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.about-frame {
  position: absolute; top: -1rem; left: -1rem; right: 1rem; bottom: 1rem;
  border: 1px solid var(--color-ocean-light); opacity: 0.3; pointer-events: none;
}
.about-text p {
  font-size: 0.95rem; line-height: 2;
  color: var(--color-text-mid); margin-bottom: 1.4rem;
}
.about-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.6rem; color: var(--color-ocean-deep); line-height: 1.4;
  margin: 2rem 0;
  border-left: 2px solid var(--color-ocean-light); padding-left: 1.5rem;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(26,92,122,0.25);
  font-size: 0.65rem; letter-spacing: 0.12em;
  color: var(--color-ocean-mid); background: rgba(255,255,255,0.6);
}

/* ─────────────────────────────────────────
   COLLECTION
   ───────────────────────────────────────── */
.collection {
  background: var(--color-ocean-deep);
  padding: var(--section-padding);
}
.collection-header { text-align: center; margin-bottom: 5rem; }
.collection-header .section-label { color: var(--color-ocean-light); }
.collection-header .section-title { color: var(--color-white); }
.collection-header p {
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
  letter-spacing: 0.08em; max-width: 500px; margin: 0 auto; line-height: 1.9;
}
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; max-width: var(--max-width); margin: 0 auto;
}
.product-card {
  background: #0f3d56; overflow: hidden;
  cursor: pointer; transition: transform 0.3s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); z-index: 2; }
.product-img-wrap {
  aspect-ratio: 1; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #0a2a38 0%, #1a5c7a 100%);
}
.product-img-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(79,168,197,0.15), transparent 70%);
  z-index: 1; pointer-events: none;
}
/* ✏️  To swap a product image: replace the src in index.html <img> tags */
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge-num {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--color-ocean-light); opacity: 0.7;
}
.product-info { padding: 1.5rem 1.8rem 2rem; }
.product-name {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 400; color: var(--color-white); margin-bottom: 0.3rem;
}
.product-tagline {
  font-size: 0.7rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em; line-height: 1.6; margin-bottom: 0.8rem;
  font-style: italic; font-family: var(--font-serif);
}
.product-meta {
  font-size: 0.6rem; letter-spacing: 0.12em;
  color: var(--color-ocean-light); opacity: 0.7; margin-bottom: 1rem;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 1.5rem; color: var(--color-silver-bright);
}
.product-price-alt {
  font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 0.2rem;
}
.product-btn {
  margin-top: 1.2rem; display: block; width: 100%;
  padding: 0.7rem; background: transparent;
  border: 1px solid rgba(79,168,197,0.35);
  color: var(--color-ocean-light);
  font-size: 0.62rem; letter-spacing: 0.2em;
  font-family: var(--font-sans); cursor: pointer;
  transition: all 0.25s; opacity: 0; transform: translateY(8px);
}
.product-card:hover .product-btn { opacity: 1; transform: translateY(0); background: rgba(79,168,197,0.1); }
.product-btn:hover { background: rgba(79,168,197,0.2) !important; border-color: var(--color-ocean-light) !important; }

/* ─────────────────────────────────────────
   MATERIALS / PROMISE
   ───────────────────────────────────────── */
.materials {
  padding: var(--section-padding);
  background: var(--color-sand); text-align: center;
}
.materials-inner { max-width: 960px; margin: 0 auto; }
.materials-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 4rem;
}
.material-item { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.material-icon-wrap {
  width: 70px; height: 70px;
  border: 1px solid rgba(26,92,122,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; background: rgba(255,255,255,0.5);
}
.material-label {
  font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--color-ocean-mid); text-align: center; line-height: 1.6;
}

/* ─────────────────────────────────────────
   PHILOSOPHY / QUOTE BAND
   ───────────────────────────────────────── */
.philosophy {
  background: linear-gradient(135deg, var(--color-ocean-deep) 0%, #0a2a38 100%);
  padding: 9rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.philosophy::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(79,168,197,0.1), transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(26,92,122,0.2), transparent 50%);
}
.philosophy-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.philosophy-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic; font-weight: 300; color: var(--color-white); line-height: 1.5;
  margin-bottom: 2rem;
}
.philosophy-author { font-size: 0.65rem; letter-spacing: 0.3em; color: var(--color-ocean-light); opacity: 0.7; }
.philosophy-body {
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
  line-height: 2; letter-spacing: 0.04em; margin-top: 2.5rem;
}

/* ─────────────────────────────────────────
   CUSTOM ORDER FORM
   ───────────────────────────────────────── */
.custom-section { background: var(--color-sand-light); }
.custom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
  max-width: var(--max-width); margin: 0 auto;
  padding: var(--section-padding);
}
.custom-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; line-height: 1.2; margin-bottom: 1.5rem;
}
.custom p { font-size: 0.9rem; line-height: 2; color: var(--color-text-mid); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(26,92,122,0.25);
  padding: 0.8rem 0; font-size: 0.82rem;
  font-family: var(--font-sans); letter-spacing: 0.05em;
  color: var(--color-text-dark); outline: none;
  transition: border-color 0.2s; resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-bottom-color: var(--color-ocean-mid); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(0,0,0,0.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.submit-btn {
  margin-top: 1rem; padding: 1rem 3rem;
  background: var(--color-ocean-deep); border: none; color: var(--color-white);
  font-size: 0.68rem; letter-spacing: 0.25em;
  font-family: var(--font-sans); cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.submit-btn:hover { background: var(--color-ocean-mid); transform: translateY(-2px); }
.custom-features { display: flex; flex-direction: column; gap: 1.5rem; }
.custom-feature {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem; background: rgba(26,92,122,0.05);
  border-left: 2px solid var(--color-ocean-light);
  opacity: 0.8; transition: opacity 0.2s;
}
.custom-feature:hover { opacity: 1; }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.feature-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.3rem; }
.feature-desc { font-size: 0.75rem; color: var(--color-text-mid); line-height: 1.7; letter-spacing: 0.03em; }

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
footer { background: #081f2d; color: rgba(255,255,255,0.55); padding: 5rem 4rem 3rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-sans); font-weight: 200;
  letter-spacing: 0.35em; font-size: 1.3rem; color: var(--color-white); margin-bottom: 1rem;
}
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1rem; margin-bottom: 1.5rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 1rem; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.social-link:hover { border-color: rgba(255,255,255,0.5); color: var(--color-white); }
.footer-col h4 { font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { font-size: 0.8rem; margin-bottom: 0.8rem; cursor: pointer; transition: color 0.2s; }
.footer-col li:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; letter-spacing: 0.08em;
}
.footer-site { font-family: var(--font-serif); font-style: italic; color: var(--color-ocean-light); font-size: 0.85rem; }

/* ─────────────────────────────────────────
   MODAL
   ───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,31,45,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--color-sand-light); max-width: 520px; width: 90%;
  padding: 3rem; position: relative;
  transform: translateY(20px) scale(0.97); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text-mid); }
.modal-title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 300; margin-bottom: 0.4rem; }
.modal-price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--color-ocean-mid); margin-bottom: 1rem; }
.modal-meta { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--color-ocean-light); margin-bottom: 1rem; }
.modal-desc { font-size: 0.85rem; line-height: 1.9; color: var(--color-text-mid); margin-bottom: 2rem; }
.modal-cta {
  width: 100%; padding: 1rem; background: var(--color-ocean-deep); border: none;
  color: var(--color-white); font-size: 0.7rem; letter-spacing: 0.2em;
  font-family: var(--font-sans); cursor: pointer; transition: background 0.2s;
}
.modal-cta:hover { background: var(--color-ocean-mid); }

/* ─────────────────────────────────────────
   TOAST NOTIFICATION
   ───────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 300;
  background: var(--color-ocean-deep); color: var(--color-white);
  padding: 1rem 2rem; font-size: 0.72rem; letter-spacing: 0.1em;
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────
   KEYFRAME ANIMATIONS
   ───────────────────────────────────────── */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float     { from { transform: translateY(0px) rotate(-2deg); } to { transform: translateY(-18px) rotate(2deg); } }
@keyframes waveFloat { 0% { transform: translateX(-20px) scaleY(1); } 100% { transform: translateX(20px) scaleY(1.04); } }
@keyframes waveFloat2{ 0% { transform: translateX(15px); } 100% { transform: translateX(-15px); } }
@keyframes rise      { 0% { transform: translateY(0) scale(1); opacity: 0.6; } 100% { transform: translateY(-90vh) scale(1.4); opacity: 0; } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET & MOBILE
   ───────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .about, .custom { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .materials-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-floating-img { display: none; }
}
@media (max-width: 600px) {
  :root { --section-padding: 5rem 1.5rem; }
  .collection, .materials, .philosophy { padding: 5rem 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ─────────────────────────────────────────
   CHECKOUT MODAL
   ───────────────────────────────────────── */
.checkout-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8,31,45,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.checkout-overlay.open { opacity: 1; pointer-events: all; }
.checkout-box {
  background: var(--color-sand-light); max-width: 560px; width: 94%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97); transition: transform 0.3s;
}
.checkout-overlay.open .checkout-box { transform: none; }
.checkout-header {
  background: var(--color-ocean-deep);
  padding: 1.8rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.checkout-header h3 { color: #fff; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 300; }
.checkout-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.5rem; cursor: pointer; }
.checkout-body { padding: 2rem; }
.checkout-product-row {
  display: flex; gap: 1rem; align-items: center;
  padding: 1rem; background: rgba(26,92,122,0.06);
  margin-bottom: 1.5rem;
}
.checkout-product-row img { width: 70px; height: 70px; object-fit: cover; }
.checkout-product-info h4 { font-family: var(--font-serif); font-size: 1.1rem; }
.checkout-product-info p { font-size: 0.72rem; color: var(--color-text-mid); margin-top: 0.2rem; }
.checkout-product-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--color-ocean-mid); margin-left: auto; }
.checkout-divider { height: 1px; background: rgba(26,92,122,0.15); margin: 1.2rem 0; }
.checkout-section-title { font-size: 0.62rem; letter-spacing: 0.25em; color: var(--color-ocean-mid); margin-bottom: 1rem; }
.checkout-field { margin-bottom: 1rem; }
.checkout-field label { display: block; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--color-text-mid); margin-bottom: 0.35rem; }
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%; background: #fff; border: 1px solid rgba(26,92,122,0.18);
  padding: 0.7rem 0.9rem; font-size: 0.82rem;
  font-family: var(--font-sans); color: var(--color-text-dark); outline: none;
  transition: border-color 0.2s; resize: none;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus { border-color: var(--color-ocean-mid); }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.size-select-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.size-btn {
  padding: 0.4rem 0.9rem; border: 1px solid rgba(26,92,122,0.25);
  background: transparent; font-size: 0.7rem; cursor: pointer;
  font-family: var(--font-sans); transition: all 0.2s;
}
.size-btn.active, .size-btn:hover { background: var(--color-ocean-deep); color: #fff; border-color: var(--color-ocean-deep); }
.checkout-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; margin-top: 0.5rem;
}
.checkout-total-label { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--color-text-mid); }
.checkout-total-price { font-family: var(--font-serif); font-size: 1.8rem; color: var(--color-ocean-deep); }
.checkout-note { font-size: 0.7rem; color: var(--color-text-mid); line-height: 1.6; margin-bottom: 1.5rem; }
.pay-btn {
  width: 100%; padding: 1.1rem; border: none;
  background: var(--color-ocean-deep); color: #fff;
  font-size: 0.75rem; letter-spacing: 0.2em;
  font-family: var(--font-sans); cursor: pointer;
  transition: background 0.25s; margin-bottom: 0.8rem;
}
.pay-btn:hover { background: var(--color-ocean-mid); }
.pay-btn.whatsapp { background: #25d366; }
.pay-btn.whatsapp:hover { background: #1da851; }
.pay-methods { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 0.8rem; }
.pay-methods span { font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(0,0,0,0.3); }
.pay-badge { padding: 0.25rem 0.6rem; border: 1px solid rgba(0,0,0,0.1); font-size: 0.6rem; color: var(--color-text-mid); }

/* ─────────────────────────────────────────
   SUCCESS PAGE / ORDER CONFIRMATION
   ───────────────────────────────────────── */
.success-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--color-sand-light);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.success-overlay.open { opacity: 1; pointer-events: all; }
.success-box { text-align: center; max-width: 440px; padding: 3rem 2rem; }
.success-icon { font-size: 4rem; margin-bottom: 1.5rem; animation: float 3s ease-in-out infinite alternate; }
.success-title { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300; margin-bottom: 0.8rem; color: var(--color-ocean-deep); }
.success-sub { font-size: 0.85rem; line-height: 1.9; color: var(--color-text-mid); margin-bottom: 2rem; }
.success-order-id { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--color-ocean-light); margin-bottom: 2rem; }
.success-actions { display: flex; flex-direction: column; gap: 0.8rem; }

/* ─────────────────────────────────────────
   ADMIN / ORDER DASHBOARD
   ───────────────────────────────────────── */
.admin-bar {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 200; display: none;
}
.admin-bar.visible { display: block; }
.admin-toggle {
  background: var(--color-ocean-deep); color: #fff;
  border: none; padding: 0.7rem 1.6rem;
  font-size: 0.65rem; letter-spacing: 0.2em;
  font-family: var(--font-sans); cursor: pointer;
  box-shadow: 0 8px 30px rgba(13,51,71,0.35);
  border-radius: 2px;
}
.admin-panel {
  position: fixed; inset: 0; z-index: 500;
  background: #081f2d; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.admin-panel.open { opacity: 1; pointer-events: all; }
.admin-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-nav h1 { font-family: var(--font-serif); color: #fff; font-size: 1.4rem; font-weight: 300; }
.admin-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.3rem; cursor: pointer; }
.admin-body { padding: 2rem; max-width: 1100px; margin: 0 auto; }
.admin-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem; border-radius: 2px;
}
.stat-label { font-size: 0.6rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.stat-value { font-family: var(--font-serif); font-size: 2rem; color: #fff; }
.stat-sub { font-size: 0.65rem; color: var(--color-ocean-light); margin-top: 0.3rem; }
.admin-section-title {
  font-size: 0.62rem; letter-spacing: 0.25em; color: rgba(255,255,255,0.4);
  margin-bottom: 1rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  text-align: left; font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35); padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.orders-table td {
  padding: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.orders-table tr:hover td { background: rgba(255,255,255,0.03); }
.status-badge {
  display: inline-block; padding: 0.25rem 0.7rem;
  font-size: 0.58rem; letter-spacing: 0.1em; border-radius: 2px;
}
.status-paid    { background: rgba(37,211,102,0.15); color: #25d366; }
.status-pending { background: rgba(255,193,7,0.15);  color: #ffc107; }
.status-whatsapp{ background: rgba(79,168,197,0.15); color: #4fa8c5; }
.order-action-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5); padding: 0.3rem 0.7rem;
  font-size: 0.6rem; letter-spacing: 0.1em;
  font-family: var(--font-sans); cursor: pointer;
  transition: all 0.2s; margin-right: 0.3rem;
}
.order-action-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.admin-empty {
  text-align: center; padding: 4rem 2rem;
  color: rgba(255,255,255,0.25); font-size: 0.85rem;
}
.admin-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; }
.admin-tab {
  padding: 0.7rem 1.5rem; background: transparent;
  border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.4);
  font-size: 0.65rem; letter-spacing: 0.15em; font-family: var(--font-sans);
  cursor: pointer; transition: all 0.2s; margin-right: -1px;
}
.admin-tab.active { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.2); }
.admin-export {
  background: rgba(79,168,197,0.15); border: 1px solid rgba(79,168,197,0.3);
  color: var(--color-ocean-light); padding: 0.6rem 1.2rem;
  font-size: 0.62rem; letter-spacing: 0.15em;
  font-family: var(--font-sans); cursor: pointer; transition: all 0.2s;
}
.admin-export:hover { background: rgba(79,168,197,0.25); }
.admin-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.enquiry-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem; margin-bottom: 0.8rem;
}
.enquiry-name { color: #fff; font-size: 0.9rem; margin-bottom: 0.3rem; }
.enquiry-meta { font-size: 0.68rem; color: var(--color-ocean-light); margin-bottom: 0.5rem; }
.enquiry-idea { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-style: italic; }
.enquiry-time { font-size: 0.6rem; color: rgba(255,255,255,0.25); margin-top: 0.5rem; }

@media (max-width: 700px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .checkout-row { grid-template-columns: 1fr; }
  .orders-table th:nth-child(4),
  .orders-table td:nth-child(4) { display: none; }
}

/* ─────────────────────────────────────────
   DASHBOARD V2 — search, filters, order cards
   ───────────────────────────────────────── */
.stat-card.highlight-card {
  background: linear-gradient(135deg, rgba(79,168,197,0.18), rgba(26,92,122,0.12));
  border-color: rgba(79,168,197,0.4);
}
.admin-stats { grid-template-columns: repeat(5, 1fr); }

.orders-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.orders-search {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; padding: 0.75rem 1rem;
  font-size: 0.82rem; font-family: var(--font-sans);
  border-radius: 8px; outline: none;
}
.orders-search::placeholder { color: rgba(255,255,255,0.35); }
.orders-search:focus { border-color: var(--color-ocean-light); }
.orders-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ofilter {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  padding: 0.6rem 1rem; font-size: 0.66rem; letter-spacing: 0.08em;
  font-family: var(--font-sans); cursor: pointer; border-radius: 8px;
  transition: all 0.2s; white-space: nowrap;
}
.ofilter:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.ofilter.active { background: var(--color-ocean-light); color: #06222e; border-color: var(--color-ocean-light); font-weight: 600; }

/* Order cards */
.order-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid var(--color-ocean-light);
  border-radius: 10px; padding: 1.3rem 1.4rem; margin-bottom: 1rem;
  transition: all 0.2s;
}
.order-card:hover { background: rgba(255,255,255,0.06); }
.order-card.is-shipped { border-left-color: #25d366; opacity: 0.78; }
.order-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.8rem; }
.order-id { font-family: var(--font-sans); font-weight: 600; color: #fff; font-size: 0.95rem; letter-spacing: 0.05em; }
.order-date { font-size: 0.65rem; color: rgba(255,255,255,0.35); margin-top: 0.2rem; }
.order-amount { font-family: var(--font-serif); font-size: 1.6rem; color: var(--color-silver-bright); }
.order-product {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-ocean-light);
  margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.order-customer { margin-bottom: 1rem; }
.oc-row { display: flex; gap: 0.8rem; margin-bottom: 0.4rem; font-size: 0.8rem; }
.oc-label {
  min-width: 70px; color: rgba(255,255,255,0.35);
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding-top: 0.15rem;
}
.oc-row span:last-child { color: rgba(255,255,255,0.85); flex: 1; }
.order-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.oa-btn {
  flex: 1; min-width: 110px;
  padding: 0.7rem 0.8rem; border-radius: 8px; cursor: pointer;
  font-size: 0.68rem; letter-spacing: 0.05em; font-family: var(--font-sans);
  border: 1px solid transparent; transition: all 0.2s;
}
.oa-btn.copy   { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.15); }
.oa-btn.copy:hover { background: rgba(255,255,255,0.15); }
.oa-btn.wa     { background: rgba(37,211,102,0.15); color: #25d366; border-color: rgba(37,211,102,0.3); }
.oa-btn.wa:hover { background: rgba(37,211,102,0.25); }
.oa-btn.ship   { background: var(--color-ocean-light); color: #06222e; font-weight: 600; }
.oa-btn.ship:hover { background: #6bc0db; }
.oa-btn.undo   { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.12); }
.oa-btn.undo:hover { color: #fff; }

@media (max-width: 700px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .orders-toolbar { flex-direction: column; align-items: stretch; }
  .orders-filters { justify-content: space-between; }
  .ofilter { flex: 1; text-align: center; }
  .order-amount { font-size: 1.3rem; }
}

/* ─────────────────────────────────────────
   SHOP EDITOR (in-dashboard)
   ───────────────────────────────────────── */
.editor-wrap { max-width: 760px; margin: 0 auto; }
.editor-intro { margin-bottom: 1.5rem; }
.editor-intro h2 { font-family: var(--font-serif); color: #fff; font-weight: 300; font-size: 1.6rem; margin-bottom: 0.5rem; }
.editor-intro p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.7; }
.editor-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.enav {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6); padding: 0.6rem 1rem; font-size: 0.68rem;
  letter-spacing: 0.05em; font-family: var(--font-sans); cursor: pointer;
  border-radius: 8px; transition: all 0.2s;
}
.enav:hover { color: #fff; }
.enav.active { background: var(--color-ocean-light); color: #06222e; border-color: var(--color-ocean-light); font-weight: 600; }
.editor-tip { color: rgba(255,255,255,0.45); font-size: 0.76rem; margin-bottom: 1.2rem; line-height: 1.6; }

.ep-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 1.4rem; margin-bottom: 1.2rem;
}
.ep-section { color: var(--color-ocean-light); font-size: 0.95rem; margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 600; }
.ep-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.ep-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,0.05); flex-shrink: 0; }
.ep-head-info { flex: 1; }
.ep-name {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 1rem; font-family: var(--font-serif); padding: 0.55rem 0.75rem;
  border-radius: 6px; outline: none; margin-bottom: 0.5rem;
}
.ep-name:focus { border-color: var(--color-ocean-light); }
.ep-price-row { display: flex; align-items: center; gap: 0.5rem; }
.ep-price-row > span { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.ep-price {
  width: 100px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 0.95rem; padding: 0.5rem 0.7rem; border-radius: 6px; outline: none;
}
.ep-price:focus { border-color: var(--color-ocean-light); }
.ep-del {
  margin-left: auto; background: rgba(217,75,79,0.12); color: #e88; border: 1px solid rgba(217,75,79,0.3);
  padding: 0.5rem 0.8rem; font-size: 0.65rem; border-radius: 6px; cursor: pointer; font-family: var(--font-sans);
}
.ep-del:hover { background: rgba(217,75,79,0.22); }
.ep-label { display: block; color: rgba(255,255,255,0.4); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0.9rem 0 0.35rem; }
.ep-field {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 0.82rem; font-family: var(--font-sans); padding: 0.6rem 0.75rem;
  border-radius: 6px; outline: none; resize: vertical; line-height: 1.5;
}
.ep-field:focus { border-color: var(--color-ocean-light); }
.ep-photo-hint { color: rgba(255,255,255,0.35); font-size: 0.68rem; margin-top: 0.4rem; line-height: 1.5; }
.ep-photo-hint b { color: var(--color-ocean-light); }
.ep-add {
  width: 100%; background: rgba(79,168,197,0.12); border: 1px dashed rgba(79,168,197,0.4);
  color: var(--color-ocean-light); padding: 1rem; font-size: 0.78rem; letter-spacing: 0.05em;
  border-radius: 10px; cursor: pointer; font-family: var(--font-sans); transition: all 0.2s;
}
.ep-add:hover { background: rgba(79,168,197,0.2); }

.editor-savebar {
  position: sticky; bottom: 0; background: linear-gradient(to top, #081f2d 70%, transparent);
  padding: 1.5rem 0 1rem; margin-top: 1rem; text-align: center;
}
.editor-save-btn {
  background: var(--color-ocean-light); color: #06222e; border: none;
  padding: 1.1rem 2.5rem; font-size: 0.85rem; letter-spacing: 0.05em; font-weight: 600;
  border-radius: 10px; cursor: pointer; font-family: var(--font-sans);
  box-shadow: 0 8px 24px rgba(79,168,197,0.3); transition: all 0.2s;
}
.editor-save-btn:hover { background: #6bc0db; transform: translateY(-2px); }
.editor-save-hint { color: rgba(255,255,255,0.4); font-size: 0.7rem; margin-top: 0.7rem; }

.help-steps { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 2; padding-left: 1.3rem; }
.help-steps li { margin-bottom: 0.3rem; }
.help-steps b { color: var(--color-ocean-light); }
.help-note {
  background: rgba(79,168,197,0.08); border-left: 3px solid var(--color-ocean-light);
  border-radius: 0 8px 8px 0; padding: 0.9rem 1.1rem; margin-top: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.6;
}
.help-note b { color: var(--color-ocean-light); }

/* ── Admin nav buttons (backup/restore) ── */
.admin-nav-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7); padding: 0.5rem 0.9rem; font-size: 0.65rem;
  letter-spacing: 0.05em; border-radius: 7px; cursor: pointer; font-family: var(--font-sans);
  transition: all 0.2s; white-space: nowrap;
}
.admin-nav-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 600px) {
  .admin-nav { flex-wrap: wrap; gap: 0.6rem; }
  .admin-nav h1 { font-size: 1.1rem; }
  .admin-nav-btn { font-size: 0.6rem; padding: 0.45rem 0.7rem; }
}
