@import url("/ycdesign-theme.css");

.replica-label { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem .85rem; padding: .36rem 1rem; background: var(--yc-footer); color: #fff; font: 13px/1.4 system-ui, sans-serif; }
.replica-label strong { letter-spacing: .06em; }
.replica-jump { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: center; padding: .55rem; background: var(--yc-sage); color: var(--yc-primary-dark); }
.replica-jump a { text-decoration: underline; }
.replica-jump[hidden], .replica-page [hidden] { display: none !important; }
.replica-page { max-width: 70rem; margin: auto; padding: 2.25rem 1.25rem; color: var(--yc-ink); font: 16px/1.55 system-ui, sans-serif; }
.replica-page h1 { margin-bottom: 1rem; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; }
.replica-page a { color: var(--yc-link); text-decoration: underline; }
.replica-page ul { padding: 0; list-style: none; }
.replica-page li { padding: .75rem 0; border-bottom: 1px solid var(--yc-line); }
.replica-page input { border: 1px solid var(--yc-outline); border-radius: .35rem; padding: .4rem .55rem; }
.replica-page button { cursor: pointer; border: 1px solid var(--yc-primary); border-radius: .45rem; padding: .43rem .8rem; background: var(--yc-sage); }
.replica-fallback { padding: 1.2rem; text-align: center; }
.replica-fallback a { color: var(--yc-link); text-decoration: underline; }
#replica-feedback { position: fixed; z-index: 10000; bottom: 1rem; right: 1rem; width: min(360px, calc(100% - 2rem)); background: #fff; color: var(--yc-ink); padding: .8rem 1rem; border: 1px solid var(--yc-outline); border-radius: .6rem; box-shadow: 0 5px 25px #0002; }
.replica-current-thumbnail { outline: 2px solid var(--yc-primary); outline-offset: 2px; }
.replica-cart-preview { display: block; width: min(100%, 440px); height: auto; margin: .45rem 0 .75rem; border: 1px solid var(--yc-line); border-radius: .45rem; }
.local-product-header { display: flex; gap: 1.5rem; align-items: center; padding: .75rem max(1.25rem, calc((100% - 69rem) / 2)); border-bottom: 1px solid var(--yc-line); background: #fff; }
.local-product-header img { display: block; width: 122px; height: auto; }
.local-product-header a { text-decoration: none; color: var(--yc-heading); }
body:has(> .local-product-header) { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: system-ui, sans-serif; }
body:has(> .local-product-header) > main { flex: 1; width: 100%; box-sizing: border-box; }
.local-product-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.local-product .local-breadcrumb { margin-bottom: 1.35rem; color: var(--yc-muted); }
.local-product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 4vw, 3rem); }
.local-product-media { margin: 0; }
.local-product-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--yc-line); border-radius: 1rem; object-fit: contain; }
.local-product-angles { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .65rem; }
.local-product-angles button[aria-pressed="true"] { background: var(--yc-primary); color: #fff; }
.local-product .local-design-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: .8rem 0; padding: .65rem 1.25rem; border-radius: .65rem; color: #fff; background: var(--yc-primary); text-decoration: none; font-weight: 700; }
.local-product .local-design-link:hover { background: var(--yc-primary-hover); }
.local-product-specs { margin: 1.4rem 0 .5rem; display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; }
.local-product-specs dt { font-weight: 700; }
.local-product-specs dd { margin: 0; }
@media (max-width: 690px) { .local-product-grid { grid-template-columns: 1fr; } }
.reference-footer-shell { background: var(--yc-footer); color: var(--yc-footer-text); }
.reference-footer-nav { box-sizing: border-box; width: 100%; max-width: 1600px; margin: 0 auto; padding: 1.55rem clamp(1.15rem, 2.85vw, 2.65rem) 1.7rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); text-align: left; font: inherit; font-size: 16px; line-height: 1.45; }
.reference-footer-shell.bg-slate-900 { background: var(--yc-footer); }
.reference-footer-shell.bg-slate-900 .reference-footer-nav { padding-top: 0; padding-inline: max(0px, calc(clamp(1.15rem, 2.85vw, 2.65rem) - 1.5rem)); }
.reference-footer-nav h2 { margin: 0 0 .62rem; color: var(--yc-footer-text); font-size: 1.125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; }
.reference-footer-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .53rem; }
.reference-footer-nav a { display: inline-flex; align-items: center; gap: .55rem; color: var(--yc-footer-link); text-decoration: none; overflow-wrap: anywhere; }
.reference-footer-nav a:hover, .reference-footer-nav a:focus-visible { color: #fff; text-decoration: underline; }
.reference-footer-nav svg { flex: 0 0 24px; color: var(--yc-footer-text); }
.reference-footer-nav section:last-child ul { gap: .84rem; }
@media (max-width: 960px) { .reference-footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.55rem; } }
@media (max-width: 560px) { .reference-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reference-footer-nav section:last-child { grid-column: 1 / -1; } }
.footer-page-kicker { margin-top: 0; color: var(--yc-muted); }
.footer-page-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .85rem; margin-top: 1.25rem; }
.footer-page-tile { display: grid; align-content: start; gap: .5rem; padding: .75rem; border: 1px solid var(--yc-line); border-radius: .65rem; }
.footer-page-tile img { width: 100%; height: auto; object-fit: contain; }
.footer-page-tile a { font-weight: 650; }
.footer-page-tile p { margin: 0; color: var(--yc-muted); font-size: .91rem; }
.footer-page-links { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; }
header li[data-replica-menu] { position: relative; }
header li[data-replica-menu] > [data-slot="navigation-menu-content"] {
  position: absolute;
  z-index: 25;
  top: 100%;
  left: var(--replica-menu-offset, 0px);
  width: max-content;
  max-width: min(720px, calc(100vw - 24px));
  height: auto;
  max-height: var(--replica-menu-height, 73vh);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid var(--yc-line);
  border-radius: .5rem;
  box-shadow: 0 12px 28px #0002;
}
header li[data-replica-menu] > [data-slot="navigation-menu-content"] > ul {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  padding: .5rem;
}
header li[data-replica-menu] > [data-slot="navigation-menu-content"] > ul > li {
  flex: 1 1 0;
  min-width: min(100%, 9rem);
}
header li[data-replica-menu] [data-slot="navigation-menu-content"] a {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
header li[data-replica-menu] > [data-slot="navigation-menu-content"][hidden] { display: none !important; }


@media (min-width: 64rem) and (max-width: 83rem) {
  header [data-storefront-menu] { flex-wrap: wrap; row-gap: .5rem; column-gap: .5rem; }
  header [data-storefront-menu] [data-slot="navigation-menu-trigger"] { padding-inline: .55rem; }
}
@media (min-width: 64rem) {
  header a[aria-label="Saved Designs"][href="/my-account/designs/"]:has(svg.lucide-heart) { display: none; }
}

[data-catalog-subcategories]:not([hidden]) { height: auto; animation: none; }
[data-catalog-subcategories] > ul { list-style: none; margin: 0; padding: 0 0 .65rem .85rem; }
[data-catalog-subcategories] a { display: block; padding: .45rem .55rem; border-radius: .4rem; line-height: 1.35; }
[data-catalog-subcategories] a:hover, [data-catalog-subcategories] a:focus-visible { background: var(--yc-sage); color: var(--yc-link); }

.yc-card-with-cover { position: relative; isolation: isolate; }
.yc-card-product-link::after { position: absolute; inset: 0; content: ""; }
.yc-card-colors button, .yc-card-colors a { position: relative; z-index: 1; }
.yc-card-colors a:hover, .yc-card-colors a:focus-visible { text-decoration: underline; }
.yc-card-colors button[aria-pressed="true"] { outline: 2px solid var(--yc-primary); }
.yc-card-colors button[aria-pressed="true"]::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 7px;
  height: 13px;
  border: solid white;
  border-width: 0 2px 2px 0;
  filter: drop-shadow(0 0 1px var(--yc-heading));
  transform: rotate(45deg);
  content: "";
  pointer-events: none;
}
.yc-card-color-status { font-size: .75rem; line-height: 1.3; font-weight: 600; color: var(--yc-ink); }
.yc-card-color-status:not(:empty) { margin-top: .3rem; }

/* Color choices for compact product detail pages */
.local-product [data-catalog-palette] { margin-block: .85rem 1rem; }
.local-product [data-catalog-color-name] { font-weight: 650; }
.local-product [data-catalog-swatch-grid] { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: .55rem; }
.local-product .local-product-swatch {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--yc-outline);
  border-radius: .45rem;
  background: var(--product-swatch, var(--yc-cream));
  color: var(--yc-heading);
  font-size: .8rem;
  line-height: 1.2;
}
.local-product .local-product-swatch[aria-pressed="true"] { outline: 2px solid var(--yc-primary); outline-offset: 2px; }
.local-product .local-product-swatch:focus-visible { outline: 2px dashed var(--yc-link); outline-offset: 2px; }
.local-product .local-product-swatch-name { width: auto; height: auto; min-height: 2rem; padding: .25rem .5rem; }
.local-product [data-catalog-color-status] { font-size: .9rem; color: var(--yc-muted); }
.local-product-color-only {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .85rem;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--yc-line);
  border-radius: 1rem;
  background: var(--yc-cream);
  color: var(--yc-ink);
  font-weight: 650;
}
.local-product-color-only::before {
  content: "";
  width: min(9rem, 45%);
  aspect-ratio: 1;
  border: 1px solid var(--yc-muted);
  border-radius: .8rem;
  background: var(--product-swatch);
}
.local-product-color-only[hidden], [data-catalog-color-view][hidden],
[data-slot="carousel-item"][hidden], button:has([data-catalog-color-view])[hidden] { display: none !important; }

.yc-product-mockup-note { margin: .4rem 0 .85rem; color: var(--yc-muted); font-size: .9rem; }
