:root {
  --brown: #4C1E02;
  --pink: #DBA2A7;
  --rose: #C98189;
  --nude: #F8ECE8;
  --nude-dark: #E8CFC6;
  --white: #FFFBFA;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nude); color: var(--brown); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; margin: 0 0 14px; }

.btn { display: inline-block; background: var(--brown); color: var(--nude); text-decoration: none; border: 2px solid var(--brown);
  padding: 14px 28px; border-radius: 40px; font: 500 15px var(--sans); letter-spacing: .08em; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--rose); border-color: var(--rose); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { color: var(--nude); }
.btn-small { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

.topbar { background: var(--brown); color: var(--nude); text-align: center; font-size: 13px; letter-spacing: .06em; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 5vw, 60px); background: rgba(248, 236, 232, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--nude-dark); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo-ar { font-family: "Reem Kufi", sans-serif; font-weight: 600; font-size: 24px; color: var(--rose); padding-left: 12px; border-left: 1.5px solid var(--pink); line-height: 1; }
.ar-lockup { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ar-lockup span { width: 60px; height: 1.5px; background: var(--pink); }
.ar-lockup b { font-family: "Reem Kufi", sans-serif; font-weight: 600; font-size: 34px; color: var(--rose); line-height: 1.2; }
.hero-ar { margin-top: 44px; }
.hero-ar b { font-size: 40px; }
.footer .ar-lockup { margin: -4px 0 10px; }
.nav { display: flex; gap: 28px; font-size: 15px; letter-spacing: .06em; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--rose); }

section { padding: 72px clamp(16px, 6vw, 80px); }
.intro-video { padding: 0; background: #F7F3EE; line-height: 0; }
.intro-video video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.hero { text-align: center; padding-top: 90px; padding-bottom: 80px; position: relative; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); }
.lead { max-width: 560px; margin: 24px auto 34px; font-size: 18px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-lips { width: 90px; margin: 48px auto 0; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--nude-dark); padding: 0; border-block: 1px solid var(--nude-dark); }
.trust div { background: var(--white); padding: 28px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.trust .ico { color: var(--rose); }
.trust strong { font-weight: 500; font-size: 17px; }
.trust span:last-child { font-size: 14px; opacity: .8; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { background: var(--nude-dark); border-radius: 18px; padding: 34px 16px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: .2s; }
.cat:hover { background: var(--pink); }
.cat-letter { font-family: var(--serif); font-size: 56px; line-height: 1; }
.cat span:last-child { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; font-weight: 500; }

.shop { text-align: center; padding-top: 30px; }
.shop h2, .steps h2, .faq h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }
.card { background: var(--white); border-radius: 18px; padding: 12px 12px 16px; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--nude-dark); margin-bottom: 12px; }
.card-img > img { width: 100%; height: 100%; object-fit: cover; }
.ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px; text-align: center; }
.ph span { font-family: var(--serif); font-style: italic; font-size: 22px; }
.ph img { width: 54px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--brown); color: var(--nude); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.card-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin: 0 4px; font-weight: 500; }
.card h3 { font-family: var(--sans); font-size: 15px; font-weight: 400; margin: 4px 4px 6px; line-height: 1.35; flex: 1; }
.card h3 span { display: block; font-weight: 500; font-size: 16px; }
.card-price { font-family: var(--serif); font-size: 21px; margin: 0 4px 12px; }
.note { margin-top: 30px; font-size: 14px; opacity: .8; }

.steps { background: var(--white); text-align: center; }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 26px; width: 58px; height: 58px; border-radius: 50%; background: var(--brown); color: var(--nude); display: grid; place-items: center; margin-bottom: 8px; }
.steps b { font-weight: 500; }
.steps span { font-size: 14px; opacity: .8; }

.curls { background: var(--brown); color: var(--nude); text-align: center; }
.curls > div { max-width: 640px; margin: 0 auto; }
.curls .eyebrow { color: var(--pink); }
.curls h2 { font-size: clamp(34px, 5vw, 52px); }
.curls p { margin: 22px 0 30px; }
.curls .btn { background: var(--nude); color: var(--brown); border-color: var(--nude); }
.curls .btn:hover { background: var(--pink); border-color: var(--pink); }

.faq { max-width: 820px; margin: 0 auto; text-align: center; }
.faq details { text-align: left; border-bottom: 1px solid var(--nude-dark); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--rose); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; }

.footer { background: var(--nude-dark); text-align: center; padding: 50px 16px 30px; }
.footer-logo { width: 160px; margin: 0 auto 12px; }
.footer p { margin: 6px 0; }
.footer .links a { text-decoration: none; font-weight: 500; }
.footer .small { font-size: 13px; opacity: .7; margin-top: 18px; }

.cart-btn { background: var(--brown); color: var(--nude); border: 0; border-radius: 40px; padding: 9px 16px; font: 500 14px var(--sans); letter-spacing: .06em; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cart-count { background: var(--pink); color: var(--brown); border-radius: 20px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; padding: 0 6px; }

.card-img { background: var(--nude); }
.card-img > img { object-fit: cover; }
.card-actions { display: flex; flex-direction: column; gap: 8px; }
.card-actions .btn { width: 100%; padding: 10px 8px; }

.drawer { border: 0; margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); padding: 0; background: var(--nude); color: var(--brown); display: none; flex-direction: column; }
.drawer[open] { display: flex; overflow-y: auto; }
dialog::backdrop { background: rgba(76, 30, 2, .45); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--nude-dark); }
.drawer-head h3 { font-size: 26px; }
.close { background: none; border: 0; font-size: 32px; color: var(--brown); cursor: pointer; line-height: 1; }
.cart-items { padding: 8px 22px; flex: none; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--nude-dark); }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.line-info { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.line-info b { font-weight: 500; }
.line-price { font-family: var(--serif); margin-top: 3px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--brown); background: none; color: var(--brown); font-size: 16px; cursor: pointer; line-height: 1; }
.empty { text-align: center; padding: 40px 0; }
.cart-summary { padding: 6px 22px 0; }
.free-hint { background: var(--nude-dark); border-radius: 10px; padding: 8px 12px; font-size: 14px; text-align: center; margin: 6px 0 10px; }
.row { display: flex; justify-content: space-between; font-size: 15px; padding: 3px 0; }
.row.total { font-weight: 500; font-size: 17px; border-top: 1px solid var(--nude-dark); margin-top: 6px; padding-top: 10px; }
.checkout { padding: 14px 22px 22px; border-top: 1px solid var(--nude-dark); margin-top: 12px; }
.checkout label { display: block; font-size: 13px; letter-spacing: .06em; margin-bottom: 10px; font-weight: 500; }
.checkout input { display: block; width: 100%; margin-top: 4px; padding: 11px 14px; border: 1.5px solid var(--nude-dark); border-radius: 12px; background: var(--white); font: 16px var(--sans); color: var(--brown); }
.checkout input:focus { outline: none; border-color: var(--rose); }
.checkout .btn { font-size: 14px; letter-spacing: .03em; }
.form-msg { font-size: 14px; margin: 10px 0 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--brown); color: var(--nude); padding: 12px 20px; border-radius: 30px; font-size: 14px; transition: .3s; pointer-events: none; z-index: 50; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .logo img { height: 36px; }
  .logo-ar { font-size: 20px; padding-left: 10px; }
  .logo { gap: 10px; }
  section { padding: 56px 16px; }
  .hero { padding-top: 60px; }
  .trust { grid-template-columns: 1fr; }
  .cats { gap: 10px; }
  .cat { padding: 22px 8px; }
  .cat-letter { font-size: 40px; }
  .cat span:last-child { font-size: 11px; letter-spacing: .06em; }
  .ph span { font-size: 18px; }
  .card h3 { font-size: 14px; }
  .card h3 span { font-size: 15px; }
  .card-actions .btn { font-size: 12px; letter-spacing: .02em; padding: 10px 4px; }
}
.footer-tag { font-family: var(--serif); font-size: 26px; }

/* product page (gallery) */
.card-img { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; }
.card h3[data-view] { cursor: pointer; }
.card-more { position: absolute; right: 10px; bottom: 10px; background: rgba(248, 236, 232, .92); color: var(--brown); font-size: 12px; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.pdp { border: 0; padding: 0; width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 16px; background: var(--nude); color: var(--brown); overflow-y: auto; }
.pdp .close { position: absolute; top: 10px; right: 12px; z-index: 2; background: var(--nude); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--brown); cursor: pointer; }
.pdp-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 28px; }
.pdp-main { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--nude-dark); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.pdp-thumbs button.on { border-color: var(--brown); opacity: 1; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-info { display: flex; flex-direction: column; justify-content: center; }
.pdp-info h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; margin: 6px 0 0; }
.pdp-info h3 span { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.pdp-price { font-family: var(--serif); font-size: 28px; margin: 16px 0; }
.pdp-points { list-style: none; padding: 0; margin: 0 0 24px; line-height: 1.9; font-size: 15px; }
.pdp-points li::before { content: "♥ "; color: var(--rose); }
.pdp .card-actions .btn { width: 100%; }
@media (max-width: 700px) {
  .pdp-body { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .pdp-info h3 { font-size: 24px; }
}

/* shades */
.card-shades { display: flex; gap: 6px; margin: -2px 0 12px; }
.card-shades i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(76, 30, 2, .2); }
.card-shades i.out { opacity: .35; }
.pdp-shades { margin: 0 0 18px; }
.pdp-shade-label { font-size: 14px; margin: 0 0 10px; }
.pdp-shade-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shade { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--nude-dark); border-radius: 10px; background: var(--white); color: var(--brown); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.shade i { flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(76, 30, 2, .2); }
.shade span { flex: 1; }
.shade em { font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }
.shade.on { border-color: var(--brown); box-shadow: inset 0 0 0 1px var(--brown); }
.shade.out { cursor: not-allowed; opacity: .55; }
.shade.out span { text-decoration: line-through; }
.pdp .btn[disabled] { opacity: .4; cursor: not-allowed; }
.pdp-hint { font-size: 13px; margin: 10px 0 0; color: var(--rose); text-align: center; }
.pdp { overflow-x: hidden; }
.pdp-body > * { min-width: 0; }
.shade { min-width: 0; flex-wrap: wrap; }
.shade span { min-width: 0; }
.shade em { flex-basis: 100%; padding-left: 36px; margin-top: -4px; }

/* links inside cards / product pages */
a.card-img { text-decoration: none; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a span { display: block; }
.crumbs { max-width: 1100px; margin: 24px auto 0; padding: 0 20px; font-size: 13px; letter-spacing: .04em; }
.crumbs a { color: var(--brown); }
.pdp-page { max-width: 1100px; margin: 0 auto; padding: 24px 20px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.pdp-page .pdp-title { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.15; margin: 6px 0 0; }
.pdp-page .pdp-title span { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.pdp-page .card-actions .btn { width: 100%; }
.pdp-desc { max-width: 1100px; margin: 0 auto; padding: 0 20px 40px; }
.pdp-desc h2, .related h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.pdp-desc p { font-size: 17px; line-height: 1.7; max-width: 720px; }
.related { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.seo-intro { max-width: 760px; margin: 0 auto; padding: 0 20px 10px; text-align: center; font-size: 16px; line-height: 1.7; }
.seo-intro .ar { font-family: "Reem Kufi", sans-serif; direction: rtl; }
@media (max-width: 700px) {
  .pdp-page { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .pdp-page .pdp-title { font-size: 28px; }
}
