/* Oberle Meats — Caggiano-Inspired Design */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --dark: #110801;
  --terra: #c25439;
  --terra-dk: #a3442e;
  --cream: #edddd1;
  --white: #ffffff;
  --black: #000000;
  --text: #1a1a1a;
  --text2: #4a4a4a;
  --text3: #888888;
  --border: #e0d0c4;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --nav-h: 72px;
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra-dk); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.text-center { text-align: center; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%; }
.section { padding: 70px 0; }
.site-main { min-height: 60vh; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  background: none;
  color: var(--text);
}
.btn--primary { background: var(--terra); color: var(--white); border-color: var(--terra); }
.btn--primary:hover { background: var(--terra-dk); border-color: var(--terra-dk); color: var(--white); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn--secondary:hover { background: var(--text); color: var(--white); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--white); }
.btn--sm { padding: 9px 20px; font-size: .7rem; }
.btn--lg { padding: 16px 44px; font-size: .8rem; }
.btn--block { display: block; width: 100%; margin-bottom: .5rem; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.announcement-bar__container {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.announcement-bar__icon {
  display: flex;
  align-items: center;
}
.announcement-bar__icon svg { width: 18px; height: 18px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled {
  background: var(--terra);
  border-bottom-color: transparent;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__brand { flex-shrink: 0; }
.header__logo { display: flex; align-items: center; }
.header__logo img {
  height: 55px;
  width: auto;
  
  transition: filter .3s;
}
.site-header.scrolled .header__logo img { filter: brightness(0) invert(1); }

/* ── Nav Links ── */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__nav a {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width var(--transition);
}
.header__nav a:hover::after,
.header__nav a.active::after { width: 100%; }
.header__nav a:hover { color: var(--terra); }
.site-header.scrolled .header__nav a { color: var(--white); }
.site-header.scrolled .header__nav a::after { background: var(--white); }
.site-header.scrolled .header__nav a:hover { color: rgba(255,255,255,.7); }

/* ── Header Actions ── */
.header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header__action-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--text);
  transition: color var(--transition);
}
.header__action-link:hover { color: var(--terra); }
.header__action-link::after { display: none; }
.header__action-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-header.scrolled .header__action-link,

  position: relative;
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--text);
  transition: color var(--transition);
}
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--terra);
  color: var(--white);
  font-size: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  width: 17px;
  height: 17px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  background: var(--white);
  color: var(--terra);
}

/* ── Hamburger ── */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.site-header.scrolled .header__hamburger span { background: var(--white); }

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--terra); }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero::after {
  content: ;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__image {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero__badge {
  border: 3px solid #fff;
  outline: 2px solid #fff;
  outline-offset: 6px;
  padding: 30px 60px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}
.hero__badge-top {
  display: block;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__badge-divider {
  display: block;
  width: 60px;
  height: 2px;
  background: #fff;
  margin: 12px auto;
}
.hero__badge-bottom {
  display: block;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* ── Rich Text (cream section) ── */
.rich-text {
  background: var(--cream);
  padding: 60px 0;
  text-align: center;
}
.rich-text__heading {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.rich-text__body {
  max-width: 750px;
  margin: 0 auto;
}
.rich-text__body p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.8;
}

/* ── Collection List ── */
.collection-list {
  padding: 30px 0 0;
}
.collection-list__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collection-list__item { text-align: center; }
.collection-list__image-wrap {
  display: block;
  overflow: hidden;
}
.collection-list__image-wrap img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform .5s ease;
}
.collection-list__image-wrap:hover img { transform: scale(1.05); }
.collection-list__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 0;
}
.collection-list__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Divider ── */
.divider { padding: 20px 0; }
.divider hr { border: none; border-top: 1px solid var(--border); }

/* ── Image with Text ── */
.image-text { padding: 40px 0; }
.image-text__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.image-text__grid--reverse .image-text__image { order: 2; }
.image-text__grid--reverse .image-text__content { order: 1; }
.image-text__image img { width: 100%; object-fit: cover; }
.image-text__content h3 { margin-bottom: .75rem; }
.image-text__content p { color: var(--text2); margin-bottom: 1rem; }
.image-text__content .btn { margin-top: .5rem; }

/* ── Highlight Section (terracotta "Our Process") ── */
.highlight-section {
  background: var(--terra);
  padding: 60px 0;
  text-align: center;
}
.highlight-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: .75rem;
}
.highlight-section__divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: 0 auto 1.5rem;
}
.highlight-section p {
  color: rgba(255,255,255,.9);
  max-width: 750px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  font-family: var(--font-head);
  font-weight: 400;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.product-card--oos { opacity: .6; }
.product-card__image-wrap {
  display: block;
  overflow: hidden;
}
.product-card__image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.04); }
.product-card__info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__name {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .25rem;
}
.product-card__name a { color: var(--text); }
.product-card__name a:hover { color: var(--terra); }
.product-card__weight { font-size: .8rem; color: var(--text3); margin-bottom: .5rem; }
.product-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.product-card__original-price {
  text-decoration: line-through;
  color: var(--text3);
  font-weight: 400;
  font-size: .85rem;
  margin-left: .5rem;
}
.btn-add-to-cart { margin-top: .5rem; }

.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--transition);
}
.header__cart:hover { color: var(--terra); }
.header__cart svg { width: 24px; height: 24px; vertical-align: middle; }
.header__cart-count {  position: absolute;  top: -5px;  right: -8px;  background: var(--terra);  color: var(--white);  font-size: .65rem;  font-family: var(--font-head);  font-weight: 700;  min-width: 18px;  height: 18px;  border-radius: 50%;  display: flex;  align-items: center;  justify-content: center;  line-height: 1;}
.site-header.scrolled .header__cart { color: var(--white); }
.header__cart-count {  position: absolute;  top: -5px;  right: -8px;  background: var(--terra);  color: var(--white);  font-size: .65rem;  font-family: var(--font-head);  font-weight: 700;  min-width: 18px;  height: 18px;  border-radius: 50%;  display: flex;  align-items: center;  justify-content: center;  line-height: 1;}
.section-header h2 { font-size: 1.75rem; letter-spacing: 2px; text-transform: uppercase; }

/* ── Gallery ── */
.gallery { padding: 20px 16px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item { overflow: hidden; }
.gallery__item img {
  min-height: 200px;
  background: #ddd;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

/* ── Icon Bar ── */
.icon-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.icon-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.icon-bar__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}
.icon-bar__item svg { color: var(--terra); flex-shrink: 0; }

/* ── Shipping Banner ── */
.shipping-banner {
  background: var(--dark);
  padding: 1rem 0;
  text-align: center;
}
.shipping-banner p {
  color: var(--cream);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
}
.shipping-banner svg { color: #c9a55a; flex-shrink: 0; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: var(--cream); }
.footer__main { padding: 60px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer__block--logo .footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer__block--logo .footer__logo img {
  height: 60px;
  
  filter: brightness(0) invert(1);
}
.footer__tagline { color: rgba(237,221,209,.7); font-size: .9rem; }
.footer__heading {
  color: var(--white);
  font-size: .75rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
}
.footer__block--links ul li { margin-bottom: .4rem; }
.footer__block--links a {
  color: rgba(237,221,209,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__block--links a:hover { color: var(--white); }
.footer__block--about p { color: rgba(237,221,209,.7); font-size: .9rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__credits p { font-size: .8rem; color: rgba(237,221,209,.4); }
.footer__credits a { color: rgba(237,221,209,.5); }
.footer__credits a:hover { color: var(--white); }
.footer__social { display: flex; gap: 1rem; }
.footer__social a { color: rgba(237,221,209,.5); transition: color var(--transition); }
.footer__social a:hover { color: var(--white); }

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--cream);
  padding: 50px 0 40px;
  text-align: center;
}
.page-header h1 { font-size: 2.25rem; margin-bottom: .5rem; }
.page-header p { color: var(--text2); font-size: 1.05rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: .95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { border-color: var(--terra); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* ── Flash Messages ── */
.flash-msg {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  padding: 1rem 1.5rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  border-left: 4px solid;
  background: var(--white);
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  animation: flashIn .3s ease;
}
.flash-success { border-color: #2d6a2e; color: #2d6a2e; }
.flash-error { border-color: #8b2020; color: #8b2020; }
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Side Cart ── */
.sidecart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
}
.sidecart-overlay.open { display: block !important; }
.sidecart {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right .35s ease;
  box-shadow: -4px 0 30px rgba(0,0,0,.15);
}
.sidecart.open { right: 0; }
.sidecart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidecart__header h3 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sidecart__close {
  font-size: 1.75rem;
  color: var(--text3);
  cursor: pointer;
  line-height: 1;
}
.sidecart__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.sidecart__empty { text-align: center; color: var(--text3); padding: 3rem 0; font-size: .95rem; }
.sidecart__footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); }
.sidecart__total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 20px; }
  .header__nav { display: none; }
  .header__hamburger {
  display: none; display: flex; }
  .header__action-label { display: none; }
  .hero__image { height: 50vh; }
  .hero__badge { padding: 20px 30px; outline-offset: 4px; }
  .hero__badge-top { font-size: 1.8rem; letter-spacing: 0.15em; }
  .hero__badge-bottom { font-size: 0.9rem; letter-spacing: 0.2em; }
  .hero__badge-divider { width: 40px; margin: 8px auto; }
  .announcement-bar { padding: 6px 10px; font-size: 0.55rem; letter-spacing: 0.5px; }
  .announcement-bar__container { padding: 0 10px; gap: 0.25rem; flex-wrap: nowrap; }


  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }


  .collection-list__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .image-text__grid,
  .image-text__grid--reverse { grid-template-columns: 1fr; }
  .image-text__grid--reverse .image-text__image { order: 1; }
  .image-text__grid--reverse .image-text__content { order: 2; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
  .icon-bar__inner { gap: 1.5rem; }
  .section { padding: 50px 0; }
  .rich-text { padding: 40px 0; }
  .rich-text__heading { font-size: 1.5rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__image { height: 40vh; }
  .hero__badge { padding: 15px 20px; outline-offset: 3px; outline-width: 1px; border-width: 2px; }
  .hero__badge-top { font-size: 1.3rem; letter-spacing: 0.1em; }
  .hero__badge-bottom { font-size: 0.75rem; letter-spacing: 0.15em; }
  .hero__badge-divider { width: 30px; margin: 6px auto; }
  .announcement-bar { padding: 5px 8px; font-size: 0.5rem; letter-spacing: 0.3px; }
  .announcement-bar__container { padding: 0 8px; }


}



/* ── Product Detail ── */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; color: #888; }
.breadcrumb a { color: var(--brand, #8b2500); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product-detail { padding: 2rem 0 4rem; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail__main-image { border-radius: 8px; overflow: hidden; background: #f5f5f0; }
.product-detail__main-image img { width: 100%; height: auto; display: block; }
.product-detail__thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.product-detail__thumb { width: 70px; height: 70px; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; padding: 0; background: #f5f5f0; }
.product-detail__thumb:hover, .product-detail__thumb:focus { border-color: var(--brand, #8b2500); }
.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail__title { font-family: var(--font-heading, Georgia, serif); font-size: 2rem; margin: 0 0 0.5rem; }
.product-detail__subtitle { color: #666; font-size: 0.95rem; margin-bottom: 1rem; }
.product-detail__price { font-size: 1.5rem; font-weight: 700; color: var(--brand, #8b2500); margin-bottom: 1rem; }
.product-detail__sale-price { color: var(--brand, #8b2500); }
.product-detail__original-price { text-decoration: line-through; color: #999; font-size: 1.1rem; margin-left: 0.5rem; }
.product-detail__weight { color: #666; font-size: 0.9rem; margin-bottom: 1.5rem; }
.product-detail__oos { color: #c00; font-weight: 600; font-size: 1.1rem; padding: 1rem 0; }

.product-detail__form { margin-top: 1rem; }
.product-detail__field { margin-bottom: 1rem; }
.product-detail__field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; }
.product-detail__field select { width: 100%; padding: 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: none; background: #f5f5f0; font-size: 1.2rem; cursor: pointer; }
.qty-btn:hover { background: #e5e5e0; }
.qty-selector input { width: 50px; height: 40px; border: none; border-left: 1px solid #ccc; border-right: 1px solid #ccc; text-align: center; font-size: 1rem; -moz-appearance: textfield; }
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-detail__description { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e5e5e0; }
.product-detail__description h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

.btn--lg { padding: 0.9rem 2rem; font-size: 1.1rem; }

@media (max-width: 768px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Push add-to-cart button to bottom of card */
.product-card__info .btn-add-to-cart { margin-top: auto; }

/* Sidecart item styles */

/* ── Sidecart Complete Styles ── */
.sidecart__item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.sidecart__item-image {
  width: 65px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f0;
}
.sidecart__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidecart__item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.sidecart__item-name {
  font-family: var(--font-head, Georgia, serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.sidecart__item-variant {
  font-size: 0.75rem;
  color: #999;
}
.sidecart__item-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand, #8b2500);
}
.sidecart__item-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.3rem;
}
.sidecart__qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  background: #f9f9f6;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #333;
  transition: background 0.15s;
}
.sidecart__qty-btn:hover { background: #eee; }
.sidecart__qty-val {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.sidecart__remove-btn {
  background: none;
  border: none;
  color: #bbb;
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: auto;
  padding: 2px 6px;
  transition: color 0.15s;
}
.sidecart__remove-btn:hover { color: #c00; }
.sidecart__footer-inner {
  padding: 1.25rem 1.5rem;
  border-top: 2px solid #eee;
  background: #faf9f6;
}
.sidecart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.sidecart__subtotal-label {
  font-family: var(--font-head, Georgia, serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}
.sidecart__subtotal-value {
  font-family: var(--font-head, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}
.sidecart__ship-note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-bottom: 0.75rem;
}
.sidecart__checkout-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: var(--brand, #8b2500);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-head, Georgia, serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}
.sidecart__checkout-btn:hover { background: #a03010; color: #fff; }
.sidecart__viewcart-btn {
  display: block;
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s;
}
.sidecart__viewcart-btn:hover { border-color: #999; }
.sidecart__empty-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
  font-size: 0.95rem;
}

/* ── Cart Page ── */
.cart-page { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 0.75rem; border-bottom: 2px solid #eee; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.cart-table td { padding: 0.75rem; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.cart-table__product { display: flex; align-items: center; gap: 0.75rem; }
.cart-table__img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-qty-input { width: 50px; text-align: center; border: 1px solid #ddd; border-radius: 4px; padding: 0.4rem; font-size: 0.9rem; }
.cart-remove-btn { background: none; border: none; font-size: 1.3rem; color: #bbb; cursor: pointer; padding: 0.25rem 0.5rem; }
.cart-remove-btn:hover { color: #c00; }
.cart-page__summary { background: #faf9f6; border: 1px solid #eee; border-radius: 8px; padding: 1.5rem; position: sticky; top: 100px; }
.cart-page__summary h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.95rem; }
.cart-summary__total { border-top: 2px solid #ddd; margin-top: 0.5rem; padding-top: 0.75rem; font-weight: 700; font-size: 1.1rem; }

/* ── Checkout ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.checkout-form { }
.checkout-section-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.checkout-field { margin-bottom: 1rem; }
.checkout-field label { display: block; font-weight: 600; font-size: 0.8rem; margin-bottom: 0.3rem; color: #555; }
.checkout-field input,
.checkout-field select { width: 100%; padding: 0.65rem 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 0.95rem; font-family: inherit; }
.checkout-field input:focus,
.checkout-field select:focus { outline: none; border-color: var(--brand, #8b2500); box-shadow: 0 0 0 3px rgba(139,37,0,0.08); }
.checkout-checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }
.checkout-checkbox input { width: auto; }
.checkout-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.9rem; }
.checkout-sidebar { background: #faf9f6; border: 1px solid #eee; border-radius: 8px; padding: 1.5rem; position: sticky; top: 100px; }
.checkout-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #f0f0f0; }
.checkout-item__img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.checkout-item__info { flex: 1; }
.checkout-item__name { font-size: 0.85rem; font-weight: 600; display: block; }
.checkout-item__meta { font-size: 0.75rem; color: #999; }
.checkout-item__price { font-weight: 700; font-size: 0.9rem; }
.checkout-totals { margin-top: 1rem; }
.checkout-totals__row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; }
.checkout-totals__grand { border-top: 2px solid #ddd; margin-top: 0.5rem; padding-top: 0.75rem; font-weight: 700; font-size: 1.1rem; }
.checkout-success { text-align: center; padding: 3rem 0; }
.checkout-success__icon { width: 70px; height: 70px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.checkout-success h2 { margin-bottom: 0.5rem; }

/* Status badges */
.status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-badge--pending { background: #fef3c7; color: #92400e; }
.status-badge--processing { background: #dbeafe; color: #1e40af; }
.status-badge--shipped { background: #e0e7ff; color: #3730a3; }
.status-badge--delivered { background: #dcfce7; color: #166534; }
.status-badge--cancelled { background: #fee2e2; color: #991b1b; }
.status-badge--refunded { background: #f3f4f6; color: #6b7280; }

@media (max-width: 768px) {
  .cart-page { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-row, .checkout-row--3 { grid-template-columns: 1fr; }
}
