/* =========================================
   Jowhara Accessories — Base Stylesheet
   Edit colors below in :root to re-theme the whole site
   ========================================= */

:root {
  --gold: #c9a227;
  --gold-light: #e6c667;
  --gold-dark: #9c7d1d;
  --black: #141210;
  --charcoal: #22201d;
  --cream: #faf6ee;
  --cream-dark: #f1e9d8;
  --text: #2b2620;
  --text-light: #6f6a5f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 18, 16, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 18, 16, 0.16);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-sub.center { max-width: 520px; }
.section-sub { color: var(--text-light); margin-top: 10px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

/* Announcement bar */
.announce {
  background: var(--black);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 9px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,18,16,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.nav a:hover { color: var(--gold-dark); }

.header-icons { display: flex; align-items: center; gap: 18px; }

.icon-btn {
  position: relative;
  font-size: 1.2rem;
  color: var(--black);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--black);
}

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 18px 0 22px;
}
.hero-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* About */
.about { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-frame {
  font-size: 5rem;
  color: var(--white);
  opacity: 0.85;
}
.about-text h2 { font-size: 2.1rem; margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 30px; }

.about-stats { display: flex; gap: 40px; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-dark);
}
.about-stats span { font-size: 0.85rem; color: var(--text-light); }

/* Shop */
.shop { padding: 100px 0; background: var(--white); }
.shop h2 { font-size: 2.1rem; margin-bottom: 8px; }

.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--cream-dark);
  font-size: 0.85rem;
  color: var(--text-light);
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

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

.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--cream-dark), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.product-info { padding: 18px 20px 22px; }
.product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.product-price {
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.add-to-cart {
  width: 100%;
  padding: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--black);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.add-to-cart:hover { background: var(--black); color: var(--white); }

/* Testimonials */
.testimonials { padding: 100px 0; background: var(--cream-dark); }
.testimonials h2 { font-size: 2.1rem; margin-bottom: 50px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 18px;
}
.t-name { font-weight: 600; color: var(--gold-dark); font-size: 0.9rem; }

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: var(--black);
  text-align: center;
}
.newsletter h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.65); margin-bottom: 30px; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--black); }
.newsletter .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.form-msg {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gold-light);
}

/* Contact */
.contact { padding: 100px 0; background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-text h2 { font-size: 2.1rem; margin-bottom: 16px; }
.contact-text p { color: var(--text-light); margin-bottom: 28px; }
.contact-info li {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-dark);
  font-family: inherit;
  font-size: 0.95rem;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .form-msg { color: var(--gold-dark); }

/* Footer */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--gold-light); }

.copyright {
  text-align: center;
  font-size: 0.8rem;
  padding: 22px 0;
  color: rgba(255,255,255,0.4);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-header button { font-size: 1.1rem; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-empty { color: var(--text-light); text-align: center; margin-top: 40px; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-info span { font-size: 0.85rem; color: var(--text-light); }
.cart-item-remove { color: var(--gold-dark); font-size: 0.8rem; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--cream-dark);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 16px;
}
.cart-checkout { width: 100%; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links a { padding: 4px 0; }
}