/* ── Artisan Frames — style.css ─────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-2: #F3F0EC;
  --card: #FFFFFF;
  --card-2: #F9F7F4;
  --primary: #8B6914;
  --primary-2: #A8820A;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --text: #1A1A1A;
  --text-muted: #6B6560;
  --border: #E2DDD6;
  --accent: #2C2420;
  --white: #FFFFFF;
  --shadow: rgba(0,0,0,0.08);
  --shadow-lg: rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250,250,248,0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.site-logo span { color: var(--gold); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-banner.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,16,10,0.72) 0%, rgba(20,16,10,0.4) 60%, rgba(20,16,10,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-heading {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── Section Styles ─────────────────────────────────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Product Grid ────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-2);
}

.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-size, .product-color {
  font-size: 12px;
  color: var(--text-muted);
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.btn-add-cart {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.btn-add-cart:hover { background: var(--primary); }

/* ── Features Section ────────────────────────────────────────────── */
.features-section {
  background: var(--bg-2);
  padding: 80px 24px;
}

.features-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
}

.feature-icon {
  width: 56px; height: 56px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Inquiry Section ─────────────────────────────────────────────── */
.inquiry-section {
  padding: 80px 24px;
  background: var(--card);
}

.inquiry-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus, .form-textarea:focus { border-color: var(--gold); }

.form-textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  grid-column: 1 / -1;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--primary); }

.inquiry-success {
  display: none;
  padding: 24px;
  background: var(--bg-2);
  border-radius: var(--radius);
  margin-top: 24px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--accent);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand span { color: var(--gold); }

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── Cart Drawer ─────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--card);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
}

.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.cart-close-btn:hover { color: var(--text); }

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.cart-item-qty {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-remove {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cart-item-remove:hover { border-color: #c00; color: #c00; }

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  padding: 48px 0;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.cart-total-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.drawer-paypal-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #FFC439;
  color: #003087;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
}
.drawer-paypal-btn:hover { background: #e6b030; }

.paypal-divider {
  text-align: center;
  margin: 4px 0 10px;
  color: var(--text-muted);
  font-size: 12px;
  position: relative;
}
.paypal-divider::before, .paypal-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.paypal-divider::before { left: 0; }
.paypal-divider::after { right: 0; }

#cartCheckoutBtn {
  display: none;
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#cartCheckoutBtn:hover { background: var(--primary); }

/* ── Checkout Modal ──────────────────────────────────────────────── */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}
.checkout-modal.open { opacity: 1; visibility: visible; }

.checkout-box {
  background: var(--card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
}

.checkout-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
}

.checkout-body { padding: 24px; }

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.checkout-form-row.full { grid-column: 1 / -1; }

.checkout-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.checkout-form-row input,
.checkout-form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.checkout-form-row input:focus,
.checkout-form-row textarea:focus { border-color: var(--gold); }

.checkout-form-row textarea { resize: vertical; min-height: 80px; }

.checkout-paypal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: #FFC439;
  color: #003087;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
}
.checkout-paypal-btn:hover { background: #e6b030; }

.checkout-or-divider {
  text-align: center;
  position: relative;
  margin: 4px 0 14px;
  color: var(--text-muted);
  font-size: 12px;
}
.checkout-or-divider::before, .checkout-or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.checkout-or-divider::before { left: 0; }
.checkout-or-divider::after { right: 0; }

.checkout-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.checkout-success-icon {
  width: 64px; height: 64px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.checkout-success h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent);
}

.checkout-success p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Toast ────────────────────────────────────────────────────────── */
.added-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px var(--shadow-lg);
  transition: transform 0.3s ease;
}
.added-toast.show { transform: translateX(-50%) translateY(0); }

/* ── Mobile Menu ──────────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--accent);
  text-decoration: none;
}

.mobile-close-btn {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-toggle { display: block; }

  .hero-heading { font-size: 36px; }
  .hero-sub { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .inquiry-form { grid-template-columns: 1fr; }

  .checkout-form-row { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .product-grid { grid-template-columns: 1fr; }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Legal Pages ──────────────────────────────────────────────────── */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.legal-page h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--accent);
}

.legal-page .last-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--accent);
}

.legal-page p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-page ul {
  margin: 12px 0 16px 20px;
}

.legal-page li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }