:root {
  /* --primary: #8B1E2D; */
  --primary: #BE1A1A;
  --primary-dark: #A8A492;
  --primary-light: #e8f0fb;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --text-on-primary: #ffffff;
  --bg: #f8f9fc;
  --card-bg: #ffffff;
  --border: #d9e2ef;
  --shadow: 0 4px 16px rgba(0, 74, 173, 0.1);
  --shadow-hover: 0 12px 32px rgba(0, 74, 173, 0.16);
  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(
    165deg,
    #dce8f8 0%,
    #e8f0fb 28%,
    #f3f7fd 55%,
    #e2ecf9 100%
  );
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 300;
}

.site-header {
  background: var(--primary);
  color: var(--text);
  padding: 0.6rem 2rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.06);
}

.site-header__inner {
  max-width: min(1520px, calc(100vw - 1.25rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 52px;
  width: 100%;
}

.site-header__inner--home {
  justify-content: space-between;
  gap: 1rem;
}

.site-header__inner--subpage {
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  flex-shrink: 1;
  min-width: 0;
}

.site-header__brand-logo {
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
}

.site-header__brand-text {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__brand:hover {
  opacity: 0.92;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  flex-wrap: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__cart {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s, border-color 0.2s;
}

.site-header__cart:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.product-card__btn.is-added {
  background: var(--primary-dark);
  transform: scale(0.98);
}

body.cart-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 60, 0.45);
  z-index: 450;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  background: var(--card-bg);
  z-index: 500;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 40, 90, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.cart-drawer__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.15rem 0.35rem;
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.cart-drawer__empty {
  margin: 1rem 0.5rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.cart-line {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.65rem;
}

.cart-line__name {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

.cart-line__opt {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.cart-line__price {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-line__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem;
}

.cart-qty button {
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}

.cart-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-line__remove {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

.cart-drawer__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.cart-drawer__total-row strong {
  font-size: 1.25rem;
  color: var(--primary);
}

.cart-drawer__whatsapp {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: filter 0.2s, transform 0.2s;
}

.cart-checkout {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.cart-checkout__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-checkout__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-checkout__field input,
.cart-checkout__field textarea {
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: #fff;
}

.cart-checkout__field textarea {
  resize: vertical;
  min-height: 3.25rem;
}

.cart-drawer__whatsapp:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.cart-drawer__whatsapp.is-disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-drawer__note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}

.cart-drawer__clear {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  align-self: center;
}

.cart-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 600;
  box-shadow: var(--shadow-hover);
}

.site-header__nav-link,
.site-header__dropdown-trigger {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  cursor: pointer;
}

.site-header__nav-link:hover,
.site-header__dropdown-trigger:hover {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.site-header__nav > .site-header__nav-link:hover {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.site-header__dropdown {
  position: relative;
}

.site-header__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: default;
  user-select: none;
}

.site-header__dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.site-header__dropdown-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s;
}

.site-header__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 40, 90, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.site-header__dropdown:hover .site-header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-header__dropdown:hover .site-header__dropdown-trigger {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.site-header__dropdown:hover .site-header__dropdown-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.site-header__dropdown-menu li {
  margin: 0;
  padding: 0;
}

.site-header__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--primary) !important;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: none !important;
  white-space: nowrap;
}

.site-header__dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(3px);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 50, 0.15) 0%,
    rgba(0, 74, 173, 0.22) 45%,
    rgba(0, 20, 50, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem 1.5rem;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.15rem 0 0.65rem;
}

.hero__logo-img {
  height: clamp(80px, 18vw, 120px);
  width: auto;
  max-width: min(340px, 85vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 24px rgba(0, 0, 0, 0.35));
  transition: opacity 0.2s, transform 0.2s;
}

.hero__logo:hover .hero__logo-img {
  opacity: 0.92;
  transform: scale(1.02);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-on-primary);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 0, 0, 0.35);
}

.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.98);
  margin: 0 0 1.15rem;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  display: inline-block;
  background: var(--text-on-primary);
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Sections — home handcrafted overrides width below */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section.section--handcrafted {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(2.25rem, 4vw, 3.25rem) clamp(0.65rem, 1.5vw, 1rem);
}

.section__title {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.section--handcrafted {
  position: relative;
  z-index: 2;
  margin-top: 0;
  border-top: 1px solid rgba(0, 74, 173, 0.1);
  background: transparent;
}

.section--handcrafted__intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section--handcrafted__intro .section__subtitle {
  margin-bottom: 0;
}

.handcrafted-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  width: min(1520px, calc(100vw - 1.25rem));
  max-width: none;
  margin: 0 auto;
}

.section--handcrafted .coming-soon-banner {
  width: min(1520px, calc(100vw - 1.25rem));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

/* Handcrafted category cards */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(260px, auto);
  gap: 0;
  align-items: stretch;
  margin: 0;
  scroll-margin-top: 5.5rem;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 74, 173, 0.1);
  box-shadow: 0 10px 36px rgba(0, 74, 173, 0.08);
}

.feature-row .feature-row__media {
  grid-column: 1;
  grid-row: 1;
  min-height: 260px;
}

.feature-row .feature-row__body {
  grid-column: 2;
  grid-row: 1;
}

.feature-row--reverse .feature-row__media {
  grid-column: 2;
}

.feature-row--reverse .feature-row__body {
  grid-column: 1;
}

.feature-row__media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: auto;
  max-height: none;
  min-height: 260px;
  height: 100%;
  box-shadow: none;
  background: linear-gradient(145deg, var(--primary-light), #c5d8ef);
}

.feature-row__body {
  padding: clamp(1.35rem, 3.5vw, 2.25rem) clamp(1.35rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.65rem;
}

.feature-row__title {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.feature-row__text {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  line-height: 1.6;
  margin: 0;
  max-width: 48ch;
}

.feature-row__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-on-primary);
  background: var(--primary);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-row__link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 74, 173, 0.25);
}

.feature-row__link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Category image slideshow */
.feature-slideshow {
  position: relative;
}

.feature-slideshow__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feature-slideshow__track {
  display: flex;
  height: 100%;
  transition: transform 0.85s ease-in-out;
  will-change: transform;
}

.feature-slideshow__frame {
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-slideshow__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.5rem;
  box-sizing: border-box;
}

.feature-slideshow__dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.feature-slideshow__dot {
  width: 0.55rem;
  height: 0.55rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s;
  position: relative;
}

.feature-slideshow__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
}

.feature-slideshow__dot.is-active::after {
  background: #fff;
  transform: scale(1.15);
}

.feature-slideshow__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.feature-row__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-row.reveal:nth-of-type(odd) {
  transform: translateX(-24px) translateY(20px);
}

.feature-row.reveal:nth-of-type(even) {
  transform: translateX(24px) translateY(20px);
}

.feature-row.reveal.reveal--visible {
  transform: translateX(0) translateY(0);
}

/* Product cards */
.cards {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card__image {
  height: 50px;
  background: linear-gradient(145deg, var(--primary-light), #b8cfe8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef3fa;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.5rem;
  box-sizing: border-box;
}

.card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--primary);
}

.card__description {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.45;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.card__link:hover {
  text-decoration: underline;
}

/* More to come banner */
.coming-soon-banner {
  margin-top: 0.5rem;
  padding: 1.35rem 1.75rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  color: var(--text-on-primary);
  box-shadow: var(--shadow);
}

.coming-soon-banner__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.coming-soon-banner__text {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.92;
}

/* Category product listing pages */
.category-page {
  width: min(1520px, calc(100vw - 1.25rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0.65rem, 1.5vw, 1rem) 2rem;
}

.category-page__intro {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  max-width: 42rem;
}

.category-page__breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.category-page__breadcrumb a {
  color: var(--primary);
}

.category-page__breadcrumb a:hover {
  text-decoration: underline;
}

.category-page__title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--primary);
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.category-page__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.category-filters__btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(0, 74, 173, 0.2);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.category-filters__btn:hover {
  background: var(--primary-light);
}

.category-filters__btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.product-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 74, 173, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card__media {
  aspect-ratio: 1;
  position: relative;
  background: #eef3fa;
  overflow: hidden;
  isolation: isolate;
}

.product-card__link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: clamp(0.35rem, 2vw, 0.65rem);
  box-sizing: border-box;
}

/* Combo set images — softer framing so sets don't feel cramped or oversized */
.product-card[data-category="combo-sets"] .product-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail[data-category="combo-sets"] .product-detail__media:not(.feature-slideshow) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card[data-category="combo-sets"] .product-card__media img,
.product-detail[data-category="combo-sets"] .product-card__media > img,
.product-detail[data-category="combo-sets"] .feature-slideshow__frame img,
#category-combo-sets .feature-slideshow__frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: clamp(0.35rem, 2vw, 0.65rem);
  object-position: center;
}

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

.product-card__title a:hover {
  text-decoration: underline;
}

.product-card__body {
  padding: clamp(0.85rem, 2vw, 1.1rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  min-height: 0;
}

.product-card__title {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card__price--was {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__specs {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.product-card__tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.product-card__tags li {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  line-height: 1.3;
}

.product-card__desc-wrap.is-expanded .product-card__description {
  -webkit-line-clamp: unset;
  display: block;
  min-height: auto;
  overflow: visible;
}

.product-card__description {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product-card__desc-toggle {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.product-card__details {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-card__details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.78rem;
  list-style: none;
  user-select: none;
}

.product-card__details summary::-webkit-details-marker {
  display: none;
}

.product-card__details summary::before {
  content: "+ ";
  font-weight: 700;
}

.product-card__details[open] summary::before {
  content: "− ";
}

.product-card__details p {
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.product-card__care {
  font-size: 0.76rem;
  font-style: italic;
}

.product-card__option-slot {
  min-height: 3.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
}

.product-card__option-slot:empty {
  min-height: 3.35rem;
}

.product-card__option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.product-card__option label {
  font-weight: 600;
  color: var(--text);
}

.product-card__option select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  background-size: 12px;
  font-size: 0.85rem;
}

.product-card__btn {
  margin-top: 0.35rem;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--text-on-primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.product-card__btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.related .cards {
  width: min(1520px, calc(100vw - 1.25rem));
  margin-left: auto;
  margin-right: auto;
}

/* Product detail page (legacy) */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef3fa;
  box-shadow: var(--shadow);
  position: relative;
}

.product-detail__missing {
  margin: 0;
  padding: 2rem 0;
  color: var(--text-muted);
}

.feature-slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.feature-slideshow__nav--prev {
  left: 0.5rem;
}

.feature-slideshow__nav--next {
  right: 0.5rem;
}

.feature-slideshow__nav:hover {
  background: rgba(0, 0, 0, 0.65);
}

.feature-slideshow__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.product-detail .product-card__title {
  height: auto;
  min-height: auto;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.product-detail .product-card__body {
  gap: 0.75rem;
  padding: 0;
}

.product-detail .product-card__btn {
  width: auto;
  align-self: flex-start;
  padding: 0.9rem 2.25rem;
}

.product-detail__nav {
  margin-bottom: 1.25rem;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.product-detail__back:hover {
  text-decoration: underline;
}

.product-detail__breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-detail__breadcrumb a {
  color: var(--primary);
}

.product-detail__breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail__title {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.product-detail__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.25rem;
}

.product-detail__description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.product-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.product-detail__meta span {
  color: var(--text-muted);
}

.product-detail__meta strong {
  color: var(--text);
}

.product-detail__btn {
  display: inline-block;
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.product-detail__btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.related {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--text-on-primary);
  margin-top: auto;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.site-footer__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.site-footer__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.site-footer__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.site-footer__value a {
  color: var(--text-on-primary);
}

.site-footer__value a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* Layout wrapper */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .feature-row .feature-row__media,
  .feature-row--reverse .feature-row__media {
    grid-column: 1;
    grid-row: 1;
    min-height: min(52vw, 280px);
  }

  .feature-row .feature-row__body,
  .feature-row--reverse .feature-row__body {
    grid-column: 1;
    grid-row: 2;
  }

  .feature-row__body {
    align-items: stretch;
  }

  .feature-row__text {
    max-width: none;
  }

  .feature-row__link {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .product-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product-card__btn {
    font-size: 0.82rem;
    padding: 0.55rem 0.65rem;
  }


  /* Keep title, price, specs, description, and tags aligned across side-by-side cards */
  .product-card__title {
    height: 2.6em;
    min-height: 2.6em;
  }

  .product-card__prices {
    min-height: 1.15rem;
  }

  .product-card__specs {
    min-height: 2.7em;
  }

  .product-card__description {
    -webkit-line-clamp: 2;
    min-height: 2.8em;
  }

  .product-card__tags {
    min-height: 2.75rem;
    align-content: flex-start;
  }

  .product-card__details {
    min-height: 1.25rem;
  }

  .product-detail .product-card__title,
  .product-detail .product-card__prices,
  .product-detail .product-card__specs,
  .product-detail .product-card__tags,
  .product-detail .product-card__details {
    height: auto;
    min-height: auto;
  }

  .product-detail__title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    line-height: 1.25;
  }

  .cart-drawer__header {
    padding: 0.75rem 1rem;
  }

  .cart-drawer__body {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }

  .cart-drawer__footer {
    padding: 0.65rem 0.85rem 0.85rem;
    gap: 0.4rem;
  }

  .cart-drawer__total-row {
    font-size: 0.92rem;
  }

  .cart-drawer__total-row strong {
    font-size: 1.1rem;
  }

  .cart-drawer__whatsapp {
    padding: 0.7rem 0.85rem;
    font-size: 0.88rem;
  }

  .cart-drawer__note {
    display: none;
  }

  .cart-checkout {
    gap: 0.4rem;
    padding-top: 0.35rem;
  }

  .cart-checkout__title {
    font-size: 0.82rem;
    margin-bottom: 0.1rem;
  }

  .cart-checkout__field {
    gap: 0.15rem;
    font-size: 0.72rem;
  }

  .cart-checkout__field input,
  .cart-checkout__field textarea {
    font-size: 0.85rem;
    padding: 0.4rem 0.55rem;
  }

  .cart-checkout__field textarea {
    min-height: 2.75rem;
  }

  .cart-line {
    padding: 0.65rem 0;
    gap: 0.5rem;
  }

  .category-page {
    width: calc(100vw - 0.75rem);
    padding: 1.25rem 0.35rem 1.5rem;
  }

  .site-header {
    padding: 0.4rem 0.55rem;
  }

  .site-header__inner {
    min-height: 48px;
    gap: 0.35rem;
  }

  .site-header__inner--subpage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.35rem;
  }

  .site-header__brand {
    gap: 0;
    max-width: none;
    flex-shrink: 0;
    min-width: 0;
  }

  .site-header__brand-text {
    display: none;
  }

  .site-header__brand-logo {
    width: 38px;
    height: 38px;
  }

  .site-header__nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.35rem;
    min-width: 0;
  }

  .site-header__cart {
    padding: 0.28rem 0.45rem;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .site-header__cart-count {
    min-width: 1.1rem;
    height: 1.1rem;
    font-size: 0.65rem;
  }

  .site-header__dropdown-trigger,
  .site-header__nav-link {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .site-header__dropdown-chevron {
    width: 0.35rem;
    height: 0.35rem;
  }

  .site-header__dropdown-chevron {
    width: 0.35rem;
    height: 0.35rem;
  }

  .site-header__dropdown-menu {
    left: 50%;
    transform: translateX(-50%) translateY(0.25rem);
  }

  .site-header__dropdown:hover .site-header__dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  .hero {
    min-height: min(48vh, 440px);
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section.section--handcrafted {
    padding: 2rem 0.5rem 1.5rem;
  }

  .handcrafted-list,
  .section--handcrafted .coming-soon-banner {
    width: calc(100vw - 0.75rem);
  }

  .handcrafted-list {
    gap: 1.15rem;
  }

  .feature-row {
    border-radius: 16px;
  }

  .hero__content {
    padding: 1rem 1.25rem 1.25rem;
  }

  .coming-soon-banner {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .coming-soon-banner__title {
    font-size: 1.4rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .feature-row.reveal:nth-of-type(odd),
  .feature-row.reveal:nth-of-type(even) {
    transform: translateY(24px);
  }

  .feature-row.reveal.reveal--visible {
    transform: translateY(0);
  }

  .site-footer__contact {
    flex-direction: column;
    gap: 1.25rem;
  }
  .card__striked_price{
    text-decoration: line-through;
    color: #4287f5;
  }
  p .product-detail__striked_price {
    text-decoration: line-through;
  }
}
.page-title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.page-title h1 {
    margin: 0;
    padding: 3rem;
    color: var(--primary);
    font-size: 42px;
    font-weight: normal;
}
.product-option select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 0.6rem 2.5rem 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    no-repeat right 0.8rem center;
  background-size: 12px;
}
