.hp-static-home {
  --hp-bg: #f8f7f2;
  --hp-paper: #ffffff;
  --hp-text: #1d1b19;
  --hp-muted: #645e59;
  --hp-accent: #d95f39;
  --hp-accent-dark: #a84322;
  --hp-soft: #ece5dc;
  --hp-shadow: 0 12px 32px rgba(26, 20, 15, 0.08);

  color: var(--hp-text);
  background: linear-gradient(180deg, #fffaf4 0%, #f6f4ee 35%, #f8f7f2 100%);
  margin: 0;
  padding-bottom: 48px;
}

body.hp-cart-drawer-open {
  overflow: hidden;
}

.hp-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1090;
}

.hp-cart-overlay.is-open {
  opacity: 1;
}

.hp-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 92vw);
  height: 100vh;
  background: #fff;
  box-shadow: -14px 0 34px rgba(15, 23, 42, 0.2);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

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

.hp-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #ece5dc;
}

.hp-cart-drawer__head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.hp-cart-drawer__close {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  background: #f1efe8;
  color: #1f1a16;
  font-size: 1.1rem;
  line-height: 1;
}

.hp-cart-drawer__body {
  padding: 14px 16px 16px;
  overflow-y: auto;
  flex: 1;
}

.hp-cart-drawer .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-cart-drawer .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece7;
}

.hp-cart-drawer .woocommerce-mini-cart-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

.hp-cart-drawer .woocommerce-mini-cart__buttons .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.hp-static-home .hp-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hp-hero {
  padding: 40px 0 24px;
}

.hp-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hp-hero-copy,
.hp-hero-cards {
  background: var(--hp-paper);
  border-radius: 24px;
  box-shadow: var(--hp-shadow);
}

.hp-hero-copy {
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.hp-hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 95, 57, 0.25), rgba(217, 95, 57, 0));
  pointer-events: none;
}

.hp-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hp-accent-dark);
  font-weight: 700;
}

.hp-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.hp-hero-copy p {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hp-muted);
}

.hp-hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hp-btn:hover {
  transform: translateY(-2px);
}

.hp-btn-primary {
  background: var(--hp-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(217, 95, 57, 0.25);
}

.hp-btn-primary:hover {
  background: #c95431;
}

.hp-btn-secondary {
  background: transparent;
  border: 1px solid #d9d1c8;
  color: var(--hp-text);
}

.hp-hero-cards {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.hp-category-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--hp-text);
  background: linear-gradient(120deg, #fdf7ef 0%, #f8f1e8 100%);
  border: 1px solid #eee3d6;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hp-category-card:hover {
  transform: translateX(3px);
  border-color: #d9c1a8;
}

.hp-category-index {
  font-weight: 800;
  color: var(--hp-accent-dark);
  font-size: 0.8rem;
}

.hp-products {
  padding-top: 22px;
}

.hp-section-head {
  margin-bottom: 14px;
}

.hp-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hp-section-head p {
  margin: 8px 0 0;
  color: var(--hp-muted);
}

.hp-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hp-panel {
  background: var(--hp-paper);
  border-radius: 20px;
  box-shadow: var(--hp-shadow);
  padding: 16px;
}

.hp-panel h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.hp-panel ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hp-panel ul.products li.product {
  width: 100%;
  margin: 0;
}

.hp-static-home .hp-panel ul.products li.product.hp-product-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hp-static-home .hp-panel ul.products li.product.hp-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.13);
}

.hp-static-home .hp-product-card__media {
  position: relative;
  display: block;
  padding: 14px;
  border-bottom: 1px solid #f0ece7;
}

.hp-static-home .hp-product-card__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hp-static-home .hp-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.hp-static-home .hp-product-badge--sale {
  background: #b91c1c;
}

.hp-static-home .hp-product-badge--new {
  background: #0f766e;
}

.hp-static-home .hp-product-badge--stockout {
  top: 38px;
  background: #475569;
}

.hp-static-home .hp-product-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hp-static-home .hp-product-card__meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.hp-static-home .hp-panel ul.products li.product.hp-product-card .woocommerce-loop-product__title {
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 2.6em;
  margin: 0;
}

.hp-static-home .hp-panel ul.products li.product.hp-product-card .woocommerce-loop-product__title a {
  color: var(--hp-text);
  text-decoration: none;
}

.hp-static-home .hp-product-card__price {
  margin-top: auto;
  font-weight: 700;
}

.hp-static-home .hp-product-card__price.hp-product-card__price--sale {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.hp-static-home .hp-product-card__price.hp-product-card__price--sale .hp-price-row {
  line-height: 1.2;
}

.hp-static-home .hp-price-row--regular {
  color: #64748b;
  font-size: 0.84rem;
}

.hp-static-home .hp-price-row--regular .amount {
  text-decoration: line-through;
}

.hp-static-home .hp-price-row--sale {
  color: #b91c1c;
  font-size: 1rem;
  font-weight: 800;
}

.hp-static-home .hp-product-card__actions .button {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
}

.hp-static-home .hp-product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hp-static-home .hp-product-card__actions .added_to_cart {
  font-size: 0.82rem;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
}

.hp-static-home .hp-product-card__actions .added_to_cart:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .hp-static-home .hp-product-card__actions .button {
    width: 100%;
    flex-basis: 100%;
  }
}

.hp-panel ul.products.columns-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hp-panel ul.products.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-panel ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-panel ul.products.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-panel ul.products.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hp-panel ul.products.columns-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hp-panel ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.96rem;
  line-height: 1.35;
  min-height: 2.7em;
}

.hp-panel ul.products li.product .price {
  font-weight: 700;
}

.hp-benefits {
  padding-top: 20px;
}

.hp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hp-benefit-card {
  background: #211d1a;
  color: #fefcf8;
  border-radius: 18px;
  padding: 20px;
}

.hp-benefit-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hp-benefit-card p {
  margin: 8px 0 0;
  color: #ddd5ce;
}

.hp-info {
  padding-top: 20px;
}

.hp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hp-info-col {
  background: var(--hp-paper);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--hp-shadow);
}

.hp-info-col h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.hp-info-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-info-col li + li {
  margin-top: 8px;
}

.hp-info-col a {
  color: var(--hp-text);
  text-decoration: none;
}

.hp-info-col a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .hp-hero-inner {
    grid-template-columns: 1fr;
  }

  .hp-panel ul.products.columns-6,
  .hp-panel ul.products.columns-5,
  .hp-panel ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-benefits-grid,
  .hp-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .hp-static-home .hp-wrap {
    width: min(1200px, calc(100% - 20px));
  }

  .hp-hero-copy {
    padding: 26px 20px;
  }

  .hp-hero-actions {
    flex-direction: column;
  }

  .hp-btn {
    width: 100%;
  }

  .hp-panel ul.products.columns-6,
  .hp-panel ul.products.columns-5,
  .hp-panel ul.products.columns-4,
  .hp-panel ul.products.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-panel ul.products.columns-2,
  .hp-panel ul.products.columns-1 {
    grid-template-columns: 1fr;
  }

  .hp-benefits-grid,
  .hp-info-grid {
    grid-template-columns: 1fr;
  }
}
