/* Shared commerce surfaces (shop + product) — themed via parent .theme-* tokens */

.page-pad {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* Fixed headers must not cover breadcrumbs / page titles */
.theme-clean .page-pad.clean-page {
  padding-top: 5.5rem;
}

.theme-clean-a .page-pad.glass-page,
.theme-clean-b .page-pad.glass-page,
.theme-clean-c .page-pad.glass-page {
  padding-top: 6.75rem;
}

.theme-bold .page-pad,
.theme-energy .page-pad {
  max-width: 1180px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  text-decoration: underline;
}

.shop-hero {
  margin-bottom: 2rem;
}

.shop-hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.theme-clean .shop-hero h1,
.theme-clean-a .shop-hero h1,
.theme-clean-b .shop-hero h1,
.theme-clean-c .shop-hero h1 {
  font-family: var(--font-clean-display);
}

.theme-bold .shop-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
}

.theme-energy .shop-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.shop-filters a {
  text-decoration: none;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.theme-energy .shop-filters a {
  border: 2px solid #111;
  border-radius: 0;
}

.theme-bold .shop-filters a {
  border: 2px solid #140910;
}

.shop-filters a.is-active {
  background: #e83e8c;
  color: #fff;
  border-color: #e83e8c;
}

.theme-bold .shop-filters a.is-active {
  background: #ff2d87;
  border-color: #140910;
  color: #fff;
}

.theme-energy .shop-filters a.is-active {
  background: #ff2f92;
  color: #fff;
}

.shop-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-card {
  display: grid;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.shop-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #f3e6ec;
}

.theme-bold .shop-card__media {
  border: 2px solid #140910;
  border-radius: 1.25rem;
}

.theme-energy .shop-card__media {
  border: 3px solid #111;
  border-radius: 0;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.shop-card:hover img {
  transform: scale(1.04);
}

.shop-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.theme-energy .shop-card__badge {
  border: 2px solid #111;
  border-radius: 0;
  background: #ffe566;
}

.shop-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.shop-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.shop-card__price {
  font-weight: 700;
  color: #c2185b;
}

.shop-card__type {
  font-size: 0.75rem;
  opacity: 0.65;
}

.pdp {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .pdp {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}

.pdp-gallery {
  display: grid;
  gap: 0.75rem;
}

.pdp-gallery__main {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #f3e6ec;
}

.theme-bold .pdp-gallery__main {
  border: 3px solid #140910;
}

.theme-energy .pdp-gallery__main {
  border: 3px solid #111;
  border-radius: 0;
}

.pdp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: flex;
  gap: 0.5rem;
}

.pdp-thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}

.theme-energy .pdp-thumbs button {
  border-radius: 0;
  border-width: 3px;
}

.pdp-thumbs button.is-active {
  border-color: #e83e8c;
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-badge {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #ffe566;
  color: #111;
}

.pdp h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.theme-clean .pdp h1,
.theme-clean-a .pdp h1,
.theme-clean-b .pdp h1,
.theme-clean-c .pdp h1 {
  font-family: var(--font-clean-display);
}

.theme-bold .pdp h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
}

.theme-energy .pdp h1 {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
}

.pdp-price {
  margin: 1rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #c2185b;
}

.pdp-excerpt {
  margin: 1rem 0 0;
  line-height: 1.55;
  opacity: 0.8;
}

.pdp-variations {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.1rem;
}

.pdp-variations fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.pdp-variations legend {
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.pdp-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-options label {
  cursor: pointer;
}

.pdp-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-options span {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
  font-weight: 600;
}

.theme-bold .pdp-options span,
.theme-energy .pdp-options span {
  border-width: 2px;
  border-color: #111;
}

.theme-energy .pdp-options span {
  border-radius: 0;
}

.pdp-options input:checked + span {
  background: #e83e8c;
  color: #fff;
  border-color: #e83e8c;
}

.theme-energy .pdp-options input:checked + span {
  background: #ff2f92;
  border-color: #111;
}

.pdp-qty {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pdp-qty input {
  width: 4.5rem;
  padding: 0.65rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font: inherit;
}

.theme-energy .pdp-qty input {
  border: 3px solid #111;
  border-radius: 0;
}

.pdp-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pdp-actions button,
.pdp-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.theme-energy .pdp-actions button,
.theme-energy .pdp-actions a {
  border-radius: 0;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 #111;
}

.pdp-actions .primary {
  background: #e83e8c;
  color: #fff;
}

.theme-bold .pdp-actions .primary {
  background: #ff2d87;
}

.theme-energy .pdp-actions .primary {
  background: #ff2f92;
}

.pdp-actions .ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: inherit;
}

.pdp-features {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pdp-features li {
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}

.pdp-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #e83e8c;
}

.pdp-long {
  margin-top: 1.5rem;
  line-height: 1.65;
  opacity: 0.85;
}

.pdp-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pdp-related h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
}

.home-cats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

@media (min-width: 800px) {
  .home-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-cat {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.home-cat:hover {
  transform: translateY(-3px);
}

.theme-bold .home-cat {
  border: 2px solid #140910;
  background: #fff;
}

.theme-energy .home-cat {
  border: 3px solid #111;
  border-radius: 0;
  background: #fff;
}

.home-cat strong {
  font-size: 1.05rem;
}

.home-cat span {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.35;
}

.home-quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .home-quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-quote {
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-bold .home-quote {
  border: 2px solid #140910;
}

.theme-energy .home-quote {
  border: 3px solid #111;
  border-radius: 0;
  background: #fffceb;
}

.home-quote p {
  margin: 0;
  line-height: 1.5;
}

.home-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.home-recipes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .home-recipes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-recipe {
  overflow: hidden;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  display: block;
}

.theme-bold .home-recipe {
  border: 2px solid #140910;
}

.theme-energy .home-recipe {
  border: 3px solid #111;
  border-radius: 0;
}

.home-recipe img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.home-recipe div {
  padding: 1rem;
}

.home-recipe h3 {
  margin: 0;
  font-size: 1.05rem;
}

.home-recipe p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.home-faq details {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.home-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.home-faq p {
  margin: 0.65rem 0 0;
  opacity: 0.75;
  line-height: 1.5;
}

.section-block {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.theme-bold .section-block,
.theme-energy .section-block {
  max-width: 1180px;
}
