/* ═══════════════════════════════════════════════════
   PtosisGlasses.com — Shared Stylesheet
   Brand: ARTView | Design: Refined Medical-Luxury
   Palette: Deep Slate + Warm Ivory + Gold Accent
   Fonts: Cormorant Garamond (headings) + Jost (body)
═══════════════════════════════════════════════════ */

:root {
  --slate:       #1c2b3a;
  --slate-mid:   #2e4255;
  --slate-light: #e8eef4;
  --gold:        #b8924a;
  --gold-light:  #f5edd9;
  --ivory:       #faf8f4;
  --ivory-dark:  #f0ebe1;
  --text-dark:   #1a2530;
  --text-mid:    #4a5c6a;
  --text-light:  #7a8c98;
  --white:       #ffffff;
  --wa:          #25d366;
  --wa-dark:     #1da851;
  --danger:      #c0392b;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ══ TYPOGRAPHY ══ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--slate); margin-bottom: 18px; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); color: var(--slate); margin-bottom: 12px; }
h4 { font-size: 1.05rem; color: var(--slate); margin-bottom: 8px; }
p  { color: var(--text-mid); line-height: 1.8; font-size: 0.97rem; font-weight: 300; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
a  { color: var(--gold); text-decoration: none; }
a:hover { color: var(--slate); }
ul, ol { padding-left: 20px; }
li { color: var(--text-mid); line-height: 1.8; font-size: 0.95rem; font-weight: 300; margin-bottom: 6px; }
strong { color: var(--slate); font-weight: 600; }

/* ══ LAYOUT ══ */
.container       { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.section         { padding: 72px 24px; }
.section-dark    { padding: 72px 24px; background: var(--slate); }
.section-sand    { padding: 72px 24px; background: var(--ivory-dark); }
.section-gold    { padding: 72px 24px; background: var(--gold-light); }

/* ══ LABELS & DIVIDERS ══ */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.section-label-light { color: rgba(184,146,74,0.85); }
.gold-line {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 20px 0;
}
.gold-line-center { margin: 20px auto; }

/* ══ BUTTONS ══ */
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--slate); color: var(--white);
  padding: 14px 28px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: all 0.25s; border: 2px solid var(--slate);
  text-decoration: none;
}
.btn-store:hover { background: var(--slate-mid); border-color: var(--slate-mid); transform: translateY(-1px); color: var(--white); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: var(--white);
  padding: 14px 28px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: all 0.25s; text-decoration: none;
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); color: var(--white); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  padding: 13px 26px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 400; letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.4); transition: all 0.25s;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--white);
  padding: 14px 28px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: all 0.25s; text-decoration: none;
}
.btn-gold:hover { background: #a07a38; transform: translateY(-1px); color: var(--white); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-group-center { justify-content: center; }

/* ══ HEADER ══ */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--slate);
  border-bottom: 1px solid rgba(184,146,74,0.25);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 24px; height: 62px;
  max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white); font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.03em; text-decoration: none; flex-shrink: 0;
}
.logo span { color: var(--gold); }

/* Desktop Nav */
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.72); font-size: 0.82rem;
  padding: 8px 12px; border-radius: 3px;
  transition: all 0.2s; white-space: nowrap;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,0.08);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--slate-mid);
  border: 1px solid rgba(184,146,74,0.2);
  border-radius: 4px; min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  padding: 8px 0; z-index: 300;
}
.dropdown a {
  display: block; padding: 10px 18px;
  color: rgba(255,255,255,0.75); font-size: 0.82rem;
  border-radius: 0;
}
.dropdown a:hover { background: rgba(255,255,255,0.08); color: white; }

.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.header-wa {
  display: flex; align-items: center; gap: 7px;
  background: var(--wa); color: white; padding: 8px 16px;
  border-radius: 4px; text-decoration: none; font-size: 0.8rem;
  font-weight: 500; transition: all 0.2s; white-space: nowrap;
}
.header-wa:hover { background: var(--wa-dark); color: white; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--slate-mid); padding: 12px 0;
  border-top: 1px solid rgba(184,146,74,0.15);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.78); font-size: 0.88rem;
  padding: 12px 24px; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.mobile-nav a:hover { color: white; background: rgba(255,255,255,0.05); }
.mobile-nav .mobile-section {
  color: var(--gold); font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 14px 24px 6px;
  font-weight: 600;
}

/* ══ HERO (shared) ══ */
.hero {
  background: linear-gradient(145deg, var(--slate) 0%, #24384f 50%, #1e3048 100%);
  padding: 84px 24px 96px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184,146,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-brand {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500; display: block;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.72); font-size: clamp(0.95rem, 2vw, 1.08rem);
  max-width: 600px; margin: 0 auto 38px; line-height: 1.78; font-weight: 300;
}
.hero-breadcrumb {
  font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-breadcrumb span { margin: 0 8px; }
.hero-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 36px auto 0;
}

/* ══ TRUST STRIP ══ */
.trust-strip {
  background: var(--gold-light); border-bottom: 1px solid #e0d0b0;
  padding: 13px 24px; display: flex; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--slate); font-weight: 500; letter-spacing: 0.01em;
}
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ══ CONTENT BLOCKS ══ */
.blockquote {
  border-left: 3px solid var(--gold); padding-left: 20px; margin: 24px 0;
}
.blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; color: var(--slate); font-size: 1.1rem; line-height: 1.65;
}

.info-box {
  background: var(--slate-light); border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0; padding: 20px 24px; margin: 24px 0;
}
.info-box p { font-size: 0.9rem; margin: 0; }
.info-box strong { color: var(--slate); }

.warning-box {
  background: #fdf3f2; border-left: 3px solid var(--danger);
  border-radius: 0 6px 6px 0; padding: 20px 24px; margin: 24px 0;
}
.warning-box p { font-size: 0.9rem; margin: 0; color: #6a3030; }

/* ══ CARDS ══ */
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.card {
  background: var(--white); border: 1px solid #e0d8cc;
  border-radius: 4px; padding: 28px 24px;
  transition: all 0.3s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,43,58,0.1); }
.card-dark {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(184,146,74,0.15);
  border-radius: 4px; padding: 28px 24px; transition: background 0.25s;
}
.card-dark:hover { background: rgba(255,255,255,0.08); }
.card-dark h3 { color: var(--white); }
.card-dark p  { color: rgba(255,255,255,0.55); }
.card-gold-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), #d4a85a);
  border-radius: 4px 4px 0 0;
}
.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; color: var(--gold); opacity: 0.5;
  line-height: 1; margin-bottom: 14px; font-weight: 600;
}

/* ══ TABLE ══ */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.88rem; }
.comparison-table th {
  background: var(--slate); color: var(--white);
  padding: 14px 16px; text-align: left; font-weight: 500;
  font-family: 'Jost', sans-serif; letter-spacing: 0.04em;
}
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid #e0d8cc; color: var(--text-mid); }
.comparison-table tr:nth-child(even) td { background: var(--ivory-dark); }
.comparison-table .yes { color: #1a8a4a; font-weight: 500; }
.comparison-table .no  { color: var(--danger); font-weight: 500; }

/* ══ FAQ ══ */
.faq-item { border-bottom: 1px solid #d8d0c4; }
.faq-q {
  padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 500; color: var(--slate); font-size: 0.95rem;
  user-select: none; gap: 16px;
}
.faq-arrow {
  width: 22px; height: 22px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: 1.1rem; transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 0 20px; }
.faq-a-inner p { font-size: 0.9rem; }

/* ══ CTA BANNER ══ */
.cta-banner {
  background: linear-gradient(135deg, var(--slate) 0%, #243a50 100%);
  padding: 72px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(184,146,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 32px; }

/* ══ INTERNAL LINKS BLOCK ══ */
.related-links { background: var(--slate-light); border-radius: 4px; padding: 24px 28px; margin: 36px 0; }
.related-links h4 { margin-bottom: 14px; }
.related-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links ul li { margin: 0; }
.related-links ul li a {
  display: inline-block; background: var(--white); border: 1px solid #d8d0c4;
  color: var(--slate); padding: 7px 14px; border-radius: 3px;
  font-size: 0.82rem; font-weight: 500; transition: all 0.2s;
  text-decoration: none;
}
.related-links ul li a:hover { background: var(--slate); color: white; border-color: var(--slate); }

/* ══ BREADCRUMB ══ */
.breadcrumb {
  padding: 12px 24px; background: var(--ivory-dark);
  border-bottom: 1px solid #e0d8cc; font-size: 0.78rem; color: var(--text-light);
  max-width: 100%;
}
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ══ FOOTER ══ */
footer {
  background: #0f1c28; color: rgba(255,255,255,0.4);
  padding: 48px 24px 32px; font-size: 0.8rem; line-height: 1.9;
}
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo { font-size: 1.15rem; margin-bottom: 12px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.38); font-size: 0.8rem; line-height: 1.7; }
.footer-col h5 {
  color: rgba(255,255,255,0.65); font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px; text-align: center;
  max-width: 1000px; margin: 0 auto;
  font-size: 0.72rem; opacity: 0.45;
}

/* ══ FLOATING WA ══ */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--wa); color: white; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; z-index: 999;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  animation: wa-pulse 2.8s infinite;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ══ ANIMATIONS ══ */
.fade-up { opacity:0; transform:translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay:0.1s; }
.delay-2 { transition-delay:0.2s; }
.delay-3 { transition-delay:0.3s; }
.delay-4 { transition-delay:0.3s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .section, .section-dark, .section-sand, .section-gold { padding: 52px 20px; }
  .hero { padding: 56px 20px 68px; }
  .trust-strip { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group a { text-align: center; justify-content: center; }
}

/* ══ PRODUCT IMAGES ══ */
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  display: block;
  background: var(--ivory-dark);
}
.product-img-square {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 4px;
  background: var(--ivory-dark);
  padding: 16px;
}
.product-card {
  background: var(--white);
  border: 1px solid #e0d8cc;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,43,58,0.12); }
.product-card-body { padding: 20px 20px 24px; }
.product-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.product-card-body p { font-size: 0.85rem; margin-bottom: 14px; }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: white;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 36px; }

/* ══ PRODUCT DETAIL PAGE ══ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail-imgs { position: sticky; top: 80px; }
.product-main-img { width: 100%; border-radius: 6px; background: var(--ivory-dark); }
.product-thumb-row { display: flex; gap: 10px; margin-top: 12px; }
.product-thumb {
  width: 72px; height: 72px; object-fit: contain;
  border: 2px solid #e0d8cc; border-radius: 4px;
  cursor: pointer; padding: 4px; background: var(--ivory-dark);
  transition: border-color 0.2s;
}
.product-thumb:hover, .product-thumb.active { border-color: var(--gold); }
.product-detail-info h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--slate); font-size: clamp(1.6rem,3vw,2rem);
  font-weight: 600; margin-bottom: 10px;
}
.product-brand-tag {
  display: inline-block; background: var(--gold-light);
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px; margin-bottom: 16px;
}
.product-spec-list { list-style: none; padding: 0; margin: 20px 0; }
.product-spec-list li {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid #e8e0d4; font-size: 0.9rem;
}
.product-spec-list li:last-child { border-bottom: none; }
.spec-label { color: var(--text-light); min-width: 120px; font-size: 0.85rem; }
.spec-value { color: var(--slate); font-weight: 500; }
.product-cta-group { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.product-cta-group .btn-store,
.product-cta-group .btn-wa { width: 100%; justify-content: center; }

@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-detail-imgs { position: static; }
}
