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

:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --soft: #888;
  --gold: #b8935a;
  --gold-bright: #c9a66b;
  --line: #e8e8e8;
  --line-dark: #d0cbc3;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--gold-bright); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, 92%); margin: 0 auto; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 44px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Jost', sans-serif;
}
.btn-outline:hover, .btn:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ===== PROMO BAR ===== */
.promo-bar { background: var(--ink); color: #fff; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 0; text-align: center; flex-wrap: wrap; }
.promo-inner a { color: var(--gold-bright); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.promo-inner a:hover { border-color: var(--gold-bright); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; letter-spacing: 0.28em; color: var(--ink); }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.52em; color: var(--soft); margin-top: 5px; margin-left: 3px; }
.nav { display: flex; gap: 44px; }
.nav a { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; color: var(--soft); transition: color 0.25s; }
.nav a:hover { color: var(--ink); }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--ink); position: relative;
}
.cart-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; }
.cart-count {
  position: absolute; top: -8px; left: 12px;
  background: var(--ink); color: #fff;
  font-size: 0.6rem; min-width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Jost', sans-serif;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - 56px);
  min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-position: center 18%; background-size: cover; background-repeat: no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.28) 0%, rgba(10,8,6,0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; padding: 0 20px; }
.hero .kicker { color: rgba(255,255,255,0.75); margin-bottom: 22px; }
.hero-title { font-size: clamp(3rem, 7vw, 6rem); color: #fff; margin-bottom: 28px; font-weight: 300; }
.hero-text { color: rgba(255,255,255,0.82); max-width: 460px; margin: 0 auto 48px; font-size: 1rem; letter-spacing: 0.02em; }

/* ===== CATEGORII ===== */
.categories { padding: 0; }
.categories .kicker,
.categories .shop-title { display: none; }
.cat-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cat-tile {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  background: #111 center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; text-decoration: none;
}
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.20);
  transition: background 0.5s ease;
}
.cat-tile:hover::after { background: rgba(0,0,0,0.38); }
.cat-tile > * { position: relative; z-index: 2; }
.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  color: #fff; font-weight: 300; letter-spacing: 0.22em;
  text-align: center; text-transform: uppercase;
}
.cat-link {
  display: block; width: 40px; height: 1px;
  background: rgba(255,255,255,0.9); margin-top: 20px;
  transition: width 0.4s ease;
}
.cat-tile:hover .cat-link { width: 80px; }
.cat-tile--dark::after { background: rgba(0,0,0,0.45); }
.cat-tile--dark:hover::after { background: rgba(0,0,0,0.58); }

/* ===== SHOP ===== */
.shop { padding: 80px 0 120px; }
.shop-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.shop > .container > .kicker { margin-bottom: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 64px; }
.filter {
  padding: 10px 22px;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.66rem;
  color: var(--soft);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.active { color: var(--ink); border-color: var(--ink); background: var(--ink); color: #fff; }

/* PRODUCTS */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.product { display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 2/3;
  background: #f0ede8 center/cover no-repeat;
  overflow: hidden;
}
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
}
.product:hover .product-media::after { background: rgba(0,0,0,0.06); }
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.58rem;
  color: var(--ink); background: rgba(255,255,255,0.92);
  padding: 4px 10px;
}
.product-badge.promo { color: #fff; background: var(--gold); }
.product-body { padding: 18px 0 0; display: flex; flex-direction: column; flex: 1; }
.product-cat { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.58rem; color: var(--soft); margin-bottom: 7px; }
.product-name { font-size: 1.35rem; margin-bottom: 8px; }
.product-price { margin-bottom: 16px; font-size: 0.9rem; }
.product-price .now { color: var(--ink); letter-spacing: 0.04em; }
.product-price .old { color: var(--soft); text-decoration: line-through; margin-left: 8px; font-size: 0.82rem; }

/* mărimi */
.marimi-row { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.marime-btn {
  padding: 5px 11px; font-family: 'Jost', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  color: var(--soft); transition: all 0.2s;
}
.marime-btn:hover { border-color: var(--ink); color: var(--ink); }
.marime-btn.active { border-color: var(--ink); background: var(--ink); color: #fff; }

.product .btn { margin-top: auto; padding: 13px; font-size: 0.64rem; text-align: center; border-color: var(--line); }
.add-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.empty-note { grid-column: 1/-1; color: var(--soft); padding: 60px 0; text-align: center; }

/* ===== ABOUT ===== */
.about { padding: 40px 0 120px; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { aspect-ratio: 4/5; background: #f0ede8 center/cover no-repeat; }
.about-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; }
.about-text p { color: var(--soft); margin-bottom: 16px; line-height: 1.8; }
.about-text .btn { margin-top: 20px; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: #faf9f7; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 32px; }
.contact-list { list-style: none; margin-bottom: 36px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-list li span {
  display: block; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.62rem; color: var(--gold); margin-bottom: 4px;
}
.contact-list a { border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.contact-list a:hover { border-color: var(--ink); }
.contact-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.2); }

/* ===== FOOTER ===== */
.footer { padding: 64px 0; text-align: center; border-top: 1px solid var(--line); }
.footer-brand { font-size: 1.8rem; letter-spacing: 0.3em; color: var(--ink); margin-bottom: 14px; }
.footer-text { color: var(--soft); font-size: 0.82rem; margin-bottom: 8px; letter-spacing: 0.04em; }
.footer-copy { color: var(--soft); font-size: 0.72rem; }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transition: 0.3s; z-index: 100;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 92vw);
  background: #fff; z-index: 101;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.38s ease;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 30px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.5rem; letter-spacing: 0.06em; }
.cart-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--soft); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 30px; }
.cart-empty { color: var(--soft); text-align: center; padding: 60px 0; }
.cart-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 68px; height: 90px; background: #f0ede8 center/cover no-repeat; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; line-height: 1.2; }
.cart-item-marime { font-size: 0.75rem; color: var(--soft); margin: 3px 0 5px; letter-spacing: 0.08em; }
.cart-item-price { color: var(--ink); font-size: 0.88rem; margin-bottom: 8px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.qty span { font-size: 0.85rem; min-width: 18px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--soft); cursor: pointer; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; align-self: flex-start; }
.cart-item-remove:hover { color: var(--ink); }
.cart-foot { padding: 22px 30px 30px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.cart-total span { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.7rem; color: var(--soft); }
.cart-total strong { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; }
.cart-note { font-size: 0.68rem; color: var(--soft); text-align: center; margin-top: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cat-tile { height: 80vh; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-img { aspect-ratio: 16/10; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .cat-tile { height: 70vh; }
  .cat-name { font-size: 1.8rem; }
  .products { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .product-body { padding-top: 12px; }
  .product-name { font-size: 1.1rem; }
  .hero { height: 92vmax; min-height: 480px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .promo-inner { font-size: 0.6rem; gap: 8px; }
  .categories { padding: 70px 0 30px; }
  .shop { padding: 60px 0 80px; }
}
@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
  .cat-tile { height: 60vh; }
}
