/* ============ Core 4 Brand Global Colors ============ */
:root {
  --bg: #E3D4C8;          /* 1. الباكجراوند الأساسي */
  --foll: #7D6E5D;        /* 2. فُل - اللون الرئيسي للعلامة */
  --brush: #9A856D;       /* 3. فرشة ولون - اللون الثانوي للعلامة */
  --clay: #C98B6B;        /* 4. الطين واللمسة الفنية الدافئة */
  
  /* Supporting surface & ink tokens */
  --cream: #F4ECE4;
  --paper: #FBF7F3;
  --ink: #3E342B;
  --ink-soft: #64574A;
  --sage: #A3A58A;
  --sand: #D9B99B;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(62, 52, 43, .28);
  --shadow-lg: 0 30px 60px -20px rgba(62, 52, 43, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--foll); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(-4px); }
.btn-primary { background: var(--foll); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { border: 1.5px solid var(--foll); color: var(--foll); }
.btn-ghost:hover { background: var(--foll); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============ Top bar ============ */
.topbar {
  background: var(--foll); color: var(--cream);
  font-size: .85rem; text-align: center; padding: .5rem 1rem;
}
.topbar span { opacity: .9; }

/* ============ Header ============ */
header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(125, 110, 93, 0.15);
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 6px 24px -14px rgba(62,52,43,.45); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: .7rem; }
.logo-mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  border: 1.5px solid var(--brush);
  box-shadow: 0 2px 8px rgba(62, 52, 43, 0.15);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .35s var(--ease);
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .foll { font-family: "Aref Ruqaa", serif; font-size: 2rem; color: var(--foll); font-weight: 700; }
.logo-text .brush { font-size: .8rem; color: var(--brush); font-weight: 600; letter-spacing: .5px; margin-top: .2rem; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { position: relative; font-weight: 600; color: var(--ink-soft); transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; right: 0; bottom: -6px;
  width: 0; height: 3px; border-radius: 3px; background: var(--brush);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--foll); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--foll);
  transition: background .25s, transform .25s;
}
.icon-btn:hover { background: var(--cream); transform: translateY(-1px); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 3px; left: 3px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--clay); color: #fff;
  font-size: .7rem; font-weight: 700; display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 50% { transform: scale(1.5); } }
.menu-toggle { display: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 4.5rem 0 5.5rem; overflow: hidden; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--cream); color: var(--foll);
  padding: .4rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(62,52,43,.06);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,139,107,.6); } 50% { box-shadow: 0 0 0 8px rgba(201,139,107,0); } }

.hero h1 {
  font-family: "Aref Ruqaa", serif;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.35; font-weight: 700; color: var(--ink);
  margin: 1.2rem 0 1.1rem;
}
.hero h1 .hl { position: relative; color: var(--foll); white-space: nowrap; font-family: "Aref Ruqaa", serif; font-weight: 700; }
.hero h1 .hl svg {
  position: absolute; right: -4%; bottom: -.15em; width: 108%; height: .45em; z-index: -1;
}
.hero h1 .hl svg path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 32rem; line-height: 1.8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.8rem; }
.stat b { display: block; font-size: 1.8rem; color: var(--foll); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* Hero art composition - REAL HIGH-RES ARTWORK */
.hero-art {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.frame {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 50px -15px rgba(62, 52, 43, 0.45);
  transition: transform .8s var(--ease);
  background-color: var(--paper);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.frame:hover img {
  transform: scale(1.05);
}

/* Large Main Canvas */
.frame.canvas {
  width: 65%;
  height: 80%;
  top: 6%;
  left: 10%;
  border: 10px solid #FFFFFF;
  border-radius: 12px;
  transform: rotate(-3deg);
  z-index: 1;
}

/* Real Round Wood Painting with natural edge styling */
.frame.round {
  width: 48%;
  aspect-ratio: 1;
  bottom: 2%;
  right: 4%;
  border-radius: 50%;
  border: 8px solid #C49E78;
  box-shadow: 0 20px 45px -10px rgba(62, 52, 43, 0.55);
  transform: rotate(5deg);
  z-index: 3;
}

/* Small Square Wood Art */
.frame.small {
  width: 35%;
  aspect-ratio: 1;
  top: 2%;
  right: 8%;
  border-radius: 14px;
  border: 7px solid #FFFFFF;
  transform: rotate(8deg);
  z-index: 2;
}

.swatch {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  box-shadow: var(--shadow); border: 4px solid var(--paper);
  animation: float 6s ease-in-out infinite;
  z-index: 4;
}
.swatch.s1 { background: var(--foll); bottom: 18%; left: 4%; }
.swatch.s2 { background: var(--brush); bottom: 4%; left: 20%; width: 38px; height: 38px; animation-delay: -2s; }
.swatch.s3 { background: var(--clay); top: 38%; right: 2%; width: 34px; height: 34px; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-badge {
  position: absolute; bottom: 8%; left: 16%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px; padding: .8rem 1.2rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem;
  font-size: .9rem; animation: float 7s ease-in-out infinite; animation-delay: -1s;
  z-index: 5;
  border: 1px solid rgba(125, 110, 93, 0.2);
}
.hero-badge .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--foll); flex-shrink: 0; }
.hero-badge b { display: block; color: var(--foll); font-family: "Aref Ruqaa", serif; font-size: 1.25rem; line-height: 1.2; }
.hero-badge small { color: var(--ink-soft); font-size: 0.8rem; }

/* ============ Marquee ============ */
.marquee {
  background: var(--foll); color: var(--cream);
  padding: 1.1rem 0; overflow: hidden;
  width: 100%;
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--sand); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(50%); } }

/* ============ Sections ============ */
section { padding: 5.5rem 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.8rem; flex-wrap: wrap; }
.kicker { color: var(--brush); font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brush); }
.section-head h2, .h2 {
  font-family: "Aref Ruqaa", serif;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  line-height: 1.35; font-weight: 700; color: var(--ink); margin-top: .4rem;
}
.section-head p { color: var(--ink-soft); max-width: 28rem; font-size: 0.98rem; }

/* ============ Categories ============ */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cat {
  position: relative; background: var(--cream); border-radius: var(--radius);
  padding: 1.5rem; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.cat:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-visual { height: 240px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); position: relative; overflow: hidden; }
.cat-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat:hover .cat-visual img { transform: scale(1.08); }

.cat-info { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; }
.cat-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.cat-info small { color: var(--ink-soft); font-size: .88rem; }
.arrow-circle {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--foll); color: var(--foll);
  display: grid; place-items: center; transition: all .4s var(--ease); flex-shrink: 0;
}
.arrow-circle svg { width: 18px; }
.cat:hover .arrow-circle { background: var(--foll); color: var(--paper); transform: rotate(-45deg); }
.cat-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .7rem; }
.cat-tags span { font-size: .78rem; background: var(--paper); color: var(--ink-soft); padding: .2rem .75rem; border-radius: 999px; }

/* ============ Products ============ */
.filters {
  display: flex; gap: .4rem; background: var(--cream); padding: .35rem; border-radius: 999px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  padding: .5rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--ink-soft); transition: all .3s var(--ease); white-space: nowrap; flex-shrink: 0;
}
.chip:hover { color: var(--foll); }
.chip.active { background: var(--foll); color: var(--paper); box-shadow: var(--shadow); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.product {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s, scale .4s;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product.hide { display: none; }
.product-media { position: relative; aspect-ratio: 4/3.4; background: var(--cream); overflow: hidden; }
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.product:hover .product-media img { transform: scale(1.08); }

.badge {
  position: absolute; top: 12px; right: 12px;
  padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.badge.ready { background: rgba(231, 235, 221, 0.95); color: #435A36; border: 1px solid rgba(67,90,54,.2); }
.badge.made { background: rgba(245, 225, 212, 0.95); color: #8F4C28; border: 1px solid rgba(143,76,40,.2); }
.badge.out { background: rgba(62, 52, 43, 0.9); color: var(--cream); }

.fav {
  position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--foll);
  transition: all .35s var(--ease); z-index: 2;
}
.fav svg { width: 19px; }
.fav:hover, .fav.on, .fav:focus-visible { color: var(--clay); }
.fav.on svg { fill: currentColor; animation: bump .45s var(--ease); }

.quick {
  position: absolute; inset: auto 12px 12px 12px;
  transform: translateY(130%); transition: transform .45s var(--ease); z-index: 3;
}
.product:hover .quick, .product:focus-within .quick { transform: none; }
.quick .btn { width: 100%; justify-content: center; padding: .75rem; box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.product-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-cat { font-size: .8rem; color: var(--brush); font-weight: 700; }
.product-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: .15rem 0 .5rem;
  color: var(--ink);
  line-height: 1.35;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .6rem; }
.price { font-size: 1.25rem; font-weight: 800; color: var(--foll); }
.price small { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.meta { font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: .35rem; }
.meta svg { width: 15px; flex-shrink: 0; }
.product.is-out .product-media img { filter: grayscale(.3) brightness(.95); }

/* Mobile quick add button - inline for touch screens */
.mobile-add-btn {
  display: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--foll); color: #fff;
  align-items: center; justify-content: center;
  transition: transform .25s; flex-shrink: 0;
}
.mobile-add-btn:active { transform: scale(0.92); }
.mobile-add-btn svg { width: 18px; height: 18px; }

/* ============ Custom order ============ */
.custom {
  position: relative; background: var(--foll); color: var(--cream);
  border-radius: 36px; padding: 4rem; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center;
}
.custom::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,212,200,.18), transparent 70%);
  top: -200px; right: -160px;
}
.custom .kicker { color: var(--sand); }
.custom .kicker::before { background: var(--sand); }
.custom .h2 { color: var(--paper); }
.custom p { color: #EADFD4; margin: 1rem 0 2rem; max-width: 27rem; line-height: 1.8; }
.custom-points { list-style: none; display: grid; gap: .8rem; margin-bottom: 2.2rem; }
.custom-points li { display: flex; gap: .7rem; align-items: center; font-size: .95rem; }
.custom-points li i {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(244,236,228,.15);
  display: grid; place-items: center; font-style: normal; font-size: .85rem; color: var(--sand); flex-shrink: 0;
}

.form-card {
  position: relative; background: var(--paper); color: var(--ink);
  border-radius: 26px; padding: 2rem; box-shadow: 0 40px 70px -30px rgba(0,0,0,.5);
  transform: rotate(-1.5deg); transition: transform .6s var(--ease);
}
.form-card:hover, .form-card:focus-within { transform: rotate(0); }
.form-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--foll);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.field label small { color: var(--ink-soft); font-weight: 400; }
.field textarea, .field select {
  width: 100%; font-size: 16px; /* prevent iOS zoom */
  font-family: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid transparent; border-radius: 14px;
  padding: .85rem 1rem; resize: none; transition: border-color .25s, background .25s;
}
.field textarea:focus, .field select:focus { outline: none; border-color: var(--brush); background: #fff; }
.opts { display: flex; gap: .5rem; flex-wrap: wrap; }
.opt {
  padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid #D8C8B9; font-size: .88rem; font-weight: 600;
  color: var(--ink-soft); transition: all .25s; min-height: 40px; display: inline-flex; align-items: center;
}
.opt:hover { border-color: var(--brush); }
.opt.on { background: var(--foll); color: var(--paper); border-color: var(--foll); }
.drop {
  border: 2px dashed #CDB9A6; border-radius: 16px; padding: 1.2rem; text-align: center;
  color: var(--ink-soft); font-size: .9rem; cursor: pointer; transition: all .3s; display: block;
}
.drop:hover, .drop.drag { border-color: var(--foll); background: var(--cream); color: var(--foll); }
.drop svg { width: 28px; height: 28px; margin: 0 auto .4rem; color: var(--brush); }
.drop input { display: none; }
.files { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.files span { font-size: .78rem; background: var(--bg); padding: .2rem .7rem; border-radius: 8px; }
.note {
  display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft);
  background: #F3E9DF; border-radius: 12px; padding: .8rem 1rem; margin: 1.1rem 0; line-height: 1.6;
}
.form-card .btn { width: 100%; justify-content: center; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; right: 16%; left: 16%;
  border-top: 2px dashed var(--brush); opacity: .5;
}
.step { text-align: center; position: relative; padding: 0 1rem; }
.step-num {
  width: 90px; height: 90px; margin: 0 auto 1.3rem; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; position: relative;
  box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.step:hover .step-num { transform: translateY(-6px) rotate(-8deg); }
.step-num svg { width: 36px; color: var(--foll); }
.step-num b {
  position: absolute; top: -4px; left: -4px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brush); color: var(--paper); font-size: .9rem; display: grid; place-items: center;
}
.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--ink);
}
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ============ Story ============ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-art { position: relative; height: 420px; }
.story-art .frame.a {
  width: 68%; height: 86%; top: 0; right: 0; border: 10px solid var(--paper); border-radius: 10px;
}
.story-art .frame.b {
  width: 50%; aspect-ratio: 1; bottom: 0; left: 0; border-radius: 50%; border: 9px solid #C49E78;
}
blockquote {
  font-family: "Aref Ruqaa", serif; font-size: 1.8rem; line-height: 1.6; color: var(--foll);
  border-right: 4px solid var(--brush); padding-right: 1.4rem; margin-top: 2rem;
}

/* ============ Footer ============ */
footer { background: var(--ink); color: #D9CBBE; padding: 4.5rem 0 2rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
footer .logo-text .foll { color: var(--bg); }
footer .logo-text .brush { color: var(--sand); }
footer .logo-mark { background: #4C4137; }
footer p { margin-top: 1rem; font-size: .92rem; max-width: 20rem; opacity: .85; }
footer h4 { color: var(--paper); margin-bottom: 1rem; font-size: 1.05rem; }
footer ul { list-style: none; display: grid; gap: .5rem; font-size: .95rem; }
footer ul a { opacity: .8; transition: opacity .25s, padding .25s; }
footer ul a:hover { opacity: 1; padding-right: 6px; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #4C4137; transition: background .3s, transform .3s;
}
.socials a:hover { background: var(--brush); transform: translateY(-3px); }
.socials svg { width: 19px; }
.pay { display: flex; gap: .5rem; flex-wrap: wrap; }
.pay span { font-size: .8rem; border: 1px solid #5C5045; border-radius: 8px; padding: .3rem .7rem; }
.copy { border-top: 1px solid #4C4137; margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .85rem; opacity: .7; flex-wrap: wrap; gap: 1rem; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 200;
  transform: translate(-50%, 140%); background: var(--ink); color: var(--paper);
  padding: .85rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .6rem; transition: transform .5s var(--ease);
  max-width: 90vw; white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }
.toast i { width: 24px; height: 24px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-style: normal; font-size: .8rem; }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE EXCELLENCE)
   ======================================================== */

@media (max-width: 980px) {
  .hero-grid, .custom, .story { grid-template-columns: 1fr; }
  
  /* Put copy first, then art */
  .hero-copy { order: 1; }
  .hero-art { order: 2; height: 420px; max-width: 520px; margin-inline: auto; margin-top: 1rem; }
  
  .cats, .products { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .custom { padding: 2.8rem; }
  
  /* Mobile slide navigation */
  .nav-links {
    position: fixed; top: 76px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: var(--paper); padding: 1.2rem 8%; box-shadow: var(--shadow-lg);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
    z-index: 99;
    border-bottom: 2px solid var(--brush);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--cream); }
  .menu-toggle { display: grid; }
}

@media (max-width: 640px) {
  /* Containers & Padding */
  .container { width: 92%; }
  section { padding: 3.5rem 0; }
  
  /* Header */
  .nav { height: 68px; }
  .nav-links { top: 68px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-text .foll { font-size: 1.8rem; }
  .logo-text .brush { font-size: .75rem; }
  .icon-btn { width: 40px; height: 40px; }
  
  /* Hero on Phone */
  .hero { padding: 2rem 0 3.5rem; }
  .hero-grid { gap: 2rem; }
  .eyebrow { font-size: .82rem; padding: .35rem .85rem; }
  .hero h1 { font-size: 2.3rem; margin: .9rem 0; }
  .hero p.lead { font-size: 1rem; line-height: 1.7; }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: .75rem;
  }
  .hero-cta .btn {
    width: 100%;
    padding: .85rem 1.4rem;
  }
  
  .hero-stats {
    gap: 1.2rem;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(125, 110, 93, 0.2);
    justify-content: space-between;
  }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: .78rem; }
  
  /* Hero Art Frame on Phone */
  .hero-art {
    height: 330px;
    max-width: 340px;
    margin-inline: auto;
    margin-top: .5rem;
  }
  .frame.canvas { width: 68%; height: 78%; left: 4%; top: 2%; }
  .frame.round { width: 52%; right: 0; bottom: 4%; border-width: 6px; }
  .frame.small { width: 36%; right: 2%; top: 0; border-width: 6px; }
  .hero-badge {
    bottom: 6%; left: 6%;
    padding: .6rem .9rem;
    border-radius: 12px;
  }
  .hero-badge .ic { width: 32px; height: 32px; font-size: .9rem; }
  .hero-badge b { font-size: 1.05rem; }
  .hero-badge small { font-size: .7rem; }
  
  /* Marquee */
  .marquee { padding: .8rem 0; margin-inline: -4%; }
  .marquee-track span { font-size: 1.1rem; gap: 1.8rem; }
  
  /* Categories Grid on Phone */
  .cats { grid-template-columns: 1fr; gap: 1.2rem; }
  .cat { padding: 1.2rem; }
  .cat-visual { height: 200px; }
  
  /* Products Section on Phone */
  .section-head { margin-bottom: 1.8rem; }
  .section-head h2, .h2 { font-size: 1.8rem; }
  
  /* Horizontal scrollable category filters */
  .filters {
    padding: .3rem;
    gap: .3rem;
  }
  .chip {
    padding: .45rem 1rem;
    font-size: .85rem;
  }
  
  /* 2-column e-commerce grid on mobile for optimal shopping experience */
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
  }
  .product {
    border-radius: 16px;
  }
  .product-media {
    aspect-ratio: 1 / 1;
  }
  .badge {
    top: 8px; right: 8px;
    padding: .25rem .6rem;
    font-size: .7rem;
  }
  .fav {
    top: 8px; left: 8px;
    width: 32px; height: 32px;
  }
  .fav svg { width: 16px; }
  
  /* Permanent touch button on mobile cards */
  .quick { display: none; }
  .mobile-add-btn { display: inline-flex; }
  
  .product-body { padding: .85rem; }
  .product-cat { font-size: .72rem; }
  .product-body h3 { font-size: .96rem; margin: .1rem 0 .4rem; }
  .price { font-size: 1.05rem; }
  .meta { display: none; } /* Hide meta snippet on compact card */
  
  /* Custom Order Section on Phone */
  .custom {
    padding: 1.8rem 1.4rem;
    border-radius: 24px;
    gap: 2rem;
  }
  .custom-points { gap: .6rem; margin-bottom: 1.6rem; }
  .custom-points li { font-size: .88rem; }
  .form-card {
    transform: none;
    padding: 1.4rem 1.2rem;
    border-radius: 20px;
  }
  .form-card h3 { font-size: 1.2rem; }
  .opts { gap: .4rem; }
  .opt { font-size: .82rem; padding: .4rem .85rem; }
  
  /* Steps on Phone */
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .step-num { width: 78px; height: 78px; margin-bottom: 1rem; }
  .step-num svg { width: 30px; }
  
  /* Story Section on Phone */
  .story { gap: 2rem; }
  .story-art { height: 290px; }
  .palette div { height: 68px; font-size: .7rem; }
  blockquote { font-size: 1.35rem; }
  
  /* Footer on Phone */
  footer { padding: 3rem 0 1.5rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .copy { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .hl svg path { stroke-dashoffset: 0; }
}
