/* ==============================================
   Global dark theme override
   ============================================== */
body {
  background-color: #faf2ca !important;
  color: #fff !important;
}
h1, h2, h3, h4, h5, h6 {
  color: #271104 !important;
}
p, span, li, a, label, td, th, div {
  color: inherit;
}
.site-main {
  color: #fff;
}

.why-us-section,
.testimonials-screenshots-section,
.video-testimonials-section,
.faq-section {
  background-color: #faf2ca !important;
}
.photo-merge-section {
  background: none !important;
  background-color: #faf2ca !important;
}
.photo-merge-section::before,
.photo-merge-section::after,
.photo-merge-section .container::before,
.photo-merge-section .container::after {
  display: none !important;
}

/* ==============================================
   Hero Section — dark theme override
   ============================================== */
.hero-section {
  background-color: #faf2ca !important;
  background-image: none !important;
}
.hero-section__bg-image,
.hero-section__bg-overlay {
  display: none !important;
}
.hero-section__title {
  color: #271104 !important;
}
.hero-section__subtitle {
  color: rgba(255, 255, 255, 0.85) !important;
  animation: heroPulse 2.5s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-section__button.btn-primary {
  background-color: #EE743F !important;
  color: #fff !important;
  border-radius: 2rem !important;
  padding: 0.75rem 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 2px 12px rgba(238, 116, 63, 0.15) !important;
  border: 2px solid rgba(238, 116, 63, 0.3) !important;
}
@media (min-width: 48rem) {
  .hero-section__button.btn-primary {
    font-size: 1rem !important;
    padding: 0.875rem 2.5rem !important;
  }
}
.hero-section__production-time {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #EE743F !important;
}
.hero-section__production-time-text {
  color: #EE743F !important;
}
.hero-section__slider {
  background-color: rgba(238, 116, 63, 0.15) !important;
}
/* GPU hint for smooth fade transitions */
.hero-section__slider .swiper-slide {
  will-change: opacity;
}

/* Orange text banner */
.hero-section__slide-text-banner {
  background-color: transparent;
  padding: 0.8rem 0;
  text-align: left;
  margin-bottom: 0;
}
@media (max-width: 47.9375rem) {
  .hero-section__slide-text-banner {
    background-color: #EE743F;
    padding: 0.75rem 1.5rem;
    text-align: center;
  }
}
.hero-section__slide-text {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin: 0;
  transition: opacity 0.3s ease;
}
@media (min-width: 48rem) {
  .hero-section__slide-text {
    font-size: 1.25rem;
  }
}

/* Hero mobile layout: title → subtitle → slider → button → production-time */
@media (max-width: 47.9375rem) {
  .hero-section {
    padding: 1.5rem 0 2rem !important;
    min-height: auto !important;
  }
  .hero-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .hero-section__inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0 !important;
  }
  .hero-section__slider .swiper-button-prev,
  .hero-section__slider .swiper-button-next,
  .hero-section__slider .swiper-pagination {
    display: none !important;
  }
  .hero-section__slider .swiper-slide img {
    width: 100% !important;
    height: 50vh !important;
    object-fit: cover !important;
  }
  .hero-section__content {
    display: contents !important;
  }
  .hero-section__title {
    order: 1;
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
  }
  .hero-section__subtitle {
    order: 2;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
  }
  .hero-section__slide-text-banner {
    order: 3;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
  .hero-section__slider {
    order: 4;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 -2rem !important;
    width: calc(100% + 4rem) !important;
  }
  .hero-section__slider .swiper-button-prev,
  .hero-section__slider .swiper-button-next {
    top: 50% !important;
  }
  .hero-section__button {
    order: 5;
    align-self: center !important;
    margin-top: -30px !important;
    position: relative;
    z-index: 10;
    width: 90% !important;
    text-align: center;
  }
  .hero-section .hero-section__button.btn.btn-primary {
    padding: 1rem 2rem !important;
  }
  .hero-section__production-time {
    order: 6;
    align-self: center;
    margin-top: 1rem !important;
    width: 90% !important;
  }
}
.hero-section__slider .swiper-button-prev svg *,
.hero-section__slider .swiper-button-next svg * {
  fill: #fff;
  stroke: #fff;
}
.hero-section__slider .swiper-pagination-bullet {
  border-color: rgba(255, 255, 255, 0.6);
}
.hero-section__slider .swiper-pagination-bullet-active {
  background: #EE743F;
  border-color: #EE743F;
}

/* ==============================================
   Sizes Section
   ============================================== */
.sizes-section {
  padding: 2.5rem 0;
  background: none;
  background-color: #faf2ca;
  position: relative;
  overflow: hidden;
}
@media (min-width: 48rem) {
  .sizes-section {
    padding: 3rem 0;
  }
}

.sizes-section__title {
  font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 2rem 0;
}
@media (min-width: 48rem) {
  .sizes-section__title {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
  }
}

.sizes-section__layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  position: relative;
}
@media (min-width: 48rem) {
  .sizes-section__layout {
    gap: 1.5rem;
  }
}

.sizes-section__column {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.sizes-section__btn {
  background-color: #EE743F;
  color: #fff;
  border: none;
  padding: 1.5rem 2.125rem;
  border-radius: 2rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.525rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sizes-section__btn:hover {
  background-color: #D85A2A;
}
.sizes-section__btn--active {
  background-color: #fff;
  color: #2C2C2C;
  font-weight: 700;
  border: 1px solid #2C2C2C;
}

/* Footer title stays white (overrides the global dark h1–h6 rule) */
.footer-section__title {
  color: #fff !important;
}

.sizes-section__preview {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

button#sizes-order-btn {
  width: 100%;
  margin-top: 10px;
}

.sizes-section__preview-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: 200px;
}
@media (min-width: 48rem) {
  .sizes-section__preview-card {
    max-width: 540px;
  }
}

.sizes-section__preview-price {
  background-color: #EE743F;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 48rem) {
  .sizes-section__preview-price {
    font-size: 1.875rem;
    padding: 1rem 1.5rem;
  }
}

.sizes-section__preview-image {
  background: #fff;
  padding: 0;
}
.sizes-section__preview-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

/* Sizes mobile */
@media (max-width: 47.9375rem) {
  .sizes-section .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .sizes-section__layout {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    display: flex;
  }
  .sizes-section__column {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sizes-section__btn {
    font-size: 0.7rem;
    padding: 0.55rem 0.2rem;
    width: 100%;
    white-space: nowrap;
    border-radius: 1.25rem;
  }
  .sizes-section__preview {
    flex: 1 1 auto;
    min-width: 0;
  }
  .sizes-section__preview-card {
    max-width: 100%;
    margin: 0 auto;
  }
  .sizes-section__preview-price {
    font-size: 1.1rem;
    padding: 0.4rem 0.5rem;
  }
}

/* Sizes desktop (smaller) */
@media (min-width: 48rem) {
  .sizes-section__layout {
    max-width: 56%;
    margin: 0 auto;
    gap: 0.85rem;
  }
  .sizes-section__btn {
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
  }
  .sizes-section__preview-card {
    max-width: 300px;
  }
  .sizes-section__preview-price {
    font-size: 1.05rem;
    padding: 0.55rem 0.85rem;
  }
}

/* ==============================================
   Formats Section
   ============================================== */
.formats-section {
  padding: 3rem 0;
  background: none;
  background-color: #faf2ca;
  position: relative;
  overflow: hidden;
}
@media (min-width: 48rem) {
  .formats-section {
    padding: 4rem 0;
  }
}

.formats-section__title {
  font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 2rem 0;
}
@media (min-width: 48rem) {
  .formats-section__title {
    font-size: 1.875rem;
    margin-bottom: 3rem;
  }
}

.formats-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 48rem) {
  .formats-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.formats-section__card {
  border: 2px solid #EE743F;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
}
.formats-section__card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}

.formats-section__card-image {
  position: relative;
  overflow: hidden;
}
.formats-section__card-image img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
@media (min-width: 48rem) {
  .formats-section__card-image img {
    height: 40rem;
  }
}
.formats-section__card:hover .formats-section__card-image img {
  transform: scale(1.05);
}

.formats-section__card-content {
  padding: 0.5rem 1rem;
  text-align: center;
}
@media (min-width: 48rem) {
  .formats-section__card-content {
    padding: 1rem;
  }
}

.formats-section__card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #EE743F;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
@media (min-width: 48rem) {
  .formats-section__card-title {
    font-size: 1rem;
  }
}

.formats-section__card-description {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.75rem;
  color: #271104;
  margin: 0;
  line-height: 1.5;
}
@media (min-width: 48rem) {
  .formats-section__card-description {
    font-size: 0.875rem;
  }
}

.formats-section__card-btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* Format display in photo-merge modal */
.photo-merge-form__format-display {
  background: rgba(238, 116, 63, 0.1);
  border: 1px solid #EE743F;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: #EE743F;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ==============================================
   Testimonials Screenshots Section
   ============================================== */
.testimonials-screenshots-section {
  padding: 2.5rem 0;
  background-color: #FF7539;
}
@media (min-width: 48rem) {
  .testimonials-screenshots-section {
    padding: 3rem 0;
  }
}

.testimonials-screenshots-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 48rem) {
  .testimonials-screenshots-section__inner {
    gap: 2.5rem;
  }
}

.testimonials-screenshots-section__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff !important;
  text-align: center;
  margin: 0;
}
/* Slider arrows readable on the orange background */
.testimonials-screenshots-section .testimonials-screenshots-prev svg *,
.testimonials-screenshots-section .testimonials-screenshots-next svg * {
  fill: #fff !important;
  stroke: #fff !important;
}
@media (min-width: 48rem) {
  .testimonials-screenshots-section__title {
    font-size: 2.25rem;
  }
}

.testimonials-screenshots-section__slider {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0 2.5rem;
}
@media (min-width: 48rem) {
  .testimonials-screenshots-section__slider {
    padding: 0 1rem;
  }
}

.testimonials-screenshots-swiper {
  overflow: hidden;
}

.testimonials-screenshots-section__item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonials-screenshots-section__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.testimonials-screenshots-section__item img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials-screenshots-prev,
.testimonials-screenshots-next {
  width: 3rem;
  height: 3rem;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}
.testimonials-screenshots-prev::after,
.testimonials-screenshots-next::after {
  display: none;
}
.testimonials-screenshots-prev svg,
.testimonials-screenshots-next svg {
  width: 2.5rem;
  height: 2.5rem;
}
.testimonials-screenshots-prev svg *,
.testimonials-screenshots-next svg * {
  fill: #EE743F;
  stroke: #EE743F;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.testimonials-screenshots-prev:hover,
.testimonials-screenshots-next:hover {
  transform: translateY(-50%) scale(1.1);
}
.testimonials-screenshots-prev:hover svg *,
.testimonials-screenshots-next:hover svg * {
  fill: #D85A2A;
  stroke: #D85A2A;
}
.testimonials-screenshots-prev {
  left: 0;
}
.testimonials-screenshots-prev svg {
  transform: scaleX(-1);
}
@media (min-width: 48rem) {
  .testimonials-screenshots-prev {
    left: -2.5rem;
  }
}
.testimonials-screenshots-next {
  right: 0;
}
@media (min-width: 48rem) {
  .testimonials-screenshots-next {
    right: -2.5rem;
  }
}
.testimonials-screenshots-prev.swiper-button-disabled,
.testimonials-screenshots-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

/* ==============================================
   Order Steps — Mobile Fix (2 per row)
   ============================================== */
@media (max-width: 47.9375rem) {
  .order-steps-section__steps {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    justify-items: center;
  }
  .order-steps-section__step {
    max-width: 100% !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  .order-steps-section__step-icon {
    width: 5rem !important;
    height: 5rem !important;
  }
  .order-steps-section__arrow {
    display: none !important;
  }
  .hero-section__title {
    font-size: 1.5rem !important;
  }
}

/* Floating call button (right side) */
.floating-call {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #EE743F;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(238, 116, 63, 0.4);
  animation: floating-call-pulse 2s infinite;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.floating-call svg {
  width: 36px;
  height: 36px;
}
.floating-call:hover {
  background-color: #D85A2A;
  transform: scale(1.05);
  color: #fff;
}
@media (min-width: 48rem) {
  .floating-call {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 96px;
    height: 96px;
  }
  .floating-call svg {
    width: 42px;
    height: 42px;
  }
}
@keyframes floating-call-pulse {
  0% { box-shadow: 0 4px 12px rgba(238, 116, 63, 0.4); }
  50% { box-shadow: 0 4px 12px rgba(238, 116, 63, 0.4), 0 0 0 8px rgba(238, 116, 63, 0.1); }
  100% { box-shadow: 0 4px 12px rgba(238, 116, 63, 0.4), 0 0 0 0 rgba(238, 116, 63, 0); }
}

/* ==============================================
   Hero v2 (redesign) + before/after slider
   ============================================== */
.hero-v2 {
  padding: 3rem 0 4rem;
  overflow: hidden;
}
.hero-v2__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-v2__content {
  max-width: 36rem;
}
.hero-v2__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-v2__label {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  line-height: 1;
}
.hero-v2__label--solid {
  background: #4A2C12;
  color: #FF7539;
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.hero-v2__label--ghost {
  background: #FFF6E6;
  color: #FF7539;
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-v2__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
  color: #441F0C;
  margin: 0 0 1.75rem;
  font-weight: 600;
}
.hero-v2__benefits {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.hero-v2__benefit {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #FFF6E6;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-size: 1.0625rem;
  color: #3A2412;
}
.hero-v2__benefit strong {
  font-weight: 700;
}
.hero-v2__dot {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: #EE743F;
  box-shadow: 0 0 0 5px rgba(238, 116, 63, 0.18);
}
.hero-v2__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EE743F;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.15rem 2.6rem;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(238, 116, 63, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.hero-v2__cta:hover {
  color: #fff;
  background: #D85A2A;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(238, 116, 63, 0.5);
}

.hero-v2__media {
  position: relative;
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: #2A1B10;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.ba-slider__layer {
  position: absolute;
  inset: 0;
}
.ba-slider__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-slider__before {
  will-change: clip-path;
  clip-path: inset(0 50% 0 0);
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.ba-slider__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #2A1B10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-slider--single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #C9A98C;
  font-size: 0.95rem;
  padding: 1.5rem;
}

/* Mobile: shrink the before/after photo so photo + button fit one screen,
   and show the whole image (contain) instead of cropping. */
@media (max-width: 47.9375rem) {
  .ba-slider {
    aspect-ratio: auto;
    height: 50vh;
    max-height: 360px;
    min-height: 240px;
  }
  .ba-slider__layer img,
  .ba-slider--single img {
    object-fit: contain !important;
  }
}

@media (max-width: 64rem) {
  .hero-v2__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-v2__content {
    max-width: none;
  }
  .hero-v2__title {
    font-size: 40px;
  }
}
@media (max-width: 36rem) {
  .hero-v2 {
    padding: 2rem 0 2.5rem;
  }
  .hero-v2__title {
    font-size: 30px;
    margin-bottom: 1.4rem;
  }
  .hero-v2__benefit {
    font-size: 0.95rem;
  }
  .hero-v2__cta {
    width: 100%;
  }
}

/* ==============================================
   Picture formats — LOAD MORE + mobile 1-per-row
   ============================================== */
/* Hidden until "LOAD MORE" removes the --extra class */
.formats-section__card--extra {
  display: none !important;
}
.formats-section__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.formats-section__load-more {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Selected-format dropdown in the order popup */
.photo-merge-form__format-group select.form-control {
  width: 100%;
  cursor: pointer;
}
@media (max-width: 47.9375rem) {
  .formats-section__grid {
    grid-template-columns: 1fr !important;
  }
  .formats-section__grid > .formats-section__card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ==============================================
   Floating contacts — single round icon, bottom-right
   (the old "OUR contacts" pill is now a call-style icon;
    the separate tel: call button was removed)
   ============================================== */
.floating-contact {
  left: auto !important;
  right: 1.5rem !important;
}
.floating-contact__toggle {
  width: 84px !important;
  height: 84px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 0 !important;
}
.floating-contact__toggle svg {
  width: 36px;
  height: 36px;
}
/* Popup now anchors to the bottom-right corner */
.floating-contact__content {
  left: auto;
  right: 0;
  transform-origin: bottom right;
}
@media (min-width: 48rem) {
  .floating-contact {
    right: 2rem !important;
  }
  .floating-contact__toggle {
    width: 96px !important;
    height: 96px !important;
  }
  .floating-contact__toggle svg {
    width: 42px;
    height: 42px;
  }
}

/* ==============================================
   Sizes — "best option" badge + star on the size
   ============================================== */
.sizes-section__preview-card {
  position: relative;
}
.sizes-section__best-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2A1B10;
  color: #FF7539;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
@media (min-width: 48rem) {
  .sizes-section__best-badge {
    bottom: 16px;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
  }
}
.sizes-section__btn-star {
  font-size: 0.9em;
  line-height: 1;
}

/* ==============================================
   Hero — big GET STARTED under the slider (-> #formats)
   ============================================== */
/* Cart icon: main.css hides .cart-icon by default and only un-hid it via
   ".site-header__actions .cart-icon". It was moved out of that block, so
   restore its visibility in the new spot (direct child of header inner). */
.site-header__inner > .cart-icon {
  display: flex !important;
}

/* Site-wide GET STARTED: hidden on desktop; on mobile it's the same
   .hero-v2__cta pill, just floating (fixed, centered near the bottom). */
.hero-v2__mobile-cta {
  display: none;
}
@media (max-width: 47.9375rem) {
  .hero-v2__mobile-cta {
    display: inline-flex;
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: auto;
    margin: 0;
    z-index: 200;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 0.9rem 2rem;
    box-shadow: 0 10px 26px rgba(238, 116, 63, 0.55);
  }
  /* keep the footer bottom reachable past the floating button */
  body:has(.hero-v2__mobile-cta) {
    padding-bottom: 88px;
  }
}

/* ==============================================
   Checkout — "I'll send photos later" checkbox
   ============================================== */
.checkout-photo-upload__later {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #2C2C2C;
}
.checkout-photo-upload__later input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  cursor: pointer;
  accent-color: #EE743F;
}

/* ==============================================
   Floating "Have a question?" form
   ============================================== */
.floating-contact__form {
  width: 300px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-contact__form-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2C2C2C;
  margin: 0;
}
.floating-contact__form-subtitle {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin: 0 0 4px;
}
.floating-contact__form .form-group {
  margin: 0;
}
.floating-contact__form .form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e2d8cc;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}
.floating-contact__form .form-control:focus {
  outline: none;
  border-color: #EE743F;
  box-shadow: 0 0 0 2px rgba(238, 116, 63, 0.15);
}
.floating-contact__form-submit {
  width: 100%;
}
.floating-contact__form-message {
  font-size: 0.85rem;
  margin-top: 2px;
}
.floating-contact__form-message.is-success {
  color: #1a7f37;
}
.floating-contact__form-message.is-error {
  color: #c0392b;
}

/* ==============================================
   Checkout — readable colors (override global dark theme)
   ============================================== */
body.woocommerce-checkout,
body.woocommerce-checkout p,
body.woocommerce-checkout span,
body.woocommerce-checkout li,
body.woocommerce-checkout a,
body.woocommerce-checkout label,
body.woocommerce-checkout div,
body.woocommerce-checkout td,
body.woocommerce-checkout th,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout h4 {
  color: #271104 !important;
}
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
  color: #271104 !important;
  background-color: #fff !important;
}
/* keep action buttons legible (white text on the orange/dark button bg) */
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout button.components-button,
body.woocommerce-checkout .button,
body.woocommerce-checkout .btn {
  color: #fff !important;
}

/* Remove the right "Order summary" sidebar — checkout full width.
   (No display:block on the checkout container — that broke the Blocks layout.) */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
  display: none !important;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

/* ==============================================
   Checkout — Format/Size selector box
   ============================================== */
.onmua-canvas-box {
  background: #fff;
  border: 1px solid #e7dcc8;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.onmua-canvas-box__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #271104 !important;
  margin: 0 0 12px;
}
.onmua-canvas-box__body {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.onmua-canvas-box__photo {
  flex: 0 0 42%;
  max-width: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3ece0;
}
.onmua-canvas-box__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.onmua-canvas-box__fields {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.onmua-canvas-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.onmua-canvas-field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #271104 !important;
}
.onmua-canvas-field select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2d8cc;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #271104 !important;
  background-color: #fff !important;
  cursor: pointer;
}
.onmua-canvas-box__caption {
  font-size: 0.95rem;
  color: #271104 !important;
  margin-top: 2px;
}
.onmua-canvas-box__price {
  font-weight: 700;
  color: #ee743f !important;
}
@media (max-width: 36rem) {
  .onmua-canvas-box__body {
    flex-direction: column;
  }
  .onmua-canvas-box__photo {
    flex: none;
    max-width: none;
    aspect-ratio: 4 / 3;
  }
}
.onmua-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #271104 !important;
  margin: 0 0 12px;
  border-top: 0;
}
.onmua-order-total strong {
  font-size: 1.25rem;
  color: #271104 !important;
}
.onmua-prepay {
  margin: 8px 0 14px;
}
.onmua-guarantees {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.onmua-guarantees li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: #271104 !important;
  line-height: 1.3;
}
.onmua-guarantees li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}
.onmua-canvas-box__msg {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6b6b6b !important;
  min-height: 1em;
}
.onmua-canvas-box.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

/* ==============================================
   Classic checkout — full styling (self-contained)
   ============================================== */
/* Single column — everything stacked, centered */
body.woocommerce-checkout .woocommerce {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: block;
}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  grid-column: auto !important;
}
body.woocommerce-checkout #customer_details {
  margin-bottom: 10px;
}
#onmua-canvas-box,
.onmua-canvas-box,
.checkout-photo-upload-wrapper,
.onmua-prepay {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Fields */
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  width: 100% !important;
  float: none !important;
}
body.woocommerce-checkout .form-row {
  display: block !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
body.woocommerce-checkout .form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #271104 !important;
}
body.woocommerce-checkout .form-row .required {
  color: #ee743f !important;
  text-decoration: none;
}
body.woocommerce-checkout .input-text,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
  width: 100% !important;
  min-height: 48px;
  padding: 0.7rem 0.9rem !important;
  border: 1px solid #e2d8cc !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  color: #271104 !important;
  background-color: #fff !important;
  box-sizing: border-box;
}
body.woocommerce-checkout textarea {
  min-height: 90px;
}
body.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}
body.woocommerce-checkout .form-row input:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .form-row textarea:focus {
  outline: none;
  border-color: #ee743f !important;
  box-shadow: 0 0 0 2px rgba(238, 116, 63, 0.15);
}

/* Headings */
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem;
  color: #271104 !important;
  margin: 0 0 16px;
}
/* Hide empty "Additional information" block (order notes removed) */
body.woocommerce-checkout .woocommerce-additional-fields:not(:has(.form-row)) {
  display: none;
}

/* Order review */
body.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid #e7dcc8;
  border-radius: 14px;
  padding: 18px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 8px 4px;
  border-bottom: 1px solid #f0e7d6;
  text-align: left;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
  font-weight: 700;
  font-size: 1.05rem;
}
body.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
}
body.woocommerce-checkout #payment ul.payment_methods {
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
body.woocommerce-checkout #payment .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message {
  background: #fff6e6;
  border-left: 4px solid #ee743f;
  padding: 12px 14px;
  border-radius: 8px;
  color: #271104 !important;
  list-style: none;
}
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order {
  width: 100%;
  background: #ee743f !important;
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 6px;
}
body.woocommerce-checkout #place_order:hover {
  background: #d85a2a !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 0.8rem;
  color: #6b6b6b !important;
  margin: 12px 0;
}

/* "Upload images" button — orange */
.checkout-photo-upload__btn,
.checkout-photo-upload__btn.btn-secondary {
  background-color: #ee743f !important;
  border-color: #ee743f !important;
  color: #fff !important;
}
.checkout-photo-upload__btn:hover {
  background-color: #d85a2a !important;
  border-color: #d85a2a !important;
  color: #fff !important;
}
.checkout-photo-upload__btn svg {
  stroke: #fff !important;
}

/* Checkout — mobile: wider + no horizontal scroll */
@media (max-width: 47.9375rem) {
  body.woocommerce-checkout {
    overflow-x: hidden;
  }
  body.woocommerce-checkout .woocommerce {
    padding: 0 8px;
  }
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .col2-set,
  .onmua-canvas-box,
  .onmua-prepay,
  .checkout-photo-upload-wrapper {
    max-width: 100% !important;
    box-sizing: border-box;
  }
  /* nothing inside the checkout may exceed the viewport */
  body.woocommerce-checkout .woocommerce *,
  #onmua-canvas-box * {
    max-width: 100%;
  }
  body.woocommerce-checkout img,
  .onmua-canvas-box__photo img {
    max-width: 100%;
    height: auto;
  }
  /* order review table can be wide — let it scroll inside itself */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
  /* canvas box: photo over fields, full width */
  .onmua-canvas-box__body {
    flex-direction: column;
  }
  .onmua-canvas-box__photo {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

/* Footer — orange background, brown text; social/form removed */
.site-footer {
  background-color: #FF7539 !important;
  background-image: none !important;
}
.site-footer,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer .footer-section__title,
.site-footer__copyright-text {
  color: #271104 !important;
}
.site-footer a:hover {
  color: #271104 !important;
  opacity: 0.75;
}

/* Footer CTA — 3rd column, white button */
.site-footer .footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer .footer-order-btn,
.site-footer .footer-order-btn.btn-primary {
  background-color: #fff !important;
  color: #271104 !important;
  border: 0 !important;
}
.site-footer .footer-order-btn:hover {
  background-color: #faf2ca !important;
  color: #271104 !important;
}

/* Checkout: .container padding 1rem + hard kill horizontal scroll */
body.woocommerce-checkout .container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .container,
body.woocommerce-checkout .woocommerce {
  overflow-x: hidden !important;
  max-width: 100%;
}

/* Footer centered on mobile */
@media (max-width: 47.9375rem) {
  .site-footer__inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem;
  }
  .site-footer .footer-section {
    width: 100%;
    align-items: center !important;
    text-align: center !important;
  }
  .site-footer .footer-contacts__info,
  .site-footer .footer-menu {
    align-items: center;
    justify-content: center;
  }
}

/* Checkout order table — mobile */
@media (max-width: 47.9375rem) {
  .woocommerce-checkout-review-order-table,
  #order_review table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1rem 0;
    border: 0px !important;
  }
}

/* Checkout: border-box + clamp everything so padding never overflows */
body.woocommerce-checkout *,
body.woocommerce-checkout *::before,
body.woocommerce-checkout *::after {
  box-sizing: border-box;
}
body.woocommerce-checkout #page *,
body.woocommerce-checkout .woocommerce * {
  max-width: 100%;
}
body.woocommerce-checkout .onmua-canvas-box,
body.woocommerce-checkout .onmua-prepay,
body.woocommerce-checkout .checkout-photo-upload-wrapper,
body.woocommerce-checkout #order_review {
  box-sizing: border-box;
  max-width: 100% !important;
}

/* Global hard stop for horizontal scroll (all pages, all visitors).
   overflow-x:hidden is universally supported (clip is ignored by older
   Safari/engines — that's why the earlier fix didn't apply). */
html {
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Mini-cart off-canvas panel must not be full-viewport width
   (a rogue .mini-cart{max-width:100%} bloated it → horizontal scroll) */
.mini-cart {
  max-width: 400px !important;
}
@media (max-width: 30rem) {
  .mini-cart {
    max-width: 86vw !important;
  }
}

/* Hide social row inside the mobile burger menu */
.mobile-menu-social {
  display: none !important;
}

/* Active size button stays white (force over any later style) */
.sizes-section .sizes-section__btn.sizes-section__btn--active,
.sizes-section__btn.sizes-section__btn--active {
  background-color: #fff !important;
  color: #2C2C2C !important;
  font-weight: 700 !important;
  border: 1px solid #2C2C2C !important;
}

/* ==============================================
   Checkout desktop fix — block was rendering huge
   ----------------------------------------------
   `body.woocommerce-checkout .woocommerce * { max-width:100% }` (mobile
   scroll fix, no media query) out-specifies the photo's 220px cap, so on
   desktop "Your canvas" stretched the full single column. Keep the whole
   single-column checkout at a readable, centered width and pin the photo.
   ============================================== */
@media (min-width: 48rem) {
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-additional-fields,
  .onmua-canvas-box,
  .checkout-photo-upload-wrapper,
  .onmua-prepay {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .onmua-canvas-box__photo {
    flex: 0 0 220px !important;
    max-width: 220px !important;
  }
  .onmua-canvas-box__photo img {
    max-width: 100% !important;
  }
}

/* Required fields show "*"; drop WooCommerce's "(optional)" suffix
   everywhere on checkout. Phone is the only non-required field — it just
   shows no marker (still submittable empty). */
body.woocommerce-checkout .form-row .optional {
  display: none !important;
}
body.woocommerce-checkout .form-row .required,
body.woocommerce-checkout .form-row abbr.required {
  display: inline !important;
  color: #ee743f !important;
  text-decoration: none !important;
  border: 0 !important;
}

/* No floating buttons on the checkout page — neither the mobile
   GET STARTED pill nor the contact widget should distract during payment. */
body.woocommerce-checkout .hero-v2__mobile-cta,
body.woocommerce-checkout .floating-contact {
  display: none !important;
}

/* Tighten the gap between the last billing field (ZIP) and the
   "Upload photos (optional)" block. */
.checkout-photo-upload-wrapper {
  margin-top: 0 !important;
}
.checkout-photo-upload-wrapper > h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

/* "Your canvas" caption: price row on top, name + size below.
   Two stacked blocks (price first, name under it) — cleaner on mobile. */
.onmua-canvas-box__caption {
  margin-top: 8px;
}
.onmua-cv-cap-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.onmua-cv-cap-name {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #271104 !important;
  line-height: 1.3;
}
.onmua-canvas-box__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ee743f !important;
}
.onmua-canvas-box__old {
  color: #9a8d78 !important;
  text-decoration: line-through;
  font-weight: 600;
}
.onmua-canvas-box__save {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ee743f;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Mobile: centered, bigger price, muted name underneath */
@media (max-width: 36rem) {
  .onmua-canvas-box__caption {
    text-align: center;
  }
  .onmua-cv-cap-prices {
    justify-content: center;
    gap: 10px;
  }
  .onmua-canvas-box__price {
    font-size: 1.4rem;
  }
  .onmua-cv-cap-name {
    margin-top: 6px;
    font-size: 0.9rem;
    opacity: 0.85;
  }
}

/* Constrain the checkout content blocks to a readable width */
body.woocommerce-checkout .onmua-canvas-box,
body.woocommerce-checkout .onmua-prepay,
body.woocommerce-checkout .checkout-photo-upload-wrapper,
body.woocommerce-checkout #order_review {
  box-sizing: border-box;
  max-width: 720px !important;
}

/* Center the "Your order" heading */
body.woocommerce-checkout #order_review_heading {
  text-align: center !important;
}

/* ==============================================
   Checkout form blocks — match the 720px width
   of the top blocks (.checkout-photo-upload-wrapper,
   #order_review) so all sections are aligned.
   ============================================== */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout form.checkout > .col2-set,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__contact-fields,
body.woocommerce-checkout .wc-block-checkout__billing-fields,
body.woocommerce-checkout .wc-block-checkout__shipping-fields,
body.woocommerce-checkout .wc-block-checkout__shipping-method,
body.woocommerce-checkout .wc-block-checkout__payment-method,
body.woocommerce-checkout .wc-block-checkout__order-notes,
body.woocommerce-checkout .wc-block-checkout__actions,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
  box-sizing: border-box;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* Block address form: drop the 2-column grid so every field has
   the same width as the parent block above. */
body.woocommerce-checkout .wc-block-components-address-form {
  display: block !important;
  grid-template-columns: 1fr !important;
}
body.woocommerce-checkout .wc-block-components-address-form > * {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Classic checkout: collapse form-row-first/last into single column */
body.woocommerce-checkout .woocommerce form .form-row-first,
body.woocommerce-checkout .woocommerce form .form-row-last {
  width: 100% !important;
  float: none !important;
}
