/* ==========================================================================
   GOREN — Luxury theme layer for YouCan (built on Origins)
   Palette: bg #F5F0E7 · ink #111111 · gold #C5A46D · secondary text #514338
   Colors come from CSS variables injected by snippets/head-config.liquid.
   Selectors are prefixed with `body` so they win over Origins' per-section CSS.
   ========================================================================== */

html { overflow-x: clip; }

/* ---------- Base & typography ---------- */
body {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--goren-ink);
  background-color: var(--goren-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--goren-ink);
}
body h1, body .h1 { font-size: calc(var(--font-heading-scale) * 4.4rem); }
body h2, body .h2 { font-size: calc(var(--font-heading-scale) * 3.4rem); }
body h3, body .h3 { font-size: calc(var(--font-heading-scale) * 2.6rem); }
body :focus-visible { outline: 2px solid var(--goren-gold); outline-offset: 3px; }
body ::selection { background: var(--goren-gold); color: var(--goren-ink); }
[dir="rtl"] body h1, [dir="rtl"] body h2, [dir="rtl"] body h3 { letter-spacing: 0; }

@media (max-width: 768px) {
  body h1, body .h1 { font-size: calc(var(--font-heading-scale) * 3.4rem); }
  body h2, body .h2 { font-size: calc(var(--font-heading-scale) * 2.8rem); }
  body h3, body .h3 { font-size: calc(var(--font-heading-scale) * 2.2rem); }
}

/* ---------- Buttons ---------- */
body button, body .yc-btn { text-transform: none; }
body button.primary, body .yc-btn.primary {
  padding: 15px 28px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: var(--goren-ink);
  border-color: var(--goren-ink);
  color: var(--goren-bg);
}
body button.primary:hover:not(:disabled), body .yc-btn.primary:hover:not(:disabled) {
  opacity: 1;
  background-color: var(--goren-gold);
  border-color: var(--goren-gold);
  color: var(--goren-ink);
}
body button.secondary, body .yc-btn.secondary {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goren-ink);
  border: 1px solid var(--goren-ink);
  background-color: transparent;
}
body button.secondary:hover:not(:disabled), body .yc-btn.secondary:hover:not(:disabled) {
  color: var(--goren-bg);
  background-color: var(--goren-ink);
  border-color: var(--goren-ink);
}
body button.icon, body .yc-btn.icon { border-color: var(--goren-line); }

/* GOREN buttons used by custom sections */
body .gr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 30px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid currentColor;
  border-radius: 0;
  transition: background-color 0.35s var(--goren-ease), color 0.35s var(--goren-ease), border-color 0.35s var(--goren-ease);
}
body .gr-btn--solid { background: var(--goren-bg); color: var(--goren-ink); border-color: var(--goren-bg); }
body .gr-btn--solid:hover { background: var(--goren-gold); border-color: var(--goren-gold); color: var(--goren-ink); }
body .gr-btn--outline { background: transparent; color: inherit; }
body .gr-btn--outline:hover { background: var(--goren-bg); color: var(--goren-ink); border-color: var(--goren-bg); }
body .gr-btn--text {
  padding: 6px 0;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--goren-gold);
  color: var(--goren-ink);
}
body .gr-btn--text:hover { color: var(--goren-text); border-bottom-color: var(--goren-ink); }
body .gr-hero[data-tone="dark"] .gr-btn--solid { background: var(--goren-ink); color: var(--goren-bg); border-color: var(--goren-ink); }
body .gr-hero[data-tone="dark"] .gr-btn--solid:hover { background: var(--goren-gold); border-color: var(--goren-gold); color: var(--goren-ink); }
body .gr-hero[data-tone="dark"] .gr-btn--outline:hover { background: var(--goren-ink); color: var(--goren-bg); border-color: var(--goren-ink); }

body .gr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--goren-text);
}
body .gr-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--goren-gold);
}
body .gr-rule { display: block; width: 44px; height: 1px; background: var(--goren-gold); }
[dir="rtl"] body .gr-eyebrow { letter-spacing: 0.08em; }

/* ---------- Form fields ---------- */
body select, body textarea,
body input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]) {
  border-color: color-mix(in srgb, var(--goren-ink) 25%, transparent);
  border-radius: 0;
  background-color: transparent;
}
body select:focus, body textarea:focus,
body input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]):focus {
  border-color: var(--goren-ink);
}

/* ---------- Announcement bar ---------- */
body #youcan-section--announcement-bar .announcement .message,
body #youcan-section--announcement-bar .announcement .link {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
body #youcan-section--announcement-bar .announcement .message { padding-block: 0.85em; }
[dir="rtl"] body #youcan-section--announcement-bar .announcement .message { letter-spacing: 0.04em; }
@media (max-width: 768px) {
  body #youcan-section--announcement-bar { padding-inline: 1em; }
  body #youcan-section--announcement-bar .announcement .message { letter-spacing: 0.1em; font-size: 1rem; }
}

/* ---------- Header ---------- */
body yc-header {
  padding: 1.15em 5%;
  background-color: var(--header-bg-color);
}
body yc-header[data-bottom-border] { border-block-end: 1px solid var(--goren-line); }
body yc-header .logo a {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  padding-inline-start: 0.38em; /* optically centres letter-spaced wordmark */
  text-transform: uppercase;
  line-height: 1;
}
body yc-header .links ul { column-gap: 34px; }
body yc-header .links ul li a.link {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
body yc-header .links ul li a.link::before { display: none; }
body yc-header .links > ul > li > a.link { position: relative; padding-block: 6px; }
body yc-header .links > ul > li > a.link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: var(--goren-gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--goren-ease);
}
body yc-header .links > ul > li:hover > a.link::after,
body yc-header .links > ul > li:focus-within > a.link::after { transform: scaleX(1); }
body yc-header .links > ul > li .sub-links {
  border-radius: 0;
  border: 1px solid var(--goren-line);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}
body yc-header .links > ul > li .sub-links .sub-link a { border-radius: 0; font-size: 1.2rem; letter-spacing: 0.06em; }
body yc-header .actions { gap: 4px; }
body yc-header .actions .search-btn,
body yc-header .actions .cart-btn { border: 0; }
body yc-header .actions .cart-btn { gap: 0.9em; padding: 12px; }
body yc-header .actions .cart-btn::before { display: none; }
body yc-header .actions .cart-btn .total-amount { font-size: 1.15rem; letter-spacing: 0.06em; font-weight: 500; }
body yc-header .actions .cart-btn .total-items {
  inset-block-start: 2px;
  inset-inline-start: 2px;
  padding: 4px 6px;
  font-size: 0.95rem;
  line-height: 1;
  clip-path: none;
  border-radius: 999px;
  background: var(--goren-gold);
  color: var(--goren-ink);
}
body yc-header .actions .search-bar .search-input { border-radius: 0; border-color: var(--goren-line); }
body #youcan-section--header:has(yc-header[data-sticky]) { backdrop-filter: saturate(1.1); }

@media (max-width: 1024px) {
  body yc-header { padding: 0.9em 1em; }
  body yc-header .logo a { font-size: 2.3rem; letter-spacing: 0.3em; padding-inline-start: 0.3em; }
  body yc-header .actions .cart-btn .total-amount { display: none; }
}

/* ---------- Section frame & heads ---------- */
body yc-section { padding-inline: 5%; }
body yc-section[data-full] { padding-inline: 0; }
body yc-section yc-section-head { gap: 14px; }
body yc-section yc-section-head h2 {
  font-size: clamp(2.8rem, 3.4vw, 4.2rem);
  letter-spacing: 0.04em;
  text-transform: none;
}
body yc-section yc-section-head h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-block-start: 18px;
  background: var(--goren-gold);
}
body yc-section yc-section-head[data-position$=center] h2::after { margin-inline: auto; }
body yc-section yc-section-head[data-position$=right] h2::after { margin-inline-start: auto; }
body yc-section yc-section-head p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--goren-text);
}
body yc-section > *:not(:last-child) { margin-block-end: 44px; }
@media (max-width: 768px) {
  body yc-section { padding-inline: 1.25em; }
  body yc-section > *:not(:last-child) { margin-block-end: 28px; }
}

/* ---------- Responsive item grids ---------- */
body .items-grid { gap: 36px 24px; grid-template-columns: repeat(var(--items-columns, 3), minmax(0, 1fr)); }
/* Origins forces 1 column (with !important) under 1024px; luxury grids keep 3 / 2 columns */
@media (max-width: 1024px) {
  body .items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px 16px; }
}
@media (max-width: 768px) {
  body .items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px; }
}
body .items-grid > li { min-width: 0; }
body .items-grid .show-more { margin-block-start: 12px; }
body .items-grid .show-more .yc-btn,
body yc-slider-footer .show-more .yc-btn {
  padding: 14px 34px;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--goren-ink);
  color: var(--goren-ink);
  background: transparent;
}
body .items-grid .show-more .yc-btn:hover,
body yc-slider-footer .show-more .yc-btn:hover { background: var(--goren-ink); color: var(--goren-bg); }

/* ---------- Hero ---------- */
body .gr-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(520px, var(--gr-hero-height, 80vh));
  overflow: hidden;
  isolation: isolate;
  color: var(--goren-bg);
  background: var(--goren-ink);
}
body .gr-hero[data-tone="dark"] { color: var(--goren-ink); background: var(--goren-bg); }
body .gr-hero__media { position: absolute; inset: 0; z-index: -2; }
body .gr-hero__media picture, body .gr-hero__media img, body .gr-hero__media svg {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
body .gr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(17,17,17,calc(var(--gr-overlay) * 1.6)) 0%, rgba(17,17,17,calc(var(--gr-overlay) * 0.5)) 60%, rgba(17,17,17,calc(var(--gr-overlay) * 0.2)) 100%);
}
body .gr-hero[data-tone="dark"]::after {
  background: linear-gradient(90deg, rgba(245,240,231,calc(var(--gr-overlay) * 1.8)) 0%, rgba(245,240,231,calc(var(--gr-overlay) * 0.4)) 70%, rgba(245,240,231,0) 100%);
}
body .gr-hero[data-align="center"]::after { background: rgba(17,17,17,var(--gr-overlay)); }
body .gr-hero[data-align="center"][data-tone="dark"]::after { background: rgba(245,240,231,calc(var(--gr-overlay) * 1.2)); }
body .gr-hero[data-align="right"]::after { transform: scaleX(-1); }
[dir="rtl"] body .gr-hero:not([data-align="center"])::after { transform: scaleX(-1); }
[dir="rtl"] body .gr-hero[data-align="right"]::after { transform: none; }

body .gr-hero__content {
  width: 100%;
  max-width: 720px;
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
body .gr-hero[data-align="center"] .gr-hero__content { margin-inline: auto; align-items: center; text-align: center; max-width: 860px; }
body .gr-hero[data-align="right"] .gr-hero__content { margin-inline-start: auto; align-items: flex-end; text-align: end; }
body .gr-hero .gr-eyebrow { color: var(--goren-gold); }
body .gr-hero[data-tone="dark"] .gr-eyebrow { color: var(--goren-text); }
body .gr-hero__title {
  font-size: clamp(3.8rem, 6.2vw, 8rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
  text-wrap: balance;
}
body .gr-hero__text {
  max-width: 46ch;
  font-size: 1.7rem;
  line-height: 1.7;
  color: inherit;
  opacity: 0.92;
  text-wrap: pretty;
}
body .gr-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 10px; }
@media (max-width: 768px) {
  body .gr-hero { min-height: max(480px, var(--gr-hero-height-mobile, 75vh)); align-items: flex-end; }
  body .gr-hero::after { background: linear-gradient(0deg, rgba(17,17,17,calc(var(--gr-overlay) * 2)) 0%, rgba(17,17,17,calc(var(--gr-overlay) * 0.4)) 70%, rgba(17,17,17,0) 100%); transform: none; }
  body .gr-hero[data-tone="dark"]::after { background: linear-gradient(0deg, rgba(245,240,231,calc(var(--gr-overlay) * 2.4)) 0%, rgba(245,240,231,0) 80%); }
  body .gr-hero__content { padding: 60px 1.5em 3em; gap: 16px; max-width: none; }
  body .gr-hero__text { font-size: 1.5rem; }
  body .gr-hero__actions { width: 100%; }
  body .gr-hero__actions .gr-btn { flex: 1 1 100%; }
}

/* ---------- Collections ---------- */
body .collection-card {
  display: block;
  border: 0;
  border-radius: 0;
  overflow: visible;
  text-align: center;
}
body .collection-card .cover {
  overflow: hidden;
  background: color-mix(in srgb, var(--goren-ink) 6%, var(--goren-bg));
}
body .collection-card .cover img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: transform 0.9s var(--goren-ease);
}
body .collection-card .cover::before { display: none; }
body .collection-card:hover .cover { scale: 1; }
body .collection-card:hover .cover img { transform: scale(1.05); }
body .collection-card .info {
  position: static;
  inset: auto;
  justify-content: center;
  padding-block-start: 16px;
}
body .collection-card .info .name {
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--goren-ink);
  background-image: linear-gradient(var(--goren-gold), var(--goren-gold));
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 0% 1px;
  padding-block-end: 4px;
  transition: background-size 0.4s var(--goren-ease);
}
body .collection-card:hover .info .name { background-size: 100% 1px; }
body .collection-card .info[data-small] .name { font-size: 1.7rem; padding: 0 0 4px; }
@media (max-width: 768px) {
  body .collection-card .info .name { font-size: 1.7rem; }
  body .collections .items-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  body .collections .items-grid > li:last-child:nth-child(odd) .cover { aspect-ratio: 16 / 10; }
}

/* ---------- Product cards ---------- */
body .product-card { border: 0; border-radius: 0; background: transparent; --product-card-background: transparent; }
body .product-card[data-style$=standard] { border: 0; }
body .product-card .img-link,
body .product-card[data-style$=standard] .img-link {
  position: relative;
  display: block;
  border: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--goren-ink) 6%, var(--goren-bg));
}
body .product-card .img-link img,
body .product-card .img-link .card-placeholder {
  border-radius: 0;
  transition: transform 0.9s var(--goren-ease);
}
body .product-card:hover .img-link img { transform: scale(1.045); }
body .product-card .img-link .card-placeholder { background: transparent; }
body .product-card .badge {
  z-index: 2;
  inset-block-start: 12px;
  border-radius: 0;
  padding: 6px 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}
body .product-card .badge[data-position$=left] { inset-inline-start: 12px; }
body .product-card .badge[data-position$=right] { inset-inline-end: 12px; }
body .product-card .info,
body .product-card[data-style$=standard] .info {
  padding: 18px 4px 0;
  gap: 6px;
  border-radius: 0;
  background: transparent;
  color: var(--goren-ink);
  text-align: center;
  justify-items: center;
}
body .product-card .info .title,
body .product-card .info .price { justify-self: center; }
body .product-card .info .title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .product-card .info .title:hover { text-decoration: none; color: var(--goren-text); }
body .product-card .info .price { gap: 10px; font-size: 1.4rem; }
body .product-card .info .price .current { font-size: 1.5rem; font-weight: 500; letter-spacing: 0.04em; }
body .product-card .info .price .compare-at { font-size: 1.3rem; color: var(--goren-text); opacity: 0.75; }
body .product-card .info button.secondary,
body .product-card .info .yc-btn.secondary { margin-block-start: 10px; min-height: 46px; }
body .product-card[data-style$=compact] .info { position: absolute; background: color-mix(in srgb, var(--goren-bg) 92%, transparent); }
@media (max-width: 768px) {
  body .product-card .info .title { font-size: 1.7rem; }
  body .product-card .info .price .current { font-size: 1.4rem; }
  body .product-card .info button.secondary,
  body .product-card .info .yc-btn.secondary { padding: 12px 8px; font-size: 1.05rem; letter-spacing: 0.1em; }
}
@media (hover: none) { body .product-card:hover .img-link img { transform: none; } }

/* ---------- Brand story ---------- */
body .gr-story {
  padding-block: var(--section-space-top) var(--section-space-bottom);
  padding-inline: 5%;
  color: var(--gr-story-text);
  background: var(--gr-story-bg);
}
body .gr-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  max-width: 1320px;
  margin-inline: auto;
}
body .gr-story[data-image-position="end"] .gr-story__media { order: 2; }
body .gr-story__media { aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, var(--goren-ink) 6%, var(--goren-bg)); }
body .gr-story__media img, body .gr-story__placeholder, body .gr-story__placeholder svg { display: block; width: 100%; height: 100%; object-fit: cover; }
body .gr-story__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 520px; }
body .gr-story__title { font-size: clamp(3rem, 3.8vw, 4.8rem); color: inherit; text-wrap: balance; }
body .gr-story__text { display: grid; gap: 1em; font-size: 1.6rem; line-height: 1.85; color: var(--goren-text); }
body .gr-story__text p { font-size: inherit; line-height: inherit; color: inherit; }
@media (max-width: 900px) {
  body .gr-story { padding-inline: 1.25em; }
  body .gr-story__inner { grid-template-columns: 1fr; gap: 32px; }
  body .gr-story[data-image-position="end"] .gr-story__media { order: 0; }
  body .gr-story__media { aspect-ratio: 4 / 4.4; }
  body .gr-story__body { max-width: none; }
}

/* ---------- Promo banner ---------- */
body .gr-promo { padding-block: var(--section-space-top) var(--section-space-bottom); padding-inline: 5%; }
body .gr-promo__frame {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 46vw, 560px);
  overflow: hidden;
  isolation: isolate;
  color: var(--goren-bg);
  background: var(--goren-ink);
}
body .gr-promo__media { position: absolute; inset: 0; z-index: -2; }
body .gr-promo__media picture, body .gr-promo__media img, body .gr-promo__media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
body .gr-promo__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17,17,17,var(--gr-overlay)); }
body .gr-promo__frame::before { content: ""; position: absolute; inset: 14px; z-index: 0; border: 1px solid rgba(197,164,109,0.7); pointer-events: none; }
body .gr-promo__content { position: relative; width: 100%; max-width: 640px; padding: 56px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-inline: auto; }
body .gr-promo[data-align="left"] .gr-promo__content { margin-inline: 0 auto; align-items: flex-start; text-align: start; }
body .gr-promo[data-align="right"] .gr-promo__content { margin-inline: auto 0; align-items: flex-end; text-align: end; }
body .gr-promo .gr-eyebrow { color: var(--goren-gold); }
body .gr-promo__title { font-size: clamp(3.2rem, 4.6vw, 5.6rem); color: inherit; text-wrap: balance; }
body .gr-promo__text { max-width: 44ch; font-size: 1.6rem; line-height: 1.7; opacity: 0.92; }
@media (max-width: 768px) {
  body .gr-promo { padding-inline: 0; }
  body .gr-promo__frame { min-height: 460px; }
  body .gr-promo__frame::before { inset: 10px; }
  body .gr-promo__content { padding: 48px 28px; }
}

/* ---------- Footer ---------- */
body footer { color: rgb(var(--footer-text-color)); background: var(--footer-bg-color); }
body footer .content {
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 48px;
  padding: 72px 5% 56px;
  border-block: 0;
  border-block-start: 1px solid rgba(197, 164, 109, 0.5);
}
body footer .content .store-brand a {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.38em;
  line-height: 1;
}
body footer .tagline { margin-block-start: 20px; max-width: 34ch; font-size: 1.4rem; line-height: 1.75; color: rgba(var(--footer-text-color), 0.78); }
body footer .content .links-box { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 40px 32px; }
body footer .content .links-box .navigation { gap: 18px; align-content: start; }
body footer .content .links-box .navigation > p {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--goren-gold);
}
body footer .content .links-box .navigation .links { gap: 12px; }
body footer .content .links-box .navigation .links a,
body footer .content .links-box .navigation .links .info-line {
  font-size: 1.35rem;
  line-height: 1.6;
  color: rgba(var(--footer-text-color), 0.82);
}
body footer .content .links-box .navigation .links a:hover { color: var(--goren-gold); text-decoration: none; }
body footer .content .links-box .navigation .links a.yc-btn.link::before { display: none; }
body footer .social-links { margin-inline-start: -0.75rem; }
body footer .social-links a.yc-btn { color: rgb(var(--footer-text-color)); }
body footer .social-links a.yc-btn:hover { color: var(--goren-gold); background: transparent; }
body footer .copyright {
  padding: 22px 5%;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: rgba(var(--footer-text-color), 0.65);
  border-block-start: 1px solid rgba(var(--footer-text-color), 0.12);
}
@media (max-width: 1024px) {
  body footer .content { grid-template-columns: 1fr; gap: 40px; padding: 56px 5% 40px; }
  body footer .content .store-brand { margin-bottom: 0; }
  body footer .tagline { margin-inline: auto; }
  body footer .content .links-box { grid-template-columns: repeat(2, 1fr); }
  body footer .content .links-box .navigation { text-align: center; }
  body footer .content .links-box .navigation .links { align-items: center; }
}
@media (max-width: 768px) {
  body footer .content { padding: 48px 1.25em 32px; }
  body footer .content .links-box { grid-template-columns: 1fr; gap: 32px; }
  body footer .content .store-brand a { font-size: 2.6rem; }
}

/* ---------- Product page ---------- */
body .single-product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
body .single-product yc-product-media .main-image {
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb, var(--goren-ink) 6%, var(--goren-bg));
  cursor: zoom-in;
}
body .single-product yc-product-media .main-image img { transition: transform 0.5s var(--goren-ease); will-change: transform; }
body .single-product yc-product-media .main-image.is-zoomed img { transform: scale(1.9); transition: transform 0.25s ease-out; }
body .single-product yc-product-media .main-image .count { border-radius: 0; font-size: 1.15rem; letter-spacing: 0.12em; color: var(--goren-bg); background: rgba(17, 17, 17, 0.55); }
body .single-product yc-product-media .gallery .slider-inner yc-slider-item .image { border-radius: 0; }
body .single-product yc-product-media .gallery .slider-inner yc-slider-item .image img { border-radius: 0; }
body .single-product yc-product-media .gallery .slider-inner yc-slider-item .image:has(input:checked) { outline: 1px solid var(--goren-ink); outline-offset: 2px; }
body .single-product yc-product-info { display: flex; flex-direction: column; gap: 22px; padding-block-start: 8px; }
body .single-product yc-product-info > h1,
body .single-product yc-product-info > .h2 { font-size: clamp(3.2rem, 3.6vw, 4.6rem); letter-spacing: 0.02em; text-wrap: balance; }
body .single-product yc-product-info .price { display: flex; align-items: baseline; gap: 16px; padding-block-end: 22px; border-block-end: 1px solid var(--goren-line); }
body .single-product yc-product-info .price .current { font-family: var(--font-family); font-size: 2.4rem; font-weight: 500; letter-spacing: 0.04em; }
body .single-product yc-product-info .price .compare-at { font-family: var(--font-family); font-size: 1.7rem; color: var(--goren-text); opacity: 0.75; text-decoration: line-through; }
body .single-product yc-product-info .description,
body .single-product yc-product-info .description p { font-size: 1.5rem; line-height: 1.85; color: var(--goren-text); }
body .single-product yc-product-info .inventory { font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
body .single-product yc-product-info .accordion { border-radius: 0; border-color: var(--goren-line); }
body .single-product yc-product-info .accordion summary .title { font-family: var(--font-heading); font-size: 1.9rem; }
body yc-variants { padding-block: 0.25em; gap: 22px; }
body yc-variants .variant .label { font-size: 1.15rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--goren-text); }
body yc-variant[name=toggle] .toggle-item { border-radius: 0; letter-spacing: 0.06em; }
body yc-variant[name=toggle] .toggle-item:has(input:checked) { background: var(--goren-ink); color: var(--goren-bg); border-color: var(--goren-ink); }
body yc-variant[name=color] .color-item,
body yc-variant[name=image] .image-item,
body yc-variant[name=image] .image-item img { border-radius: 0; }
body .single-product yc-product-info .buy-button > yc-product-form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
body .single-product yc-product-info .buy-button > yc-product-form button[data-buy-button] { flex: 1 1 220px; min-height: 56px; }
body yc-quantity-control { gap: 0; border: 1px solid var(--goren-line); align-self: stretch; }
body yc-quantity-control .yc-btn.icon,
body yc-quantity-control button { border: 0; border-radius: 0; min-width: 44px; min-height: 44px; padding: 10px; }
body yc-quantity-control .current-quantity { min-width: 36px; font-weight: 500; }
body .single-product yc-product-info .buy-button .buy-area .express-checkout .fields .field textarea { border-radius: 0; }
@media (max-width: 900px) {
  body .single-product { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body .single-product yc-product-media { position: static; }
  body .single-product yc-product-info > h1,
  body .single-product yc-product-info > .h2 { font-size: 3.2rem; }
}
@media (hover: none) { body .single-product yc-product-media .main-image { cursor: default; } }

/* ---------- Collection page ---------- */
body .product-listing { gap: 36px; }
body .product-listing .filter-area {
  align-items: flex-end;
  gap: 16px;
  padding-block-end: 22px;
  border-block-end: 1px solid var(--goren-line);
}
body .product-listing .filter-area .title { font-size: clamp(3rem, 4vw, 4.6rem); letter-spacing: 0.03em; }
body .product-listing .filter-area .title [data-count] { font-family: var(--font-family); font-size: 1.3rem; letter-spacing: 0.1em; color: var(--goren-text); vertical-align: middle; }
body .product-listing .filter-area .label { font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--goren-text); }
body .product-listing .products-area yc-pagination > a { border-radius: 0; }
body .product-listing .products-area yc-pagination > a[data-active] { background: var(--goren-ink); color: var(--goren-bg); border-color: var(--goren-ink); }
body .breadcrumb ol li { font-size: 1.2rem; letter-spacing: 0.08em; }
@media (max-width: 768px) {
  body .product-listing .filter-area { flex-wrap: wrap; }
}

/* ---------- Cart ---------- */
body yc-section .cart .summary .box,
body yc-section .cart .content .item,
body yc-section .cart .content .bundle-group { border-radius: 0; border-color: var(--goren-line); }
body yc-section .cart .summary .box { background: color-mix(in srgb, var(--goren-ink) 4%, var(--goren-bg)); }
body yc-section .cart .summary .box h2 { font-size: 2.6rem; }
body yc-section .cart .content .item .info .image img,
body yc-section .cart .content .item .info .image .card-placeholder { border-radius: 0; }
body yc-section .cart .content .item .info .heading [data-cart-item=title] { font-family: var(--font-heading); font-size: 1.9rem; }
body yc-section .cart .summary .box .coupon input,
body yc-section .cart .summary .box .coupon button { border-radius: 0; }
body yc-section .cart .summary .box .subtotal .total-box button { min-height: 54px; }

/* ---------- Drawers, modals, toasts ---------- */
body yc-drawer .drawer-box,
body .cart-drawer,
body yc-modal .modal-box,
body yc-toast { border-radius: 0; }
body .cart-drawer .header .title { font-family: var(--font-heading); font-size: 2.2rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
