:root {
  --cp-ink: #1f2937;
  --cp-soft: #f8f7f3;
  --cp-pink: #ff7aa2;
  --cp-yellow: #ffd84d;
  --cp-mint: #7ce6cf;
  --cp-blue: #8ecbff;
  --cp-red: #ff6b57;
  --cp-dark: #202636;
}

body {
  color: var(--cp-ink);
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
}

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

.topbar {
  background: var(--cp-dark);
  color: #fff;
}

.topbar a,
.site-footer a {
  color: inherit;
}

.header-main {
  background: #fff6e9;
  border-bottom: 1px solid rgba(32, 38, 54, 0.08);
}

.brand-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--cp-red);
  color: #fff;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.75rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--cp-red);
  color: #fff;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

.hero-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff6e9 0%, #ffffff 100%);
}

.hero-section h1,
.promo-band h2,
.section-heading h2,
.shop-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 800;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--cp-red);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.hero-card {
  min-height: 220px;
  border-radius: 8px;
  padding: 1.5rem;
  color: #202636;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: 0 18px 40px rgba(32, 38, 54, 0.08);
}

.hero-card-main {
  grid-row: span 2;
  background: linear-gradient(135deg, #ffcf5a, #ff8aa6);
}

.hero-card-secondary {
  background: linear-gradient(135deg, #8ed1ff, #d4f2ff);
}

.hero-card-accent {
  background: linear-gradient(135deg, #7ce6cf, #d8fff1);
}

.category-tile,
.content-card,
.footer-note,
.shop-hero__inner,
.trust-grid > div {
  border-radius: 8px;
}

.category-tile {
  padding: 1.5rem;
  min-height: 180px;
}

.category-tile h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.promo-band {
  background: #fff6e9;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-grid > div {
  background: #fff;
  padding: 1rem 1.25rem;
}

.trust-grid strong {
  display: block;
  font-size: 1.25rem;
}

.site-footer {
  background: var(--cp-dark);
  color: #fff;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.content-card {
  background: #fff;
  box-shadow: 0 14px 36px rgba(32, 38, 54, 0.08);
}

.btn-primary {
  background: var(--cp-red);
  border-color: var(--cp-red);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #ef5a48;
  border-color: #ef5a48;
}

.shop-hero__inner {
  padding: 2rem;
  background: linear-gradient(135deg, #fff1c1, #ffd0db);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.woocommerce ul.products li.product,
.woocommerce div.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(32, 38, 54, 0.08);
}

.woocommerce ul.products li.product a img {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.woocommerce span.onsale {
  background: var(--cp-red);
  border-radius: 999px;
  min-height: auto;
  min-width: auto;
  padding: 0.35rem 0.65rem;
  line-height: 1.2;
}

.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img {
  border-radius: 8px;
}

.woocommerce div.product .product_title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--cp-red);
  border-radius: 8px;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--cp-red);
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  border-radius: 999px;
  margin: 0 0.2rem;
}

@media (max-width: 1199.98px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hero-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card-main {
    grid-row: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 3.5rem 0;
  }

  .hero-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .hero-section h1,
  .promo-band h2,
  .section-heading h2,
  .shop-hero h1 {
    font-size: 2.25rem;
  }
}

/* Storefront polish */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7e8 0%, #ffffff 78%);
}

.hero-section .lead {
  max-width: 42rem;
  color: #4b5563;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  grid-template-rows: 180px 180px;
  gap: 1rem;
  min-height: 380px;
}

.gift-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 38, 54, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 44px rgba(32, 38, 54, 0.12);
}

.gift-visual::before {
  content: "";
  position: absolute;
  inset: 1rem 1rem auto auto;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.gift-visual-lg {
  grid-row: span 2;
  min-height: 380px;
  background: linear-gradient(135deg, #ffcf5a 0%, #ff7aa2 58%, #ffffff 160%);
}

.gift-visual-bottle { background: linear-gradient(135deg, #8ecbff 0%, #d8f2ff 100%); }
.gift-visual-mug { background: linear-gradient(135deg, #7ce6cf 0%, #e3fff5 100%); }
.gift-visual-card { display: none; background: linear-gradient(135deg, #ffd84d 0%, #fff2a8 100%); }

.gift-icon {
  position: relative;
  z-index: 1;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cp-dark);
  font-size: 2.2rem;
}

.gift-visual strong,
.gift-visual small,
.gift-ribbon {
  position: relative;
  z-index: 1;
}

.gift-visual strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.gift-visual-lg strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.gift-visual small {
  margin-top: 0.35rem;
  color: rgba(32, 38, 54, 0.72);
  font-weight: 700;
}

.gift-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.category-tile {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(32, 38, 54, 0.1);
}

.category-tile .bi {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.5rem;
}

.woocommerce ul.products li.product {
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(32, 38, 54, 0.14);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.6rem;
  font-size: 1rem;
  font-weight: 800;
}

.woocommerce ul.products li.product .price {
  color: var(--cp-red);
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .gift-visual-lg {
    grid-column: span 2;
    min-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .gift-visual-lg {
    grid-column: auto;
  }
}
