/* Rashfa storefront refinement */
:root {
  --rf-olive: #626246;
  --rf-olive-dark: #363822;
  --rf-gold: #b98532;
  --rf-gold-light: #d8a747;
  --rf-paper: #fffdf9;
  --rf-warm: #f6f2ec;
  --rf-line: #e5dfd6;
  --rf-soft-shadow: 0 14px 42px rgba(55, 45, 29, .08);
}

.brand-logo img,
.auth-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-logo:has(img),
.auth-logo:has(img) { background: none; }
.product-card,
.cart-line,
.panel,
.auth-card,
.assurance,
.shipping-banner { border-radius: var(--theme-radius, 24px); }
.desktop-nav a.is-active { color: var(--brand-gold-deep); }
.site-footer__bottom a { color: #e7c37d; font-weight: 750; }

.seo-guide-page { padding-block-end: 110px; background: var(--surface); }
.seo-guide-hero { padding: 42px 22px 48px; background: linear-gradient(145deg, var(--brand-olive-deep), var(--brand-olive)); color: #fff; }
.seo-guide-hero nav { display: flex; gap: 8px; margin-block-end: 34px; color: rgba(255,255,255,.72); font-size: 13px; }
.seo-guide-hero > span { color: #e7c37d; font-weight: 800; }
.seo-guide-hero h1 { max-width: 760px; margin: 10px 0 14px; font-size: clamp(30px, 8vw, 54px); line-height: 1.35; }
.seo-guide-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.76); line-height: 2; }
.seo-guide-hero > a { display: inline-flex; margin-block-start: 24px; padding: 11px 22px; border-radius: 13px; background: var(--brand-gold-deep); color: #fff; font-weight: 800; }
.seo-guide-layout { padding: 28px 20px; }
.seo-guide-content { display: grid; gap: 18px; }
.seo-guide-content > section:not(.seo-guide-faq) { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 18px; border: 1px solid var(--rf-line); border-radius: var(--theme-radius, 24px); background: #fff; box-shadow: var(--rf-soft-shadow); }
.seo-guide-content > section > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--brand-olive-deep); color: #fff; font-weight: 850; }
.seo-guide-content h2 { margin: 0 0 7px; font-size: 22px; }
.seo-guide-content p { margin: 0; color: #69675f; line-height: 1.95; }
.seo-guide-content section a { display: inline-flex; margin-block-start: 10px; color: var(--brand-gold-deep); font-weight: 800; }
.seo-guide-checklist { padding: 24px; border-radius: var(--theme-radius, 24px); background: #f0ece4; }
.seo-guide-checklist h2 { margin-block-start: 0; }
.seo-guide-checklist ul { display: grid; gap: 10px; margin: 0; padding-inline-start: 22px; color: #55544d; }
.seo-guide-faq { padding-block: 18px; }
.seo-guide-faq details { padding: 16px 0; border-block-end: 1px solid var(--rf-line); }
.seo-guide-faq summary { cursor: pointer; font-weight: 800; }
.seo-guide-faq details p { padding-block-start: 10px; }
.seo-guide-sidebar { display: none; }

@media (min-width: 1024px) {
  html,
  body,
  .site-shell,
  .home-page,
  .catalog-page { background: var(--page-bg); }
  .hero.hero--art-only { display: block; }
  .hero--art-only > a,
  .hero--art-only .hero__image { width: 100%; min-height: 550px; }
  .hero--art-only .hero__image::after { display: none; }
  .seo-guide-page { padding-block-end: 0; background: var(--page-bg); }
  .seo-guide-hero { min-height: 460px; padding: 70px max(7vw, calc((100% - 1320px) / 2)); display: flex; flex-direction: column; justify-content: center; }
  .seo-guide-hero nav { margin-block-end: 48px; }
  .seo-guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 70px 0 90px; align-items: start; }
  .seo-guide-content > section:not(.seo-guide-faq) { padding: 30px; }
  .seo-guide-content h2 { font-size: 27px; }
  .seo-guide-sidebar { position: sticky; inset-block-start: 120px; display: grid; gap: 12px; padding: 24px; border: 1px solid var(--rf-line); border-radius: var(--theme-radius, 24px); background: #fff; box-shadow: var(--rf-soft-shadow); }
  .seo-guide-sidebar strong { margin-block-end: 4px; font-size: 20px; }
  .seo-guide-sidebar a { color: #66645c; }
  .seo-guide-sidebar hr { width: 100%; border: 0; border-block-start: 1px solid var(--rf-line); }
  .seo-guide-sidebar__button { display: grid; min-height: 46px; place-items: center; border-radius: 12px; background: var(--brand-olive-deep); color: #fff!important; font-weight: 800; }
}

body { background: #e6e0d8; }
.site-shell { background: var(--rf-paper); }
.brand-logo { aspect-ratio: 810 / 442; background-image: url("../img/rashfa-logo.png"); background-size: contain; background-position: center; }
.brand-logo--drawer { width: 116px; }
.site-header { border-block-end: 1px solid rgba(57, 56, 36, .04); }
.header-back svg { width: 35px; height: 35px; stroke-width: 2.2; }
.favorite-button svg { opacity: 1; }
.product-card__media > .badge { display: inline-flex; }
.product-card__media.has-uploaded-image,
.cart-line__image.has-uploaded-image,
.checkout-line__image.has-uploaded-image { background-position: center; background-size: cover; }
.category-item__photo.has-uploaded-image { background-position: center; background-size: cover; }

.mobile-page-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px 28px;
  background: var(--rf-paper);
}
.mobile-page-intro__icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; }
.mobile-page-intro__icon svg { width: 42px; height: 42px; fill: none; stroke: var(--rf-olive-dark); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.mobile-page-intro h1 { margin: 0; font-size: clamp(27px, 7vw, 38px); line-height: 1.35; }
.mobile-page-intro p { margin: 4px 0 0; color: #7d7a72; font-size: 15px; }
.summary-heading,
.checkout-section-title,
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary-heading span,
.checkout-section-title > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #f3f0ea; color: var(--rf-olive-dark); font-size: 25px; }
.summary-heading svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.summary-heading h2,
.checkout-section-title h2,
.panel-title h2 { margin: 0; }

/* Cart */
.cart-page { background: var(--page-bg); }
.cart-layout { gap: 18px; }
.cart-items { gap: 18px; padding: 14px; }
.cart-line {
  position: relative;
  grid-template-columns: 132px minmax(0, 1fr) 42px;
  grid-template-areas: "image content remove" "image content total";
  min-height: 174px;
  padding: 12px;
  border: 1px solid rgba(57, 56, 36, .06);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--rf-soft-shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}
.cart-line.is-removing { opacity: 0; transform: scale(.98); }
.cart-line.is-updating .quantity-control { opacity: .68; }
.cart-line:last-of-type { border-block-end: 1px solid rgba(57, 56, 36, .06); }
.cart-line__image { grid-area: image; width: 132px; height: 100%; min-height: 150px; border-radius: 18px; }
.cart-line__content { display: grid; grid-area: content; align-content: center; justify-items: start; gap: 4px; min-width: 0; }
.cart-line__content h2 { margin: 0; font-size: 18px; line-height: 1.55; }
.cart-line__content > strong { color: var(--rf-olive-dark); font-size: 20px; }
.cart-line__meta { color: #88847c; font-size: 12px; }
.cart-line__unit-price { color: #88847c; font-size: 11px; }
.cart-remove { display: grid; grid-area: remove; width: 42px; height: 42px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f6f3ee; color: inherit; cursor: pointer; }
.cart-remove svg,
.wishlist-remove-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quantity-control { display: grid; grid-template-columns: 42px 52px 42px; align-items: center; margin-block-start: 8px; overflow: hidden; border: 1px solid var(--rf-line); border-radius: 15px; background: #fff; }
.quantity-control button { height: 42px; padding: 0; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.quantity-control input { width: 52px !important; height: 42px; padding: 0 !important; border: 0 !important; border-inline: 1px solid var(--rf-line) !important; border-radius: 0 !important; text-align: center; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { appearance: none; }
.cart-note { width: 100%; margin-block-start: 6px; color: #77746d; font-size: 11px; }
.cart-note input { margin-block-start: 3px; padding: 7px 9px !important; }
.order-summary { padding: 18px; }
.order-summary .coupon-box { margin-block: 0 20px; }
.coupon-box { grid-template-columns: minmax(112px, .35fr) minmax(0, 1fr); align-items: center; }
.coupon-box__heading h3 { font-size: 18px; }
.coupon-form,
.coupon-active { min-width: 0; }
.coupon-form__controls { grid-template-columns: minmax(0, 1fr) 96px; }
.coupon-form__controls button { background: linear-gradient(135deg, var(--rf-olive-dark), #626246); border-color: var(--rf-olive-dark); }
.checkout-cta { min-height: 58px; gap: 9px; border-radius: 18px; background: linear-gradient(100deg, #bd842b, #d7a440); font-size: 20px; box-shadow: 0 12px 24px rgba(185, 133, 50, .2); }
.checkout-cta svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Wishlist */
.wishlist-page { background: #fbfaf7; }
.wishlist-grid { width: calc(100% - 28px); margin-inline: auto; }
.wishlist-grid > div { min-width: 0; }
.product-card--wishlist .product-card__media { aspect-ratio: 1 / 1.05; }
.wishlist-heart { position: absolute; z-index: 3; top: 14px; right: 14px; left: auto; color: #d4a04a; }
.wishlist-heart svg { width: 34px; height: 34px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; }
.wishlist-remove-button { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f5f2ed; cursor: pointer; }
.product-card--wishlist .product-card__body { min-height: 145px; text-align: center; }
.product-card--wishlist .product-card__buy-row { align-items: center; }
.wishlist-tip { display: flex; width: calc(100% - 28px); margin: 22px auto 10px; padding: 18px; align-items: center; justify-content: center; gap: 24px; border-radius: 20px; background: linear-gradient(135deg, #f4f0e9, #fff); }
.wishlist-tip svg { width: 46px; height: 46px; fill: none; stroke: var(--rf-olive-dark); stroke-width: 1.6; }
.wishlist-tip div { display: grid; }
.wishlist-tip span { color: #8a877f; }

/* Account authentication */
.account-auth-body .site-shell { background: #f6f2ec; }
.account-auth-body .flash { position: relative; z-index: 5; }
.account-auth-page { position: relative; display: grid; min-height: calc(100vh - 96px); padding: max(34px, env(safe-area-inset-top)) 22px calc(104px + env(safe-area-inset-bottom)); overflow: hidden; background: radial-gradient(circle at 18% 22%, rgba(185, 133, 50, .08), transparent 28%), #f8f5ef; }
.auth-welcome { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.auth-logo { display: block; width: 170px; aspect-ratio: 810 / 442; background: url("../img/rashfa-logo.png") center / contain no-repeat; }
.auth-welcome > small { position: relative; margin-block-start: -4px; color: #4e4d3e; font-size: 14px; font-weight: 700; }
.auth-welcome > small::before,
.auth-welcome > small::after { color: var(--rf-gold); content: "◆"; padding-inline: 12px; font-size: 8px; }
.auth-welcome h1 { margin: 27px 0 5px; color: #303225; font-size: 32px; line-height: 1.35; }
.auth-welcome p { max-width: 520px; margin: 0; color: #77736c; line-height: 1.8; }
.auth-panel { position: relative; z-index: 3; width: min(100%, 560px); margin-inline: auto; }
.auth-tabs { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 24px auto 16px; padding: 0; overflow: hidden; border: 1px solid #dcd5cb; border-radius: 999px; background: rgba(255,255,255,.38); }
.auth-tabs button { min-height: 56px; padding: 10px; border: 0; border-radius: 999px; background: transparent; color: #49483e; font-weight: 750; cursor: pointer; }
.auth-tabs button.is-active { background: linear-gradient(120deg, #393b24, #58583a); color: #fff; box-shadow: 0 9px 20px rgba(44, 44, 25, .19); }
.auth-card { position: relative; z-index: 3; width: min(100%, 560px); margin-inline: auto; padding: 22px; border: 1px solid rgba(57, 56, 36, .09); border-radius: 26px; background: rgba(255, 255, 255, .91); box-shadow: 0 20px 55px rgba(52, 42, 26, .11); backdrop-filter: blur(18px); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 7px; color: #292b21; font-size: 13px; font-weight: 750; }
.auth-input { position: relative; display: flex; min-height: 58px; align-items: center; overflow: hidden; border: 1px solid #ddd7cf; border-radius: 18px; background: rgba(255,255,255,.65); }
.auth-input input { width: 100%; min-width: 0; min-height: 56px; padding: 12px 48px 12px 16px; border: 0; outline: 0; background: transparent; }
.auth-input svg { position: absolute; inset-inline-end: 15px; width: 24px; height: 24px; fill: none; stroke: var(--rf-olive-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-input button { position: absolute; inset-inline-end: 10px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a877f; cursor: pointer; }
.auth-input button.is-active { color: var(--rf-gold); }
.auth-submit { position: relative; display: flex; min-height: 58px; margin-block-start: 4px; padding: 12px 22px; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 18px; background: linear-gradient(120deg, #363821, #58583a); color: #fff; font-size: 19px; font-weight: 800; cursor: pointer; box-shadow: 0 11px 24px rgba(43, 44, 25, .2); }
.auth-submit span { position: absolute; inset-inline-start: 48px; font-size: 27px; font-weight: 400; }
.auth-terms { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; color: #5f5c53 !important; line-height: 1.7; }
.auth-terms input { width: 20px; height: 20px; accent-color: var(--rf-olive-dark); }
.auth-switch { margin: 2px 0 0; text-align: center; }
.auth-switch button { padding: 0; border: 0; background: transparent; color: var(--rf-gold); font-weight: 800; cursor: pointer; }
.auth-scene { position: relative; z-index: 1; width: calc(100% + 44px); min-height: 250px; margin: -34px -22px 0; overflow: hidden; background: #f3e5d5; }
.auth-scene img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center; }

/* Account dashboard */
.account-dashboard { background: #fbfaf7; }
.account-intro { padding-block-end: 10px; }
.account-profile-hero { display: flex; width: calc(100% - 28px); margin: 0 auto 18px; align-items: center; gap: 18px; }
.account-avatar { display: grid; width: 112px; height: 112px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #4b4c30, #252615); color: var(--rf-gold); }
.account-avatar svg { width: 66px; height: 66px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.account-profile-hero h2 { margin: 0; font-size: 24px; }
.account-profile-hero p { margin: 3px 0 0; color: #6f6c65; direction: ltr; text-align: right; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: calc(100% - 28px); margin: 0 auto 20px; overflow: hidden; border-radius: 24px; background: linear-gradient(120deg, #42432a, #2f311d); color: #fff; box-shadow: 0 15px 30px rgba(44, 45, 26, .18); }
.account-stats a { display: grid; min-width: 0; padding: 18px 8px; justify-items: center; border-inline-start: 1px solid rgba(255,255,255,.1); }
.account-stats a:first-child { border-inline-start: 0; }
.account-stats span { font-size: 12px; }
.account-stats strong { margin-block: 5px; font-size: 28px; }
.account-stats small { color: rgba(255,255,255,.72); }
.account-menu { width: calc(100% - 28px); margin-inline: auto; padding: 8px 18px; }
.account-menu a { display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 12px; padding: 13px 0; border-block-end: 1px solid var(--rf-line); }
.account-menu a:last-child { border-block-end: 0; }
.account-menu__icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #f2f0eb; color: var(--rf-olive-dark); font-size: 24px; }
.account-menu a > span:nth-child(2) { display: grid; }
.account-menu small { color: #85827a; font-size: 12px; }
.account-menu b { color: #74756c; font-size: 26px; font-weight: 400; }
.account-content--dashboard { display: grid; width: calc(100% - 28px); margin: 18px auto; gap: 18px; }
.panel-title > span { display: grid; min-width: 29px; height: 29px; padding-inline: 7px; place-items: center; border-radius: 999px; background: #eeeae2; color: var(--rf-olive-dark); font-weight: 800; }
.account-logout { width: calc(100% - 28px); margin: 0 auto 18px; }
.account-logout button { width: 100%; }
.account-promo { display: grid; grid-template-columns: 1.1fr .9fr; width: calc(100% - 28px); min-height: 190px; margin: 0 auto; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, #30311d, #4a4a2f); color: #fff; }
.account-promo > span { display: grid; padding: 22px; align-content: center; gap: 5px; }
.account-promo strong { font-size: 23px; }
.account-promo small { color: rgba(255,255,255,.7); }
.account-promo b { width: max-content; margin-block-start: 9px; padding: 8px 17px; border-radius: 999px; background: var(--rf-gold); }
.account-promo__media { display: block; min-height: 190px; overflow: hidden; }
.account-promo__media img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.account-promo--without-image { grid-template-columns: 1fr; }

/* Checkout */
.checkout-page { background: #fbfaf7; }
.checkout-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(880px, calc(100% - 36px)); margin: 18px auto 28px; padding: 0; list-style: none; }
.checkout-steps::before { position: absolute; inset-block-start: 22px; inset-inline: 16.6%; height: 2px; background: #d9d5cd; content: ""; }
.checkout-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: #87847d; }
.checkout-steps b { display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid #d4d0c8; border-radius: 50%; background: #fbfaf7; }
.checkout-steps .is-active { color: var(--rf-olive-dark); font-weight: 800; }
.checkout-steps .is-active b { border-color: var(--rf-olive-dark); background: var(--rf-olive-dark); color: #fff; }
.checkout-form { align-items: start; }
.checkout-fields { display: grid; gap: 18px; }
.checkout-form .panel { padding: 20px; }
.checkout-form .form-grid label { color: #2e3025; }
.checkout-form .form-grid input,
.checkout-form .form-grid select,
.checkout-form .form-grid textarea { min-height: 54px; padding: 12px 14px; border-color: #ddd7cf; border-radius: 16px; background: #fffefa; }
.checkout-form .form-grid textarea { resize: vertical; }
.checkout-section-title { justify-content: flex-start; }
.checkout-section-title h2 { font-size: 22px; }
.checkout-products { margin-block: 16px; }
.checkout-line { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; }
.checkout-line__image { width: 66px; height: 66px; border-radius: 12px; background-image: url("../img/catalog-design.jpg"); }
.checkout-line > span:nth-child(2) { display: grid; }
.checkout-line small { color: #85827a; }
.checkout-line b { white-space: nowrap; }
.checkout-payment { display: grid; gap: 12px; margin-block: 18px; }
.payment-choice { display: flex; padding: 14px; align-items: center; gap: 11px; border: 1px solid var(--rf-line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.payment-choice.is-selected { border-color: var(--rf-gold); background: #fffdfa; box-shadow: 0 7px 18px rgba(185,133,50,.1); }
.payment-choice input { width: 20px; height: 20px; accent-color: var(--rf-olive-dark); }
.payment-choice span { display: grid; }
.payment-choice small { color: #7f7b73; }
[data-checkout-payment-fee-row][hidden] { display: none; }

.wishlist-page {
  min-height: calc(100vh - 140px);
  background: var(--page-bg);
}

@media (max-width: 767px) {
  .site-header { min-height: 96px; }
  .brand-logo { width: 118px; }
  .commerce-page { padding-block-start: 0; }
  .cart-page .commerce-layout,
  .checkout-page .commerce-layout { padding-inline: 14px; }
  .cart-line { grid-template-columns: 112px minmax(0, 1fr) 38px; min-height: 160px; gap: 9px; padding: 10px; }
  .cart-line__image { width: 112px; min-height: 138px; }
  .cart-line__content h2 { font-size: 16px; }
  .cart-line__content > strong { font-size: 18px; }
  .quantity-control { grid-template-columns: 36px 44px 36px; }
  .quantity-control button,
  .quantity-control input { height: 38px; }
  .quantity-control input { width: 44px !important; }
  .cart-remove { width: 38px; height: 38px; }
  .coupon-box { grid-template-columns: 1fr; }
  .coupon-form__controls { grid-template-columns: minmax(0, 1fr) 88px; }
  .coupon-form button { width: auto; }
  .checkout-form { display: block; }
  .checkout-summary { margin-block-start: 18px; }
  .checkout-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-form .field-wide { grid-column: 1 / -1; }
  .wishlist-grid { gap: 12px; }
  .wishlist-page .product-card__category { display: none; }
  .product-card--wishlist .product-card__body h3 { min-height: 46px; }
  .account-content--dashboard .panel { padding: 16px; }
}

@media (max-width: 520px) {
  .mobile-page-intro { padding-inline: 16px; }
  .cart-items { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .cart-line { grid-template-columns: 104px minmax(0, 1fr) 36px; }
  .cart-line__image { width: 104px; }
  .cart-line__content h2 { font-size: 15px; }
  .cart-line__meta { display: none; }
  .cart-note { display: none; }
  .wishlist-grid { width: calc(100% - 22px); }
  .product-card--wishlist .product-card__body { min-height: 132px; }
  .product-card--wishlist .product-card__body h3 { font-size: 14px; }
  .wishlist-remove-button { width: 41px; height: 41px; }
  .wishlist-tip { width: calc(100% - 22px); gap: 14px; padding-inline: 14px; }
  .wishlist-tip strong { font-size: 14px; }
  .auth-welcome h1 { font-size: 27px; }
  .auth-welcome p { font-size: 13px; }
  .auth-card { padding: 17px; border-radius: 22px; }
  .auth-form { gap: 11px; }
  .auth-input { min-height: 54px; }
  .auth-input input { min-height: 52px; }
  .auth-submit { min-height: 55px; }
  .checkout-form .form-grid { grid-template-columns: 1fr; }
  .checkout-form .field-wide { grid-column: auto; }
  .checkout-steps span { font-size: 12px; }
  .checkout-line { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .checkout-line__image { width: 58px; height: 58px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cart-line { grid-template-columns: 150px minmax(0, 1fr) 48px; }
  .cart-line__image { width: 150px; }
}

@media (min-width: 1024px) {
  .mobile-page-intro { width: min(1320px, calc(100% - 64px)); margin: 34px auto 24px; padding: 34px 38px; border: 1px solid var(--rf-line); border-radius: 24px; box-shadow: var(--rf-soft-shadow); }
  .mobile-page-intro h1 { font-size: 38px; }
  .cart-layout { grid-template-columns: minmax(0, 1.5fr) minmax(360px, .72fr); width: min(1320px, calc(100% - 64px)); }
  .cart-line { grid-template-columns: 170px minmax(0, 1fr) 48px; min-height: 206px; padding: 16px; }
  .cart-line__image { width: 170px; min-height: 174px; }
  .cart-line__content h2 { font-size: 22px; }
  .order-summary { border-radius: 24px; }
  .wishlist-page { padding-block-end: 70px; }
  .wishlist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1320px, calc(100% - 64px)); gap: 22px; }
  .wishlist-tip { width: min(920px, calc(100% - 64px)); margin-block: 36px 0; }
  .product-card--wishlist .product-card__media { aspect-ratio: 1 / 1.03; }
  .account-auth-body .site-shell { width: 100%; margin: 0; border-radius: 0; }
  .account-auth-page { grid-template-columns: minmax(360px, .9fr) minmax(400px, 1.1fr); grid-template-rows: auto minmax(320px, 1fr); grid-template-areas: "form welcome" "form scene"; width: min(1320px, calc(100% - 64px)); min-height: calc(100vh - 190px); margin: 34px auto 64px; padding: 54px clamp(30px, 4vw, 78px); align-items: center; gap: 28px clamp(28px, 4vw, 88px); overflow: hidden; border: 1px solid rgba(57, 56, 36, .08); border-radius: 36px; background: radial-gradient(circle at 84% 18%, rgba(185, 133, 50, .13), transparent 31%), #f8f5ef; box-shadow: 0 24px 70px rgba(54, 44, 29, .09); direction: ltr; }
  .account-auth-page > * { direction: rtl; }
  .auth-welcome { grid-area: welcome; align-self: end; }
  .auth-panel { grid-area: form; width: min(100%, 580px); align-self: center; }
  .auth-tabs { margin: 0 0 16px; }
  .auth-card { width: 100%; margin: 0; padding: 28px; }
  .auth-scene { grid-area: scene; width: 100%; min-height: 340px; margin: 0; align-self: start; border-radius: 28px; box-shadow: 0 20px 50px rgba(47, 41, 29, .14); }
  .account-auth-page--without-scene { grid-template-rows: auto; grid-template-areas: "form welcome"; }
  .account-dashboard { padding-block-end: 70px; }
  .account-intro { width: min(1180px, calc(100% - 64px)); margin-block-end: 0; }
  .account-profile-hero,
  .account-stats,
  .account-menu,
  .account-content--dashboard,
  .account-logout,
  .account-promo { width: min(1180px, calc(100% - 64px)); }
  .account-profile-hero { padding: 24px 30px; border-radius: 24px; background: #fff; box-shadow: var(--rf-soft-shadow); }
  .account-stats { grid-template-columns: repeat(3, 1fr); }
  .account-stats a { min-height: 125px; align-content: center; }
  .account-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; padding: 18px 28px; }
  .account-content--dashboard { grid-template-columns: 1fr 1fr; align-items: start; }
  .account-logout { display: flex; justify-content: flex-end; }
  .account-logout button { width: auto; min-width: 180px; }
  .account-promo { min-height: 260px; }
  .account-promo__media { min-height: 260px; }
  .checkout-steps { margin-block: 36px; }
  .checkout-form { grid-template-columns: minmax(0, 1.5fr) minmax(390px, .75fr); width: min(1320px, calc(100% - 64px)); }
  .checkout-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-summary { inset-block-start: 110px; }
}

@media (max-width: 1023px) {
  .account-auth-body .site-header { display: none; }
}

@media (min-width: 1024px) {
  .desktop-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
  .desktop-header-action.is-active { background: var(--brand-olive-deep); color: #fff; }
}

body { background: var(--page-bg); }
.site-shell { background: var(--surface); }
@media (min-width: 1024px) {
  html,
  body,
  .site-shell,
  .home-page,
  .catalog-page { background: var(--page-bg); }
}
@media (min-width: 360px) and (max-width: 520px) {
  .cart-line { grid-template-columns: 145px minmax(0, 1fr) 36px; min-height: 184px; }
  .cart-line__image { width: 145px; min-height: 164px; }
  .cart-line__content h2 { font-size: 16px; }
}

.desktop-utility-action,
.cart-shipping-progress,
.desktop-cart-trust,
.checkout-wide-submit,
.auth-benefits { display: none; }

.mobile-search-action {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--rf-olive-dark);
}
.mobile-search-action svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .mobile-search-action { width: 44px; height: 44px; } }

.product-gallery { position: relative; }
.product-gallery__favorite {
  position: absolute;
  z-index: 4;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--rf-olive-dark);
  box-shadow: 0 8px 22px rgba(38,31,20,.15);
  cursor: pointer;
}
.product-gallery__favorite svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.product-gallery__favorite.is-active { color: var(--rf-gold); }
.product-gallery__favorite.is-active svg { fill: currentColor; }
.product-gallery__counter { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: #292b20; font-size: 13px; box-shadow: 0 5px 16px rgba(34,28,18,.12); }
.product-detail-trust .trust-strip { width: 100%; margin: 24px 0 0; padding: 20px 8px; border: 1px solid var(--rf-line); border-radius: 20px; box-shadow: none; }
.product-detail-trust .trust-item { gap: 7px; }
.product-detail-trust .trust-item svg { width: 32px; height: 32px; }
.product-detail-trust .trust-item span { font-size: 11px; }
.product-information { display: none; width: calc(100% - 36px); margin: 0 auto 110px; gap: 24px; }
.product-information article { min-width: 0; }
.product-information h2 { margin: 0 0 12px; font-size: 22px; }
.product-information p { margin: 0; color: #69675f; line-height: 1.95; }
.product-information dl { display: grid; gap: 10px; margin: 0; }
.product-information dl > div { display: flex; justify-content: space-between; gap: 14px; padding-block-end: 9px; border-block-end: 1px solid var(--rf-line); }
.product-information dd { margin: 0; color: #6f6c65; text-align: end; }
.product-add-button svg,
.checkout-wide-submit svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.product-quantity-field { grid-column: 1 / -1; width: max-content; justify-self: start; }

@media (min-width: 1024px) {
  .mobile-search-action { display: none; }
  .site-header {
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    min-height: 104px;
    padding-inline: clamp(36px, 4vw, 78px);
    background: rgba(255,254,252,.96);
  }
  .brand-logo { width: 132px; }
  .desktop-nav { gap: clamp(32px, 3.2vw, 62px); }
  .desktop-nav a { padding-block: 39px; font-size: 17px; font-weight: 720; }
  .desktop-nav a::after {
    inset-inline: auto;
    left: 50%;
    inset-block-end: 17px;
    width: 7px;
    height: 7px;
    transform: translateX(-50%) scale(0);
  }
  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after,
  .desktop-nav a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }
  .header-actions { gap: 12px; direction: ltr; }
  .desktop-utility-action { direction: rtl; }
  .desktop-utility-action {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    border-radius: 13px;
    color: #2e3025;
    font-weight: 720;
  }
  .desktop-utility-action:hover,
  .desktop-utility-action.is-active { background: #f1eee8; }
  .desktop-utility-action svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .desktop-cart-action b { position: absolute; inset-block-start: -2px; inset-inline-start: 2px; font-size: 11px; }
  .header-actions > .cart-button { display: none; }

  .mobile-page-intro {
    width: min(1560px, calc(100% - 96px));
    margin: 42px auto 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .mobile-page-intro h1 { font-size: 42px; }
  .mobile-page-intro p { font-size: 17px; }

  .cart-page { padding-block-end: 0; background: var(--page-bg); }
  .cart-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(370px, .68fr);
    grid-template-areas: "main summary";
    width: min(1560px, calc(100% - 96px));
    padding: 0;
    align-items: start;
    gap: 34px;
    direction: ltr;
  }
  .cart-main-column { grid-area: main; display: grid; min-width: 0; gap: 20px; direction: rtl; }
  .cart-layout > .order-summary { grid-area: summary; direction: rtl; }
  .cart-shipping-progress {
    display: flex;
    min-height: 112px;
    padding: 24px 28px;
    align-items: center;
    gap: 22px;
    border-radius: 22px;
    background: linear-gradient(120deg, #f3efe8, #fbfaf7);
  }
  .cart-shipping-progress__icon { font-size: 45px; }
  .cart-shipping-progress > div { display: grid; flex: 1; grid-template-columns: 1fr auto; align-items: center; gap: 10px 20px; }
  .cart-shipping-progress strong { font-size: 17px; }
  .cart-shipping-progress span { color: #57564e; }
  .cart-shipping-progress i { display: block; grid-column: 1 / -1; height: 9px; overflow: hidden; border-radius: 999px; background: #ded8cd; }
  .cart-shipping-progress i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-olive-deep), var(--brand-gold)); }
  .cart-items { gap: 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .cart-line {
    --cart-image-size: clamp(180px, 17vw, 270px);
    grid-template-columns: var(--cart-image-size) minmax(0, 1fr) 50px;
    grid-template-areas: "image content remove" "image content total";
    min-height: 250px;
    padding: 22px;
    gap: 24px;
    border: 1px solid rgba(57,56,36,.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(56,46,31,.05);
  }
  .cart-line__image { width: var(--cart-image-size); min-height: 204px; border-radius: 18px; }
  .cart-line__content h2 { font-size: 25px; }
  .cart-line__content > strong { font-size: 28px; }
  .cart-line__meta { font-size: 15px; }
  .cart-line .quantity-control { grid-template-columns: 54px 66px 54px; }
  .cart-line .quantity-control button,
  .cart-line .quantity-control input { height: 48px; }
  .cart-line .quantity-control input { width: 66px !important; }
  .cart-main-column > .coupon-box { grid-template-columns: 220px minmax(0, 1fr); margin: 0; padding: 22px 28px; align-items: center; }
  .cart-main-column .coupon-form__controls { grid-template-columns: minmax(0, 1fr) 150px; }
  .cart-layout > .order-summary { position: sticky; inset-block-start: 126px; padding: 30px; border-radius: 24px; }
  .cart-layout > .order-summary h2 { font-size: 26px; }
  .cart-layout > .order-summary dl { margin-block: 28px; gap: 18px; font-size: 16px; }
  .cart-layout > .order-summary .summary-total { font-size: 26px; }
  .cart-layout > .order-summary .checkout-cta { min-height: 70px; font-size: 22px; }
  .desktop-cart-trust { display: block; margin-block-start: 44px; }
  .desktop-cart-trust .trust-strip { width: 100%; margin: 0; padding: 30px max(48px, calc((100% - 1500px) / 2)); border-block: 1px solid var(--rf-line); border-radius: 0; box-shadow: none; }
  .desktop-cart-trust .trust-item { grid-template-columns: auto 1fr; justify-items: start; text-align: start; }

  .checkout-page { padding-block-end: 0; background: #fffdfa; }
  .checkout-steps { width: min(680px, calc(100% - 64px)); margin: 34px auto 42px; }
  .checkout-form {
    grid-template-columns: minmax(350px, .72fr) minmax(0, 1.35fr);
    grid-template-areas: "summary fields" "submit submit";
    width: min(1560px, calc(100% - 96px));
    padding: 0 0 70px;
    align-items: start;
    gap: 30px;
    direction: ltr;
  }
  .checkout-fields {
    grid-area: fields;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(57,56,36,.09);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(56,46,31,.05);
    direction: rtl;
  }
  .checkout-fields > .panel { padding: 30px; border: 0; border-radius: 0; box-shadow: none; }
  .checkout-fields > .panel + .panel { border-block-start: 1px solid var(--rf-line); }
  .checkout-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .checkout-form .form-grid input,
  .checkout-form .form-grid select,
  .checkout-form .form-grid textarea { min-height: 62px; border-radius: 17px; }
  .checkout-form .form-grid textarea { min-height: 86px; }
  .checkout-summary { grid-area: summary; position: static; padding: 30px; border-radius: 25px; direction: rtl; }
  .checkout-line__image { width: 82px; height: 82px; }
  .checkout-summary .checkout-cta,
  .checkout-summary > .secure-note { display: none; }
  .checkout-wide-submit {
    position: relative;
    grid-area: submit;
    display: flex;
    min-height: 72px;
    padding: 14px 30px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(100deg, #b8791d, #d99d35);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(183,121,29,.2);
    cursor: pointer;
    direction: rtl;
  }
  .checkout-wide-submit span { position: absolute; left: max(70px, 7vw); font-size: 34px; font-weight: 400; }

  .account-auth-page {
    grid-template-columns: minmax(430px, 1.08fr) minmax(390px, .92fr);
    grid-template-areas: "welcome form" "scene form";
    width: min(1500px, calc(100% - 64px));
    min-height: calc(100vh - 190px);
    padding: 52px clamp(34px, 4vw, 72px);
    gap: 30px clamp(42px, 5vw, 84px);
  }
  .auth-welcome { justify-items: start; align-self: end; text-align: start; }
  .auth-logo { width: 148px; }
  .auth-welcome > small { display: none; }
  .auth-welcome h1 { margin-block-start: 12px; font-size: 38px; }
  .auth-benefits { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-block-start: 34px; gap: 18px; }
  .auth-benefits span { display: grid; justify-items: center; gap: 5px; padding: 18px 12px; text-align: center; }
  .auth-benefits b { color: var(--rf-gold); font-size: 34px; font-weight: 500; }
  .auth-benefits strong { font-size: 16px; }
  .auth-benefits small { max-width: 150px; color: #77736c; line-height: 1.7; }
  .auth-panel { width: min(100%, 620px); }
  .auth-scene { min-height: 390px; }
  .account-auth-page--without-scene { grid-template-areas: "welcome form"; }

  .account-dashboard {
    display: grid;
    grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr);
    grid-template-areas: "intro intro" "profile menu" "stats menu" "promo menu" "content content" "logout logout";
    width: min(1560px, calc(100% - 96px));
    margin-inline: auto;
    padding-block: 0 76px;
    align-items: stretch;
    gap: 22px 34px;
    background: transparent;
    direction: ltr;
  }
  .account-dashboard > * { direction: rtl; }
  .account-dashboard .account-intro { grid-area: intro; width: 100%; margin: 42px 0 8px; }
  .account-profile-hero {
    grid-area: profile;
    width: 100%;
    min-height: 235px;
    margin: 0;
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(125deg, #2f301d, #4c4c30);
    color: #fff;
    box-shadow: 0 18px 42px rgba(45,44,25,.17);
  }
  .account-profile-hero h2 { font-size: 30px; }
  .account-profile-hero p { color: rgba(255,255,255,.76); }
  .account-stats { grid-area: stats; width: 100%; margin: 0; border-radius: 24px; }
  .account-menu { grid-area: menu; display: grid; grid-template-columns: 1fr; width: 100%; margin: 0; padding: 14px 30px; }
  .account-menu a { min-height: 92px; padding: 16px 0; }
  .account-menu__icon { width: 52px; height: 52px; font-size: 28px; }
  .account-menu strong { font-size: 19px; }
  .account-menu small { font-size: 14px; }
  .account-promo { grid-area: promo; width: 100%; min-height: 250px; margin: 0; }
  .account-promo__media { min-height: 250px; }
  .account-content--dashboard { grid-area: content; width: 100%; margin: 14px 0 0; grid-template-columns: 1fr 1fr; }
  .account-logout { grid-area: logout; width: 100%; margin: 0; }

  .wishlist-page { padding-block-end: 80px; background: var(--page-bg); }
  .wishlist-page .wishlist-intro { margin-block-end: 34px; }
  .wishlist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1780px, calc(100% - 96px)); gap: 24px; }
  .wishlist-grid .product-card { box-shadow: none; }
  .wishlist-grid .product-card__media { aspect-ratio: 1 / 1.04; }
  .wishlist-grid .product-card__body { min-height: 180px; padding: 20px; }
  .wishlist-tip { width: min(1460px, calc(100% - 160px)); min-height: 118px; margin-block-start: 44px; font-size: 18px; }

  .product-page { padding-block: 0 70px; background: #fffdfa; }
  .breadcrumbs { width: min(1720px, calc(100% - 96px)); padding: 32px 0 24px; font-size: 15px; }
  .product-detail {
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .86fr);
    width: min(1720px, calc(100% - 96px));
    padding: 0 0 52px;
    gap: clamp(44px, 5vw, 86px);
    direction: ltr;
  }
  .product-detail > * { direction: rtl; }
  .product-gallery {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "thumbs main";
    min-width: 0;
    gap: 18px;
    direction: ltr;
  }
  .product-detail__media { grid-area: main; aspect-ratio: 1.18 / 1; border-radius: 24px; }
  .product-detail__media.has-gallery-image > img { object-fit: cover; }
  .product-gallery__thumbs { grid-area: thumbs; display: flex; width: 104px; margin: 0; padding: 2px; flex-direction: column; overflow: visible; gap: 13px; }
  .product-gallery__thumbs button { width: 100%; height: 102px; flex-basis: auto; }
  .product-gallery__favorite { inset-block-start: 22px; inset-inline-end: 22px; width: 58px; height: 58px; }
  .product-gallery__counter { inset-block-end: 18px; inset-inline-start: 132px; font-size: 15px; }
  .product-detail__content { padding-block-start: 18px; }
  .product-detail__content .eyebrow { display: inline-flex; padding: 7px 13px; border-radius: 999px; background: #f2eadf; color: var(--brand-gold-deep); font-size: 14px; }
  .product-detail__content h1 { margin-block: 16px 12px; font-size: clamp(38px, 3vw, 52px); }
  .product-detail__content > p { font-size: 17px; }
  .product-detail__price { margin-block: 28px 12px; }
  .product-detail__price strong { font-size: 40px; }
  .stock-state { width: max-content; }
  .product-order-form { grid-template-columns: 210px minmax(0, 1fr); margin-block-start: 20px; }
  .product-quantity-field .quantity-control { grid-template-columns: 52px 62px 52px; margin: 0; }
  .product-add-button { min-height: 64px; gap: 12px; border-radius: 16px; font-size: 20px; }
  .product-detail-trust .trust-strip { padding: 24px 12px; }
  .product-detail-trust .trust-item span { font-size: 12px; }
  .product-information { display: grid; grid-template-columns: 1.25fr .75fr; width: min(1500px, calc(100% - 96px)); margin-block: 0; padding: 34px 40px; gap: 70px; }
  .product-information h2 { font-size: 25px; }
  .product-information p { font-size: 16px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header { grid-template-columns: 210px minmax(0, 1fr) 210px; padding-inline: 24px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 14px; }
  .desktop-utility-action span { display: none; }
  .desktop-utility-action { width: 46px; justify-content: center; }
  .cart-layout,
  .checkout-form,
  .account-dashboard { width: calc(100% - 48px); }
  .cart-line { --cart-image-size: 180px; gap: 16px; }
  .product-detail { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); width: calc(100% - 48px); gap: 34px; }
  .product-gallery { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .product-gallery__thumbs { width: 82px; }
  .product-gallery__thumbs button { height: 80px; }
  .product-gallery__counter { inset-inline-start: 108px; }
}
