/* Shiji Storefront 1.0.5 — paper, ink, and one shelf-green accent.
   Newsreader for titles and prices; Source Sans 3 for the interface.
   Page #F4EFE6, cards #FFFBF5, green #1F6B45, ink #1C1915.
   Red #C4452D is only the cart count and a real sale price.
   Do not ship Jula marks. Deactivate the plugin to remove this stylesheet. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-variable.woff2") format("woff2");
}

:root {
  --shiji-yellow: #1f6b45; /* alias of the shelf green; not the old neon yellow */
  --shiji-gold: #1f6b45;
  --shiji-gold-on-dark: #d7ecdf;
  --shiji-gold-soft: #e7f2eb;
  --shiji-ink: #1c1915;
  --shiji-red: #c4452d;
  --shiji-bg: #f4efe6;
  --shiji-surface: #fffbf5;
  --shiji-muted: #6f675e;
  --shiji-line: #e4dace;
  --shiji-accent: #1f6b45;
  --shiji-accent-hover: #174f34;
  --shiji-focus: #1f6b45;
  --shiji-danger: #c4452d;
  --shiji-green: #1f6b45;
  --shiji-green-hover: #174f34;
  --shiji-green-soft: #e7f2eb;
  --shiji-radius: 14px;
  --shiji-header-top: 4.25rem;
  --shiji-max: 76rem;
  --shiji-font: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shiji-display: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --shiji-serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

/* -------------------------------------------------------------------------
   Base + theme chrome
   ------------------------------------------------------------------------- */

body.shiji-storefront {
  background: var(--shiji-bg) !important;
  color: var(--shiji-ink);
  font-family: var(--shiji-font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  min-height: 100vh;
}

body.shiji-storefront.shiji-sf-custom-template {
  display: flex;
  flex-direction: column;
}

body.shiji-storefront.shiji-sf-custom-template .shiji-sf-main {
  flex: 1 0 auto;
}

body.shiji-storefront *,
body.shiji-storefront *::before,
body.shiji-storefront *::after {
  box-sizing: border-box;
}

body.shiji-storefront a {
  color: var(--shiji-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.shiji-storefront a:hover {
  color: var(--shiji-accent-hover);
}

body.shiji-storefront :focus-visible {
  outline: 2px solid var(--shiji-focus);
  outline-offset: 3px;
}

body.shiji-storefront img {
  max-width: 100%;
  height: auto;
}

body.shiji-storefront h1,
body.shiji-storefront h2,
body.shiji-storefront h3,
body.shiji-storefront h4 {
  font-family: var(--shiji-display);
  font-weight: 520;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--shiji-ink);
  margin: 0;
}

/* Hide the hostinger-ai-theme / block-theme header and footer. Reversible: this
   stylesheet is dequeued when the plugin is deactivated. */
body.shiji-storefront .wp-site-blocks > header,
body.shiji-storefront .wp-site-blocks > footer,
body.shiji-storefront header.wp-block-template-part,
body.shiji-storefront footer.wp-block-template-part,
body.shiji-storefront .wp-block-template-part:is(header, footer),
body.shiji-storefront header.site-header,
body.shiji-storefront footer.site-footer,
body.shiji-storefront .site-header,
body.shiji-storefront .site-footer,
body.shiji-storefront .wp-block-site-title,
body.shiji-storefront .wp-block-site-logo {
  display: none !important;
}

body.shiji-storefront:not(.shiji-sf-custom-template) .wp-site-blocks {
  background: var(--shiji-bg);
  padding-top: 0;
}

.screen-reader-text,
body.shiji-storefront .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.shiji-sf-skip {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 10000;
  background: var(--shiji-ink);
  color: #fff;
  padding: 0.6rem 1rem;
}

.shiji-sf-skip:focus {
  top: 0.75rem;
  color: #fff;
}

/* -------------------------------------------------------------------------
   Header + aisle nav
   ------------------------------------------------------------------------- */

.shiji-sf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.admin-bar .shiji-sf-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .shiji-sf-header {
    top: 46px;
  }
}

.shiji-sf-header__bar {
  background: var(--shiji-surface);
  color: var(--shiji-ink);
  border-bottom: 1px solid var(--shiji-line);
}

.shiji-sf-header__inner,
.shiji-sf-nav__inner,
.shiji-sf-section__inner,
.shiji-sf-hero__inner,
.shiji-sf-band__inner,
.shiji-sf-archive,
.shiji-sf-pdp,
.shiji-sf-related,
.shiji-sf-footer__inner {
  width: min(100% - 2rem, var(--shiji-max));
  margin-inline: auto;
}

.shiji-sf-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "menu logo cart"
    "search search search";
  align-items: center;
  min-height: var(--shiji-header-top);
  gap: 0.65rem 0.85rem;
  padding: 0.7rem 0;
}

.shiji-sf-menu-btn { grid-area: menu; }
.shiji-sf-wordmark { grid-area: logo; }
.shiji-sf-search { grid-area: search; }
.shiji-sf-cart { grid-area: cart; }

.shiji-sf-wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--shiji-ink) !important;
  line-height: 1;
  min-width: 0;
}

body.shiji-storefront .shiji-sf-wordmark__img,
body.shiji-storefront .shiji-sf-wordmark img,
body.shiji-storefront .shiji-sf-footer__wordmark img {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(58vw, 200px);
  flex-shrink: 0;
}

@media (min-width: 720px) {
  body.shiji-storefront .shiji-sf-wordmark__img,
  body.shiji-storefront .shiji-sf-wordmark img,
  body.shiji-storefront .shiji-sf-footer__wordmark img {
    height: 32px;
    max-width: 230px;
  }
}

@media (min-width: 1080px) {
  body.shiji-storefront .shiji-sf-wordmark__img,
  body.shiji-storefront .shiji-sf-wordmark img,
  body.shiji-storefront .shiji-sf-footer__wordmark img {
    height: 36px;
    max-width: 260px;
  }
}

.shiji-sf-menu-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--shiji-line);
  border-radius: 10px;
  background: var(--shiji-surface);
  color: var(--shiji-ink);
  cursor: pointer;
}

.shiji-sf-menu-btn__icon,
.shiji-sf-menu-btn__icon::before,
.shiji-sf-menu-btn__icon::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.shiji-sf-menu-btn__icon::before,
.shiji-sf-menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.shiji-sf-menu-btn__icon::before { top: -6px; }
.shiji-sf-menu-btn__icon::after { top: 6px; }

.shiji-sf-menu-btn[aria-expanded="true"] .shiji-sf-menu-btn__icon {
  background: transparent;
}

.shiji-sf-menu-btn[aria-expanded="true"] .shiji-sf-menu-btn__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.shiji-sf-menu-btn[aria-expanded="true"] .shiji-sf-menu-btn__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.shiji-sf-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: 999px;
  overflow: hidden;
}

.shiji-sf-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.55rem 0.8rem;
  font-family: var(--shiji-font);
  font-size: 1rem;
  color: var(--shiji-ink);
  background: #fff;
  border-radius: 0;
}

.shiji-sf-search__input::placeholder {
  color: var(--shiji-muted);
}

.shiji-sf-search__input:focus {
  outline: none;
}

.shiji-sf-search:focus-within {
  outline: 2px solid var(--shiji-green);
  outline-offset: 2px;
}

.shiji-sf-search__submit {
  flex: 0 0 auto;
  border: 0;
  border-left: 0;
  background: var(--shiji-green);
  color: #fff;
  font-family: var(--shiji-font);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0 1.15rem;
  cursor: pointer;
}

.shiji-sf-search__submit:hover {
  background: var(--shiji-green-hover);
  color: #fff;
}

.shiji-sf-cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
  color: var(--shiji-ink) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.15rem;
  position: relative;
}

.shiji-sf-cart__count {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--shiji-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.shiji-sf-nav {
  background: var(--shiji-bg);
  color: var(--shiji-ink);
  border-bottom: 1px solid var(--shiji-line);
}

.shiji-sf-nav__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
}

.shiji-sf-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  color: var(--shiji-muted) !important;
  text-decoration: none !important;
  font-size: 0.98rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.shiji-sf-nav__link:hover,
.shiji-sf-nav__link.is-current {
  color: var(--shiji-ink) !important;
  border-bottom-color: var(--shiji-green);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.shiji-sf-btn,
body.shiji-storefront .button,
body.shiji-storefront button.button,
body.shiji-storefront .woocommerce a.button,
body.shiji-storefront .woocommerce button.button,
body.shiji-storefront .woocommerce input.button,
body.shiji-storefront .added_to_cart,
body.shiji-storefront .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--shiji-green);
  background: var(--shiji-green);
  color: #fff !important;
  font-family: var(--shiji-font);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shiji-sf-btn:hover,
body.shiji-storefront .button:hover,
body.shiji-storefront button.button:hover,
body.shiji-storefront .woocommerce a.button:hover,
body.shiji-storefront .woocommerce button.button:hover,
body.shiji-storefront .woocommerce input.button:hover,
body.shiji-storefront .added_to_cart:hover,
body.shiji-storefront .single_add_to_cart_button:hover {
  background: var(--shiji-green-hover);
  border-color: var(--shiji-green-hover);
  color: #fff !important;
}

.shiji-sf-btn--primary {
  min-height: 3rem;
  padding-inline: 1.35rem;
  font-size: 1rem;
  background: var(--shiji-green);
  color: #fff !important;
}

.shiji-sf-btn--ghost {
  background: transparent;
  color: var(--shiji-ink) !important;
  border-color: var(--shiji-line);
}

.shiji-sf-btn--ghost:hover {
  background: var(--shiji-green-soft);
  border-color: var(--shiji-green);
  color: var(--shiji-ink) !important;
}

body.shiji-storefront .add_to_cart_button.added {
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.shiji-sf-hero {
  padding: 3rem 0;
  background: var(--shiji-bg);
  color: var(--shiji-ink);
  border-bottom: 1px solid var(--shiji-line);
}

.shiji-sf-hero__inner {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.shiji-sf-hero__inner--merch {
  max-width: var(--shiji-max);
  width: min(100% - 2rem, var(--shiji-max));
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
}

.shiji-sf-hero__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--shiji-green);
  font-family: var(--shiji-font);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shiji-sf-hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  font-weight: 480;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 0.85rem;
}

.shiji-sf-hero__product-name {
  margin: 0 0 0.35rem;
  font-family: var(--shiji-font);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0;
}

.shiji-sf-hero__price,
.shiji-sf-hero__price .amount,
.shiji-sf-hero__price .woocommerce-Price-amount {
  font-family: var(--shiji-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--shiji-ink);
  margin: 0 0 0.75rem;
}

.shiji-sf-hero__lead,
.shiji-sf-hero__lead p {
  margin: 0 0 0.5rem;
  max-width: 34rem;
  color: var(--shiji-muted);
  font-size: 1.05rem;
}

.shiji-sf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.shiji-sf-hero__media {
  display: block;
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}

.shiji-sf-hero__media img,
.shiji-sf-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------------------------------------
   Sections + aisle grid + trust + collection band
   ------------------------------------------------------------------------- */

.shiji-sf-section {
  padding: 3.25rem 0;
}

.shiji-sf-section__head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.shiji-sf-section__title {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin-bottom: 0.45rem;
  font-weight: 520;
}

.shiji-sf-section__sub {
  margin: 0;
  color: var(--shiji-muted);
}

.shiji-sf-aisles__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.shiji-sf-aisle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-height: 8rem;
  padding: 1.1rem 1.1rem 1.15rem;
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: var(--shiji-radius);
  text-decoration: none !important;
  color: var(--shiji-ink) !important;
  height: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shiji-sf-aisle:hover {
  background: var(--shiji-green-soft);
  color: var(--shiji-ink) !important;
  border-color: var(--shiji-green);
}

.shiji-sf-aisle__icon {
  color: var(--shiji-ink);
  margin-bottom: 0.1rem;
}

.shiji-sf-aisle__name {
  font-family: var(--shiji-display);
  font-size: 1.35rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.shiji-sf-aisle__count {
  color: var(--shiji-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

.shiji-sf-aisle:hover .shiji-sf-aisle__count {
  color: var(--shiji-ink);
}

.shiji-sf-band {
  background: #efe7da;
  color: var(--shiji-ink);
  padding: 3.25rem 0;
  border-top: 1px solid var(--shiji-line);
  border-bottom: 1px solid var(--shiji-line);
}

.shiji-sf-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.shiji-sf-band__eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--shiji-font);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shiji-green);
}

.shiji-sf-band__title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 520;
  margin: 0 0 0.5rem;
}

.shiji-sf-band__sub {
  margin: 0 0 1.1rem;
  max-width: 28rem;
}

.shiji-sf-band__grid {
  margin: 0;
}

.shiji-sf-trust {
  padding-top: 1rem;
  padding-bottom: 4.5rem;
}

.shiji-sf-trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.shiji-sf-trust__item {
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: var(--shiji-radius);
  padding: 1.35rem 1.3rem 1.4rem;
}

.shiji-sf-trust__label {
  font-family: var(--shiji-display);
  font-size: 1.35rem;
  font-weight: 520;
  margin-bottom: 0.45rem;
}

.shiji-sf-trust__item p {
  margin: 0;
  color: var(--shiji-muted);
  font-size: 0.98rem;
}

/* -------------------------------------------------------------------------
   Product cards / grids
   ------------------------------------------------------------------------- */

body.shiji-storefront ul.products,
body.shiji-storefront .shiji-sf-grid,
body.shiji-storefront .shiji-sf-archive ul.products,
body.shiji-storefront .related ul.products,
.shiji-sf-featured__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.shiji-sf-featured__grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

body.shiji-storefront ul.products::before,
body.shiji-storefront ul.products::after {
  display: none !important;
  content: none !important;
}

body.shiji-storefront li.product,
body.shiji-storefront .shiji-sf-card,
body.shiji-storefront ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0;
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: var(--shiji-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.shiji-sf-card--featured {
  border: 1px solid var(--shiji-line);
}

.shiji-sf-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}

.shiji-sf-card__media img,
.shiji-sf-card__img,
body.shiji-storefront ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Default WooCommerce loops (archives, related) are not inside .shiji-sf-card__media.
   A percentage height there stretches the photo and lets the title sit under the button. */
body.shiji-storefront ul.products li.product > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.shiji-storefront ul.products li.product > a > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex: none;
}

.shiji-sf-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 0.95rem 1rem;
  flex: 1;
}

.shiji-sf-card__title,
body.shiji-storefront ul.products li.product .woocommerce-loop-product__title,
body.shiji-storefront .shiji-sf-card__title {
  font-family: var(--shiji-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
  order: 1;
}

.shiji-sf-card__title a,
body.shiji-storefront ul.products li.product .woocommerce-loop-product__title a {
  color: var(--shiji-ink) !important;
  text-decoration: none !important;
}

.shiji-sf-card__title a:hover {
  text-decoration: underline !important;
}

.shiji-sf-card__price,
body.shiji-storefront ul.products li.product .price,
body.shiji-storefront .shiji-sf-pdp .price {
  font-family: var(--shiji-serif);
  color: var(--shiji-ink);
  font-weight: 520;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  order: 0;
}

.shiji-sf-card--featured .shiji-sf-card__price {
  font-family: var(--shiji-serif);
  font-size: 1.7rem;
  font-weight: 520;
}

.shiji-sf-card__price del,
body.shiji-storefront .price del {
  color: var(--shiji-muted);
  font-weight: 500;
  font-size: 0.65em;
  margin-right: 0.3rem;
}

.shiji-sf-card__price ins,
body.shiji-storefront .price ins {
  text-decoration: none;
  color: var(--shiji-red);
}

.shiji-sf-card__excerpt {
  order: 2;
  color: var(--shiji-muted);
  font-size: 0.95rem;
}

.shiji-sf-card__excerpt p {
  margin: 0 0 0.35rem;
}

.shiji-sf-card__action {
  margin-top: auto;
  padding-top: 0.65rem;
  order: 3;
}

body.shiji-storefront .shiji-sf-card__action .button,
body.shiji-storefront ul.products li.product .button {
  width: 100%;
  background: transparent;
  color: var(--shiji-ink) !important;
  border-color: var(--shiji-line);
}

body.shiji-storefront .shiji-sf-card__action .button:hover,
body.shiji-storefront ul.products li.product .button:hover {
  background: var(--shiji-green);
  border-color: var(--shiji-green);
  color: #fff !important;
}

body.shiji-storefront ul.products li.product .onsale,
body.shiji-storefront .shiji-sf-pdp .onsale {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--shiji-red);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-family: var(--shiji-font);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  z-index: 1;
}

/* -------------------------------------------------------------------------
   Archive
   ------------------------------------------------------------------------- */

.shiji-sf-archive {
  padding: 1.75rem 0 4rem;
}

.shiji-sf-archive__header {
  margin-bottom: 1.5rem;
}

.shiji-sf-archive__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.15rem 0 0.35rem;
  font-weight: 500;
}

.shiji-sf-archive__count {
  margin: 0;
  color: var(--shiji-muted);
  font-size: 1rem;
}

.shiji-sf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--shiji-muted);
  margin-bottom: 0.85rem;
}

.shiji-sf-breadcrumb a {
  color: var(--shiji-muted);
  text-decoration: none;
}

.shiji-sf-breadcrumb a:hover {
  color: var(--shiji-ink);
  text-decoration: underline;
}

.shiji-sf-breadcrumb__sep {
  color: var(--shiji-line);
  padding: 0 0.15rem;
}

.shiji-sf-archive__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--shiji-line);
}

body.shiji-storefront .woocommerce-result-count {
  margin: 0;
  color: var(--shiji-muted);
  font-size: 0.95rem;
}

body.shiji-storefront .woocommerce-ordering {
  margin: 0;
}

body.shiji-storefront .woocommerce-ordering select,
body.shiji-storefront select {
  font-family: var(--shiji-font);
  font-size: 0.95rem;
  color: var(--shiji-ink);
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: 2px;
  padding: 0.45rem 0.7rem;
  min-height: 2.5rem;
}

body.shiji-storefront .woocommerce-pagination {
  margin-top: 2rem;
}

body.shiji-storefront .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

body.shiji-storefront .woocommerce-pagination li {
  margin: 0;
}

body.shiji-storefront .woocommerce-pagination a,
body.shiji-storefront .woocommerce-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.6rem;
  border: 1px solid var(--shiji-line);
  border-radius: 2px;
  background: var(--shiji-surface);
  color: var(--shiji-ink);
  text-decoration: none;
  font-weight: 650;
}

body.shiji-storefront .woocommerce-pagination a:hover,
body.shiji-storefront .woocommerce-pagination .current {
  border-color: var(--shiji-green);
  background: var(--shiji-green);
  color: #fff;
}

.shiji-sf-empty,
body.shiji-storefront .woocommerce-info,
body.shiji-storefront .woocommerce-message,
body.shiji-storefront .woocommerce-error,
body.shiji-storefront .woocommerce-noreviews {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--shiji-radius);
  border: 1px solid var(--shiji-line);
  background: var(--shiji-surface);
}

body.shiji-storefront .woocommerce-message {
  border-color: var(--shiji-ink);
  background: var(--shiji-green-soft);
}

body.shiji-storefront .woocommerce-error {
  border-color: var(--shiji-danger);
  color: var(--shiji-danger);
}

/* -------------------------------------------------------------------------
   Product page
   ------------------------------------------------------------------------- */

.shiji-sf-pdp {
  padding: 1.5rem 0 2rem;
}

.shiji-sf-pdp__grid {
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: start;
}

.shiji-sf-pdp__gallery {
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: var(--shiji-radius);
  padding: 0.75rem;
}

body.shiji-storefront .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  position: relative;
  /* WooCommerce sets opacity: 0 until gallery JS runs. Keep images visible
     if those scripts are delayed or missing on the custom product template. */
  opacity: 1 !important;
  visibility: visible !important;
}

body.shiji-storefront .woocommerce-product-gallery__wrapper,
body.shiji-storefront .woocommerce-product-gallery__image {
  margin: 0;
}

body.shiji-storefront .woocommerce-product-gallery__image img,
body.shiji-storefront .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  object-fit: contain;
  background: #f7f7f7;
}

/* Without FlexSlider, keep the first image large and additional shots as thumbs. */
body.shiji-storefront .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.shiji-storefront .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child {
  flex: 1 1 100%;
}

body.shiji-storefront .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:not(:first-child) {
  flex: 0 0 4.5rem;
}

body.shiji-storefront .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:not(:first-child) img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border: 1px solid var(--shiji-line);
}

body.shiji-storefront .woocommerce-product-gallery .flex-control-thumbs,
body.shiji-storefront .flex-control-thumbs,
body.shiji-storefront .woocommerce-product-gallery ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

body.shiji-storefront .flex-control-thumbs li,
body.shiji-storefront .woocommerce-product-gallery ol li {
  width: 4.5rem;
  margin: 0 !important;
  float: none !important;
}

body.shiji-storefront .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--shiji-line);
  cursor: pointer;
  opacity: 1;
}

.shiji-sf-pdp__summary .product_title,
.shiji-sf-pdp__summary h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.7rem;
}

.shiji-sf-pdp__summary .price,
.shiji-sf-pdp__summary .price .amount {
  font-family: var(--shiji-serif);
  font-size: 2.15rem;
  font-weight: 520;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.shiji-sf-pdp__summary .woocommerce-product-details__short-description {
  color: var(--shiji-muted);
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
}

.shiji-sf-pdp__summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

body.shiji-storefront .quantity {
  display: inline-flex;
  align-items: center;
}

body.shiji-storefront .quantity .qty,
body.shiji-storefront input.qty {
  width: 4.25rem;
  min-height: 2.75rem;
  text-align: center;
  font-family: var(--shiji-font);
  font-size: 1rem;
  color: var(--shiji-ink);
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: 2px;
}

.shiji-sf-pdp__summary .single_add_to_cart_button {
  min-width: 10rem;
}

.shiji-sf-pdp__summary .product_meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--shiji-line);
  color: var(--shiji-muted);
  font-size: 0.92rem;
}

.shiji-sf-pdp__summary .product_meta a {
  color: var(--shiji-ink);
  text-decoration: none;
}

.shiji-sf-pdp__summary .product_meta a:hover {
  text-decoration: underline;
}

.shiji-sf-pdp__description {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--shiji-line);
}

.shiji-sf-pdp__description h2,
.shiji-sf-related h2,
body.shiji-storefront .related.products > h2 {
  font-size: 1.85rem;
  font-weight: 520;
  margin: 0 0 1rem;
}

.shiji-sf-prose {
  max-width: 40rem;
  color: var(--shiji-ink);
}

.shiji-sf-prose p {
  margin: 0 0 0.85rem;
  color: var(--shiji-muted);
}

.shiji-sf-prose ul,
.shiji-sf-pdp__summary ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.shiji-sf-prose li {
  margin: 0.2rem 0;
}

.shiji-sf-related {
  padding: 0 0 4rem;
}

.shiji-sf-related .related.products {
  margin: 0;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.shiji-sf-footer {
  background: var(--shiji-ink);
  color: #ececec;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

body.shiji-storefront .shiji-sf-footer,
body.shiji-storefront .shiji-sf-footer p,
body.shiji-storefront .shiji-sf-footer li,
body.shiji-storefront .shiji-sf-footer address,
body.shiji-storefront .shiji-sf-footer h2,
body.shiji-storefront .shiji-sf-footer .shiji-sf-footer__heading {
  color: #ececec;
}

body.shiji-storefront .shiji-sf-footer a {
  color: #ececec;
  text-decoration: none;
}

body.shiji-storefront .shiji-sf-footer a:hover {
  color: var(--shiji-gold-on-dark);
  text-decoration: underline;
}

body.shiji-storefront .shiji-sf-footer__wordmark {
  color: var(--shiji-gold-on-dark);
}

body.shiji-storefront .shiji-sf-footer__company {
  color: #fff;
}

body.shiji-storefront .shiji-sf-footer__tagline,
body.shiji-storefront .shiji-sf-footer__address,
body.shiji-storefront .shiji-sf-footer__copy,
body.shiji-storefront .shiji-sf-footer__heading {
  color: #c8c8c8;
}

.shiji-sf-footer__inner {
  display: grid;
  gap: 2rem 1.5rem;
}

.shiji-sf-footer__wordmark {
  margin: 0 0 0.35rem;
}

.shiji-sf-footer__wordmark a {
  display: inline-block;
  text-decoration: none !important;
}

.shiji-sf-footer__wordmark .shiji-sf-wordmark__img,
.shiji-sf-footer__wordmark img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 220px;
}

@media (min-width: 720px) {
  .shiji-sf-footer__wordmark .shiji-sf-wordmark__img,
  .shiji-sf-footer__wordmark img {
    height: 32px;
    max-width: 240px;
  }
}

.shiji-sf-footer__tagline {
  margin: 0;
  color: #c8c8c8;
}

.shiji-sf-footer__heading {
  font-family: var(--shiji-font);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8c8c8;
  margin: 0 0 0.7rem;
}

.shiji-sf-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shiji-sf-footer__list li + li {
  margin-top: 0.4rem;
}

.shiji-sf-footer__company {
  margin: 0 0 0.35rem;
  font-weight: 750;
  color: #fff;
}

.shiji-sf-footer__address {
  font-style: normal;
  color: #c8c8c8;
  margin: 0;
  line-height: 1.5;
}

.shiji-sf-footer__copy {
  width: min(100% - 2rem, var(--shiji-max));
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #4a4a4a;
  color: #c8c8c8;
  font-size: 0.88rem;
}

/* Footer contrast: #c8c8c8 on #1c1915 stays above 7:1. The gold wordmark file is the footer mark only. */

/* -------------------------------------------------------------------------
   Light styling for cart / checkout / membership (theme templates)
   ------------------------------------------------------------------------- */

body.shiji-storefront:not(.shiji-sf-custom-template) .wp-site-blocks > main,
body.shiji-storefront:not(.shiji-sf-custom-template) main {
  width: min(100% - 2rem, var(--shiji-max));
  margin-inline: auto;
  padding: 1.5rem 0 3rem;
}

body.shiji-storefront .woocommerce-cart-form,
body.shiji-storefront .cart-collaterals,
body.shiji-storefront .woocommerce-checkout,
body.shiji-storefront .woocommerce-account {
  font-family: var(--shiji-font);
}

body.shiji-storefront input[type="text"],
body.shiji-storefront input[type="email"],
body.shiji-storefront input[type="tel"],
body.shiji-storefront input[type="password"],
body.shiji-storefront input[type="number"],
body.shiji-storefront input[type="search"],
body.shiji-storefront textarea {
  font-family: var(--shiji-font);
  color: var(--shiji-ink);
  background: var(--shiji-surface);
  border: 1px solid var(--shiji-line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.shiji-sf-search__input[type="search"] {
  border: 0;
  padding: 0.55rem 0.8rem;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (min-width: 720px) {
  .shiji-sf-aisles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shiji-sf-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shiji-sf-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }

  body.shiji-storefront ul.products,
  body.shiji-storefront .shiji-sf-grid,
  body.shiji-storefront .shiji-sf-archive ul.products,
  body.shiji-storefront .related ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .shiji-sf-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shiji-sf-hero__inner--merch {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .shiji-sf-pdp__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .shiji-sf-hero {
    padding: 3.5rem 0;
  }

  .shiji-sf-band__inner {
    grid-template-columns: minmax(14rem, 0.7fr) 1.3fr;
    gap: 2rem;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .shiji-sf-menu-btn {
    display: none;
  }

  .shiji-sf-header__inner {
    grid-template-columns: auto minmax(18rem, 1fr) auto;
    grid-template-areas: "logo search cart";
    gap: 1.25rem;
    padding: 0.85rem 0;
  }

  .shiji-sf-wordmark {
    justify-self: start;
  }

  .shiji-sf-search {
    max-width: 44rem;
    justify-self: stretch;
  }

  .shiji-sf-nav {
    display: block !important;
  }

  .shiji-sf-nav__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .shiji-sf-nav__link {
    padding: 0.8rem 0.62rem;
    font-size: 0.92rem;
  }

  body.shiji-storefront ul.products,
  body.shiji-storefront .shiji-sf-grid,
  body.shiji-storefront .shiji-sf-archive ul.products,
  body.shiji-storefront .related ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shiji-sf-featured__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shiji-sf-card--featured {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1079px) {
  .shiji-sf-cart__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .shiji-sf-nav {
    display: none;
  }

  .shiji-sf-nav.is-open {
    display: block;
  }

  .shiji-sf-nav__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.35rem 0 0.6rem;
  }

  .shiji-sf-nav__link {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--shiji-line);
    color: var(--shiji-ink) !important;
    font-size: 1.05rem;
  }

  .shiji-sf-nav__link.is-current {
    border-bottom-color: var(--shiji-line);
    box-shadow: inset 3px 0 0 var(--shiji-green);
    padding-left: 0.7rem;
    color: var(--shiji-green) !important;
  }

  body.shiji-sf-menu-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shiji-sf-menu-btn__icon,
  .shiji-sf-menu-btn__icon::before,
  .shiji-sf-menu-btn__icon::after,
  .shiji-sf-aisle,
  .shiji-sf-btn,
  body.shiji-storefront .button {
    transition: none;
  }
}

.shiji-sf-page {
  background: var(--shiji-bg);
}

.shiji-sf-page__inner {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.shiji-sf-page__inner:has(.shiji-sf-grid) {
  width: min(100% - 2rem, var(--shiji-max));
}

.shiji-sf-page__title {
  font-family: var(--shiji-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  text-align: center;
}

.shiji-sf-page__lead,
.shiji-sf-page__content {
  color: var(--shiji-ink);
}

.shiji-sf-page__content > *:first-child {
  margin-top: 0;
}

.shiji-sf-page__results {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.shiji-sf-page__results li + li {
  margin-top: 0.45rem;
}

body.shiji-storefront.shiji-sf-custom-template .woocommerce,
body.shiji-storefront.shiji-sf-custom-template .wp-block-woocommerce-cart,
body.shiji-storefront.shiji-sf-custom-template .wp-block-woocommerce-checkout,
body.shiji-storefront.shiji-sf-custom-template .woocommerce-account {
  width: min(1120px, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
}

body.shiji-storefront.shiji-sf-custom-template .shiji-sf-pdp,
body.shiji-storefront.shiji-sf-custom-template .shiji-sf-related,
body.shiji-storefront.shiji-sf-custom-template .shiji-sf-archive {
  width: min(100% - 2rem, var(--shiji-max));
}

.shiji-specs {
  margin: 1.15rem 0 0;
  border-top: 2px solid var(--shiji-green);
}
.shiji-specs__title {
  margin: 0.75rem 0 0.15rem !important;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--shiji-green) !important;
}
.shiji-specs__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 34%) 1fr;
  gap: 0.35rem 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--shiji-line);
}
.shiji-specs__k { color: var(--shiji-muted); font-weight: 600; }
.shiji-specs__v { color: var(--shiji-ink); }
@media (max-width: 640px) {
  .shiji-specs__row { grid-template-columns: 1fr; gap: 0.15rem; }
}


/* Homepage motion and Christmas preheat. */
@keyframes shiji-sf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shiji-sf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.shiji-sf-hero--merch .shiji-sf-hero__img {
  animation: shiji-sf-float 7s ease-in-out infinite;
}
.shiji-sf-hero__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shiji-red);
}
.shiji-sf-marquee {
  overflow: hidden;
  background: var(--shiji-ink);
  color: var(--shiji-gold-on-dark);
}
.shiji-sf-marquee__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: shiji-sf-marquee 32s linear infinite;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shiji-sf-marquee__track span {
  white-space: nowrap;
}
.shiji-sf-holiday {
  background: #16382c;
  color: #f4efe6;
  border-color: #16382c;
}
.shiji-sf-holiday .shiji-sf-band__eyebrow {
  color: #e7b3a2;
}
.shiji-sf-holiday .shiji-sf-band__title,
.shiji-sf-holiday .shiji-sf-band__sub {
  color: #f4efe6;
}
.shiji-sf-holiday .shiji-sf-btn--primary {
  background: #f4efe6;
  color: #16382c;
  border-color: #f4efe6;
}
.shiji-sf-holiday .shiji-sf-btn--primary:hover {
  background: #fff;
  color: #16382c;
}
.shiji-sf-holiday__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) {
  .shiji-sf-holiday__rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
  }
  .shiji-sf-holiday__rail > li {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}
.shiji-sf-featured .shiji-sf-card,
.shiji-sf-holiday .shiji-sf-card,
.shiji-sf-band .shiji-sf-card,
.shiji-sf-latest .shiji-sf-card,
.shiji-sf-aisle {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.shiji-sf-featured .shiji-sf-card:hover,
.shiji-sf-holiday .shiji-sf-card:hover,
.shiji-sf-band .shiji-sf-card:hover,
.shiji-sf-latest .shiji-sf-card:hover,
.shiji-sf-aisle:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(28, 25, 21, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .shiji-sf-hero--merch .shiji-sf-hero__img,
  .shiji-sf-marquee__track,
  .shiji-sf-featured .shiji-sf-card,
  .shiji-sf-holiday .shiji-sf-card,
  .shiji-sf-band .shiji-sf-card,
  .shiji-sf-latest .shiji-sf-card,
  .shiji-sf-aisle {
    animation: none;
    transition: none;
  }
}

.shiji-sf-holiday__banner { grid-column: 1 / -1; display: block; border-radius: 14px; overflow: hidden; }
.shiji-sf-holiday__banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.shiji-sf-hero--merch .shiji-sf-hero__img { width: 100%; height: 100%; object-fit: cover; }
.shiji-sf-stories { padding-top: 1rem; }
.shiji-sf-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.shiji-sf-intro a { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.shiji-sf-intro img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.shiji-sf-intro span { position: absolute; left: 1.1rem; bottom: 1rem; color: #fff; font-family: var(--shiji-display); font-size: clamp(1.4rem, 2vw, 2rem); text-shadow: 0 2px 14px rgba(0,0,0,.4); }
@media (max-width: 700px) { .shiji-sf-intro { grid-template-columns: 1fr; } }


/* === SHIJI LIDL.IE DESIGN SYSTEM v2.0.0 === */
:root,
body.shiji-storefront {
    --lidl-blue: #0050aa;
    --lidl-blue-dark: #002466;
    --lidl-blue-interactive: #2466eb;
    --lidl-blue-tint: #f0f7ff;
    --lidl-blue-pill: #c2dfff;
    --lidl-yellow: #fff000;
    --lidl-yellow-dark: #ffc400;
    --lidl-red: #e60a14;
    --lidl-red-dark: #ad080f;
    --lidl-green: #007a33;
    --lidl-ink: #1e2124;
    --lidl-body: #353b42;
    --lidl-muted: #636d79;
    --lidl-border: #dde0e3;
    --lidl-surface: #f1f2f4;
    --shiji-paper: #ffffff;
    --shiji-ink: #1e2124;
    --shiji-accent: #0050aa;
    --shiji-accent-hover: #002466;
    --shiji-muted: #636d79;
    --shiji-line: #dde0e3;
    --shiji-font-sans: "Trebuchet MS", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --shiji-font-serif: "Trebuchet MS", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.shiji-storefront {
    background: #ffffff !important;
    color: var(--lidl-body) !important;
    font-family: var(--shiji-font-sans) !important;
    overflow-x: hidden;
}

body.shiji-storefront h1,
body.shiji-storefront h2,
body.shiji-storefront h3,
body.shiji-storefront h4 {
    font-family: var(--shiji-font-sans) !important;
    color: var(--lidl-ink);
}

/* --- 1. Lidl.ie 3-Tier Header --- */
.shiji-lidl-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
body.admin-bar .shiji-lidl-header {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .shiji-lidl-header {
        top: 0;
    }
}

/* Tier 1: Lidl Yellow Announcement Strip */
.shiji-lidl-announce {
    background: var(--lidl-yellow);
    color: #000000;
    text-align: center;
}
body.shiji-storefront .shiji-lidl-announce__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000 !important;
    text-decoration: none !important;
    line-height: 1.3;
}
body.shiji-storefront .shiji-lidl-announce__link:hover {
    text-decoration: underline !important;
}

/* Tier 2: Crisp White Utility Bar */
.shiji-lidl-top {
    background: #ffffff;
    position: relative;
    z-index: 3;
}
.shiji-lidl-top__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
}
.shiji-lidl-top__left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
body.shiji-storefront .shiji-lidl-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    position: relative;
    z-index: 5;
}
.shiji-lidl-logo__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(11, 110, 92, 0.22);
    flex-shrink: 0;
    border: none;
}
.shiji-lidl-logo__tile svg {
    display: block;
    width: 44px;
    height: 44px;
}
.shiji-lidl-logo__wordmark {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    gap: 2px;
}
.shiji-lidl-logo__text {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.32rem;
    font-weight: 900;
    color: #0F2537;
    letter-spacing: -0.03em;
}
.shiji-lidl-logo__accent {
    color: #0B6E5C;
    font-weight: 700;
}
.shiji-lidl-logo__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F59E0B;
    margin-left: 3px;
    flex-shrink: 0;
}
.shiji-lidl-logo__sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #52606D;
    text-transform: uppercase;
}
body.shiji-storefront .shiji-lidl-storepill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--lidl-blue-tint);
    color: var(--lidl-blue) !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    white-space: nowrap;
}
body.shiji-storefront .shiji-lidl-storepill:hover {
    background: #e1efff;
}
.shiji-lidl-top__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
body.shiji-storefront .shiji-lidl-iconlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--lidl-ink) !important;
    text-decoration: none !important;
    transition: background 0.15s ease;
}
body.shiji-storefront .shiji-lidl-iconlink:hover {
    background: var(--lidl-surface);
    color: var(--lidl-blue) !important;
}
body.shiji-storefront .shiji-lidl-top__actions .shiji-sf-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lidl-blue-tint) !important;
    border: 1px solid var(--lidl-blue-pill) !important;
    color: var(--lidl-blue) !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-top__actions .shiji-sf-cart:hover {
    background: #dcebff !important;
}
body.shiji-storefront .shiji-lidl-top__actions .shiji-sf-cart__count {
    background: var(--lidl-red) !important;
    color: #ffffff !important;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.shiji-storefront .shiji-lidl-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--lidl-border) !important;
    border-radius: 8px;
    background: #ffffff !important;
    color: var(--lidl-ink) !important;
    cursor: pointer;
    padding: 0;
}
body.shiji-storefront .shiji-lidl-menu-btn:hover {
    background: var(--lidl-surface) !important;
}

/* Tier 3: Bold Lidl Blue Search & Account Bar */
.shiji-lidl-bluebar {
    background: var(--lidl-blue);
    color: #ffffff;
    position: relative;
    z-index: 2;
}
.shiji-lidl-bluebar__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.shiji-lidl-bluebar__cta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.shiji-lidl-bluebar__title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
body.shiji-storefront .shiji-lidl-bluebar__sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lidl-yellow) !important;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-bluebar__sub:hover {
    text-decoration: underline !important;
}
.shiji-lidl-bluebar__search {
    flex: 1 1 auto;
    max-width: 520px;
}

/* Pill Search Bar matching lidl.ie */
body.shiji-storefront .shiji-lidl-bluebar .shiji-sf-search {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #8c96a1 !important;
    border-radius: 26px !important;
    overflow: hidden;
    padding: 2px 4px 2px 18px !important;
    height: 46px;
    box-shadow: none !important;
}
body.shiji-storefront .shiji-lidl-bluebar .shiji-sf-search__input {
    flex: 1 1 auto;
    border: 0 !important;
    background: transparent !important;
    color: var(--lidl-ink) !important;
    font-size: 0.96rem !important;
    padding: 0 8px 0 0 !important;
    height: 100%;
    outline: none !important;
    box-shadow: none !important;
}
body.shiji-storefront .shiji-lidl-bluebar .shiji-sf-search__submit {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--lidl-muted) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
body.shiji-storefront .shiji-lidl-bluebar .shiji-sf-search__submit:hover {
    background: var(--lidl-blue-tint) !important;
    color: var(--lidl-blue) !important;
}

/* Collapsible Department Drawer (Hidden on home until menu click, clean strip on subpages or when opened) */
.shiji-lidl-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--lidl-border);
}
.shiji-lidl-drawer.is-open {
    display: block !important;
}
.shiji-lidl-drawer:not(.shiji-lidl-drawer--home) {
    display: block;
}
.shiji-lidl-drawer .shiji-sf-nav__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
body.shiji-storefront .shiji-lidl-drawer .shiji-sf-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lidl-body) !important;
    text-decoration: none !important;
    background: var(--lidl-surface);
    transition: background 0.15s ease, color 0.15s ease;
}
body.shiji-storefront .shiji-lidl-drawer .shiji-sf-nav__link:hover,
body.shiji-storefront .shiji-lidl-drawer .shiji-sf-nav__link.is-current {
    background: var(--lidl-blue) !important;
    color: #ffffff !important;
}

/* --- 2. Container & Typography --- */
.shiji-lidl-main {
    background: #ffffff;
    padding-bottom: 32px;
}
.shiji-lidl-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.shiji-lidl-section {
    padding: 40px 0;
}
.shiji-lidl-heading {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 800;
    color: var(--lidl-ink);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.shiji-lidl-heading--left {
    text-align: left;
    margin-bottom: 22px;
}
.shiji-lidl-subheading {
    margin: 0 auto 24px;
    max-width: 640px;
    text-align: center;
    color: var(--lidl-muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

/* --- 3. Circular Colored Category Row (Lidl.ie Iconic Row) --- */
.shiji-lidl-cats {
    padding: 28px 0 24px;
    background: #ffffff;
}
.shiji-lidl-cats__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
}
body.shiji-storefront .shiji-lidl-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.16s ease;
}
body.shiji-storefront .shiji-lidl-cat:hover {
    transform: translateY(-3px);
}
.shiji-lidl-cat__circle {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.16s ease, transform 0.16s ease;
}
body.shiji-storefront .shiji-lidl-cat:hover .shiji-lidl-cat__circle {
    box-shadow: 0 6px 16px rgba(0, 80, 170, 0.18);
    transform: scale(1.03);
}
.shiji-lidl-cat__label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--lidl-ink);
    line-height: 1.25;
}

/* --- 4. Full-Width Lidl Campaign Hero Slider --- */
.shiji-lidl-hero {
    position: relative;
    overflow: hidden;
    background: #0d0f12;
}
.shiji-lidl-hero__track {
    position: relative;
    min-height: 368px;
}
.shiji-lidl-slide {
    display: none;
    min-height: 368px;
    width: 100%;
}
.shiji-lidl-slide.is-active {
    display: flex;
    align-items: center;
}
.shiji-lidl-slide--dark {
    background: linear-gradient(100deg, #0b0d10 0%, #161b22 50%, #0b0d10 100%);
    color: #ffffff;
}
.shiji-lidl-slide--blue {
    background: linear-gradient(105deg, #00387c 0%, #0050aa 58%, #1d69c8 100%);
    color: #ffffff;
}
.shiji-lidl-slide--green {
    background: linear-gradient(105deg, #0c4d29 0%, #007a33 60%, #1d9650 100%);
    color: #ffffff;
}
.shiji-lidl-slide__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.shiji-lidl-slide__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    text-align: center;
}
/* Iconic Lidl Red Diamond Promo Badge */
.shiji-lidl-diamond {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}
.shiji-lidl-diamond::before {
    content: "";
    position: absolute;
    inset: 22px;
    background: var(--lidl-red);
    transform: rotate(45deg);
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(230, 10, 20, 0.42);
    z-index: -1;
}
.shiji-lidl-diamond__top {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lidl-yellow);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.shiji-lidl-diamond__big {
    font-size: 1.95rem;
    font-weight: 900;
    color: var(--lidl-yellow);
    line-height: 1.05;
    margin: 2px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}
.shiji-lidl-diamond__sub {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    font-style: italic;
    margin-top: 2px;
}

.shiji-lidl-slide__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
body.shiji-storefront .shiji-lidl-slide__visual img {
    width: 230px !important;
    height: 210px !important;
    object-fit: contain !important;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.shiji-lidl-slide__visual--pair {
    flex-direction: row;
    gap: 16px;
}
body.shiji-storefront .shiji-lidl-slide__visual--pair img {
    width: 210px !important;
    height: 210px !important;
}
.shiji-lidl-slide__pricechip {
    background: rgba(255, 255, 255, 0.94);
    color: var(--lidl-ink);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.shiji-lidl-slide__pricechip strong {
    color: var(--lidl-red);
    font-weight: 900;
}

.shiji-lidl-slide__copy {
    max-width: 500px;
}
.shiji-lidl-slide__kicker {
    display: inline-block;
    background: var(--lidl-yellow);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.shiji-lidl-slide__copy h2 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.12;
}
.shiji-lidl-slide__copy p {
    margin: 0 0 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

body.shiji-storefront .shiji-lidl-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 999px;
    background: var(--lidl-blue) !important;
    color: #ffffff !important;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.15s ease, transform 0.15s ease;
}
body.shiji-storefront .shiji-lidl-hero__cta:hover {
    background: var(--lidl-blue-dark) !important;
    transform: translateY(-1px);
}
body.shiji-storefront .shiji-lidl-hero__cta--yellow {
    background: var(--lidl-yellow) !important;
    color: #000000 !important;
}
body.shiji-storefront .shiji-lidl-hero__cta--yellow:hover {
    background: var(--lidl-yellow-dark) !important;
}

.shiji-lidl-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: background 0.15s ease;
}
.shiji-lidl-hero__arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}
.shiji-lidl-hero__arrow--prev { left: 14px; }
.shiji-lidl-hero__arrow--next { right: 14px; }

.shiji-lidl-hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 4;
}
.shiji-lidl-hero__dots {
    display: inline-flex;
    gap: 8px;
    pointer-events: auto;
}
.shiji-lidl-hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}
.shiji-lidl-hero__dots button.is-active {
    background: var(--lidl-yellow);
    width: 24px;
    border-radius: 999px;
}
.shiji-lidl-hero__pause {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 0.68rem;
    cursor: pointer;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- 5. Weekly Offers Tabs & Lidl Product Cards --- */
.shiji-lidl-offers {
    scroll-margin-top: 150px;
    background: #ffffff;
}
.shiji-lidl-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}
.shiji-lidl-tab {
    appearance: none;
    border: 1.5px solid var(--lidl-border);
    background: #ffffff;
    color: var(--lidl-body);
    padding: 9px 18px;
    border-radius: 999px;
    font-family: var(--shiji-font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shiji-lidl-tab:hover {
    border-color: var(--lidl-blue);
    color: var(--lidl-blue);
}
.shiji-lidl-tab.is-active {
    background: var(--lidl-blue);
    border-color: var(--lidl-blue);
    color: #ffffff;
}

/* Lidl Product Grid & Card Anatomy (applies across homepage & category archives) */
body.shiji-storefront ul.shiji-sf-grid.products,
body.shiji-storefront ul.shiji-lidl-grid.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.shiji-storefront ul.products li.product.shiji-lidl-card,
body.shiji-storefront ul.products li.product.shiji-sf-card {
    background: #ffffff !important;
    border: 1px solid var(--lidl-border) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease !important;
}
body.shiji-storefront ul.products li.product.shiji-lidl-card:hover,
body.shiji-storefront ul.products li.product.shiji-sf-card:hover {
    box-shadow: 0 8px 22px rgba(0, 36, 102, 0.12) !important;
    transform: translateY(-2px);
}
.shiji-lidl-card__ribbon {
    background: var(--lidl-red);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 10px;
    line-height: 1.25;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__media,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__media {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    aspect-ratio: 1 / 1;
    padding: 14px !important;
    overflow: hidden;
    border-bottom: 1px solid #f1f2f4;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__media img,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__body,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__body {
    padding: 14px 16px 16px !important;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__aisle,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__aisle {
    margin: 0 !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: var(--lidl-muted) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__title,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__title {
    margin: 0 !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
    min-height: 2.64em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__title a,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__title a {
    color: var(--lidl-ink) !important;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__title a:hover,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__title a:hover {
    color: var(--lidl-blue) !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__price,
body.shiji-storefront ul.products li.product .price {
    margin: 4px 0 2px !important;
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    color: var(--lidl-red) !important;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__price ins,
body.shiji-storefront ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--lidl-red) !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__price del,
body.shiji-storefront ul.products li.product .price del {
    font-size: 0.85rem !important;
    color: var(--lidl-muted) !important;
    font-weight: 600 !important;
    margin-right: 6px;
}
.shiji-lidl-card__pill {
    display: inline-flex;
    align-self: flex-start;
    background: var(--lidl-blue-pill);
    color: var(--lidl-blue-dark);
    font-size: 0.73rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 6px;
}
body.shiji-storefront ul.products li.product .shiji-sf-card__action,
body.shiji-storefront .shiji-sf-card__action {
    margin-top: auto !important;
    padding-top: 8px !important;
}
body.shiji-storefront ul.products li.product .shiji-sf-card__action a.button,
body.shiji-storefront ul.products li.product .shiji-sf-card__action button.button,
body.shiji-storefront ul.products li.product a.button.add_to_cart_button,
body.shiji-storefront .shiji-sf-card__action a.button.wp-element-button {
    color: #ffffff !important;
    background: var(--lidl-blue) !important;
    border: 1px solid var(--lidl-blue) !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    min-height: 40px !important;
    line-height: 1.25 !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 0.86rem !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
body.shiji-storefront ul.products li.product .shiji-sf-card__action a.button:hover,
body.shiji-storefront ul.products li.product .shiji-sf-card__action button.button:hover,
body.shiji-storefront ul.products li.product a.button.add_to_cart_button:hover,
body.shiji-storefront .shiji-sf-card__action a.button.wp-element-button:hover {
    color: #ffffff !important;
    background: var(--lidl-blue-dark) !important;
    border-color: var(--lidl-blue-dark) !important;
}
body.shiji-storefront ul.products li.product .shiji-sf-card__action a.added_to_cart {
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: var(--lidl-blue-tint) !important;
    color: var(--lidl-blue) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.shiji-lidl-section__more {
    margin-top: 26px;
    text-align: center;
}
body.shiji-storefront .shiji-lidl-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    border: 2px solid var(--lidl-blue);
    background: #ffffff;
    color: var(--lidl-blue) !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
body.shiji-storefront .shiji-lidl-btn-outline:hover {
    background: var(--lidl-blue);
    color: #ffffff !important;
}
body.shiji-storefront .shiji-lidl-btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--lidl-blue);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-btn-blue:hover {
    background: var(--lidl-blue-dark);
}

/* --- 6. Lidl Department Guides / Leaflets Row --- */
.shiji-lidl-leaflets {
    background: var(--lidl-surface);
    padding: 44px 0;
}
.shiji-lidl-brochures {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
body.shiji-storefront .shiji-lidl-brochure {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--lidl-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
body.shiji-storefront .shiji-lidl-brochure:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 36, 102, 0.12);
}
.shiji-lidl-brochure__cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 14px;
    background: #ffffff;
}
.shiji-lidl-brochure__tag {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #ffffff;
}
.shiji-lidl-brochure__cover--blue .shiji-lidl-brochure__tag { background: var(--lidl-blue); }
.shiji-lidl-brochure__cover--red .shiji-lidl-brochure__tag { background: var(--lidl-red); }
.shiji-lidl-brochure__cover--yellow .shiji-lidl-brochure__tag { background: var(--lidl-yellow); color: #000000; }
.shiji-lidl-brochure__cover--green .shiji-lidl-brochure__tag { background: var(--lidl-green); }

body.shiji-storefront .shiji-lidl-brochure__cover img {
    width: 100% !important;
    height: 196px !important;
    object-fit: contain !important;
    padding: 14px 16px 4px;
    background: #ffffff;
}
.shiji-lidl-brochure__meta {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--lidl-surface);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.shiji-lidl-brochure__date {
    font-size: 0.78rem;
    color: var(--lidl-muted);
    font-weight: 600;
}
.shiji-lidl-brochure__meta strong {
    font-size: 0.96rem;
    color: var(--lidl-ink);
    font-weight: 800;
}

/* --- 7. Lidl.ie 3-Tier Footer --- */
.shiji-lidl-footer {
    margin-top: 24px;
}
.shiji-lidl-footer__prefoot {
    background: #ffffff;
    border-top: 1px solid var(--lidl-border);
    padding: 18px 20px;
    text-align: center;
}
body.shiji-storefront .shiji-lidl-footer__prefoot-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lidl-blue) !important;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.shiji-lidl-footer__strip {
    background: var(--lidl-surface);
    border-top: 1px solid var(--lidl-border);
    padding: 20px;
}
.shiji-lidl-footer__strip-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body.shiji-storefront .shiji-lidl-footer__quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--lidl-muted) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-footer__quick:hover {
    color: var(--lidl-blue) !important;
}

.shiji-lidl-footer__dark {
    background: var(--lidl-ink);
    color: #e4e7eb;
    padding: 40px 20px 24px;
}
.shiji-lidl-footer__hero {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.shiji-lidl-footer__hero-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff !important;
}
.shiji-lidl-footer__hero-sub {
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: #c7ccd2;
}
body.shiji-storefront .shiji-lidl-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-footer__cta:hover {
    background: #ffffff;
    color: var(--lidl-ink) !important;
}
.shiji-lidl-footer__cols {
    max-width: 1180px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.shiji-lidl-footer__col h3 {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.shiji-lidl-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.shiji-storefront .shiji-lidl-footer__col a {
    color: #d2d7dd !important;
    font-size: 0.88rem;
    text-decoration: none !important;
}
body.shiji-storefront .shiji-lidl-footer__col a:hover {
    color: var(--lidl-yellow) !important;
    text-decoration: underline !important;
}
.shiji-lidl-footer__company {
    margin: 0 0 14px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #d2d7dd;
}
.shiji-lidl-footer__company strong {
    color: #ffffff;
}
.shiji-lidl-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.shiji-lidl-footer__payments span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}
.shiji-lidl-footer__bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* --- 8. Responsive Breakpoints --- */
@media (max-width: 1120px) {
    .shiji-lidl-cats__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    body.shiji-storefront ul.shiji-sf-grid.products,
    body.shiji-storefront ul.shiji-lidl-grid.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .shiji-lidl-brochures {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shiji-lidl-slide__visual--secondary {
        display: none;
    }
}

@media (max-width: 820px) {
    .shiji-lidl-storepill {
        display: none !important;
    }
    .shiji-lidl-logo__tile {
        width: 38px;
        height: 38px;
        margin-bottom: 0;
    }
    .shiji-lidl-logo__tile svg {
        width: 38px;
        height: 38px;
    }
    .shiji-lidl-logo__sub {
        display: none;
    }
    .shiji-lidl-bluebar__inner {
        padding: 14px 16px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .shiji-lidl-bluebar__title {
        font-size: 1.18rem;
    }
    .shiji-lidl-bluebar__search {
        max-width: 100%;
    }
    .shiji-lidl-slide__inner {
        padding: 28px 20px 54px;
        flex-direction: column;
        text-align: center;
    }
    .shiji-lidl-slide__visual--product,
    .shiji-lidl-slide__visual--pair {
        display: none;
    }
    .shiji-lidl-hero__arrow {
        width: 34px;
        height: 34px;
    }
    body.shiji-storefront ul.shiji-sf-grid.products,
    body.shiji-storefront ul.shiji-lidl-grid.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .shiji-lidl-footer__cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .shiji-lidl-top__inner {
        padding: 8px 14px;
    }
    .shiji-lidl-logo__text {
        font-size: 1.08rem;
    }
    .shiji-lidl-cats__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px 6px;
    }
    .shiji-lidl-cat__circle {
        width: 72px;
        height: 72px;
    }
    .shiji-lidl-cat__circle svg {
        width: 32px;
        height: 32px;
    }
    .shiji-lidl-cat__label {
        font-size: 0.72rem;
    }
    .shiji-lidl-brochures {
        grid-template-columns: 1fr;
    }
    .shiji-lidl-footer__strip-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    body.shiji-storefront .shiji-lidl-card .shiji-sf-card__body {
        padding: 10px 10px 12px !important;
    }
    body.shiji-storefront .shiji-lidl-card .shiji-sf-card__price {
        font-size: 1.3rem !important;
    }
}


/* === v2.0.1 Lidl Icon Scale & Card Flex Order Fix === */
.shiji-lidl-cat__circle {
    width: 112px !important;
    height: 112px !important;
}
.shiji-lidl-cat__circle svg {
    width: 62px !important;
    height: 62px !important;
}
@media (max-width: 520px) {
    .shiji-lidl-cat__circle {
        width: 74px !important;
        height: 74px !important;
    }
    .shiji-lidl-cat__circle svg {
        width: 40px !important;
        height: 40px !important;
    }
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__aisle,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__aisle {
    order: 1 !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__title,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__title {
    order: 2 !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__price,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__price {
    order: 3 !important;
}
body.shiji-storefront .shiji-lidl-card__pill {
    order: 4 !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__action,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action {
    order: 5 !important;
}


/* === v2.0.2 Homepage Drawer Hide, Flush Spacing & Sticky Scroll Fix === */
body.shiji-storefront {
    overflow-x: clip !important;
}
body.shiji-storefront .shiji-lidl-drawer.shiji-lidl-drawer--home {
    display: none !important;
}
body.shiji-storefront .shiji-lidl-drawer.shiji-lidl-drawer--home.is-open {
    display: block !important;
}
body.home.shiji-storefront .shiji-sf-main,
body.home.shiji-storefront main#main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}
body.home.shiji-storefront .shiji-lidl-cats {
    padding: 24px 0 22px !important;
}

/* ==========================================================================
   v2.0.4 Uniform Product Grid & Pixel-Aligned Cards (Archive + Shop + Home)
   ========================================================================== */
body.shiji-storefront ul.products,
body.shiji-storefront .shiji-sf-grid,
body.shiji-storefront .shiji-sf-archive ul.products,
body.shiji-storefront .related ul.products {
    display: grid !important;
    align-items: stretch !important;
    gap: 18px !important;
}
body.shiji-storefront ul.products li.product,
body.shiji-storefront .shiji-sf-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e3e7ee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(15, 37, 55, 0.04) !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease !important;
}
body.shiji-storefront ul.products li.product:hover,
body.shiji-storefront .shiji-sf-card:hover {
    box-shadow: 0 8px 22px rgba(0, 36, 102, 0.11) !important;
    transform: translateY(-2px);
}
/* Standard WooCommerce archive card link wraps img + title + price */
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: inherit !important;
}
/* Uniform 1:1 pure-white image container on BOTH archive & custom cards */
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > img,
body.shiji-storefront ul.products li.product .attachment-woocommerce_thumbnail {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #f0f2f5 !important;
}
body.shiji-storefront .shiji-sf-card__media {
    aspect-ratio: 1 / 1 !important;
    background: #ffffff !important;
    padding: 16px !important;
    border-bottom: 1px solid #f0f2f5 !important;
}
body.shiji-storefront .shiji-sf-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
/* Fixed 2-line title slot across ALL product grids */
body.shiji-storefront ul.products li.product .woocommerce-loop-product__title,
body.shiji-storefront .shiji-sf-card__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    min-height: calc(1.38em * 2) !important;
    max-height: calc(1.38em * 2) !important;
    color: #1c2430 !important;
    box-sizing: content-box !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title {
    margin: 14px 16px 8px !important;
    padding: 0 !important;
}
/* Align price right above the Add-to-cart button */
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .price {
    margin: auto 16px 12px !important;
    padding: 0 !important;
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    min-height: 1.25em !important;
    color: #e60a14 !important;
    display: block !important;
}
body.shiji-storefront .shiji-sf-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 14px 16px 16px !important;
}
body.shiji-storefront .shiji-sf-card__price {
    margin-top: auto !important;
    padding-top: 6px !important;
}
/* Uniform razor-flat Add-to-cart button across every card */
body.shiji-storefront ul.products li.product > a.add_to_cart_button,
body.shiji-storefront ul.products li.product > a.button.product_type_simple,
body.shiji-storefront .shiji-sf-card .add_to_cart_button,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    background: #0050aa !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
body.shiji-storefront ul.products li.product > a.add_to_cart_button,
body.shiji-storefront ul.products li.product > a.button.product_type_simple {
    width: calc(100% - 32px) !important;
    margin: 0 16px 16px !important;
}
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action {
    margin-top: 10px !important;
}
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action .button {
    width: 100% !important;
    margin: 0 !important;
}
body.shiji-storefront ul.products li.product > a.add_to_cart_button:hover,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action .button:hover {
    background: #003d82 !important;
}
body.shiji-storefront ul.products li.product > a.added_to_cart {
    display: block !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #0b6e5c !important;
    margin: -8px 16px 12px !important;
}

/* v2.0.5 Natural visual hierarchy inside archive cards: Image -> Title -> Price -> Button */
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > img {
    order: 1 !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title {
    order: 2 !important;
    margin: 14px 16px 8px !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .price {
    order: 3 !important;
    margin: auto 16px 12px !important;
}

/* ==========================================================================
   v3.0.0 BLACK FRIDAY x CHRISTMAS FESTIVE SUPERMARKET THEME + PIXEL ALIGNMENT
   ========================================================================== */
:root {
    --bf-obsidian: #111318;
    --bf-charcoal: #1A1E27;
    --bf-gold: #F5C754;
    --bf-gold-deep: #C8962E;
    --xmas-crimson: #A6121F;
    --xmas-crimson-bright: #C81D2B;
    --xmas-pine: #0E4D36;
    --xmas-pine-dark: #093524;
    --xmas-cream: #FAF8F4;
    --lidl-blue: #0E4D36;
    --lidl-blue-dark: #093524;
    --lidl-blue-tint: #ECF7F2;
    --lidl-blue-pill: #CBE7DB;
    --lidl-red: #B91C1C;
    --lidl-yellow: #F5C754;
}

body.shiji-storefront {
    background: var(--xmas-cream) !important;
}

/* Tier 1: Black Friday Obsidian & Champagne Gold Top Strip */
.shiji-lidl-announce {
    background: linear-gradient(90deg, #0D0F14 0%, #1C1518 50%, #0D0F14 100%) !important;
    border-bottom: 2px solid var(--bf-gold) !important;
}
body.shiji-storefront .shiji-lidl-announce__link {
    color: var(--bf-gold) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    padding: 8px 16px !important;
}
body.shiji-storefront .shiji-lidl-announce__link:hover {
    color: #ffffff !important;
}

/* Tier 2: Crisp White Top Bar with Festive Pine Pill */
.shiji-lidl-top {
    background: #ffffff !important;
    border-bottom: 1px solid #ece8e0 !important;
}
body.shiji-storefront .shiji-lidl-storepill {
    background: #fdf6e7 !important;
    color: #7c4a03 !important;
    border: 1px solid #f0d799 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
body.shiji-storefront .shiji-lidl-storepill:hover {
    background: #faeccd !important;
}
body.shiji-storefront .shiji-lidl-top__actions .shiji-sf-cart {
    background: #ECF7F2 !important;
    border: 1px solid #B7DEC9 !important;
    color: var(--xmas-pine) !important;
}
body.shiji-storefront .shiji-lidl-top__actions .shiji-sf-cart__count {
    background: var(--xmas-crimson) !important;
}

/* Tier 3: Festive Pine & Black Friday Obsidian Search Bar with Gold Hairline */
.shiji-lidl-bluebar {
    background: radial-gradient(circle at 12% 20%, rgba(245, 199, 84, 0.14), transparent 36%),
                radial-gradient(circle at 88% 80%, rgba(166, 18, 31, 0.28), transparent 42%),
                linear-gradient(95deg, #0B3D2C 0%, #111923 55%, #1A1115 100%) !important;
    border-bottom: 3px solid var(--bf-gold-deep) !important;
}
.shiji-lidl-bluebar__title {
    color: #ffffff !important;
    letter-spacing: -0.02em;
}
body.shiji-storefront .shiji-lidl-bluebar__sub {
    color: var(--bf-gold) !important;
    font-weight: 700 !important;
}
body.shiji-storefront .shiji-lidl-bluebar__search .shiji-sf-search {
    border: 2px solid rgba(245, 199, 84, 0.45) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}
body.shiji-storefront .shiji-lidl-bluebar__search .shiji-sf-search__submit {
    color: var(--xmas-crimson) !important;
}

/* Department Nav Bar */
body.shiji-storefront .shiji-sf-nav {
    background: #ffffff !important;
    border-bottom: 1px solid #e6e2da !important;
}
body.shiji-storefront .shiji-sf-nav__link.is-current,
body.shiji-storefront .shiji-sf-nav__link:hover {
    background: var(--xmas-pine) !important;
    color: #ffffff !important;
}

/* Festive Category Circles & Tabs */
.shiji-lidl-cats {
    background: #ffffff !important;
    border-bottom: 1px solid #ebe6dc !important;
}
.shiji-lidl-cat__circle {
    box-shadow: 0 6px 16px rgba(17, 19, 24, 0.14) !important;
    border: 3px solid #ffffff !important;
}
.shiji-lidl-offers {
    background: #ffffff !important;
}
.shiji-lidl-tab.is-active {
    background: var(--bf-obsidian) !important;
    border-color: var(--bf-obsidian) !important;
    color: var(--bf-gold) !important;
}
.shiji-lidl-tab:hover {
    border-color: var(--xmas-crimson) !important;
    color: var(--xmas-crimson) !important;
}
.shiji-lidl-tab.is-active:hover {
    color: var(--bf-gold) !important;
}

/* Festive Black Friday x Christmas Ribbons & Hero Accents */
.shiji-lidl-card__ribbon {
    background: linear-gradient(90deg, #111318 0%, #8E111D 52%, #111318 100%) !important;
    color: var(--bf-gold) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    padding: 6px 10px !important;
}
.shiji-lidl-card__stock {
    background: #ECF7F2 !important;
    color: var(--xmas-pine) !important;
    border: 1px solid #CBE7DB !important;
}

/* Festive Hero Slides */
.shiji-bf-slide--flagship {
    background: radial-gradient(circle at 20% 25%, rgba(245, 199, 84, 0.2), transparent 40%),
                radial-gradient(circle at 80% 75%, rgba(166, 18, 31, 0.35), transparent 45%),
                linear-gradient(110deg, #0E1117 0%, #1A1419 52%, #0C3526 100%) !important;
}
.shiji-bf-slide--crimson {
    background: radial-gradient(circle at 75% 20%, rgba(245, 199, 84, 0.22), transparent 38%),
                linear-gradient(115deg, #6E0D17 0%, #9E1422 55%, #5C0A12 100%) !important;
}
.shiji-bf-slide--pine {
    background: radial-gradient(circle at 25% 80%, rgba(245, 199, 84, 0.18), transparent 40%),
                linear-gradient(115deg, #093524 0%, #0E523A 55%, #0A271C 100%) !important;
}
.shiji-bf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 199, 84, 0.16);
    border: 1px solid var(--bf-gold);
    color: var(--bf-gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.shiji-bf-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--bf-gold) !important;
    color: #111318 !important;
    font-weight: 900 !important;
    font-size: 0.94rem !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}
.shiji-bf-hero-cta:hover {
    background: #ffd978 !important;
    transform: translateY(-1px);
}
.shiji-bf-product-chip {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 205px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    text-decoration: none !important;
    color: #111318 !important;
    border: 2px solid rgba(245, 199, 84, 0.55);
}
.shiji-bf-product-chip img {
    width: 175px;
    height: 175px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
}
.shiji-bf-product-chip__name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1c2430;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.shiji-bf-product-chip__price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--xmas-crimson);
}
.shiji-bf-product-chip__price del {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7c8594;
}

/* ==========================================================================
   PIXEL-LOCKED PRODUCT CARDS (Image -> Title -> Price -> Button, 0px Delta)
   ========================================================================== */
body.shiji-storefront ul.products,
body.shiji-storefront .shiji-sf-grid,
body.shiji-storefront .shiji-sf-archive ul.products,
body.shiji-storefront .related ul.products {
    display: grid !important;
    align-items: stretch !important;
    gap: 18px !important;
}
body.shiji-storefront ul.products li.product,
body.shiji-storefront .shiji-sf-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e6e2da !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(17, 19, 24, 0.05) !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease !important;
}
body.shiji-storefront ul.products li.product:hover,
body.shiji-storefront .shiji-sf-card:hover {
    border-color: var(--bf-gold-deep) !important;
    box-shadow: 0 10px 24px rgba(17, 19, 24, 0.12) !important;
    transform: translateY(-2px);
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: inherit !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > img,
body.shiji-storefront ul.products li.product .attachment-woocommerce_thumbnail {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #f2efe9 !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title,
body.shiji-storefront .shiji-sf-card__title {
    order: 2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    min-height: calc(1.38em * 2) !important;
    max-height: calc(1.38em * 2) !important;
    color: #181c24 !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title {
    margin: 14px 16px 8px !important;
    padding: 0 !important;
}
body.shiji-storefront ul.products li.product > a.woocommerce-LoopProduct-link > .price,
body.shiji-storefront .shiji-sf-card__price {
    order: 3 !important;
    margin: auto 16px 12px !important;
    padding: 0 !important;
    font-size: 1.42rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    min-height: 1.3em !important;
    color: var(--xmas-crimson) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
body.shiji-storefront .shiji-sf-card__price {
    margin: auto 0 6px !important;
}
body.shiji-storefront ul.products li.product .price del,
body.shiji-storefront .shiji-sf-card__price del {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #848d9a !important;
    opacity: 1 !important;
}
body.shiji-storefront ul.products li.product .price ins,
body.shiji-storefront .shiji-sf-card__price ins {
    text-decoration: none !important;
    background: none !important;
    color: var(--xmas-crimson) !important;
}
/* Sale badge on archive cards */
body.shiji-storefront ul.products li.product span.onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #111318, #9E1422) !important;
    color: var(--bf-gold) !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    z-index: 3 !important;
}
/* Festive Deep Pine Add-to-cart Button — 42px Locked Height */
body.shiji-storefront ul.products li.product > a.add_to_cart_button,
body.shiji-storefront ul.products li.product > a.button.product_type_simple,
body.shiji-storefront .shiji-sf-card .add_to_cart_button,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    background: var(--xmas-pine) !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
body.shiji-storefront ul.products li.product > a.add_to_cart_button:hover,
body.shiji-storefront .shiji-sf-card .shiji-sf-card__action .button:hover {
    background: var(--xmas-crimson) !important;
}
body.shiji-storefront ul.products li.product > a.add_to_cart_button,
body.shiji-storefront ul.products li.product > a.button.product_type_simple {
    width: calc(100% - 32px) !important;
    margin: 0 16px 16px !important;
}

/* Festive Footer */
.shiji-lidl-footer__dark {
    background: linear-gradient(180deg, #111318 0%, #0A241B 100%) !important;
    border-top: 3px solid var(--bf-gold-deep) !important;
}
.shiji-lidl-footer__cta {
    background: var(--bf-gold) !important;
    color: #111318 !important;
    font-weight: 900 !important;
}
.shiji-lidl-footer__cta:hover {
    background: #ffd978 !important;
}
.shiji-lidl-morebtn {
    border-color: var(--xmas-pine) !important;
    color: var(--xmas-pine) !important;
}
.shiji-lidl-morebtn:hover {
    background: var(--xmas-pine) !important;
    color: #ffffff !important;
}

/* v3.0.1 Side-by-side compact hero showcase cards */
.shiji-lidl-slide__showcase {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}
.shiji-lidl-slide__inner {
    padding: 34px 64px 44px !important;
    min-height: 330px !important;
}
@media (max-width: 900px) {
    .shiji-lidl-slide__inner {
        padding: 28px 20px 44px !important;
        flex-direction: column !important;
    }
    .shiji-lidl-slide__showcase {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .shiji-bf-product-chip {
        width: 158px !important;
    }
    .shiji-bf-product-chip img {
        width: 134px !important;
        height: 134px !important;
    }
}

/* v3.0.2 Tab panel visibility & unified festive evergreen buttons */
.shiji-lidl-panel {
    display: none !important;
}
.shiji-lidl-panel.is-active {
    display: block !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__action .button,
body.shiji-storefront .shiji-lidl-card a.add_to_cart_button {
    background: var(--xmas-pine) !important;
    color: #ffffff !important;
}
body.shiji-storefront .shiji-lidl-card .shiji-sf-card__action .button:hover,
body.shiji-storefront .shiji-lidl-card a.add_to_cart_button:hover {
    background: var(--xmas-crimson) !important;
}

/* ==========================================================================
   v3.1.0 Full-Bleed Christmas Hero + Styled 4-Column Holiday Lookbook + Pine Buttons
   ========================================================================== */
.shiji-bf-slide--photo {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.shiji-lidl-slide__heading {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.shiji-lidl-slide__desc {
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* 4-Column Holiday Lookbook Section */
.shiji-lookbook {
    background: linear-gradient(180deg, #faf7f2 0%, #f3ede2 100%) !important;
    padding: 46px 0 !important;
    border-top: 1px solid #e7dfd1;
    border-bottom: 1px solid #e7dfd1;
}
.shiji-lookbook__wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.shiji-lookbook__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
body.shiji-storefront a.shiji-lookbook__card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e4ddd0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: #181c24 !important;
    box-shadow: 0 4px 14px rgba(17, 19, 24, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.shiji-storefront a.shiji-lookbook__card:hover {
    transform: translateY(-4px);
    border-color: var(--bf-gold-deep) !important;
    box-shadow: 0 14px 30px rgba(17, 19, 24, 0.14);
}
.shiji-lookbook__media {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    background: #f5f2ec;
}
.shiji-lookbook__media img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.35s ease;
}
body.shiji-storefront a.shiji-lookbook__card:hover .shiji-lookbook__media img {
    transform: scale(1.05);
}
.shiji-lookbook__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(17, 19, 24, 0.85);
    border: 1px solid rgba(245, 199, 84, 0.65);
    color: var(--bf-gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.shiji-lookbook__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 6px;
}
.shiji-lookbook__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: var(--xmas-crimson);
    text-transform: uppercase;
}
.shiji-lookbook__title {
    margin: 0 !important;
    font-size: 1.06rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #111318 !important;
}
.shiji-lookbook__cta {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--xmas-pine);
}
@media (max-width: 1024px) {
    .shiji-lookbook__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .shiji-lookbook__grid {
        grid-template-columns: 1fr;
    }
}

/* Guarantee Evergreen Pine Add-to-cart buttons on homepage cards too */
body.shiji-storefront ul.products li.product.shiji-lidl-card .shiji-sf-card__action a.button,
body.shiji-storefront ul.products li.product.shiji-sf-card .shiji-sf-card__action a.button {
    background: var(--xmas-pine) !important;
    color: #ffffff !important;
}
body.shiji-storefront ul.products li.product.shiji-lidl-card .shiji-sf-card__action a.button:hover,
body.shiji-storefront ul.products li.product.shiji-sf-card .shiji-sf-card__action a.button:hover {
    background: var(--xmas-crimson) !important;
}
