:root {
  --ink-cyan: #29abe2;
  --ink-magenta: #ec1e79;
  --ink-yellow: #fdd835;
  --ink-black: #14161a;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --text: #14161a;
  --text-soft: #5b5f68;
  --border: #e6e6ea;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.ink-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--ink-cyan) 0 25%, var(--ink-magenta) 25% 50%, var(--ink-yellow) 50% 75%, var(--ink-black) 75% 100%);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand img { height: 56px; }

nav.links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

nav.links a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
}

nav.links a:hover { color: var(--ink-magenta); }

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

.cart-btn {
  position: relative;
  background: var(--ink-black);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  background: var(--ink-magenta);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0 5px;
}

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 64px 20px;
}

.hero-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--ink-cyan), var(--ink-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--ink-magenta);
  color: #fff;
}

.btn-primary:hover { background: #d31768; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink-black);
  color: var(--ink-black);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
}

.hero-art .tall { grid-row: span 2; aspect-ratio: 1/2.08; }

/* Sections */
section { padding: 56px 20px; }

.section-wrap { max-width: 1180px; margin: 0 auto; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 { font-size: 1.7rem; margin: 0 0 6px; }
.section-head p { color: var(--text-soft); margin: 0; }

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-soft);
}

.filter-btn.active {
  background: var(--ink-black);
  color: #fff;
  border-color: var(--ink-black);
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(20,22,26,0.1);
  transform: translateY(-2px);
}

.card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-img img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .25s; }
.card-img { position: relative; }
.card-img:hover img { transform: scale(1.05); }
.card-img::after {
  content: "🔍 Quick View";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20,22,26,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.card-img:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.card-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-magenta); font-weight: 700; }

.card-title { font-size: 1rem; font-weight: 700; margin: 0; }

.card-desc { font-size: 0.85rem; color: var(--text-soft); flex: 1; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.price { font-weight: 700; font-size: 1.05rem; }

.add-btn {
  background: var(--ink-black);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.add-btn:hover { background: var(--ink-magenta); }

/* About */
.about {
  background: var(--bg-soft);
}

.about-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.about-content h2 { font-size: 1.7rem; margin-bottom: 14px; }
.about-content p { color: var(--text-soft); margin-bottom: 14px; }

.badges { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.badge { text-align: left; }
.badge strong { display: block; font-size: 1.3rem; }
.badge span { color: var(--text-soft); font-size: 0.85rem; }

/* Contact */
.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-card h3 { margin-top: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.contact-list b { display: block; }
.contact-list span { color: var(--text-soft); font-size: 0.85rem; }

form.order-form { display: flex; flex-direction: column; gap: 12px; }

.order-form input, .order-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.92rem;
}

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

/* Footer */
footer {
  background: var(--ink-black);
  color: #fff;
  padding: 40px 20px 24px;
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.footer-brand img { height: 42px; filter: brightness(0) invert(1); }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.88rem; align-items: center; }
.footer-links a { text-decoration: none; color: #c7c9d1; }
.footer-links a:hover { color: #fff; }

.social-row { display: flex; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .15s, transform .15s;
}

.social-btn svg { width: 18px; height: 18px; }

.social-btn:hover { background: var(--ink-magenta); transform: translateY(-2px); border-color: var(--ink-magenta); }

.footer-bottom {
  max-width: 1180px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #9a9ca4;
  text-align: center;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,22,26,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 90;
}

.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 30px rgba(0,0,0,0.15);
}

.cart-drawer.open { transform: translateX(0); }

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

.cart-header h3 { margin: 0; }

.close-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-soft); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }

.cart-item { display: flex; gap: 12px; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-weight: 600; font-size: 0.9rem; }
.cart-item-info .cat { font-size: 0.75rem; color: var(--text-soft); }

.qty-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-row button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 0.9rem; line-height: 1;
}
.qty-row .remove { border: none; background: none; color: var(--ink-magenta); font-size: 0.78rem; cursor: pointer; margin-left: 8px; }

.item-total { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }

.empty-cart { text-align: center; color: var(--text-soft); padding: 40px 0; }

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

.cart-total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }

.checkout-btn {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.checkout-btn:disabled { background: #c9ccd2; cursor: not-allowed; }

.checkout-note { font-size: 0.75rem; color: var(--text-soft); margin-top: 10px; text-align: center; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-black);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 200;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Product quick-view modal */
.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  width: min(880px, 92vw);
  max-height: 88vh;
  background: #fff;
  border-radius: var(--radius);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.pv-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 34px;
  height: 34px;
}

.pv-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-height: 88vh;
}

.pv-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 1/1;
  cursor: zoom-in;
}

.pv-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .15s ease-out;
  transform-origin: center center;
}

.pv-image-wrap.zoomed img {
  transform: scale(2.2);
  cursor: zoom-out;
}

.pv-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(20,22,26,0.75);
  color: #fff;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  pointer-events: none;
}

.pv-info {
  padding: 30px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv-info h2 { margin: 0; font-size: 1.4rem; }

.pv-desc { color: var(--text-soft); font-size: 0.95rem; }

.pv-price { font-size: 1.4rem; font-weight: 700; }

.pv-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.pv-add { padding: 13px; font-size: 0.95rem; }

.pv-whatsapp { justify-content: center; }

@media (max-width: 720px) {
  .pv-body { grid-template-columns: 1fr; }
  .pv-image-wrap { aspect-ratio: 4/3; }
  .product-modal { max-height: 92vh; }
  .pv-body { overflow-y: auto; }
}

@media (max-width: 860px) {
  nav.links { display: none; }
  .hero-wrap, .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-art { order: -1; }
}
