/* Desktop-only styles for Home page (no absolute positioning)
   Scoped under .home-page to avoid collisions when migrating to WordPress
*/

li {
  list-style: none;
}
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
body,
.card_candle_main {
  background: #fcfafa;
}

.home-page {
  background: #fcfafa;
  color: #141517;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}

/* Header */
.site-header {
  height: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  z-index: 9;
  color: #fff;
  top: 0;
}
.site-header.light {
  color: #141517;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 123px;
  width: 100%;
  padding: 0;
}
.site-logo {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  text-align: center;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
}
.header-left,
.site-logo,
.site-nav {
  width: 30%;
}
.icon-btn .icon-img {
  width: 48px;
  height: 48px;
  display: block;
}
.icon-svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Logo sizing and color inherit — the inline SVG text uses currentColor via CSS */
.site-logo {
  display: flex;
  align-items: center;
  color: inherit;
}
/* image-based logos (light/dark) */
.logo-img {
  display: none;
  width: auto;
  height: 100px;
}
.site-header .logo-img.logo-white {
  display: block;
}
.site-header.light .logo-img.logo-white {
  display: none;
}
.site-header.light .logo-img.logo-dart {
  display: block;
}

/* legacy inline svg rules kept for compatibility */
.logo-svg {
  width: auto;
  height: 36px;
  display: block;
}
/* Ensure the white logo always shows and the dark logo is hidden */

.btn_submit_checkout {
  width: 100%;
  height: 51px;
  background: #141517;
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
}
.logo-text {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 1px;
}
.site-nav {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: flex-end;
}

.cart-count {
  background: #000;
  width: 20px;
  height: 20px;
  font-size: 13px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
}
.cart-contents {
  position: relative;
  margin-right: 30px;
}

.your-order-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 24px;
  display: flex;
}
.your-order-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.your-order-photo {
  margin-right: 20px;
}
.your-order-title {
  font-size: 20px;
  color: #141517;
  text-transform: uppercase;
  font-weight: 400;
}
.your-order-attr {
  font-size: 16px;
  color: #333333;
  margin: 4px 0;
}
.your-order-photo {
  width: 245px;
}
.your-order-section {
  margin-top: 60px;
  margin-bottom: 60px;
}
.your-order-section .your-order-heading {
  font-size: 28px;
  color: #1d1d1d;
  font-weight: 400;
  margin-bottom: 20px;
}
.wc-checkout-summary-total,
#checkout-subtotal {
  font-size: 28px;
  color: #141517;
  text-transform: uppercase;
  display: flex;
  font-weight: 500;
  align-items: center;
  margin-top: 60px;
}
#place_order:hover {
  background: #585a5e;
  color: #fff;
}
.woocommerce form .form-row {
  padding: 0 !important;
}
.custom_payment,
.custom_payment .wc_payment_methods {
  padding: 5px !important;
}
.payment_method_stripe,
.custom_payment {
  background: #fcfafa;
  background-color: #fcfafa !important;
  border: 0 !important;
  color: #000 !important;
}
.wc-payment-form,
.payment_method_stripe fieldset {
  border: 0 !important;
  color: #000 !important;
  padding: 0 !important;
}
.payment_method_stripe::before {
  display: none !important;
}

.site-main .products:before {
  display: none !important;
}

#place_order {
  background: #141517;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  height: 51px;
  cursor: pointer;
  text-transform: uppercase;
}
.wc-inline-coupon label {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
/* .select2-container .select2-selection--single {
  height: auto !important;
} */

#wc_inline_coupon_code {
  width: 100%;
  max-width: 100% !important;
}
#wc_inline_apply_coupon {
  background: #141517;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
}
.wc-total-new {
  margin-left: 10px;
  margin-right: 10px;
}
.wc-total-save {
  display: flex;
  align-items: center;
}
#checkout-subtotal {
  margin-left: 4px;
  font-weight: 600;
}
.coupon-title {
  font-size: 20px;
}
.your-order-attr span {
  color: #141517;
  font-weight: 400;
  text-transform: uppercase;
}
.your-order-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.your-order-price .amount {
  font-weight: 500;
  font-size: 20px;
  color: #141517;
}
.your-order-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Off-canvas menu (slide from left) */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease;
}
.offcanvas-backdrop.show {
  opacity: 1;
  visibility: visible;
  /* subtle blur when menu open (approx. 30% intensity) */
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.offcanvas {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 504px;
  max-width: 90%;
  background: #fcfafa;
  z-index: 1110;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(-110%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.offcanvas.open {
  transform: translateX(0);
}

.offcanvas-inner {
  width: 100%;
  padding: 84px 40px 40px 120px;
  box-sizing: border-box;
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.offcanvas-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.site-logo.small {
  font-size: 18px;
  font-weight: 700;
}

.offcanvas-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.offcanvas-link {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 38px;
  text-transform: uppercase;
  color: #141517;
  text-decoration: none;
}
.offcanvas-link:focus {
  outline: none;
}

/* When menu open, prevent body scroll */
body.menu-open {
  overflow: hidden;
}

/* Fallback: some browsers may not support backdrop-filter on overlay elements.
    Apply a blur to the page content when the menu is open as a progressive fallback.
*/
body.menu-open .site-main,
body.menu-open .site-header,
body.menu-open .site-footer {
  -webkit-filter: blur(2px);
  filter: blur(2px);
  transition: filter 220ms ease, -webkit-filter 220ms ease;
}

/* HERO */
.hero {
  position: relative;
  background: #281f1b;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 370px 0 383px;
}
.hero-inner {
  text-align: center;
  max-width: 1200px;
}
.hero-title {
  font-size: 60px;
  line-height: 82px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-accent {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  letter-spacing: 2px;
}
.hero-sub {
  font-size: 20px;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}
.hero-cta {
  display: inline-block;
  background: #fff;
  color: #141517;
  padding: 12px 32px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-create {
  text-align: center;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}
.create-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: #141517;
  font-size: 32px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 220ms ease,
    background-color 220ms ease;
  will-change: transform;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.06);
}

/* Hover / focus styles for the circular create button */
.create-btn:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(20, 20, 20, 0.12);
  background: #f6f6f6;
}
.create-btn:active {
  /* active visual removed per request */
  transform: none;
}
.create-btn:focus-visible {
  /* focus outline removed per request */
  outline: none;
}
.create-label {
  color: #fff;
  margin-top: 8px;
  font-size: 20px;
}

/* Button hover / focus micro-interactions
   These give a subtle lift/scale and color feedback on hover and keep an accessible focus-visible state. */
.btn,
.type-btn,
.icon-btn,
.create-btn,
.details-toggle,
.qty-decrease,
.qty-increase {
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 180ms ease,
    background-color 160ms ease, color 160ms ease;
  will-change: transform, box-shadow;
}

/* Primary add-to-cart: lift and deepen shadow on hover */
.product-card .btn.add-to-cart:hover,
.product-card .btn.add-to-cart:focus {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20, 20, 20, 0.12);
}

/* Type buttons: slight scale and border color shift */
.product-card .type-btn:hover,
.product-card .type-btn:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.06);
  border-color: rgba(20, 20, 20, 0.08);
}

/* Icon buttons (header): subtle color shift and scale */
.icon-btn:hover,
.icon-btn:focus {
  transform: scale(1.06);
  color: #1d71df;
}

/* Details toggle: small icon pop and color change on hover */
.product-card .details-toggle:hover .details-icon,
.product-card .details-toggle:focus .details-icon {
  transform: scale(1.05);
  color: #1d71df;
}

/* Quantity +/- buttons: expand hit area and give subtle press feedback */
.product-card .qty-decrease:hover,
.product-card .qty-increase:hover,
.product-card .qty-decrease:focus,
.product-card .qty-increase:focus {
  transform: translateY(-2px);
  color: #141517;
}

/* Keep visible focus indicators for keyboard users */
.btn:focus-visible,
.type-btn:focus-visible,
.icon-btn:focus-visible,
.details-toggle:focus-visible,
.qty-decrease:focus-visible,
.qty-increase:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 113, 223, 0.12);
}

/* PRODUCTS */
/* .products {
  padding: 100px 0 96px !important;
} */

/* Grid helper: enforce 4 columns when a UL has the `columns-4` class.
   This will create a desktop 4-column layout and collapse responsively. */
.products.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  margin: 0;
  padding: 0;
}
.products.columns-4 > li.product {
  box-sizing: border-box;
}

/* Responsive: 2 columns on medium, 1 on small screens */
@media (max-width: 991px) {
  .products.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-title span {
  font-family: 'Playfair Display', Georgia, serif;
}
.section-title {
  font-size: 40px;
  line-height: 55px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
.product {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}
.product .photo {
  position: relative;
  background: #281f1b;
  height: 504px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}
.product .photo img {
  grid-area: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 300ms ease, transform 300ms ease;
}
/* first image visible by default, second hidden */
.product .photo img.photo-first {
  opacity: 1;
  transform: scale(1);
}
.product .photo img.photo-second {
  opacity: 0;
  transform: scale(1);
}

/* hover: fade out first image, fade in and slightly scale second image */
.product:hover .photo img.photo-first {
  opacity: 0;
  transform: scale(0.98);
}
.product:hover .photo img.photo-second {
  opacity: 1;
  transform: scale(1.06);
}
.swatches {
  color: #fff;
  padding: 0 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
  position: absolute;
  left: 0;
  bottom: 40px;
}
.photo-bars {
  padding: 0 10px;
  position: absolute;
  width: 100%;
  bottom: 20px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  z-index: 6;
}
.photo-bar {
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 220ms ease, opacity 220ms ease, transform 220ms ease;
  opacity: 0.6;
  transform: translateY(0);
}
/* left bar active by default */
.photo-bars .photo-bar:first-child {
  background: rgba(255, 255, 255, 0.9);
  opacity: 1;
}
/* on hover switch active bar to the second */
.product:hover .photo-bars .photo-bar:first-child {
  background: rgba(255, 255, 255, 0.35);
  opacity: 0.6;
  transform: translateY(0);
}
.product:hover .photo-bars .photo-bar:nth-child(2) {
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
}
/* make the same indicator changes when a product receives keyboard focus */
/* focus visuals for product indicators intentionally removed */
.swatch {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.hero-product-modal .product-title {
  color: #fff !important;
}
.product-title {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}
.product-price {
  color: #656565;
  font-size: 16px;
  font-weight: 500;
}

/* Product card (product detail) styles — horizontal layout (media left, info right) */
.product-card {
  padding: 100px 0 0 0;
  width: 40%;
}

.product-card .product-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
/* Small decorative placeholder for future WooCommerce product slider
   Shown as a very short image (1vh) per request; this is a visual marker only.
   Replace or remove when integrating real slider/JS. */
.card_candle_main,
.custom_cart_main,
.product-card .product-info,
#products .section-title,
.holders_main,
.candle-collection,
.shop-archive {
  margin-top: 100px;
}
.cart-empty-actions {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.cart-empty-inner {
  text-align: center;
}
.cart-empty-actions a {
  margin: 10px;
}
.flex_single_product {
  display: flex;
}
.card_candle_main .future-media {
  width: 60%;
  height: 100vh;
  overflow: hidden;
  background: #f4f4f4;
}

.card_candle_main .future-media img {
  width: 100%;
  height: 100%;
}
.product-card .future-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card .product-media {
  display: none;
}
.product-card .product-media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}
.product-card .product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.product-card .title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.product-card .title-block {
  max-width: 100%;
}
.cart-popup__footer {
  position: absolute;
}
.product-card .product-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 55px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  color: #141517;
}
.product-card .product-color {
  font-size: 20px;
  line-height: 27px;
  color: #c0c0c0;
}
.product-card .product-color .color-name {
  text-transform: uppercase;
  color: #656565;
}
.product-card .product-price {
  font-size: 28px;
  line-height: 38px;
  color: #141517;
  font-weight: 500;
}
.product-card .colors-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.product-card .swatch {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  padding: 0;
  border-radius: 0;
}
.product-card .swatch:focus {
  outline: 2px solid #000 !important;
  outline-offset: 2px;
}
.product-card .difference-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 20px;
}
.product-card .difference-link {
  color: #1d71df;
  text-decoration: none;
  font-size: 16px;
  text-align: right;
}
.product-card .type-buttons {
  display: flex;
  gap: 12px;
}
.product-card .type-btn {
  padding: 14px 42px;
  border: 1px solid #e5e5e5;
  background: #fcfafa;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0;
}
.product-card .purchase-row {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: end;
  margin-top: 0;
}
.product-card .quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-card .qty-decrease,
.product-card .qty-increase {
  width: 8px;
  height: 28px;
  border: 0px;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  display: flex;
  justify-content: center;
  padding: 0;
  align-items: center;
  font-weight: 100;
}
.wrap_prise_singlecust {
  display: flex;
  justify-content: center;
  align-items: end;
  font-weight: 600;
  color: #141517;
}
.cart-popup__price {
  margin-right: 5px;
}

.candle_input_qty_variable {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  margin: 0;
}
.product-card .candle_input_qty_variable {
  width: 32px !important;
  text-align: center;
  border: none;
  font-size: 20px;
  background: transparent;
  padding: 4px;
  /* remove native spinner controls */
}
/* hide webkit number input spin buttons */
.product-card .candle_input_qty_variable::-webkit-outer-spin-button,
.product-card .candle_input_qty_variable::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-card .add-to-cartcustom {
  background: #141517 !important;
  color: #fff !important;
  padding: 1px 47px !important;
  border: none !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  height: 51px;
  width: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px !important;
}
.vp-modal [type='email'] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c0c0c0;
  background: transparent;
  padding: 0 0 8px;
  font: 500 20px Manrope;
  color: #141517;
  border-radius: 0;
  margin-bottom: 20px;
}
.btn-primary_cart_custom {
  width: 300px !important;
}
.btn-primary_cart_custom #variable-preorder-form form [type='submit'],
.vp-modal [type='submit'],
.single_notify_btn,
.single_add_to_cart_button,
.btn-primary_cart_custom {
  background: #141517;
  background-color: #141517 !important;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  height: 51px;
  text-transform: uppercase;
  width: 100%;
  border: none;
  cursor: pointer;
}

.cart-popup__empty--highlight {
  display: none;
}
.custom_cart_main h1 {
  display: none;
}

.product-card .additional-info {
  border-bottom: 1px solid #e5e5e5;
  padding-top: 0;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
.future-media-slider {
  height: 100%;
}
.product-card .details-toggle {
  background: transparent;
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0px;
  font-size: 20px;
  width: 100%;
  justify-content: space-between;
}
.product-card .details-toggle .details-label {
  color: #141517;
}
.product-card .details-toggle .details-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 33px;
  font-weight: 400;
  transition: transform 180ms ease, color 180ms ease;
  color: #000;
}
.product-card .details-toggle[aria-expanded='true'] .details-icon {
  transform: rotate(0deg);
  color: #141517;
}
.product-card .details-toggle[aria-expanded='false'] .details-icon {
  color: #000;
}
.product-card .details-panel {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: #141517;
  color: #fff;
  padding: 60px 0;
  margin-top: 60px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  padding: 0;
}
.footer-title {
  font-weight: 400;
  margin-bottom: 8px;
}
.footer-text {
  font-size: 14px;
  color: #fff;
}
.footer-col a {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

/* small bottom line with year */
.footer-bottom {
  text-align: left;
  color: #c0c0c0;
  font-size: 16px;
  padding: 36px 0 8px;
}

/* footer social icons */
.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.footer-icons img {
  width: 40px;
  height: 40px;
  display: block;
}

/* Utility: ensure styles are desktop-only (no media queries here as requested) */

/* Medium-wide breakpoint: 992px — 1200px
    Slightly reduce paddings, make product grid 3 columns and tighten header spacing
*/
@media (min-width: 992px) and (max-width: 1250px) {
  .container {
    padding-right: 40px;
    padding-left: 40px;
  }
}

/* Checkout page styles scoped under .ck-page to avoid collisions */

/* Загальні */
.ck-page {
  background: #fcfafa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 56px 120px 0;
}
.ck-title {
  font: 500 40px/55px Manrope, system-ui;
  text-transform: uppercase;
  color: #141517;
  margin: 24px 0;
}

/* Карти */
.ck-card {
  background: transparent;
  margin: 24px 0;
}
.ck-h3 {
  font: 500 28px/38px Manrope;
  color: #141517;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Grid 2x з переносом */
.ck-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
}
.ck-grid .form-row {
  width: calc(50% - 12px);
  margin: 0;
}
.ck-grid .ck-col-12 {
  width: 100%;
}

/* Woo інпути -> під макет */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c0c0c0;
  background: transparent;
  padding: 0 0 8px;
  font: 500 20px Manrope;
  color: #141517;
  border-radius: 0;
}
.woocommerce form .form-row textarea {
  min-height: 48px;
}

/* Radio inline */
.ck-radio-inline .woocommerce-input-wrapper {
  display: flex;
  gap: 24px;
}
.ck-radio-inline input {
  margin-right: 8px;
}

/* Delivery grid */
.ck-delivery .ck-grid .form-row {
  width: calc(50% - 12px);
}

/* Примітка */
.ck-note {
  font: 400 16px/22px Manrope;
  color: #333;
  margin-top: 12px;
}

/* Купон */
.ck-promo {
  margin-top: 20px;
}
.ck-coupon {
  display: flex;
  gap: 12px;
}
.ck-coupon input {
  flex: 1;
}
.ck-apply-coupon {
  background: #141517;
  color: #fff;
  border: 0;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-end; /* place under the input and right-aligned */
  margin-top: 8px;
  box-shadow: 0 6px 18px rgba(20, 21, 23, 0.06);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.ck-apply-coupon:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 21, 23, 0.08);
}

/* Summary */
.ck-summary__top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0;
}
.ck-sum {
  font: 500 28px/38px Manrope;
  color: #141517;
  text-transform: uppercase;
}

/* Items */
.ck-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ck-item {
  display: flex;
  gap: 20px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 24px;
  flex: 0 1 calc(50% - 12px);
}
.ck-photo {
  width: 164px;
  height: 245px;
  background: #281f1b;
  display: block;
  gap: 12px;
  justify-content: center;

  /* Coupon toggle and collapsed form per mock */
  .ck-promo .coupon-toggle {
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 0 6px 0;
    color: #141517;
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
  }

  .ck-promo .ck-coupon-form {
    display: none; /* JS toggles this; noscript shows fallback */
    margin-top: 6px;
  }

  .ck-promo .ck-coupon-form .custom-input {
    flex: 1 1 auto;
    min-width: 220px;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    background: transparent;
    padding: 8px 0;
    font: 400 16px/22px Manrope, system-ui;
    color: #141517;
  }

  .ck-promo .ck-coupon-form .custom-input::placeholder {
    color: #cfcfcf;
  }

  .ck-promo .ck-apply-coupon {
    background: transparent;
    border: 0;
    color: #141517;
    padding: 8px 12px;
    font-weight: 600;
  }

  /* When JS toggles visible via inline style (slideDown), ensure layout looks correct */
  .ck-promo .ck-coupon-form[style*='display:block'],
  .ck-promo .ck-coupon-form[style*='display: block'] {
    display: block;
  }
  position: relative;
}
.ck-photo__label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font: 500 14px/19px Manrope;
  text-transform: uppercase;
}
.ck-item__img {
  max-width: 100%;
  height: auto;
}
.ck-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ck-info__title {
  font: 500 20px/27px Manrope;
  color: #141517;
  text-transform: uppercase;
}
.ck-attr {
  font: 400 16px/22px Manrope;
  color: #333;
}
.ck-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ck-qty__label {
  font: 400 16px/22px Manrope;
  color: #333;
}
.ck-qty__ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ck-qty__btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
}
.ck-qty__input {
  width: 48px;
  text-align: center;
  border: 1px solid #e5e5e5;
  height: 28px;
}
.ck-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ck-price {
  font: 500 20px/27px Manrope;
  color: #141517;
  text-transform: uppercase;
}
.ck-remove {
  font: 400 16px/22px Manrope;
  color: #141517;
}

/* Place order */
.ck-place {
  margin-top: 12px;
}
.ck-place__btn {
  width: 100%;
  background: #141517;
  color: #fff;
  border: 0;
  padding: 12px 32px;
  text-transform: uppercase;
  font: 500 20px/27px Manrope;
}

.checkout-page {
  padding-top: 100px;
}

/* Загальні */
.ck-page {
  background: #fcfafa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 56px 120px 0;
}
.ck-title {
  font: 500 40px/55px Manrope, system-ui;
  text-transform: uppercase;
  color: #141517;
  margin: 24px 0;
}

/* Карти */
.ck-card {
  background: transparent;
  margin: 24px 0;
}
.ck-h3 {
  font: 500 28px/38px Manrope;
  color: #141517;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Grid 2x з переносом */
.ck-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
}

/* Make the left column a flexible container so we can control billing field widths */
.ck-grid .col-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ck-grid .col-1 .form-row {
  width: 100%;
  margin: 0 0 12px 0;
  box-sizing: border-box;
}

/* First 4 billing fields should be 50% each (two per row) */
.ck-grid .col-1 .form-row.billing_first_name_field,
.ck-grid .col-1 .form-row.billing_last_name_field,
.ck-grid .col-1 .form-row.billing_phone_field,
.ck-grid .col-1 .form-row.billing_email_field {
  width: calc(50% - 12px);
}

/* Ensure comment / order comments field is full width */
.form-row.order_comments_field,
.form-row.comment_field,
.woocommerce .order_comments {
  width: 100% !important;
}
.ck-grid .ck-col-12 {
  width: 100%;
}

/* Woo інпути -> під макет */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c0c0c0;
  background: transparent;
  padding: 0 0 8px;
  font: 500 20px Manrope;
  color: #141517;
}
.woocommerce form .form-row textarea {
  min-height: 48px;
}

/* Radio inline */
.ck-radio-inline .woocommerce-input-wrapper {
  display: flex;
  gap: 24px;
}
.ck-radio-inline input {
  margin-right: 8px;
}

/* Delivery grid */
.ck-delivery .ck-grid .form-row {
  width: calc(50% - 12px);
}

/* Примітка */
.ck-note {
  font: 400 16px/22px Manrope;
  color: #333;
  margin-top: 12px;
}

/* Купон */
.ck-promo {
  margin-top: 20px;
}
.ck-coupon {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: start;
}
.ck-coupon input {
  flex: 1;
}
.ck-apply-coupon {
  background: #141517;
  color: #fff;
  border: 0;
  padding: 8px 16px;
}

/* Summary */
.ck-summary__top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0;
}
.ck-sum {
  font: 500 28px/38px Manrope;
  color: #141517;
  text-transform: uppercase;
}

/* Items */
.ck-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ck-item {
  display: flex;
  gap: 20px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 24px;
  flex: 0 1 calc(50% - 12px);
}
.ck-photo {
  width: 164px;
  height: 245px;
  background: #281f1b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ck-photo__label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font: 500 14px/19px Manrope;
  text-transform: uppercase;
}
.ck-item__img {
  max-width: 100%;
  height: auto;
}
.ck-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ck-info__title {
  font: 500 20px/27px Manrope;
  color: #141517;
  text-transform: uppercase;
}
.ck-attr {
  font: 400 16px/22px Manrope;
  color: #333;
}
.ck-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ck-qty__label {
  font: 400 16px/22px Manrope;
  color: #333;
}
.ck-qty__ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ck-qty__btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
}
.ck-qty__input {
  width: 48px;
  text-align: center;
  border: 1px solid #e5e5e5;
  height: 28px;
}
.ck-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ck-price {
  font: 500 20px/27px Manrope;
  color: #141517;
  text-transform: uppercase;
}
.ck-remove {
  font: 400 16px/22px Manrope;
  color: #141517;
}

/* Place order */
.ck-place {
  margin-top: 12px;
}
.ck-place__btn {
  width: 100%;
  background: #141517;
  color: #fff;
  border: 0;
  padding: 12px 32px;
  text-transform: uppercase;
  font: 500 20px/27px Manrope;
}

.checkout-page h3 {
  display: none;
}
.checkout-page .woocommerce-billing-fields {
  width: 100%;
}

.pod-order-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  gap: 20px;
  margin-bottom: 60px;
}

/* Info page specific styles (used by info-page.php) */
.info-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  gap: 100px;
  background: #fcfafa;
  color: #141517;
}
.info-page .container {
  max-width: 1200px;
  padding: 56px 24px 80px;
  width: 100%;
}
.info-page .ck-title {
  font: 500 40px/55px Manrope, system-ui;
  text-transform: uppercase;
  color: #141517;
  margin: 0 0 24px;
}
.info-text {
  display: block;
}
.info-text p {
  margin: 0 0 16px;
}
.info-text .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 37px;
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.info-text .info-lead {
  font: 500 20px/27px Manrope;
  text-transform: uppercase;
  color: #141517;
  margin-bottom: 8px;
}
.info-text ul {
  margin: 8px 0 0 20px;
  padding: 0;
}
.info-text ul li {
  margin: 6px 0;
  font: 500 20px/27px Manrope;
  color: #656565;
}

.cust_myaccount {
  margin-top: 150px;
}
.custom-my-account-content {
  width: 100% !important;
  margin-top: 46px;
}
.custom-my-account-content form {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.title_resetall {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.title_resetall a {
  color: #1d71df;
  font-size: 20px;
  font-weight: 400;
}
.title_resetall h3,
.saved-addresses-title {
  color: #141517;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}
.saved-addresses-title {
  margin-bottom: 24px;
}
.form_reset p {
  margin-bottom: 32px;
}
.form_reset input {
  font-size: 20px;
}
.form_reset .reset-password-btn {
  width: 100%;
  height: 51px;
  background: #e5e5e5;
  color: #fff;
  font-size: 20px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  text-align: center;
  margin: 0 !important;
  text-transform: uppercase;
}

.btn_submit_saveinfo {
  width: 50%;
  height: 51px;
  background: #141517;
  background-color: #141517 !important;
  color: #fff !important;
  font-size: 20px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto !important;
}

.log_outcust {
  text-align: center;
  color: #141517;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  display: flex !important;
  justify-content: center;
  margin: 0 auto !important;
  background-color: transparent !important;
}

/* === Checkout Billing Layout === */

/* Контейнер: флекс для рівномірного розподілу */
.woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* відступ між полями */
}

/* Усі поля за замовчуванням — 100% */
.woocommerce-billing-fields__field-wrapper .form-row {
  flex: 1 1 100%;
}

/* Перші 4 поля по 50% ширини */
.woocommerce-billing-fields__field-wrapper .form-row:nth-child(-n + 4) {
  flex: 1 1 calc(50% - 12px);
}

/* Адаптив: на мобільних усі поля в одну колонку */
@media (max-width: 768px) {
  .woocommerce-billing-fields__field-wrapper .form-row {
    flex: 1 1 100%;
  }
}

/* My Account horizontal tabs (full-width) */
.account-tabs {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 0 28px 0;
  background: transparent;
}
.account-tabs__list {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.account-tabs__item {
  flex: 1 1 0;
  text-align: center;
}
.account-tabs__link {
  display: block;
  padding: 22px 12px;
  text-decoration: none;
  color: #656565;
  font: 700 18px/24px Manrope, system-ui;
  text-transform: uppercase;
}
.account-tabs__item.is-active .account-tabs__link {
  color: #141517;
  position: relative;
}
.account-tabs__item a {
  color: #c0c0c0;
  font-weight: 400;
  font-size: 20px;
  padding-bottom: 10px;
}
.account-tabs__item.is-active .account-tabs__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 30%;
  bottom: 0;
  height: 1px;
  background: #141517;
  width: 100%;
}

/* Header account button states */
.account-btn.is-logged-in {
  color: #141517;
}
.account-btn.is-active {
  color: #141517;
}
.account-btn.is-active::after {
  content: '';
  display: block;
  height: 2px;
  width: 18px;
  background: #141517;
  margin: 6px auto 0;
}

/* Ensure the account content has spacing */
.woocommerce-MyAccount-content {
  padding: 24px 0 80px;
}

/* Personal info form two-column layout */
.myaccount-personal .form-row {
  box-sizing: border-box;
}
.myaccount-personal .form-row.half {
  width: calc(50% - 12px);
  float: left;
  padding-right: 12px;
}
.myaccount-personal .form-row.full {
  width: 100%;
  clear: both;
}

@media (max-width: 768px) {
  .account-tabs__link {
    padding: 16px 8px;
    font-size: 16px;
  }
  .myaccount-personal .form-row.half {
    width: 100%;
    padding-right: 0;
  }
}

/* Orders list styling */
.myaccount-orders {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 32px;
  width: 1200px;
  height: auto; /* per mock - can be changed to auto if scroll preferred */
  margin: 0 auto;
}

/* ----------------------------------------------------------------------
   Order details page — match mock exactly
   - Centered column 1200px
   - Auto layout: column, gap 32px
   - Child boxes are non-growing and stacked
   - Back arrow, title centered, boxes with subtle border and padding
---------------------------------------------------------------------- */
.order-details.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 32px;
  width: 1200px;
  height: 937px;
  margin: 40px auto 80px;
  box-sizing: border-box;
}

.order-details__back {
  align-self: flex-start;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  color: #141517;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  margin-left: 0;
}

.order-details__title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #141517;
  margin: 0;
}

.order-details__box {
  width: 100%;
  background: #fff;
  border: 1px solid #eaeaea;
  padding: 22px 28px;
  box-sizing: border-box;
  flex: none;
  flex-grow: 0;
}

.order-details__heading {
  font-size: 20px;
  color: #141517;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  font-weight: 400;
}

.order-overview {
  background: transparent;
  font-weight: 300;
}

.order-overview div {
  margin-bottom: 8px;
  color: #141517;
  font-size: 20px;
}
.order-overview strong {
  color: #c0c0c0;
}

.order-goods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-goods__row {
  display: flex;
  align-items: start;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}
.order-goods__row:last-child {
  border-bottom: none;
}

.order-goods__thumb {
  width: 76px;
  height: 76px;
}
.order-goods__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-goods__meta {
  flex: 1;
}
.order-goods__title {
  font-size: 20px;
  color: #141517;
  font-weight: 500;
}
.order-goods__attr {
  font-size: 14px;
  color: #141517;
  margin-top: 6px;
  text-transform: uppercase;
}

.order-goods__price {
  min-width: 80px;
  text-align: right;
  font-weight: 600;
  color: #141517;
  font-size: 20px;
}
.order-goods__attr strong {
  font-weight: 300;
  text-transform: none;
}

.order-personal div strong {
  color: #c0c0c0;
}
.order-personal div {
  margin-bottom: 8px;
  color: #141517;
  font-size: 20px;
  font-weight: 300;
}

/* Sign-in modal styles to match provided mock */
.sign-in-modal {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 36px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  box-sizing: border-box;
}
.sign-in-modal h2 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 18px 0;
  font-weight: 700;
}
.sign-in-modal .woocommerce-form .form-row {
  margin-bottom: 18px;
}
.sign-in-modal .woocommerce-Input.input-text {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 8px;
  font: 500 18px/24px Manrope, system-ui;
  color: #141517;
  background: transparent;
}
.sign-in-modal .woocommerce-form-login__submit {
  display: block;
  width: 100%;
  background: #141517;
  color: #fff;
  padding: 14px 0;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  margin-top: 8px;
}
.sign-in-modal .woocommerce-LostPassword {
  text-align: right;
  margin-top: 8px;
}
.social-sep {
  text-align: center;
  margin: 18px 0;
  color: #808080;
  font-weight: 400;
}
.social-login-wrap {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.social-login-wrap a,
.social-login-wrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(33.333% - 8px);
  height: 54px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  cursor: pointer;
}
.social-login-wrap img,
.social-login-wrap svg {
  height: 28px;
  width: auto;
}
.signin-modal__footer {
  margin-top: 18px;
  font-size: 16px;
  color: #333;
}
.signin-modal__footer a {
  color: #1d71df;
  text-decoration: none;
  margin-left: 6px;
}

@media (max-width: 600px) {
  .sign-in-modal {
    padding: 20px;
    max-width: 92%;
  }
  .social-login-wrap a,
  .social-login-wrap button {
    width: calc(33.333% - 6px);
  }
}

.order-details__cta {
  width: 100%;
}
.order-details__again {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-size: 20px;
  background: #141517;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.order-details__again:hover {
  background: #1d1f21 !important;
  color: #fff !important;
}

@media (max-width: 1200px) {
  .order-details.container,
  .myaccount-orders {
    width: 100%;
    padding: 0 20px;
    height: auto;
  }
}

.myaccount-orders > .order-card {
  flex: none;
  order: 1;
  flex-grow: 0;
  width: 100%;
}

.order-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 24px;
  border: 1px solid #eaeaea;
  background: #ffffff;
  box-sizing: border-box;
}
.order-item__photo {
  width: 76px !important;
  height: 76px !important;
}
.order-item__photo img {
  width: 100%;
  height: 100%;
}
.order-card__left {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.order-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-card__number {
  font-size: 20px;
  font-weight: 700;
  color: #141517;
  text-transform: uppercase;
}

.order-card__status {
  font-size: 20px;
  color: #c0c0c0;
  text-transform: uppercase;
}

.order-card__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.order-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}
.order-item:last-child {
  border-bottom: none;
}

.order-item__meta {
  flex: 1 1 auto;
}

.order-item__title {
  font-size: 20px;
  color: #141517;
  font-weight: 500;
}

.order-item__attrs {
  font-size: 14px;
  color: #656565;
  margin-top: 6px;
  font-weight: 100;
}
.order-item__attrs span {
  text-transform: uppercase;
}
.order-item__price {
  min-width: 80px;
  text-align: right;
  font-size: 20px;
  font-weight: 600;
  color: #141517;
}

.order-card__right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.order-card__total {
  font-size: 28px;
  font-weight: 700;
  color: #141517;
  text-transform: uppercase;
}

.order-card__view {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border: 1px solid #e5e5e5;
  color: #141517;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
}
.order-card__view:hover {
  background: #f5f5f5;
}
.orders-logout-link {
  font-size: 16px;
  text-transform: uppercase;
  color: #141517;
  font-weight: 500;
}

/* Orders empty state styles */
.orders-empty {
  padding: 50px 0 120px;
  background: #fcfafa;
  text-align: center;
}
.orders-empty__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #141517;
  text-transform: uppercase;
}
.orders-empty__lead {
  color: #656565;
  font-size: 18px;
  margin: 0 0 32px;
}
.orders-empty__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 18px;
}
.orders-empty__btn {
  padding: 14px 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.6px;
}
.orders-empty__btn--dark {
  background: #141517;
  color: #fff;
  border: 0;
}
.orders-empty__btn--outline {
  background: transparent;
  color: #141517;
  border: 1px solid #141517;
}

@media (max-width: 768px) {
  .orders-empty__cta {
    flex-direction: column;
    gap: 12px;
  }
  .orders-empty__btn {
    width: 100%;
    max-width: 420px;
  }
}

/* 404 page styles (custom) */
.error-404-container {
  padding-top: 100px; /* requested 100px top offset */
  padding-bottom: 60px;
  text-align: center;
}
.error-404 .page-title {
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 24px;
  color: #222;
  font-weight: 700;
}
.simple-404-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-size: 200px;
  line-height: 1;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}
.error-404 .page-title {
  font-size: 34px;
  margin-bottom: 8px;
}
.error-subtext {
  color: #666;
  font-size: 16px;
  margin: 0 0 18px;
}
.error-actions {
  margin-top: 18px;
}
.cta-row,
.error-actions .search-form {
  display: none;
}
.error-actions .btn {
  display: inline-block;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: #1a73e8;
  color: #fff;
}
.btn-outline {
  border: 1px solid #ddd;
  color: #333;
  background: #fff;
}
.error-right .widget {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .error-content {
    flex-direction: column;
  }
  .error-right {
    width: auto;
  }
  .error-404 .page-title {
    font-size: 22px;
  }
  .cta-row {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .error-code {
    font-size: 96px;
  }
}
/* .logged-in .main_header_cust {
  position: relative;
  height: 152px;
} */

.logged-in header h1 {
  display: none;
}

.detail_edit_input,
.saved_addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 24px;
  grid-row-gap: 32px;
}
.detail_edit_input .form-row {
  width: 100% !important;
}

.custom-my-account-content input {
  border-bottom: 1px solid #141517;
  background: transparent;
}

/* When an input is empty show a lighter bottom border so placeholders read as lighter state.
   Use :placeholder-shown which is widely supported for text-like inputs. This preserves
   the darker border for filled inputs. */

/* Filled inputs: darker border and darker text color */
.custom-my-account-content input:not(:placeholder-shown),
.custom-my-account-content textarea:not(:placeholder-shown),
.checkout-page input:not(:placeholder-shown),
.checkout-page textarea:not(:placeholder-shown) {
  border-bottom: 1px solid #141517 !important;
  color: #141517;
}
.title_order_items {
  display: block !important;
}
.pod-order-item_wrap {
  background: #fff;
  border: 1px solid #e5e5e5 !important;
  padding: 24px !important;
}
.title_order_items {
  font-size: 28px;
  color: #1d1d1d;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 60px;
  margin-bottom: 20px;
}

/* Placeholder text styling (slightly muted) */
.custom-my-account-content input::placeholder,
.custom-my-account-content textarea::placeholder,
.checkout-page input::placeholder,
.checkout-page textarea::placeholder {
  color: #9a9a9a;
  opacity: 1; /* ensure consistent rendering across browsers */
}

/* .shop_table {
  display: none;
} */
.custom-my-account-content h1 {
  text-transform: uppercase;
  color: #141517;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}

.checkout-page input,
.checkout-page textarea {
  border-bottom: 1px solid #141517;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  font-size: 20px;
  color: #c0c0c0;
}

.woocommerce-checkout-delivery-heading {
  margin-bottom: 24px;
}
.title_checkout {
  font-size: 28px;
  color: #141517;
  font-weight: 400;
  margin-top: 60px;
  text-transform: uppercase;
}
.title_checkout {
  font-size: 40px;
  color: #141517;
  font-weight: 500;
  text-transform: uppercase;
}
.description_checkout {
  font-size: 28px;
  color: #1d1d1d;
  font-weight: 500;
  margin-top: 26px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
/* ----------------------------------------------------------------------
   Custom radio inputs — refined to match checkout mock
   - Inactive: crisp 36x36 rounded square with dark border
   - Active: same square with a centered bold '+'
   - Use <label class="custom-radio"><input type="radio"> Option</label>
   - Fallback pattern supported for input+label markup (.native-radio + .custom-radio-fallback)
---------------------------------------------------------------------- */

label.custom-radio {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  position: relative;
  margin-right: 24px;
  color: #141517;
  font-size: 16px;
  line-height: 1;
}

/* keep the native input in the DOM for accessibility but visually hide it */
label.custom-radio input[type='radio'] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* indicator box */
label.custom-radio::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid #141517; /* dark border for visible boxed look */
  background: #fff;
  box-sizing: border-box;
}

/* active: show a plus centered using ::after */
label.custom-radio:has(input[type='radio']:checked)::after {
  content: '+';
  position: absolute;
  left: 5px;
  top: 1px;
  font-size: 20px;
  line-height: 1;
  color: #141517;
  font-weight: 700;
}

/* subtle transition */
label.custom-radio::before,
label.custom-radio::after {
  transition: all 160ms ease;
}

/* Fallback pattern (input + label) — use .native-radio + .custom-radio-fallback */
.custom-radio-fallback .indicator {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid #141517;
  background: #fff;
  vertical-align: middle;
  margin-right: 12px;
  box-sizing: border-box;
}
.native-radio:checked + .custom-radio-fallback .indicator {
  border-color: #141517;
  position: relative;
}
.native-radio:checked + .custom-radio-fallback .indicator::after {
  content: '+';
  position: absolute;
  left: 10px;
  top: 6px;
  font-size: 20px;
  color: #141517;
  font-weight: 700;
}

/* focus-visible for keyboard users */
label.custom-radio:focus-within::before,
.custom-radio-fallback .indicator:focus {
  outline: 3px solid rgba(20, 21, 23, 0.06);
  outline-offset: 3px;
}

/* smaller variant */
label.custom-radio.small::before {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
label.custom-radio.small:has(input[type='radio']:checked)::after {
  left: 8px;
  top: 4px;
  font-size: 16px;
}

/* ensure radio groups align nicely */
.ck-del-tabs,
.ck-shipping-methods {
  display: flex;
  gap: 22px;
  align-items: center;
}

/* ----------------------------------------------------------------------
   Styled selects (checkout)
   - Placeholder (empty value) shows muted text and lighter underline
   - When a valid value is chosen, text and underline become dark
   - Right-side chevron icon (SVG data-uri) for crisp rendering
---------------------------------------------------------------------- */

form.checkout select,
.checkout-page .ck-card select,
.ck-del-panel select,
.ck-shipping-methods select,
.shipping_country,
.woocommerce-checkout select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 44px 12px 0;
  font: 500 20px/27px Manrope, system-ui;
  color: #e5e5e5; /* muted placeholder color by default */
  width: 100%;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='9' viewBox='0 0 18 9' fill='none'><path d='M0.749844 0.75L7.26984 7.27C8.03984 8.04 9.29984 8.04 10.0698 7.27L16.5898 0.75' stroke='%23141517' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 9px;
}

/* Use :invalid to show placeholder style when select has required and empty first option (common pattern on checkout fields) */
.checkout-page select:invalid {
  color: #9a9a9a;
  border-bottom-color: #c0c0c0;
}
.checkout-page select:valid {
  color: #141517;
  border-bottom-color: #141517;
}
.ck-del-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.checkout-page select:focus {
  outline: none;
  border-bottom-color: #e5e5e5;
  box-shadow: 0 4px 12px rgba(20, 21, 23, 0.06);
}

/* When a select is actively open / being interacted with we show the strong active underline,
   darker text color and a subtle white background to lift it above the page. JS toggles
   the `is-open` class while the native dropdown is open (focus/interaction). */
.checkout-page select.is-open {
  color: #141517; /* dark text while open */
  border-bottom-color: #141517;
  box-shadow: 0 8px 24px rgba(20, 21, 23, 0.08);
}

.checkout-page select.is-open::placeholder {
  color: #141517;
}

/* smaller selects in tight layouts */
.checkout-page select.small {
  padding-right: 36px;
  background-size: 14px 8px;
  font-size: 18px;
}

/* ----------------------------------------------------------------------
   Transient checkout notice popups
   - Convert inline WooCommerce notices into small toasts that appear
     in the top-right, auto-dismiss, and can be dismissed manually.
---------------------------------------------------------------------- */
.candle-notice-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 120000; /* very high to overlay checkout UI */
  pointer-events: none; /* let clicks pass except on popups themselves */
}
.candle-notice-popup {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 21, 23, 0.12);
  transform-origin: top right;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 180ms ease;
  font-size: 14px;
  color: #141517;
  background: #fff;
  border: 1px solid rgba(20, 21, 23, 0.06);
}
.candle-notice-popup.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.candle-notice-popup.hide {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}
.candle-notice-popup .candle-close {
  position: absolute;
  right: 8px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: rgba(20, 21, 23, 0.6);
  cursor: pointer;
}
.candle-notice-popup.success {
  border-left: 4px solid #1d7a3f;
}
.candle-notice-popup.info {
  border-left: 4px solid #1d71df;
}
.candle-notice-popup.error {
  border-left: 4px solid #b00020;
}
.candle-notice-popup p {
  margin: 0;
}
.candle-notice-popup a {
  color: #1d71df;
  text-decoration: underline;
}

/* --- Coupon: ensure exact mock visuals (override earlier toggle rules) --- */
.ck-promo {
  margin-top: 20px;
}
.ck-promo .coupon-title {
  font-size: 20px;
  color: #141517;
  margin-bottom: 8px;
}
.ck-promo .ck-coupon {
  display: flex;
  gap: 12px;
  align-items: start;
}
.ck-promo .ck-coupon-form {
  display: flex;
  align-items: center;
  width: 100%;
}
.ck-apply-coupon {
  background: #141517 !important;
  color: #ffffff !important;
  border: 0 !important;
}
.ck-promo .ck-coupon-form .custom-input {
  flex: 1 1 auto;
  min-width: 180px;
  border: 0;
  border-bottom: 1px solid #e6e6e6; /* subtle underline */
  background: transparent;
  padding: 8px 12px 10px 0;
  font: 400 16px/22px Manrope, system-ui;
  color: #141517; /* typed text */
  box-sizing: border-box;
}
.ck-promo .ck-coupon-form .custom-input::placeholder {
  color: #d6d6d6; /* muted placeholder */
}

/* Visible, styled Apply button */
.ck-promo .ck-apply-coupon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #141517; /* dark button */
  color: #ffffff;
  border: 0;
  padding: 8px 14px;
  font: 600 14px/18px Manrope, system-ui;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 21, 23, 0.06);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.ck-promo .ck-apply-coupon:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 21, 23, 0.08);
}
.ck-promo .ck-apply-coupon:active {
  transform: translateY(0);
}
.ck-promo .ck-apply-coupon:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 21, 23, 0.06);
}

.view_order_custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.order-details__back,
.order-details__title,
.view_empty {
  width: 33%;
  display: flex;
}

.order-details__title {
  justify-content: center;
}

.order-details__back {
  justify-content: start;
}

#login-column .woocommerce-form-login__submit,
#register .woocommerce-form-register__submit,
.lost-password-panel .btn_reset_pass {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 51px;
  background: #141517;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}
#register .woocommerce-form-register__submit {
  margin-top: 24px;
}
#login-column .lost_password a {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  text-align: right;
  display: block;
  color: #1d71df;
  margin-top: 24px;
  margin-bottom: 32px;
}

.custom_form_loginangregistr,
#register {
  margin-top: 24px;
}
.account-panel__footer {
  font-size: 20px;
  margin-top: 24px;
}
.account-panel__footer a {
  color: #1d71df;
}

.social-sep {
  font-size: 20px;
  color: #141517;
  font-weight: 400;
}

.custom_form_loginangregistr input,
#register input {
  font-size: 20px;
  color: #141517;
  border-bottom: 1px solid #c0c0c0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: transparent;
}

.cust_myaccount header {
  display: none;
}
.cust_myaccount {
  margin-bottom: 60px;
}

#login-column h2,
#register-column h2 {
  text-transform: uppercase;
  color: #141517;
  font-weight: 400;
  font-size: 20px;
}
.lost-password-panel h2 {
  text-transform: uppercase;
  font-size: 28px;
  color: #141517;
  font-weight: 400;
  margin-bottom: 20px;
}

.lost-password-panel {
  max-width: 588px;
  width: 100%;
  margin: 0 auto;
  height: 50vh;
}
.lost-password-panel p {
  width: 100%;
}

.info-page h1 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 10px;
}
.candle-collection {
  margin-top: 100px;
}

/* Force single product photo: disable hover swap and indicators */
.product .photo img.photo-second {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.product .photo img.photo-first {
  opacity: 1 !important;
  opacity: 1 !important;
  transform: none !important;
  transform-origin: center center !important;
  -webkit-transform-origin: center center !important;
}
.product .photo .photo-bars {
  display: none !important;
}
.product .photo img {
  /* allow transform transitions for the main image (override previous suppression) */
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  -webkit-transition: -webkit-transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1) !important;
  will-change: transform;
}

/* Slight scale-in effect when hovering / focusing the product */
.product:hover .photo img.photo-first,
.product:focus-within .photo img.photo-first {
  transform: scale(1.04) !important;
  -webkit-transform: scale(1.04) !important;
}

/* Avoid accidental scale on very small screens without hover support */
@media (hover: none) and (pointer: coarse) {
  .product:hover .photo img.photo-first,
  .product:focus-within .photo img.photo-first {
    transform: none !important;
    -webkit-transform: none !important;
  }
}
