/* Hugs2Hold Frontend Styles - Artistic Flair Design System */
:root {
  --h2h-bg: #FDFBF7;
  --h2h-card: #FFFFFF;
  --h2h-cream: #F5F2ED;
  --h2h-border: #E5E1D8;
  --h2h-espresso: #3E362E;
  --h2h-brown: #5C4F44;
  --h2h-muted: #7D6B5D;
  --h2h-terracotta: #C98B6D;
  --h2h-terracotta-hover: #B5795C;
  --h2h-sage: #8A9A8C;
}

.h2h-section * { box-sizing: border-box; }
.h2h-section {
  padding: 60px 20px;
  background-color: var(--h2h-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--h2h-espresso);
}
.h2h-container {
  max-width: 1200px;
  margin: 0 auto;
}
.h2h-container.h2h-narrow {
  max-width: 800px;
}

/* Typography & Headings */
.h2h-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h2h-terracotta);
  margin-bottom: 10px;
  display: block;
}
.h2h-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--h2h-espresso);
  margin: 0 0 14px 0;
}
@media (min-width: 768px) {
  .h2h-title { font-size: 42px; }
}
.h2h-subtitle {
  font-size: 15px;
  color: var(--h2h-muted);
  line-height: 1.6;
  margin: 0;
}
.h2h-italic-accent {
  font-style: italic;
  color: var(--h2h-terracotta);
}
.h2h-header-area {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* HERO SECTION */
.h2h-hero-section {
  padding: 50px 20px 40px 20px;
  background-color: var(--h2h-bg);
}
.h2h-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .h2h-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}
.h2h-hero-h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.18;
  color: var(--h2h-espresso);
  margin: 0 0 18px 0;
}
@media (min-width: 768px) {
  .h2h-hero-h1 { font-size: 54px; }
}
.h2h-hero-p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--h2h-muted);
  margin: 0 0 24px 0;
}
.h2h-block-strong {
  display: block;
  margin-top: 8px;
  color: var(--h2h-brown);
}
.h2h-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.h2h-btn-primary {
  background: var(--h2h-terracotta);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 139, 109, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.h2h-btn-primary:hover {
  background: var(--h2h-terracotta-hover);
  transform: translateY(-2px);
}
.h2h-btn-secondary {
  background: #FFFFFF;
  color: var(--h2h-espresso);
  border: 1px solid var(--h2h-border);
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.h2h-btn-secondary:hover {
  background: var(--h2h-cream);
}
.h2h-hero-guide-link {
  font-size: 13px;
  color: var(--h2h-muted);
}
.h2h-hero-guide-link a {
  color: var(--h2h-espresso);
  text-decoration: none;
}
.h2h-link-highlight {
  color: var(--h2h-terracotta);
  font-weight: 600;
  text-decoration: underline;
}

/* Hero Cards */
.h2h-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.h2h-hero-mini-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 24px;
  padding: 16px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.h2h-hero-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--h2h-cream);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}
.h2h-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h2h-mini-title {
  font-family: "Georgia", serif;
  font-size: 15px;
  margin: 0 0 6px 0;
  color: var(--h2h-espresso);
}
.h2h-mini-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h2h-mini-price {
  font-family: "Georgia", serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--h2h-espresso);
}
.h2h-mini-arrow-btn {
  background: var(--h2h-cream);
  border: 1px solid var(--h2h-border);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--h2h-espresso);
}

/* TRUST STRIP */
.h2h-trust-strip {
  background-color: #F5F2ED;
  border: 1px solid #E5E1D8;
  border-radius: 24px;
  padding: 18px 24px;
  margin: 20px auto;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .h2h-trust-strip {
    flex-direction: row;
    padding: 20px 32px;
    border-radius: 28px;
  }
}
.h2h-trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}
@media (min-width: 768px) {
  .h2h-trust-items {
    justify-content: flex-start;
    gap: 32px;
  }
}
.h2h-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.h2h-trust-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: #8A9A8C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.h2h-trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7D6B5D;
}
.h2h-trust-badge-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.h2h-star-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #8A9A8C;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.h2h-star-text {
  font-size: 12px;
  font-weight: 500;
  color: #5C4F44;
}

/* 2-PRODUCT SHOWCASE */
.h2h-product-wrapper {
  padding: 40px 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.h2h-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .h2h-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.h2h-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 36px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.h2h-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.h2h-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--h2h-sage);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 2;
}
.h2h-badge.bunny { background: #D9A18B; }

.h2h-img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--h2h-cream);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.h2h-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h2h-size-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
}
.h2h-prod-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.h2h-prod-title {
  font-family: "Georgia", serif;
  font-size: 24px;
  color: var(--h2h-espresso);
  margin: 0;
}
.h2h-prod-price {
  font-family: "Georgia", serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--h2h-espresso);
}
.h2h-prod-desc {
  font-size: 14px;
  color: var(--h2h-muted);
  line-height: 1.5;
  margin: 0 0 18px 0;
}
.h2h-jacket-box {
  background: var(--h2h-cream);
  border: 1px solid var(--h2h-border);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 20px;
}
.h2h-jacket-box-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h2h-brown);
  margin-bottom: 8px;
}
.h2h-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.h2h-feature-list li {
  font-size: 12px;
  color: var(--h2h-muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.h2h-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--h2h-sage);
  font-weight: bold;
}
.h2h-req-badge {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--h2h-brown);
}
.h2h-cta-btn {
  width: 100%;
  background: var(--h2h-terracotta);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 139, 109, 0.35);
  transition: all 0.2s ease;
}
.h2h-cta-btn:hover {
  background: var(--h2h-terracotta-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   GLOBAL SINGLE PRODUCT CUSTOMIZER MODULE
   ========================================================================== */
.h2h-single-customizer-wrap {
  margin: 24px 0 32px 0;
  width: 100%;
}
.h2h-single-customizer-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.h2h-single-header {
  border-bottom: 1px solid var(--h2h-cream);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.h2h-single-title {
  font-family: "Georgia", serif;
  font-size: 24px;
  color: var(--h2h-espresso);
  margin: 4px 0 8px 0;
}
.h2h-single-desc {
  font-size: 14px;
  color: var(--h2h-muted);
  line-height: 1.5;
  margin: 0;
}
.h2h-single-footer {
  background: var(--h2h-cream);
  border-radius: 18px;
  padding: 20px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 600px) {
  .h2h-single-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.h2h-single-price-box {
  display: flex;
  flex-direction: column;
}
.h2h-single-price-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h2h-muted);
}
.h2h-single-price-val {
  font-family: "Georgia", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--h2h-espresso);
}
.h2h-single-submit-btn {
  background: var(--h2h-terracotta) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 16px 28px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(201, 139, 109, 0.35) !important;
  transition: all 0.2s ease !important;
}
.h2h-single-submit-btn:hover {
  background: var(--h2h-terracotta-hover) !important;
  transform: translateY(-2px);
}

/* Single Product Guarantee Bar */
.h2h-single-guarantee-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px 0;
}
.h2h-guarantee-pill {
  background: var(--h2h-cream);
  border: 1px solid var(--h2h-border);
  border-radius: 50px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--h2h-brown);
}
.h2h-pill-icon {
  font-size: 14px;
}

/* ==========================================================================
   INTERACTIVE SPECIAL REQUEST & CONTACT FORM
   ========================================================================== */
.h2h-form-container {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.h2h-form-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.h2h-form-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px auto;
}
.h2h-form-h3 {
  font-family: "Georgia", serif;
  font-size: 30px;
  color: var(--h2h-espresso);
  margin: 0 0 10px 0;
}
.h2h-form-sub {
  font-size: 14px;
  color: var(--h2h-muted);
  line-height: 1.6;
  margin: 0;
}
.h2h-form-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .h2h-form-2col {
    grid-template-columns: 1fr 1fr;
  }
}
.h2h-form-btn {
  width: 100%;
  background: var(--h2h-terracotta);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 139, 109, 0.3);
  transition: all 0.2s;
  margin-top: 10px;
}
.h2h-form-btn:hover {
  background: var(--h2h-terracotta-hover);
}
.h2h-form-privacy-note {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--h2h-muted);
  margin-top: 14px;
}
.h2h-form-alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.h2h-form-alert.success {
  background: #EBF3ED;
  border: 1px solid #C4D9C7;
  color: #2F5A38;
}
.h2h-form-alert.error {
  background: #FDF2F2;
  border: 1px solid #F3C4C4;
  color: #8C2E2E;
}

/* ==========================================================================
   OTHER SECTIONS (GUIDE, STORY, STEPS, REVIEWS, FAQ)
   ========================================================================== */
.h2h-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.h2h-guide-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 20px;
  padding: 24px;
}
.h2h-guide-tag {
  background: var(--h2h-cream);
  color: var(--h2h-brown);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}
.h2h-guide-title {
  font-family: "Georgia", serif;
  font-size: 18px;
  margin: 0 0 8px 0;
  color: var(--h2h-espresso);
}
.h2h-guide-desc {
  font-size: 13px;
  color: var(--h2h-muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
}
.h2h-guide-req {
  font-size: 11px;
  font-weight: 600;
  color: var(--h2h-terracotta);
}

/* STORY */
.h2h-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .h2h-story-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}
.h2h-story-frame {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.h2h-story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.h2h-photo-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 6px;
}
.h2h-photo-item span {
  display: block;
  font-size: 11px;
  color: var(--h2h-muted);
  text-align: center;
}
.h2h-story-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--h2h-brown);
  border-top: 1px solid var(--h2h-cream);
  padding-top: 10px;
}
.h2h-story-quote {
  border-left: 3px solid var(--h2h-terracotta);
  margin: 20px 0;
  padding: 10px 0 10px 18px;
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--h2h-brown);
}
.h2h-story-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--h2h-muted);
  margin-bottom: 14px;
}
.h2h-founder-signoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.h2h-founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--h2h-terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}
.h2h-founder-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
}
.h2h-founder-role {
  display: block;
  font-size: 12px;
  color: var(--h2h-muted);
}

/* 4-STEP JOURNEY */
.h2h-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.h2h-step-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 24px;
  padding: 24px;
}
.h2h-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.h2h-step-num {
  font-family: "Georgia", serif;
  font-size: 24px;
  color: var(--h2h-terracotta);
  font-weight: bold;
}
.h2h-step-icon {
  font-size: 20px;
}
.h2h-step-title {
  font-family: "Georgia", serif;
  font-size: 18px;
  margin: 0 0 4px 0;
  color: var(--h2h-espresso);
}
.h2h-step-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--h2h-terracotta);
  margin-bottom: 10px;
}
.h2h-step-desc {
  font-size: 13px;
  color: var(--h2h-muted);
  line-height: 1.5;
  margin: 0;
}

/* REVIEWS */
.h2h-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.h2h-review-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 24px;
  padding: 24px;
}
.h2h-review-stars {
  color: #D9A18B;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.h2h-review-quote {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--h2h-brown);
  margin: 0 0 16px 0;
}
.h2h-review-footer {
  font-size: 12px;
  color: var(--h2h-muted);
}
.h2h-review-footer strong {
  color: var(--h2h-espresso);
}

/* FAQ */
.h2h-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.h2h-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 16px;
  padding: 18px 20px;
}
.h2h-faq-q {
  font-family: "Georgia", serif;
  font-size: 16px;
  color: var(--h2h-espresso);
  cursor: pointer;
  font-weight: 600;
}
.h2h-faq-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--h2h-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--h2h-cream);
}

/* CONTACT */
.h2h-contact-box {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 28px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.h2h-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.h2h-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.h2h-contact-icon {
  font-size: 24px;
}
.h2h-contact-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--h2h-muted);
}
.h2h-contact-row a {
  font-size: 16px;
  font-weight: 600;
  color: var(--h2h-terracotta);
  text-decoration: none;
}

/* POPUP MODAL BUILDER */
.h2h-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(62, 54, 46, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.h2h-modal-overlay.active {
  display: flex;
}
.h2h-modal {
  background: var(--h2h-bg);
  border: 1px solid var(--h2h-border);
  border-radius: 28px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  position: relative;
}
.h2h-modal-header {
  background: var(--h2h-cream);
  border-bottom: 1px solid var(--h2h-border);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.h2h-modal-title {
  font-family: "Georgia", serif;
  font-size: 20px;
  color: var(--h2h-espresso);
  margin: 0;
}
.h2h-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--h2h-muted);
  line-height: 1;
}
.h2h-modal-body {
  padding: 24px;
}
.h2h-form-group {
  margin-bottom: 18px;
}
.h2h-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--h2h-brown);
  margin-bottom: 6px;
}
.h2h-input, .h2h-select, .h2h-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--h2h-border);
  border-radius: 12px;
  font-size: 13px;
  background: #FFFFFF;
  color: var(--h2h-espresso);
  font-family: inherit;
}
.h2h-input:focus, .h2h-select:focus, .h2h-textarea:focus {
  outline: none;
  border-color: var(--h2h-terracotta);
  box-shadow: 0 0 0 2px rgba(201, 139, 109, 0.2);
}
.h2h-checkbox-card {
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.h2h-checkbox-card:hover {
  background: var(--h2h-cream);
}
.h2h-checkbox-card.selected {
  border-color: var(--h2h-terracotta);
  background: #FFFDF9;
}
.h2h-addon-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.h2h-addon-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--h2h-espresso);
}
.h2h-addon-description {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: #7D6B5D;
}
.h2h-checkbox-card.is-included {
  border-color: #8A9A8C;
  background: #F2F7F3;
}
.h2h-checkbox-card.is-included .h2h-addon-price {
  color: #4A6B53;
  font-weight: 700;
}
.h2h-checkbox-card[hidden],
.h2h-variation-picker[hidden] {
  display: none !important;
}
.h2h-addon-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--h2h-terracotta);
  flex: 0 0 auto;
}
.h2h-modal-footer {
  background: var(--h2h-cream);
  border-top: 1px solid var(--h2h-border);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  bottom: 0;
  z-index: 10;
}
@media (min-width: 600px) {
  .h2h-modal-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.h2h-total-display {
  font-size: 13px;
  color: var(--h2h-muted);
}
.h2h-total-num {
  font-family: "Georgia", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--h2h-espresso);
  margin-left: 6px;
}
.h2h-submit-btn {
  background: var(--h2h-terracotta);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.h2h-submit-btn:hover {
  background: var(--h2h-terracotta-hover);
}

/* File Upload Dropzone & Photo Gallery */
.h2h-upload-field {
  margin-top: 10px;
}
.h2h-upload-dropzone {
  border: 2px dashed var(--h2h-border);
  border-radius: 14px;
  background: #FCFAF6;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}
.h2h-upload-dropzone.drag-over {
  border-color: var(--h2h-terracotta);
  background: #FFFDF9;
}
.h2h-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.h2h-upload-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.h2h-upload-icon {
  font-size: 28px;
}
.h2h-upload-text {
  font-size: 14px;
  color: var(--h2h-espresso);
}
.h2h-upload-subtext {
  font-size: 11px;
  color: var(--h2h-muted);
}
.h2h-upload-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.h2h-upload-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--h2h-border);
  border-radius: 10px;
  padding: 8px 12px;
}
.h2h-upload-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--h2h-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.h2h-upload-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.h2h-upload-filename {
  font-size: 13px;
  font-weight: 600;
  color: var(--h2h-espresso);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h2h-upload-filesize {
  font-size: 11px;
  color: var(--h2h-muted);
}
.h2h-upload-remove {
  background: none;
  border: none;
  font-size: 20px;
  color: #b32d2e;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.h2h-upload-remove:hover {
  background: #FDF2F2;
}
/* -------------------------------------------------------------------------
   Hugs2Hold 2.0: WooCommerce modules, variation cards and responsive polish
   ------------------------------------------------------------------------- */

.h2h-wc-grid-section,
.h2h-product-gallery,
.h2h-product-summary,
.h2h-single-customizer-wrap,
.h2h-modal {
  box-sizing: border-box;
}

.h2h-wc-grid-section *,
.h2h-product-gallery *,
.h2h-product-summary *,
.h2h-single-customizer-wrap *,
.h2h-modal * {
  box-sizing: border-box;
}

.h2h-wc-grid-section {
  width: min(100%, 1320px);
  margin-inline: auto;
  color: var(--h2h-ink, #3e362e);
}

.h2h-wc-grid-header {
  max-width: 760px;
  margin: 0 auto clamp(26px, 4vw, 48px);
  text-align: center;
}

.h2h-wc-grid-header h2 {
  margin: 8px 0 12px;
  padding: 0;
  color: var(--h2h-ink, #3e362e);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
}

.h2h-wc-grid-header p {
  margin: 0;
  padding: 0;
  color: #746255;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
}

.h2h-wc-grid {
  display: grid;
  grid-template-columns: repeat(var(--h2h-cols-desktop, 4), minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.h2h-wc-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e5e1d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(62, 54, 46, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.h2h-wc-card:hover {
  border-color: var(--h2h-primary, #c68060);
  box-shadow: 0 18px 45px rgba(62, 54, 46, .12);
  transform: translateY(-5px);
}

.h2h-wc-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--h2h-surface, #fdfbf7);
}

.h2h-wc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}

.h2h-wc-card:hover .h2h-wc-card-image img { transform: scale(1.035); }

.h2h-wc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--h2h-accent, #fb7185);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.h2h-wc-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: clamp(18px, 2vw, 24px);
}

.h2h-wc-category,
.h2h-wc-category a {
  margin-bottom: 7px;
  color: var(--h2h-primary, #c68060);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.h2h-wc-card h3 {
  margin: 0 0 9px;
  padding: 0;
  color: var(--h2h-ink, #3e362e);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.22;
}

.h2h-wc-card h3 a { color: inherit; }

.h2h-wc-price {
  margin-bottom: 12px;
  color: var(--h2h-primary, #c68060);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.h2h-wc-price del { opacity: .6; font-size: .8em; }
.h2h-wc-price ins { text-decoration: none; }

.h2h-wc-card-body > p {
  margin: 0 0 20px;
  padding: 0;
  color: #746255;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.h2h-wc-card-button,
button.h2h-wc-card-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--h2h-primary, #c68060);
  border-radius: 999px;
  background: var(--h2h-primary, #c68060);
  color: #fff !important;
  cursor: pointer;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

.h2h-wc-card-button:hover,
.h2h-wc-card-button:focus-visible {
  background: var(--h2h-ink, #3e362e);
  border-color: var(--h2h-ink, #3e362e);
}

.h2h-empty-module {
  padding: 24px;
  border: 1px dashed var(--h2h-primary, #c68060);
  border-radius: 14px;
  background: var(--h2h-surface, #fdfbf7);
  color: #746255;
  font: 600 13px/1.6 Montserrat, Arial, sans-serif;
  text-align: center;
}

.h2h-product-gallery {
  width: 100%;
  max-width: 760px;
}

.h2h-product-gallery-main {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #e5e1d8;
  border-radius: clamp(14px, 2vw, 22px);
  background: var(--h2h-surface, #fdfbf7);
}

.h2h-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.h2h-product-gallery-main > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(62, 54, 46, .88);
  color: #fff;
  font: 700 10px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.h2h-product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

button.h2h-product-gallery-thumb {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--h2h-surface, #fdfbf7);
  cursor: pointer;
  opacity: .72;
}

button.h2h-product-gallery-thumb.is-active,
button.h2h-product-gallery-thumb:focus-visible {
  border-color: var(--h2h-primary, #c68060);
  opacity: 1;
}

.h2h-product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.h2h-product-summary {
  width: 100%;
  max-width: 740px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #e5e1d8;
  border-radius: clamp(16px, 2vw, 24px);
  background: #fff;
  color: var(--h2h-ink, #3e362e);
}

.h2h-product-summary h1 {
  margin: 8px 0 14px;
  padding: 0;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
}

.h2h-product-summary-price {
  margin-bottom: 12px;
  color: var(--h2h-primary, #c68060);
  font: 800 clamp(22px, 3vw, 31px)/1.2 Montserrat, Arial, sans-serif;
}

.h2h-product-stock { margin-bottom: 16px; font: 700 12px/1.4 Montserrat, Arial, sans-serif; }
.h2h-product-stock.is-in-stock { color: #4a6b53; }
.h2h-product-stock.is-out-of-stock { color: #a13f47; }
.h2h-product-stock p { margin: 0; padding: 0; }

.h2h-product-summary-description {
  margin-bottom: 22px;
  color: #65584e;
  font: 400 15px/1.75 Montserrat, Arial, sans-serif;
}

.h2h-product-summary-description p:last-child { padding-bottom: 0; }

button.h2h-product-summary-button {
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--h2h-primary, #c68060);
  color: #fff;
  cursor: pointer;
  font: 800 14px/1.2 Montserrat, Arial, sans-serif;
}

button.h2h-product-summary-button:hover,
button.h2h-product-summary-button:focus-visible { background: var(--h2h-ink, #3e362e); }
button.h2h-product-summary-button:disabled { cursor: not-allowed; opacity: .55; }

.h2h-product-summary-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 17px;
  color: #746255;
  font: 700 10px/1.4 Montserrat, Arial, sans-serif;
  text-transform: uppercase;
}

.h2h-product-summary-trust span::before { content: "✓"; margin-right: 5px; color: var(--h2h-primary, #c68060); }

.h2h-variation-picker {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.h2h-variation-picker legend { width: 100%; margin-bottom: 10px; }
.h2h-variation-cards { display: grid; gap: 10px; }

.h2h-variation-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #ddd4cb;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.h2h-variation-card.is-selected,
.h2h-variation-card:focus-within {
  border-color: var(--h2h-primary, #c68060);
  background: color-mix(in srgb, var(--h2h-surface, #fdfbf7) 80%, #fff);
  box-shadow: 0 0 0 2px rgba(198, 128, 96, .12);
}

.h2h-variation-card input { width: 18px; height: 18px; accent-color: var(--h2h-primary, #c68060); }
.h2h-variation-card > span { min-width: 0; }
.h2h-variation-card strong { display: block; color: var(--h2h-ink, #3e362e); font: 800 13px/1.35 Montserrat, Arial, sans-serif; }
.h2h-variation-card small { display: block; margin-top: 4px; color: #746255; font: 400 11px/1.45 Montserrat, Arial, sans-serif; }
.h2h-variation-card > b { color: var(--h2h-primary, #c68060); font: 800 14px/1.2 Montserrat, Arial, sans-serif; white-space: nowrap; }
.h2h-variation-card input:disabled + span { opacity: .5; }

.h2h-cart-alert {
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  font: 700 12px/1.5 Montserrat, Arial, sans-serif;
}

.h2h-cart-alert.is-error { background: #fff0f1; color: #8f2e36; }
.h2h-cart-alert.is-success { background: #edf7ef; color: #365d40; }
.h2h-cart-alert[hidden] { display: none !important; }
.h2h-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.h2h-customizer-form button:disabled { cursor: wait; opacity: .65; }

.h2h-modal-overlay[aria-hidden="true"] { visibility: hidden; }
.h2h-modal-overlay.active[aria-hidden="false"] { visibility: visible; }

@media (max-width: 980px) {
  .h2h-wc-grid { grid-template-columns: repeat(var(--h2h-cols-tablet, 2), minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .h2h-wc-grid { grid-template-columns: repeat(var(--h2h-cols-mobile, 1), minmax(0, 1fr)); }
  .h2h-wc-grid-header { text-align: left; }
  .h2h-product-summary { padding: 24px 20px; }
  .h2h-product-summary-trust { display: grid; }
  .h2h-variation-card { grid-template-columns: auto minmax(0, 1fr); }
  .h2h-variation-card > b { grid-column: 2; }
  .h2h-product-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h2h-embroidery-inputs { grid-template-columns: 1fr !important; }
  .h2h-single-customizer-card { padding: 20px 16px; border-radius: 20px; }
  .h2h-modal-overlay { padding: 0; align-items: stretch; }
  .h2h-modal { max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .h2h-modal-body { padding: 20px 16px; }
  .h2h-modal-header,
  .h2h-modal-footer { padding-left: 16px; padding-right: 16px; }
  .h2h-checkbox-card { align-items: flex-start; gap: 12px; }
}

@media (max-width: 420px) {
  .h2h-wc-grid-section[style*="--h2h-cols-mobile:2"] .h2h-wc-card-body { padding: 13px; }
  .h2h-wc-grid-section[style*="--h2h-cols-mobile:2"] .h2h-wc-card h3 { font-size: 17px; }
  .h2h-wc-grid-section[style*="--h2h-cols-mobile:2"] .h2h-wc-card-body > p { display: none; }
  .h2h-product-gallery-main > span { display: none; }
}
