/* Custom styles for the reassurance block on product, cart and checkout pages */
.blockreassurance--product,
.blockreassurance--cart,
.blockreassurance--checkout,
.blockreassurance--order {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  justify-content: space-around !important;
  align-items: flex-start !important;
}

.blockreassurance--product {
  margin-block-start: 1.5rem !important;
}

.blockreassurance--product .reassurance,
.blockreassurance--cart .reassurance,
.blockreassurance--checkout .reassurance,
.blockreassurance--order .reassurance {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 1 1 0px !important;
  min-width: 120px !important;
  gap: 0.5rem !important;
}

.blockreassurance--product .reassurance__image,
.blockreassurance--cart .reassurance__image,
.blockreassurance--checkout .reassurance__image,
.blockreassurance--order .reassurance__image {
  margin-block-end: 0 !important;
  width: 3rem !important;
  height: 3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.blockreassurance--product .reassurance__image img,
.blockreassurance--product .reassurance__image svg,
.blockreassurance--cart .reassurance__image img,
.blockreassurance--cart .reassurance__image svg,
.blockreassurance--checkout .reassurance__image img,
.blockreassurance--checkout .reassurance__image svg,
.blockreassurance--order .reassurance__image img,
.blockreassurance--order .reassurance__image svg {
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  margin: 0 auto !important;
}

.blockreassurance--product .reassurance__content,
.blockreassurance--cart .reassurance__content,
.blockreassurance--checkout .reassurance__content,
.blockreassurance--order .reassurance__content {
  text-align: center !important;
}

/* Make product bottom (description / tabs) take 100% width on desktop */
@media (min-width: 992px) {
  .product__bottom {
    grid-template-columns: 100% !important;
  }
}

/* Customization Popup styles */

/* 1. Hide default product customization block */
.product-customization {
  display: none !important;
}

/* 2. Position product__right relatively to anchor absolute popup overlay */
.product__right {
  position: relative !important;
}

/* 3. Customization Popup container (backdrop overlay) */
.customization-popup {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-height: none !important;
  z-index: 2000 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  overflow: hidden;
}

/* Inner panel taking 80% of width and height of screen */
.customization-popup__panel {
  width: 80% !important;
  height: 80% !important;
  max-width: 1200px;
  max-height: 800px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: var(--bs-border-radius, 0.5rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  position: relative;
  overflow: hidden;
  animation: slideInPanel 0.3s ease-out;
}

@keyframes slideInPanel {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.customization-popup.d-none {
  display: none !important;
}

/* Header */
.customization-popup__header {
  flex-shrink: 0;
  background-color: #ffffff;
  z-index: 11;
}

/* Stepper */
.customization-popup__stepper {
  flex-grow: 1;
}

.stepper-step {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--bs-secondary-color, #6c757d);
}

.stepper-step.active {
  color: var(--bs-primary, #0d6efd);
  font-weight: 600;
}

.stepper-step .step-num {
  font-size: 0.75rem;
  font-weight: bold;
}

.stepper-line {
  flex-shrink: 0;
}

/* Content Area */
.customization-popup__body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

/* Dimension Lines */
.dimension-line {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  margin-bottom: 1rem;
  position: relative;
  transition: border-color 0.15s ease-in-out;
}

.dimension-line:hover {
  border-color: #ced4da;
}

/* Footer (Fixed to bottom of popup) */
.customization-popup__footer {
  flex-shrink: 0;
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  border-bottom-left-radius: var(--bs-border-radius, 0.5rem);
  border-bottom-right-radius: var(--bs-border-radius, 0.5rem);
}

/* Close button positioning */
.customization-popup__close-btn {
  border: none;
  background: transparent;
  padding: 0.25rem;
  color: var(--bs-secondary-color, #6c757d);
  cursor: pointer;
  transition: color 0.15s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customization-popup__close-btn:hover {
  color: var(--bs-danger, #dc3545);
}

/* popup variants container styling */
.popup-variants-container {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  margin-top: 1rem;
}

/* Align the conditions-to-approve form-check container and text to the right */
#conditions-to-approve .form-check {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  text-align: right !important;
  gap: 0.5rem !important;
  padding-left: 0 !important;
}

#conditions-to-approve .form-check-input {
  margin-left: 0 !important;
  margin-top: 0 !important;
  float: none !important;
  position: static !important;
}

/* Hide the terms-and-conditions checkbox input by ID */
#conditions_to_approve\[terms-and-conditions\],
input[id="conditions_to_approve[terms-and-conditions]"] {
  display: none !important;
}

/* Align ps_checkout logos (ps_checkout-mark) before the payment option label text */
.payment-option__form-check {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.payment-option__form-check .payment-option__input {
  order: 1 !important;
}

.payment-option__form-check .ps_checkout-mark {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.payment-option__form-check .payment-option__label {
  order: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* In case ps_checkout-mark is inside the label */
.payment-option__label .ps_checkout-mark {
  order: -1 !important;
  margin-right: 0.5rem !important;
}

/* Style the PayPal payment buttons to match the primary checkout button (payment-confirmation) */
.paypal-button-row,
.paypal-buttons,
.ps_checkout-button,
.js-payment-ps_checkout {
  width: 100% !important;
  max-width: 100% !important;
  height: 35px !important;
  /* height auto on mobile */
  margin: 0 !important;
  border-radius: var(--bs-border-radius, 0.375rem) !important;
}

.paypal-button.paypal-button-shape-pill {
  --btn-radius: 5px;
  border-radius: 5px;
}


.js-payment-binary {
  width: 100% !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .js-payment-binary {
    width: auto !important;
    min-width: 250px !important;
  }
}

@media (max-width: 768px) {

  .paypal-button-row,
  .paypal-buttons,
  .ps_checkout-button,
  .js-payment-ps_checkout {
    height: 55px !important;
  }
}

/* Position relative to contain the pseudo-element arrow */
.paypal-buttons {
  position: relative !important;
}

/* Style the PayPal button arrow icon inside .paypal-buttons div */
.paypal-buttons::after {
  content: "\e5c8" !important;
  /* unicode for right arrow (arrow_forward) in Material Icons */
  font-family: "Material Icons" !important;
  position: absolute !important;
  right: 1.25rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  /* click passes through to the PayPal iframe button */
  color: #002244 !important;
  /* dark blue to match PayPal theme and stand out on gold/yellow buttons */
  font-size: 1.25rem !important;
  z-index: 10 !important;
}

/* Styles for the appointment booking modal */
.appointment-step {
  transition: opacity 0.35s ease;
}

.appointment-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--bs-light, #f8f9fa);
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bs-body-color);
  transition: all 0.2s ease;
  animation: fadeInTag 0.25s ease-out;
}

.appointment-date-tag:hover {
  background-color: var(--bs-danger-bg-subtle, #f8d7da);
  border-color: var(--bs-danger-border-subtle, #f5c2c7);
  color: var(--bs-danger, #dc3545);
}

.appointment-date-tag .btn-close {
  font-size: 0.65rem;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

@keyframes fadeInTag {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#product .product__name {
  width: 100%;
}

#product .product__additional-info {
  gap: 0;
}

/* Appointment, Quote, and Sample buttons custom design */
.product__appointment-button,
.product__customization-button,
.product__sample-button {
  border-color: var(--bs-gray-900) !important;
  color: var(--bs-gray-900) !important;
  font-size: 11px !important;
  background-color: transparent !important;
  transition: all 0.2s ease-in-out !important;
  border-radius: 0 !important;
}

.product__appointment-button:hover,
.product__customization-button:hover,
.product__sample-button:hover {
  background-color: var(--bs-gray-900) !important;
  color: var(--bs-white) !important;
  border-color: var(--bs-gray-900) !important;
}

/* Hide secure payment text in ps_checkout block */
#ps_checkout-payment-method-logo-block-title {
  display: none !important;
}

/* Product 10% VAT alternative price and popover */
.product__price-10vat {
  font-size: 1.1rem;
  font-weight: 500;
}

.info-icon-vat {
  font-size: 22px;
  vertical-align: middle;
  user-select: none;
}

.vat-popover-content {
  width: 300px;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  font-size: 0.85rem;
  font-weight: normal;
  line-height: 1.4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.vat-popover-content .popover-arrow {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  position: absolute;
}

.vat-popover-content .popover-arrow-border {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(0, 0, 0, 0.12);
  z-index: -1;
  position: absolute;
}

/* Marketing Banner custom styles */
.marketing-banner__icon--star {
  color: #ffcc00 !important;
}

.marketing-banner__review-count {
  font-size: 0.825em;
  opacity: 0.85;
}

/* Footer Contact Info custom styles */
.footer-contactinfo__logo {
  filter: brightness(0) invert(1);
  max-height: 45px;
  width: auto;
}

.footer-contactinfo__socials {
  margin-top: 1.5rem;
}

.footer-contactinfo__social-link {
  font-size: 1.5rem;
  color: var(--bs-gray-300);
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-contactinfo__social-link:hover {
  color: #ffcc00 !important;
  transform: translateY(-3px);
}

/* Header Contact Popover styles */
.header-contact-popover-content {
  width: 395px !important;
  top: 130%;
  right: 0;
  z-index: 1050;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.header-contact-popover-content .popover-arrow {
  top: -6px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  position: absolute;
}

.header-contact-popover-content .popover-arrow-border {
  top: -7px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(0, 0, 0, 0.12);
  z-index: -1;
  position: absolute;
}

/* CustomKitchen Page Premium Styles */
.custom-kitchen-page {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Hero Section */
.ck-hero {
  background: linear-gradient(135deg, #fbfbfd 0%, #f4f4f7 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 5rem 0;
  position: relative;
}

.ck-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(230, 240, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.ck-hero__content {
  animation: ckFadeInUp 0.8s ease-out;
}

.ck-hero__title {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ck-hero__title strong {
  font-weight: 800;
  color: var(--bs-primary);
}

.ck-hero__lead strong {
  font-weight: 600;
  color: #111;
}

/* Steps Cards */
.ck-steps {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--bs-primary);
  margin-top: 1rem;
}

.ck-step-card {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1.5rem;
}

.ck-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.08);
}

.ck-step-card__num {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: -40px auto 1rem auto;
  border: 4px solid #fff;
}

/* Inspirations Section */
.ck-inspirations {
  padding: 5rem 0;
}

.ck-inspiration-card {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ck-inspiration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.ck-inspiration-card__img-container {
  overflow: hidden;
  height: 260px;
}

.ck-inspiration-card__img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ck-inspiration-card:hover .ck-inspiration-card__img {
  transform: scale(1.06);
}

.ck-inspiration-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #111;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  text-uppercase: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Showroom Section */
.ck-showroom {
  padding: 5rem 0;
}

.ck-showroom__img-container {
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ck-showroom__img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ck-showroom__img-container:hover img {
  transform: scale(1.03);
}

/* Animations */
@keyframes ckFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Image Container Styles */
.ck-hero__image-wrapper {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  animation: ckFadeInUp 1s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ck-hero__img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ck-hero__image-wrapper:hover .ck-hero__img {
  transform: scale(1.03);
}

.ck-hero__img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

/* Rating Badge Styles */
.ck-hero__rating-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  display: inline-flex !important;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ck-hero__rating-logo {
  flex-shrink: 0;
}

.ck-hero__rating-platform {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ck-hero__rating-val {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4a4a4a !important;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.2;
}

.ck-hero__rating-val .material-icons {
  margin-top: -1px;
}

/* Hero Advantages List Styles */
.ck-hero__features {
  margin-top: 1.5rem;
}

.ck-hero__features li {
  font-size: 1.05rem;
  color: #333;
}

.ck-hero__features i {
  color: #a87b43 !important; /* Premium accent color */
}

/* Custom Kitchen CTA Buttons */
.ck-cta-btn {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-radius: 8px !important; /* Rounded corners like home hero */
  font-weight: 600 !important;
  padding: 0.8rem 2rem !important;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}

.ck-cta-btn:hover {
  background-color: #333333 !important;
  border-color: #333333 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.ck-cta-btn i {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ck-cta-btn:hover i {
  transform: translateX(4px); /* Micro-animation moving arrow to the right on hover */
}

/* Alternative CTA Button (Call Advisor) */
.ck-cta-btn-alt {
  background-color: transparent !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 0.8rem 2rem !important;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
}

.ck-cta-btn-alt:hover {
  background-color: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.ck-cta-btn-alt i {
  font-size: 1.1rem;
  line-height: 1;
}