/* ==========================================================================
   Fonts
   ========================================================================== */


@font-face {
  font-family: 'Kyivtypetitling';
  src: url('./assets/fonts/KyivTypeTitling-Medium.woff2') format('woff2'),
       url('./assets/fonts/KyivTypeTitling-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FixelText';
  src: url('./assets/fonts/FixelText-Regular.woff2') format('woff2'),
       url('./assets/fonts/FixelText-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --color-red:       #831B1B;
  --color-dark:      #201512;
  --color-light:     var(--color-off-white);
  --color-off-white: #F5F5F3;
  --font-title: 'Kyivtypetitling', Impact, sans-serif;
}

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

/* === Shared layout wrapper: 1200 px centred container ============= */
.hanna-hero-wrapper,
.hanna-contacts-wrapper,
.hanna-faq-wrapper,
.hanna-about-wrapper,
.hanna-featured-wrapper,
.hanna-product-hero-wrapper,
.hanna-product-content-wrapper,
.hanna-spiv-wrapper,
.hanna-legal-wrapper,
.hanna-ty-wrapper,
.hanna-subscription-wrapper,
.hanna-jc-wrapper {
  width: 1200px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

:root :where(.is-layout-constrained) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

figure { margin: 0; }

body { -webkit-font-smoothing: antialiased; }

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

a { transition: color 0.2s ease; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #E0E0E0;
  background-color: var(--color-off-white) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 10px 20px !important;
}

.site-logo-img img {
  height: 36px !important;
  width: auto !important;
  max-width: none !important;
}

.wp-block-woocommerce-mini-cart,
.wp-block-woocommerce-customer-account,
.wc-block-mini-cart,
.wc-block-customer-account {
  display: none !important;
}

.site-nav a.wp-block-navigation-item__content:hover {
  color: var(--color-red) !important;
}

.site-nav .nav-cta > .wp-block-navigation-item__content {
  border: 1px solid var(--color-red) !important;
  color: var(--color-red) !important;
  padding: 0.5rem 1rem !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-cta > .wp-block-navigation-item__content:hover {
  background-color: var(--color-red) !important;
  color: #fff !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  color: var(--color-light) !important;
  font-size: 16px !important;
  margin-top: 60px !important;
  margin-bottom: 60px !important;
}

.site-footer .footer-columns {
  align-items: flex-start !important;
}

.site-footer a {
  color: var(--color-light);
  margin: 0 !important;
  text-decoration: none !important;
}

.site-footer a:hover {
  color: var(--color-light);
  text-decoration: underline !important;
}

.footer-legal-text {
  color: var(--color-light);
  line-height: 1.7;
  margin: 0 !important;
}

.footer-wordmark-wrap {
  line-height: 0;
  width: calc(100% - 20px) !important;
  max-width: calc(100% - 20px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 60px !important;
  margin-bottom: 20px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.footer-wordmark-img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  max-width: 100% !important;
}

.footer-copyright-row {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 20px !important;
  width: 100% !important;
}

.footer-copyright-left,
.footer-copyright-right {
  color: var(--color-light) !important;
  margin: 0 !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: 'FixelText', Arial, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button.is-style-outline .wp-element-button {
  background-color: transparent;
  color: #111111 !important;
  border: 1px solid #111111;
}

.wp-block-button.is-style-outline .wp-element-button:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff !important;
}

/* ── Loading spinner (shared across all action buttons) ── */
@keyframes hanna-spin {
  to { transform: rotate(360deg); }
}

.hanna-is-loading {
  pointer-events: none !important;
  transition: none !important;
}

.hanna-btn-spinner {
  display: inline-block;
  vertical-align: middle;
  animation: hanna-spin 0.65s linear infinite;
}

/* Shared custom buttons */
.hanna-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-family: 'FixelText', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none !important;
  box-sizing: border-box;
  margin: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hanna-btn--inline {
  display: inline-block;
  width: auto;
  white-space: nowrap;
}

/* Red solid — on dark or light backgrounds */
.hanna-btn--red {
  background-color: var(--color-red);
  border: 1px solid var(--color-red);
  color: var(--color-light) !important;
}
.hanna-btn--red:hover {
  background-color: var(--color-off-white);
  border-color: var(--color-dark);
  color: var(--color-dark) !important;
}

/* Outline on dark backgrounds */
.hanna-btn--outline-light {
  background-color: transparent;
  border: 1px solid var(--color-light);
  color: var(--color-light) !important;
}
.hanna-btn--outline-light:hover {
  background-color: var(--color-off-white);
  border-color: var(--color-off-white);
  color: var(--color-dark) !important;
}

/* Outline on light/red backgrounds */
.hanna-btn--outline-dark {
  background-color: var(--color-light);
  border: 1px solid #c8c8c8;
  color: var(--color-dark) !important;
}
.hanna-btn--outline-dark:hover {
  background-color: var(--color-dark);
  border-color: var(--color-red);
  color: var(--color-light) !important;
}

/* ==========================================================================
   WooCommerce prices & badges
   ========================================================================== */

.woocommerce-Price-amount,
.price {
  font-family: 'FixelText', Arial, sans-serif;
  font-weight: 500;
  color: #111111;
}

del .woocommerce-Price-amount {
  color: #6B6B6B;
  font-weight: 400;
}

ins { text-decoration: none; }

.woocommerce span.onsale {
  background-color: var(--color-red);
  border-radius: 0;
  min-height: auto;
  line-height: 1.5;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hanna-hero-section {
  background-color: var(--color-dark);
  padding-top: 20px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}


.hanna-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.hanna-hero-col {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.hanna-hero-col--red   { background-color: var(--color-red); }
.hanna-hero-col--light { background-color: var(--color-off-white); color: var(--color-dark); }

.hanna-hero-photo-col {
  overflow: hidden;
}

.hanna-hero-photo,
.hanna-hero-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 500px;
}

.hanna-hero-photo-placeholder { background-color: #444; }

.hanna-hero-col-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hanna-hero-h1 { flex: 1; }

.hanna-hero-h1 {
  display: block;
  margin: 0 0 20px !important;
  font-size: inherit !important;
}

.hanna-hero-lead,
.hanna-hero-tail {
  display: block;
  font-family: 'FixelText', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--color-light) !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

.hanna-hero-title-main {
  display: block;
  font-family: var(--font-title) !important;
  font-size: 58px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  margin: 8px 0 !important;
}

.hanna-hero-desc {
  color: var(--color-light) !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 !important;
}

.hanna-hero-products-label {
  color: var(--color-dark) !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 16px !important;
}

.hanna-hero-product-img {
  width: 100%;
  height: auto;
  display: block;
}

.hanna-hero-product-placeholder {
  width: 100%;
  height: 300px;
  background-color: #ccc;
}

.hanna-hero-col-footer { margin-top: 40px; }

.hanna-hero-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 32px;
  color: var(--color-light);
  font-family: 'FixelText', Arial, sans-serif;
  font-size: 18px;
}

.hanna-hero-scroll-arrow {
  font-size: 22px;
  line-height: 1;
  color: var(--color-red);
  transform: rotate(90deg);
  display: inline-block;
}

.hanna-hero-btn { font-size: 20px; }

/* ==========================================================================
   Contacts Section
   ========================================================================== */

.hanna-contacts-section {
  background-color: var(--color-light);
  padding-top: 60px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}


.hanna-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 20px;
}

/* Photo spans all 3 rows in column 2 */
.hanna-contacts-photo-col {
  grid-column: 2;
  grid-row: 1 / 4;
  overflow: hidden;
}

.hanna-contacts-photo,
.hanna-contacts-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hanna-contacts-photo-placeholder {
  background-color: #888;
  min-height: 600px;
}

/* Card placement */
.hc-c1-r1 { grid-column: 1; grid-row: 1; }
.hc-c1-r2 { grid-column: 1; grid-row: 2; }
.hc-c1-r3 { grid-column: 1; grid-row: 3; }
.hc-c3-r1 { grid-column: 3; grid-row: 1; }
.hc-c3-r2 { grid-column: 3; grid-row: 2; }
.hc-c3-r3 { grid-column: 3; grid-row: 3; }

.hanna-contacts-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.hanna-contacts-card--red  { background-color: var(--color-red); }
.hanna-contacts-card--dark { background-color: var(--color-dark); }

.hanna-contacts-card-body {
  flex: 1;
}

.hanna-contacts-card-title {
  font-family: var(--font-title) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 16px !important;
  line-height: 1.2 !important;
}

.hanna-contacts-card-text {
  color: var(--color-light) !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 8px !important;
}

.hanna-contacts-card-footer {
  margin-top: 40px;
}

.hanna-contacts-btn { font-size: 20px; }

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.hanna-faq-section {
  background-color: var(--color-dark);
  padding-top: 60px;
  padding-bottom: 60px;
}


.hanna-faq-title-bar {
  background-color: var(--color-red);
  padding: 20px;
  margin-bottom: 20px;
}

.hanna-faq-title {
  font-family: var(--font-title) !important;
  font-size: 52px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.hanna-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hanna-faq-card {
  background-color: var(--color-light);
  padding: 20px;
  color: var(--color-dark);
}

.hanna-faq-card-title {
  font-family: var(--font-title) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
}

.hanna-faq-card-answer {
  font-size: 18px;
  color: var(--color-dark);
  margin: 0 !important;
  line-height: 1.6;
}

/* ==========================================================================
   Subscription section (Jewelry Club)
   ========================================================================== */

.hanna-subscription-section {
  background-color: var(--color-light);
  padding-top: 40px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}

.hanna-subscription-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background-color: var(--color-dark);
}

.hanna-subscription-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.hanna-subscription-label {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-red);
  color: var(--color-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.hanna-subscription-title {
  font-family: var(--font-title) !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 20px !important;
  line-height: 1.15 !important;
}

.hanna-subscription-desc {
  color: var(--color-light) !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 !important;
  opacity: 0.9;
}

.hanna-subscription-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.hanna-subscription-price {
  color: var(--color-light);
  white-space: nowrap;
}

.hanna-subscription-price-value {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 500;
}

.hanna-subscription-price-period {
  font-size: 16px;
  opacity: 0.7;
  margin-left: 2px;
}

.hanna-subscription-btn {
  font-size: 18px;
}

.hanna-subscription-benefits {
  background-color: var(--color-red);
  padding: 48px;
}

.hanna-subscription-benefits-title {
  font-family: var(--font-title) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 20px !important;
  line-height: 1.3 !important;
}

.hanna-subscription-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hanna-subscription-benefits-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-light);
  font-size: 16px;
  line-height: 1.5;
}

.hanna-subscription-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--color-light);
}

/* ==========================================================================
   Jewelry Club page
   ========================================================================== */

.hanna-jc-section-dark,
.hanna-jc-section-light {
  padding-top: 40px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}

.hanna-jc-section-dark { background-color: var(--color-dark); }
.hanna-jc-section-light { background-color: var(--color-light); }

/* Shared: section title used on dark and light sections alike */
.hanna-jc-title-bar {
  margin-bottom: 40px;
}

.hanna-jc-title-bar-text {
  font-family: var(--font-title) !important;
  font-size: 56px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.hanna-jc-title-bar-text--dark {
  color: var(--color-dark) !important;
}

/* Screen 1 — Hero */
.hanna-jc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  min-height: 520px;
}

.hanna-jc-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.hanna-jc-label {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--color-red);
  color: var(--color-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.hanna-jc-hero-title {
  font-family: var(--font-title) !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 20px !important;
  line-height: 1.15 !important;
}

.hanna-jc-hero-desc {
  color: var(--color-light) !important;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 !important;
  opacity: 0.9;
}

.hanna-jc-hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.hanna-jc-hero-price {
  color: var(--color-light);
  white-space: nowrap;
}

.hanna-jc-hero-price-value {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 500;
}

.hanna-jc-hero-price-period {
  font-size: 16px;
  opacity: 0.7;
  margin-left: 2px;
}

.hanna-jc-hero-btn { font-size: 18px; }

.hanna-jc-social-proof {
  color: var(--color-light);
  opacity: 0.75;
  font-size: 14px;
  margin: 20px 0 0 !important;
}

.hanna-jc-hero-image {
  position: relative;
  overflow: hidden;
}

.hanna-jc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(55%) contrast(1.05);
}

.hanna-jc-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-red);
  opacity: 0.45;
}

/* Screen 2 — Що таке Jewelry Club */
.hanna-jc-about-title {
  font-size: 56px !important;
  margin: 0 0 30px !important;
}

.hanna-jc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hanna-jc-about-col {
  padding: 24px;
  color: var(--color-light);
}

.hanna-jc-about-col--dark { background-color: var(--color-dark); }
.hanna-jc-about-col--red  { background-color: var(--color-red); }

.hanna-jc-about-lead {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px !important;
  line-height: 1.5;
}

.hanna-jc-list {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hanna-jc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.5;
}

.hanna-jc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--color-light);
}

/* Screen 3 — Benefits cards */
.hanna-jc-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hanna-jc-benefit-card {
  background-color: var(--color-red);
  padding: 24px;
}

.hanna-jc-benefit-card-title {
  font-family: var(--font-title) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 10px !important;
  line-height: 1.2 !important;
}

.hanna-jc-benefit-card-text {
  font-size: 16px;
  color: var(--color-light);
  margin: 0 !important;
  line-height: 1.5;
}

/* Screen 4 — Лекції */
.hanna-jc-lectures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hanna-jc-lectures-month {
  font-family: var(--font-title) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  margin: 0 0 16px !important;
  line-height: 1.2 !important;
}

.hanna-jc-lecture-card {
  background-color: var(--color-dark);
  padding: 24px;
  margin-bottom: 16px;
}

.hanna-jc-lecture-topic {
  color: var(--color-light) !important;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px !important;
  line-height: 1.4;
}

.hanna-jc-lecture-host {
  color: var(--color-light) !important;
  opacity: 0.8;
  font-size: 14px;
  margin: 0 !important;
  line-height: 1.5;
}

.hanna-jc-lectures-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.hanna-jc-lectures-price {
  color: var(--color-dark);
  white-space: nowrap;
}

.hanna-jc-lectures-price-value {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 500;
}

.hanna-jc-lectures-price-period {
  font-size: 16px;
  opacity: 0.7;
  margin-left: 2px;
}

.hanna-jc-lectures-btn { font-size: 18px; }

.hanna-jc-lectures-note {
  margin: 20px 0 0 !important;
  font-size: 14px;
  font-style: italic;
  color: #6B6B6B;
  text-align: center;
}

/* Screen 6 — Соцмережі */
.hanna-jc-social-title {
  font-size: 56px !important;
  margin: 0 0 30px !important;
}

.hanna-jc-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hanna-jc-social-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.hanna-jc-social-card--red  { background-color: var(--color-red); }
.hanna-jc-social-card--dark { background-color: var(--color-dark); }

.hanna-jc-social-platform {
  color: var(--color-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
  margin-bottom: 10px;
}

.hanna-jc-social-name {
  font-family: var(--font-title) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
}

.hanna-jc-social-text {
  color: var(--color-light) !important;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 16px !important;
  opacity: 0.9;
}

.hanna-jc-social-count {
  color: var(--color-light) !important;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 24px !important;
}

.hanna-jc-social-btn {
  align-self: flex-start;
  font-size: 16px;
}

/* ==========================================================================
   Support section
   ========================================================================== */

.support-section {
  background-color: var(--color-light) !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.support-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto !important;
  gap: 20px !important;
}

.support-inner-col {
  background-color: var(--color-red) !important;
  color: var(--color-light) !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
}

.support-title,
.support-inner-col p.support-title {
  font-family: var(--font-title) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.support-text {
  color: var(--color-light) !important;
}

.support-inner-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  flex: 1 !important;
}

.support-inner-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

.support-text-col {
  flex: 0 0 60% !important;
  max-width: 60% !important;
}

.support-inner-columns .wp-block-column:last-child {
  max-width: 40% !important;
}

.support-inner-col .wp-block-columns {
  flex: 1 !important;
  align-items: stretch !important;
}

.support-button {
  margin-top: 80px !important;
}

.support-button .wp-element-button {
  background-color: var(--color-light) !important;
  border: 1px solid #c8c8c8 !important;
  color: var(--color-dark) !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  font-size: 20px !important;
}

.support-button .wp-element-button:hover {
  background-color: var(--color-dark) !important;
  border: 1px solid var(--color-red) !important;
  color: var(--color-light) !important;
}

.support-coin-col {
  overflow: hidden;
}

.support-coin-img,
.support-coin-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  display: block !important;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.hanna-about-section {
  background-color: var(--color-off-white);
  padding-top: 60px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}


.hanna-about-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Row 1: photo (cols 1-3) + dark intro panel (cols 4-6) */
.hanna-about-photo-col {
  grid-column: 1 / 4;
  grid-row: 1;
  overflow: hidden;
}

.hanna-about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hanna-about-intro {
  grid-column: 4 / 7;
  grid-row: 1;
  background-color: var(--color-dark);
  color: var(--color-light);
  display: flex;
  flex-direction: column;
}

.hanna-about-intro-title-bar {
  background-color: var(--color-red);
  padding: 16px 24px;
}

.hanna-about-intro-title {
  font-family: var(--font-title) !important;
  font-size: 52px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.hanna-about-intro-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

.hanna-about-intro-body p {
  font-size: 18px;
  color: var(--color-light);
  line-height: 1.6;
  margin: 0 !important;
}

/* Row 2: 2 dark stat boxes */
.hanna-about-stat {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hanna-about-stat-1 { grid-column: 1 / 4; grid-row: 2; }
.hanna-about-stat-2 { grid-column: 4 / 7; grid-row: 2; }

.hanna-about-stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-light);
  line-height: 1.2;
}

.hanna-about-stat-label {
  display: block;
  font-size: 18px;
  color: var(--color-light);
  margin-top: 8px;
}

/* Row 3: 3 red boxes */
.hanna-about-red {
  background-color: var(--color-red);
  color: var(--color-light);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hanna-about-red-1 { grid-column: 1 / 3; grid-row: 3; }
.hanna-about-red-2 { grid-column: 3 / 5; grid-row: 3; }
.hanna-about-red-3 { grid-column: 5 / 7; grid-row: 3; }

.hanna-about-red-title {
  display: block;
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 500;
  color: var(--color-light);
  line-height: 1.2;
}

.hanna-about-red-label {
  display: block;
  font-size: 18px;
  color: var(--color-light);
  margin-top: 8px;
}

/* ==========================================================================
   Featured Products Section
   ========================================================================== */

.hanna-featured-section {
  background-color: var(--color-dark);
  padding-top: 60px;
  padding-bottom: 60px;
  margin: 0 !important;
  max-width: 100% !important;
}


.hanna-featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.hanna-featured-header-left { flex: 1; }

.hanna-featured-title {
  font-family: var(--font-title) !important;
  font-size: 58px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 8px !important;
  line-height: 1.1 !important;
}

.hanna-featured-subtitle {
  font-size: 18px;
  color: var(--color-light);
  margin: 0 !important;
  line-height: 1.6;
}


.hanna-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.hanna-featured-card {
  background-color: var(--color-off-white);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.hanna-featured-card-image {
  display: block;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.hanna-featured-card-image a {
  display: block;
  width: 100%;
}

.hanna-featured-card-image img,
.hanna-featured-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.hanna-featured-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hanna-featured-card-title {
  font-family: var(--font-title) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  margin: 0 0 14px !important;
  line-height: 1.3 !important;
}

.hanna-featured-card-title a {
  color: var(--color-dark) !important;
  text-decoration: none !important;
}

.hanna-featured-card-desc {
  font-size: 16px;
  color: var(--color-dark);
  line-height: 1.6;
  flex: 1;
}

.hanna-featured-card-desc p {
  margin: 0 0 8px !important;
}

.hanna-featured-card-desc p:last-child {
  margin-bottom: 0 !important;
}

.hanna-featured-card-footer {
  padding: 0;
  margin-top: 40px;
  margin-bottom: 0;
}

.hanna-featured-card-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.hanna-featured-card-meta {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.2;
}

.hanna-featured-card-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hanna-featured-card-price {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.2;
}

.hanna-featured-card-old-price {
  font-size: 16px;
  color: var(--color-dark);
  opacity: 0.45;
  line-height: 1.4;
  text-decoration: line-through;
}

.hanna-featured-card-price--free {
  font-size: 20px;
  font-weight: 400;
  color: #2d6a3f;
}

.hanna-featured-card > p:empty { display: none !important; }

.hanna-featured-mobile-btn {
  display: none;
}

/* ==========================================================================
   Products archive – WooCommerce block elements inside featured card style
   ========================================================================== */

/* Dark bg section continues seamlessly below the hero header */
.hanna-products-grid-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure hanna-featured-grid overrides WC block's own layout */
.hanna-products-grid-section .hanna-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Card image: remove WC block's default margin */

.hanna-featured-card .hanna-featured-card-image figure,
.hanna-featured-card .hanna-featured-card-image .wc-block-components-product-image {
  margin: 0 !important;
}

.hanna-featured-card .hanna-featured-card-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

/* Title link color */
.hanna-featured-card .hanna-featured-card-title a {
  color: var(--color-dark) !important;
  text-decoration: none !important;
}

/* Price block – style like hanna-featured-card-price */
.hanna-featured-card .hanna-featured-card-price-block .wc-block-components-product-price,
.hanna-featured-card .hanna-featured-card-price-block .price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

.hanna-featured-card .hanna-featured-card-price-block .wc-block-components-product-price__value,
.hanna-featured-card .hanna-featured-card-price-block ins .amount,
.hanna-featured-card .hanna-featured-card-price-block .price > .amount {
  font-family: var(--font-title) !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.hanna-featured-card .hanna-featured-card-price-block del .amount,
.hanna-featured-card .hanna-featured-card-price-block .wc-block-components-product-price__regular {
  font-size: 16px !important;
  color: var(--color-dark) !important;
  opacity: 0.45 !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

/* Buy button – style like hanna-btn hanna-btn--red */
.hanna-featured-card .hanna-featured-card-btn-block .wp-block-button__link,
.hanna-featured-card .hanna-featured-card-btn-block a.wp-block-button__link {
  display: inline-block !important;
  background-color: #C0392B !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  border-radius: 0 !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.hanna-featured-card .hanna-featured-card-btn-block .wp-block-button__link:hover {
  background-color: #a93226 !important;
}

/* Sale badge */
.hanna-featured-card .wc-block-components-product-sale-badge {
  position: static !important;
  display: inline-block !important;
  margin-bottom: 8px !important;
}

/* ==========================================================================
   Single product page
   ========================================================================== */

.hanna-product-hero-section {
  padding-top: 20px !important;
}


.hanna-product-hero-cols {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

.hanna-product-hero-image {
  display: block;
}

.hanna-product-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card fills full column height */
.hanna-product-card {
  height: 100%;
  box-sizing: border-box;
}


/* ==========================================================================
   Single product – Наповнення content section
   ========================================================================== */

.hanna-product-content-section {
  background-color: var(--color-off-white) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}


.hanna-product-content-cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  align-items: stretch;
}

/* Left card: dark bg, light text */
.hanna-product-content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background-color: var(--color-dark) !important;
}

.hanna-product-content-title {
  font-family: var(--font-title) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: var(--color-light) !important;
  margin: 0 0 20px !important;
  line-height: 1.2 !important;
}

.hanna-product-content-text {
  flex: 1;
}

.hanna-product-content-text p {
  font-size: 18px !important;
  color: var(--color-light) !important;
  line-height: 1.6 !important;
  margin: 0 0 6px !important;
}

.hanna-product-content-card .hanna-featured-card-footer {
  margin-top: 40px;
}

.hanna-product-content-card .hanna-btn--red {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Right: 2×2 image grid */
.hanna-product-content-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
  align-content: start;
}

.hanna-content-img-cell {
  overflow: hidden;
  line-height: 0;
}

.hanna-content-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Співпраця page
   ========================================================================== */

.hanna-spiv-section {
  background-color: var(--color-off-white);
  padding: 60px 0;
  max-width: 100% !important;
  margin: 0 !important;
}


.hanna-spiv-section-title {
  font-family: var(--font-title) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  margin: 0 0 30px !important;
  line-height: 1.2 !important;
}

.hanna-spiv-col-title {
  font-family: var(--font-title) !important;
  font-size: 30px !important;
  font-weight: 500 !important;
  color: var(--color-dark) !important;
  margin: 0 0 16px !important;
  line-height: 1.2 !important;
}

.hanna-spiv-text {
  font-size: 18px;
  color: var(--color-dark);
  line-height: 1.6;
  margin: 0 0 16px;
}

.hanna-spiv-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hanna-spiv-cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.hanna-spiv-btn-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.hanna-btn--dark {
  background-color: var(--color-dark);
  color: var(--color-light) !important;
  border: 1px solid var(--color-dark);
}

.hanna-btn--dark:hover {
  background-color: var(--color-off-white);
  border-color: var(--color-dark);
  color: var(--color-dark) !important;
}

.hanna-spiv-cta-btn {
  width: 300px;
  display: block;
}

/* ==========================================================================
   Legal pages (terms, privacy)
   ========================================================================== */

.hanna-legal-section {
  background-color: var(--color-off-white);
  padding: 60px 0;
  max-width: 100% !important;
  margin: 0 !important;
}


.hanna-legal-text {
  font-size: 16px;
  color: var(--color-dark);
  line-height: 1.7;
  margin: 0 0 12px;
}

.hanna-legal-text strong {
  font-weight: 600;
}

.hanna-legal-text em {
  font-style: italic;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.footer-spacer { display: block; height: 0.75rem; }

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {

  /* Hero */
  .hanna-hero-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-hero-grid {
    grid-template-columns: 1fr;
  }

  .hanna-hero-photo-col {
    display: block !important;
  }

  .hanna-hero-photo,
  .hanna-hero-photo-placeholder {
    min-height: 320px;
  }

  .hanna-hero-title-main {
    font-size: 50px !important;
  }

  .hanna-hero-desc {
    margin-top: 80px !important;
  }

  /* Contacts */
  .hanna-contacts-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-contacts-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hanna-contacts-photo-col {
    display: none !important;
  }

  .hc-c1-r1, .hc-c1-r2, .hc-c1-r3,
  .hc-c3-r1, .hc-c3-r2, .hc-c3-r3 {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
  }

  /* FAQ */
  .hanna-faq-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-faq-title {
    font-size: 30px !important;
  }

  .hanna-faq-grid {
    grid-template-columns: 1fr;
  }

  .hanna-faq-card-title {
    font-size: 20px !important;
  }

  .hanna-faq-card-answer {
    font-size: 14px !important;
  }

  /* Subscription */
  .hanna-subscription-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-subscription-card {
    grid-template-columns: 1fr;
  }

  .hanna-subscription-info,
  .hanna-subscription-benefits {
    padding: 28px;
  }

  .hanna-subscription-title {
    font-size: 28px !important;
  }

  .hanna-subscription-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hanna-subscription-btn {
    width: 100%;
  }

  /* Jewelry Club page */
  .hanna-jc-section-dark,
  .hanna-jc-section-light {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-jc-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hanna-jc-hero-image {
    min-height: 320px;
    order: -1;
  }

  .hanna-jc-hero-title {
    font-size: 28px !important;
  }

  .hanna-jc-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hanna-jc-hero-btn {
    width: 100%;
  }

  .hanna-jc-title-bar-text,
  .hanna-jc-about-title,
  .hanna-jc-social-title {
    font-size: 36px !important;
  }

  .hanna-jc-about-grid,
  .hanna-jc-benefits-grid,
  .hanna-jc-lectures-grid,
  .hanna-jc-social-grid {
    grid-template-columns: 1fr;
  }

  .hanna-jc-lectures-cta {
    flex-direction: column;
    gap: 16px;
  }

  .hanna-jc-lectures-btn {
    width: 100%;
  }

  /* Support */
  .support-wrapper {
    flex-direction: column !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .support-inner-col {
    flex: none !important;
    width: 100% !important;
  }

  .support-coin-col {
    display: none !important;
  }

  .support-inner-columns .wp-block-column:last-child {
    display: none !important;
  }

  .support-text-col {
    flex: 1 !important;
    max-width: 100% !important;
  }

  .support-title,
  .support-inner-col p.support-title {
    font-size: 30px !important;
  }

  .support-text {
    font-size: 14px !important;
  }

  .support-button .wp-element-button {
    font-size: 18px !important;
  }

  /* Footer */
  .site-footer .footer-columns {
    flex-direction: column !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer-copyright-row {
    flex-direction: column !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer-copyright-left,
  .footer-copyright-right {
    text-align: left !important;
  }

  /* Featured / All products grid */
  .hanna-featured-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-featured-title {
    font-size: 36px !important;
  }

  .hanna-featured-subtitle {
    font-size: 16px !important;
  }

  .hanna-featured-grid {
    grid-template-columns: 1fr;
  }

  /* Full-bleed image: remove card side padding, keep it only on body/footer */
  .hanna-featured-card {
    padding: 0 !important;
  }

  .hanna-featured-card-image {
    margin-bottom: 0;
  }

  .hanna-featured-card-body {
    padding: 16px 16px 0;
  }

  .hanna-featured-card-footer {
    padding: 0 16px 16px;
  }

  .hanna-featured-header-right {
    display: none !important;
  }

  .hanna-featured-mobile-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .hanna-featured-mobile-btn .hanna-featured-all-btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .hanna-featured-card-title {
    font-size: 20px !important;
  }

  .hanna-featured-card-meta,
  .hanna-featured-card-price {
    font-size: 18px;
  }

  /* Single product hero */
  .hanna-product-hero-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-product-hero-cols {
    grid-template-columns: 1fr;
  }

  .hanna-product-hero-image {
    width: 100%;
  }

  .hanna-product-hero-img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .hanna-product-card {
    height: auto !important;
  }

  /* Single product content (Наповнення) */
  .hanna-product-content-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-product-content-cols {
    grid-template-columns: 1fr;
  }

  .hanna-product-content-gallery {
    grid-template-columns: 1fr;
  }

  /* About */
  .hanna-about-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-about-grid {
    grid-template-columns: 1fr;
  }

  .hanna-about-photo-col,
  .hanna-about-intro,
  .hanna-about-stat-1, .hanna-about-stat-2,
  .hanna-about-red-1, .hanna-about-red-2, .hanna-about-red-3 {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .hanna-about-intro-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hanna-about-intro-title {
    font-size: 30px !important;
  }

  /* Header logo */
  .site-logo-img img {
    width: 128px !important;
    height: auto !important;
  }

  /* Співпраця page */
  .hanna-spiv-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hanna-spiv-cols-2,
  .hanna-spiv-cols-3 {
    grid-template-columns: 1fr;
  }

  .hanna-spiv-cta-btn {
    width: 100%;
  }

  /* Legal pages */
  .hanna-legal-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* =============================================
   Floating Cart FAB
   ============================================= */

.hanna-cart-fab--hidden {
  display: none !important;
}

.hanna-cart-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22), 0 1px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.hanna-cart-fab:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.hanna-cart-fab:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hanna-cart-fab svg {
  pointer-events: none;
}

/* Badge */
.hanna-cart-count {
  position: absolute;
  top: 0px;
  right: 0px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
  display: none;
  pointer-events: none;
}

.hanna-cart-count--visible {
  display: block;
}

/* =============================================
   Cart Drawer
   ============================================= */

/* ==========================================================================
   Access Links Modal (free products)
   ========================================================================== */

.hanna-access-modal {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hanna-access-modal[aria-hidden="true"] {
  display: none;
}

.hanna-access-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.hanna-access-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

.hanna-access-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.hanna-access-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.hanna-access-modal__close:hover {
  color: #1a1a1a;
}

.hanna-access-modal__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hanna-access-modal__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.hanna-access-modal__link:hover {
  background: #f0f0f0;
}

.hanna-access-modal__link-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-red);
}

.hanna-access-modal__link-url {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hanna-access-modal__empty {
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* ==========================================================================
   Cart Drawer
   ========================================================================== */

.hanna-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.hanna-cart-drawer--open {
  pointer-events: auto;
}

.hanna-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hanna-cart-drawer--open .hanna-cart-drawer__overlay {
  opacity: 1;
}

.hanna-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 100vw;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

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

.hanna-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  flex-shrink: 0;
}

.hanna-cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: opacity 0.2s;
  line-height: 1;
}

.hanna-cart-drawer__close:hover {
  opacity: 0.6;
}

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

/* ── Cart drawer: items (reuse checkout visual style) ─── */
.hanna-cart-items {
  padding: 0;
}

.hanna-cart-product-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
}

.hanna-cart-product-row .hanna-co-product-thumb {
  flex-shrink: 0;
  width: 72px;
}

.hanna-cart-product-row .hanna-co-product-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.hanna-cart-product-row .hanna-co-product-info {
  flex: 1;
  min-width: 0;
}

.hanna-cart-product-row .hanna-co-product-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 0 6px;
  line-height: 1.4;
}

.hanna-cart-product-row .hanna-co-product-title a {
  color: var(--color-dark);
  text-decoration: none;
}

.hanna-cart-product-row .hanna-co-product-title a:hover {
  opacity: 0.7;
}

.hanna-cart-product-row .hanna-co-product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.hanna-cart-product-row .hanna-co-product-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

.hanna-cart-product-row .hanna-co-product-old-price {
  font-size: 13px;
  color: #7a6e6a;
  text-decoration: line-through;
}

.hanna-cart-product-row .hanna-co-product-divider {
  border: none;
  border-top: 1px solid #b8aeaa;
  margin: 0;
}

/* Divider between items */
.hanna-cart-items .hanna-co-product-divider {
  border: none;
  border-top: 1px solid #e0d8d5;
  margin: 0;
}

/* Delete icon */
.hanna-cart-item-remove {
  flex-shrink: 0;
  align-self: center;
  color: #a09890;
  text-decoration: none;
  line-height: 0;
  padding: 4px;
  border: none;
  border-radius: 0 !important;
  background: none !important;
  transition: color 0.2s;
}

/* Override WooCommerce a.remove:hover (color:#fff!important; background:var(--wc-red)) */
.hanna-cart-drawer a.hanna-cart-item-remove {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  color: #a09890 !important;
  font-size: inherit !important;
  display: inline-flex !important;
  height: auto !important;
  width: auto !important;
  text-align: left !important;
  font-weight: inherit !important;
}

.hanna-cart-drawer a.hanna-cart-item-remove:hover {
  color: var(--color-red) !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ── Cart drawer: empty state ───────────────────────── */
.hanna-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  gap: 16px;
  text-align: center;
}
.hanna-cart-empty svg {
  color: #c8bfba;
}
.hanna-cart-empty p {
  font-size: 15px;
  color: #a09890;
  margin: 0;
}

/* ── Cart drawer: totals (same as checkout) ─────────── */
.hanna-cart-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0d8d5;
}

.hanna-cart-totals .hanna-co-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--color-dark);
  padding: 6px 0;
}

.hanna-cart-totals .hanna-co-discount-row {
  color: #2e6b30;
}

.hanna-cart-totals .hanna-co-grand-total {
  font-size: 18px;
  font-weight: 700;
  border-top: 1px solid #b8aeaa;
  margin-top: 6px;
  padding-top: 12px;
}

/* ── Checkout button ─────────────────────────────────── */
.hanna-cart-buttons {
  margin-top: 20px;
}

.hanna-cart-checkout-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  background-color: var(--color-red);
  border: 1px solid var(--color-red);
  color: var(--color-light) !important;
  font-family: 'FixelText', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hanna-cart-checkout-btn:hover {
  background-color: var(--color-off-white);
  color: var(--color-red) !important;
}

.hanna-cart-drawer__body .woocommerce-mini-cart__empty-message {
  color: #888;
  text-align: center;
  padding: 32px 0;
}

/* Prevent body scroll when drawer is open */
body.hanna-cart-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .hanna-cart-fab {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .hanna-cart-drawer__panel {
    width: 100vw;
  }
}

/* =============================================================
   Thank You / Order Received page
   ============================================================= */
.hanna-ty-section {
  background-color: var(--color-dark);
  padding-top: 40px;
  padding-bottom: 60px;
  max-width: 100%;
  margin: 0;
}

.hanna-ty-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.hanna-ty-card {
  background: #ffffff;
  padding: 20px;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.hanna-ty-img-col {
  height: 100%;
  line-height: 0;
  overflow: hidden;
}

.hanna-ty-title {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 0 16px;
  line-height: 1.2;
}

.hanna-ty-text {
  font-size: 18px;
  color: var(--color-dark);
  line-height: 1.6;
  margin: 0 0 20px;
}

.hanna-ty-contact {
  font-size: 18px;
  color: var(--color-dark);
  margin: 20px 0 8px;
}

.hanna-ty-socials {
  font-size: 16px;
  color: var(--color-dark);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hanna-ty-social-link {
  color: var(--color-dark);
  text-decoration: underline;
}

.hanna-ty-social-link:hover {
  opacity: 0.6;
}

.hanna-ty-social-sep {
  color: #a09890;
}

.hanna-ty-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: auto;
  padding-top: 40px;
}

.hanna-ty-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Suppress wpautop empty paragraphs */
.hanna-ty-section p:empty { display: none; }

/* ── Order-pay page ─────────────────────────────────── */
.hanna-pay-products {
  margin-bottom: 0;
}

.hanna-pay-totals {
  margin-top: 16px;
}

.hanna-pay-payment {
  margin-top: 20px;
}

.hanna-pay-payment .wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.hanna-pay-submit {
  margin-top: 20px;
}

.hanna-pay-submit .hanna-co-btn-pay {
  width: 100%;
  margin-top: 0;
}

.hanna-pay-method-row {
  color: var(--color-dark);
  border-top: 1px solid #e0d8d5;
  margin-top: 6px;
  padding-top: 12px;
}

.hanna-pay-gateway-output {
  margin-top: 20px;
  font-size: 16px;
  color: var(--color-dark);
}

.hanna-pay-redirect-msg {
  margin: 0;
  font-size: 16px;
  color: var(--color-dark);
  line-height: 1.6;
}

.hanna-pay-redirect-link {
  color: var(--color-red);
  text-decoration: underline;
  font-size: 14px;
}

#form_wayforpay { display: none !important; }

/* Hide WooCommerce default order details on this page */
.woocommerce-order-overview,
.woocommerce-order .woocommerce-thankyou-order-details {
  display: none !important;
}

/* Hide nav on order-received (header-checkout already hides it, this is a fallback) */
.woocommerce-order-received .site-header--checkout .site-nav { display: none !important; }

/* Override checkout.css which hides footer on all .woocommerce-checkout pages */
.woocommerce-order-received .site-footer { display: block !important; }

@media (max-width: 768px) {
  .hanna-ty-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hanna-ty-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: start;
  }

  .hanna-ty-card {
    order: 1;
    height: auto;
  }

  .hanna-ty-img-col {
    order: 2;
    height: auto;
  }

  .hanna-ty-img {
    height: auto;
  }

  .hanna-ty-buttons {
    flex-direction: column;
    padding-top: 20px;
  }

  .hanna-ty-buttons .hanna-btn {
    width: 100%;
    text-align: center;
  }
}
