/* ==========================================================
     HOJA DE ESTILOS CUSTOM EXCLUSIVA (ESTRUCTURA DE RED)
     ========================================================== --> */

  .cc-cart-main-container {
    width: 100%;
    box-sizing: border-box;
    padding-top: 0px;
    padding-bottom: 96px;
  }

  .f-400 { font-weight: 400 !important; }
  .f-800 { font-weight: 800 !important; }
  .cc-title-space { margin-bottom: 32px !important; }
  .cc-title-counter { color: #9ca3af; margin-left: 8px; }

  .cc-cart-grid-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 48px;
    align-items: start;
    width: 100%;
  }

  .cc-cart-left-column,
  .cc-cart-right-column {
    min-width: 0;
  }

  .cc-cart-products-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  /* TARJETA DE PRODUCTO INDIVIDUAL CON FLEXBOX HORIZONTAL FORZADO */
  .cc-product-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
  }

  .cc-product-meta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
  }

  .cc-product-image-frame {
    width: 88px;
    height: 88px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  .cc-product-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cc-product-text-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cc-product-name-title {
    color: #111827;
    margin: 0;
  }

  /* Badge de variante azul de la captura */
  .cc-product-badge-variant {
    display: inline-block;
    align-self: flex-start;
    background-color: #eff6ff;
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
  }

  .cc-product-controls-group {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .cc-qty-manipulator-box {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #ffffff;
    overflow: hidden;
  }
  .cc-qty-action-button {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cc-qty-display-value {
    padding: 0 12px;
    color: #111827;
    min-width: 20px;
    text-align: center;
  }

  .cc-product-price-block {
    text-align: right;
    width: 110px;
  }
  .cc-product-total-price { color: #111827; }
  .cc-product-unit-price-label {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
  }

  .cc-product-trash-trigger {
    background: transparent;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cc-product-trash-trigger:hover { color: #ef4444; }

  .cc-back-navigation-box { margin-top: 24px; }
  .cc-back-store-link {
    text-decoration: none;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
  }
  .cc-back-arrow-icon { width: 16px; height: 16px; margin-right: 8px; }

  /* COMPLETA TU PROYECTO (UPSELLS) */
  .cc-upsell-section-box {
    margin-top: 56px;
    border-top: 1px solid #f3f4f6;
    padding-top: 40px;
  }
  .cc-upsell-headline {
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px !important;
  }
  .cc-sparkle-icon { width: 16px; height: 16px; color: #f59e0b; }

  .cc-upsell-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }
  .cc-upsell-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .cc-upsell-product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
  }
  .cc-upsell-action-btn-add {
    position: static;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    margin-top: auto;
    padding: 10px 12px;
    background-color: #111827;
    border: 1px solid #111827;
    border-radius: 8px;
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  }
  .cc-upsell-action-btn-add:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
  }

  .cc-upsell-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f9fafb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
  }
  .cc-upsell-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
  }
  .cc-upsell-product-card:hover .cc-upsell-image-wrapper img { transform: scale(1.04); }
  .cc-upsell-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }
  .cc-upsell-product-title {
    display: -webkit-box;
    min-height: 39px;
    overflow: hidden;
    color: #111827;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .cc-upsell-product-title:hover { color: #2563eb; }
  .cc-upsell-price-label {
    color: #111827;
    margin: 9px 0 16px !important;
  }
  .cc-upsell-price-label del {
    margin-right: 5px;
    color: #94a3b8;
    font-weight: 500;
  }
  .cc-upsell-price-label ins {
    color: #dc2626;
    text-decoration: none;
  }
  .cc-ellipsis-text {
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* PANEL DE RESUMEN CARD */
  .cc-summary-card-panel {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-sizing: border-box;
    width: 100%;
  }
  .cc-summary-headline { color: #111827; margin-bottom: 24px !important; }
  .cc-summary-input-wrapper { margin-bottom: 24px; }
  .cc-summary-input-label {
    color: #6b7280;
    display: block;
    margin-bottom: 8px;
  }
  .cc-summary-textarea-field {
    width: 100%;
    height: 96px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    box-sizing: border-box;
    background-color: #ffffff;
    outline: none;
    resize: none;
  }
  .cc-summary-textarea-field:focus { border-color: #2563eb; }

  .cc-summary-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding: 16px 0;
  }
  .cc-space-row-shipping { padding-bottom: 24px; }
  .cc-opacity-70 { color: #4b5563; }
  
  .cc-badge-shipping-status {
    background-color: #eff6ff;
    color: #2563eb;
    padding: 4px 10px;
  }

  .cc-summary-total-final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-bottom: 24px;
  }

  .cc-primary-payment-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 0;
    background-color: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
  }
  .cc-arrow-pay-icon { width: 16px; height: 16px; }

  .cc-gateways-footer-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .cc-gateway-card-item {
    width: 36px;
    height: 22px;
    background-color: #f3f4f6;
    border-radius: 4px;
  }

  @media (max-width: 992px) {
    .cc-cart-grid-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cc-product-item-card { flex-direction: column; align-items: start; gap: 16px; }
    .cc-product-controls-group {
      width: 100%;
      justify-content: space-between;
      gap: 0;
      border-top: 1px solid #f3f4f6;
      padding-top: 16px;
    }
    .cc-upsell-products-grid { grid-template-columns: repeat(2, 1fr); }
    .cc-upsell-hide-tablet { display: none; }
  }

  @media (max-width: 560px) {
    .cc-title-counter {
      display: block;
      margin-top: 7px;
      margin-left: 0;
      font-size: 13px;
      line-height: 1.35;
    }
    .cc-product-item-card { padding: 16px; }
    .cc-product-meta-group { gap: 12px; min-width: 0; }
    .cc-product-image-frame { width: 72px; height: 72px; }
    .cc-product-text-details { min-width: 0; }
    .cc-product-controls-group { gap: 8px; }
    .cc-qty-manipulator-box { width: 132px; min-width: 132px; }
    .cc-qty-action-button { width: 38px; }
    .cc-cart-main-container .quantity input.qty { width: 54px; }
    .cc-product-price-block { width: auto; min-width: 84px; }
    .cc-upsell-products-grid { grid-template-columns: 1fr; gap: 14px; }
    .cc-upsell-product-card {
      display: grid;
      grid-template-columns: 112px minmax(0, 1fr);
      gap: 14px;
      padding: 12px;
    }
    .cc-upsell-image-wrapper {
      aspect-ratio: 1;
      margin: 0;
    }
    .cc-upsell-product-title { min-height: 0; }
    .cc-upsell-price-label { margin: 6px 0 10px !important; }
    .cc-upsell-action-btn-add { min-height: 40px; }
  }

  /* ==========================================================
   INPUTS WOO RESET
========================================================== */

.cc-cart-main-container .quantity {
  margin: 0;
}

/* ==========================================================
   CARRO — MUESTRARIO ESTRATIFICADO 2026
   Sistema visual Chilena Casa Grande
   ========================================================== */
.cc-cart-main-container {
  --cc-carbon: #101820;
  --cc-carbon-deep: #034653;
  --cc-paper: #fbfaf6;
  --cc-foam: #f5f2ea;
  --cc-action: #075a6c;
  --cc-pink: #f095be;
  --cc-blue: #94d4e9;
  --cc-green: #bfd59f;
  --cc-line: #d9d8d1;
  --cc-muted: #68737d;
  padding: 48px 0 96px;
  background: var(--cc-paper) !important;
  color: var(--cc-carbon) !important;
  font-family: Manrope, Inter, sans-serif;
}

.cc-cart-main-container .contenedor-seccion {
  max-width: 1200px;
}

.cc-cart-hero {
  align-items: end;
  margin-bottom: 24px;
}

.cc-cart-hero__copy {
  max-width: 680px;
}

.cc-cart-hero h1 {
  color: var(--cc-carbon);
  font-family: Poppins, sans-serif;
  font-size: clamp(38px, 4.4vw, 62px) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em;
  line-height: 1;
}

.cc-cart-hero__copy > p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--cc-muted);
  font-family: Manrope, Inter, sans-serif;
  font-size: 15px;
}

.cc-cart-hero .cc-title-counter {
  margin-bottom: 4px;
  padding: 7px 11px;
  border: 1px solid var(--cc-line);
  border-radius: 999px;
  background: transparent;
  color: var(--cc-action);
  font-family: Manrope, Inter, sans-serif;
}

.cc-cart-progress {
  max-width: 620px;
  margin-bottom: 44px;
}

.cc-cart-progress__step {
  color: var(--cc-muted);
  font-family: Manrope, Inter, sans-serif;
}

.cc-cart-progress__step span {
  border-color: var(--cc-line);
  background: #fff;
  color: var(--cc-muted);
}

.cc-cart-progress__step.is-active {
  color: var(--cc-carbon);
}

.cc-cart-progress__step.is-active span {
  border-color: var(--cc-action);
  background: var(--cc-action);
  color: #fff;
}

.cc-cart-progress__line {
  background: var(--cc-line);
}

.cc-cart-grid-layout {
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, .82fr);
  gap: 40px;
}

.cc-cart-section-heading,
.cc-upsell-heading-row {
  align-items: end;
  margin-bottom: 18px;
}

.cc-cart-section-heading h2,
.cc-upsell-heading-row h3 {
  color: var(--cc-carbon);
  font-size: 22px;
  letter-spacing: -.025em;
}

.cc-cart-section-heading > span,
.cc-upsell-heading-row > p {
  color: var(--cc-muted);
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
}

.cc-cart-products-stack {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 12px;
  background: #fff;
}

.cc-product-item-card {
  min-height: 142px;
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transition: background-color .18s ease;
}

.cc-product-item-card:last-child {
  border-bottom: 0;
}

.cc-product-item-card:hover {
  border-color: var(--cc-line);
  background: #fdfcf9;
  box-shadow: none;
  transform: none;
}

.cc-product-meta-group {
  align-items: flex-start;
  gap: 18px;
}

.cc-product-image-frame {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border: 0;
  border-radius: 4px;
}

.cc-product-image-frame img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.cc-product-image-frame--project {
  position: relative;
  background: linear-gradient(165deg, #fff 0 28%, var(--cc-blue) 28% 49%, var(--cc-pink) 49% 70%, var(--cc-green) 70% 100%);
}

.cc-product-image-frame--project::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(16, 24, 32, .14);
  content: "";
  pointer-events: none;
}

.cc-product-image-frame--project img {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  padding: 7px;
  background: rgba(255, 255, 255, .88);
}

.cc-product-text-details {
  align-items: flex-start;
  gap: 7px;
}

.cc-product-name-title {
  max-width: 350px;
  margin: 0;
  color: var(--cc-carbon);
  font-family: Poppins, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.cc-product-name-title a {
  color: inherit;
}

.cc-product-type-label {
  color: var(--cc-muted);
  font-family: Manrope, Inter, sans-serif;
}

.ccm-project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1px;
}

.ccm-project-overview span {
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--cc-line);
  border-radius: 999px;
  color: var(--cc-action);
  font-family: Manrope, Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
}

.ccm-project-details {
  width: min(100%, 580px);
  margin-top: 3px;
  font-family: Manrope, Inter, sans-serif;
}

.ccm-project-details summary {
  position: relative;
  width: fit-content;
  padding: 5px 20px 5px 0;
  color: var(--cc-action);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ccm-project-details summary::-webkit-details-marker {
  display: none;
}

.ccm-project-details summary::after {
  position: absolute;
  top: 5px;
  right: 2px;
  content: "+";
  font-size: 15px;
  line-height: 1;
}

.ccm-project-details[open] summary::after {
  content: "−";
}

.ccm-project-details__list {
  display: grid;
  gap: 0;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--cc-line);
  list-style: none;
}

.ccm-project-details__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cc-line);
}

.ccm-project-details__list li > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--cc-carbon);
  font-size: 11px;
}

.ccm-project-details__list li > div span {
  color: var(--cc-action);
  font-weight: 700;
}

.ccm-project-details__list p {
  margin: 3px 0 0;
  color: var(--cc-muted);
  font-size: 10px;
  line-height: 1.5;
}

.cc-product-controls-group {
  align-self: center;
  gap: 18px;
}

.cc-qty-manipulator-box {
  min-width: 124px;
  height: 46px;
  border-color: var(--cc-line);
  border-radius: 8px;
}

.cc-qty-action-button {
  color: var(--cc-action);
}

.cc-product-total-price,
.cc-product-total-price .woocommerce-Price-amount {
  color: var(--cc-carbon);
}

.cc-product-trash-trigger {
  color: var(--cc-muted);
}

.cc-product-trash-trigger:hover,
.cc-product-trash-trigger:focus-visible {
  color: #a33e45;
}

.cc-back-store-link {
  color: var(--cc-action);
  font-family: Manrope, Inter, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cc-cart-confidence-strip {
  margin-top: 24px;
  padding: 14px 16px;
  border-color: var(--cc-line);
  border-radius: 4px;
  background: var(--cc-foam);
}

.cc-cart-confidence-strip > div {
  color: var(--cc-carbon);
  font-family: Manrope, Inter, sans-serif;
}

.cc-cart-confidence-strip > div > span {
  background: var(--cc-green);
  color: var(--cc-carbon-deep);
}

.cc-summary-card-panel {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 24, 32, .08);
}

.cc-summary-header {
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--cc-line);
  background: #fff;
}

.cc-summary-headline {
  color: var(--cc-carbon);
  font-size: 24px !important;
  letter-spacing: -.035em;
}

.cc-summary-header > p,
.cc-summary-option summary,
.cc-summary-no-charge,
.cc-summary-assurances {
  color: var(--cc-muted);
  font-family: Manrope, Inter, sans-serif;
}

.cc-summary-option {
  border-color: var(--cc-line);
}

.cc-summary-option summary::after {
  color: var(--cc-action);
}

.cc-summary-separator {
  border-color: var(--cc-line);
  background: var(--cc-foam);
}

.cc-badge-shipping-status {
  background: var(--cc-foam);
  color: var(--cc-carbon-deep);
}

.cc-summary-total-final-row .woocommerce-Price-amount {
  color: var(--cc-carbon);
}

.cc-primary-payment-button {
  border-radius: 8px;
  background: var(--cc-action);
  box-shadow: none;
}

.cc-primary-payment-button:hover,
.cc-primary-payment-button:focus-visible {
  background: var(--cc-carbon-deep);
  box-shadow: none;
  transform: none;
}

.cc-primary-payment-button:focus-visible,
.cc-back-store-link:focus-visible,
.ccm-project-details summary:focus-visible {
  outline: 3px solid var(--cc-pink);
  outline-offset: 4px;
}

.cc-upsell-section-box {
  border-top-color: var(--cc-line);
}

.cc-upsell-products-grid {
  gap: 16px;
}

.cc-upsell-product-card {
  overflow: hidden;
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  box-shadow: none;
}

.cc-upsell-image-wrapper {
  background: #fff;
}

.cc-upsell-action-btn-add {
  border-radius: 8px;
  background: var(--cc-carbon);
}

@media (max-width: 1100px) {
  .cc-cart-grid-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }

  .cc-product-item-card {
    align-items: stretch;
  }

  .cc-product-controls-group {
    align-self: stretch;
  }
}

@media (max-width: 900px) {
  .cc-cart-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cc-cart-main-container {
    padding: 30px 0 64px;
  }

  .cc-cart-hero h1 {
    font-size: 38px !important;
  }

  .cc-cart-hero .cc-title-counter {
    margin: 0;
  }

  .cc-cart-section-heading,
  .cc-upsell-heading-row {
    align-items: flex-start;
  }

  .cc-product-item-card {
    padding: 16px;
  }

  .cc-product-meta-group {
    gap: 12px;
  }

  .cc-product-image-frame {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .cc-product-name-title {
    font-size: 13px !important;
  }

  .ccm-project-overview {
    gap: 4px;
  }

  .ccm-project-overview span {
    min-height: 23px;
    padding: 3px 7px;
    font-size: 9px;
  }

  .ccm-project-details {
    margin-top: 1px;
  }

  .cc-product-controls-group {
    padding-top: 12px;
    border-color: var(--cc-line);
  }

  .cc-cart-confidence-strip {
    border-radius: 4px;
  }

  .cc-summary-header {
    padding: 22px 20px 18px;
  }
}

.cc-cart-main-container .quantity input.qty {
  width: 60px;
  height: 42px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;

  font-size: 18px;
  font-weight: 800;
  color: #111827;

  appearance: none;
  -moz-appearance: textfield;
}

.cc-cart-main-container .quantity input.qty::-webkit-outer-spin-button,
.cc-cart-main-container .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cc-qty-manipulator-box {
  display: flex;
  align-items: center;
  gap: 0;

  height: 54px;
  min-width: 180px;

  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;

  background: #fff;
}

.cc-qty-action-button {
  width: 48px;
  height: 54px;

  border: 0;
  background: transparent;

  cursor: pointer;

  font-size: 24px;
  font-weight: 700;

  color: #9ca3af;

  transition: 0.2s ease;
}

.cc-qty-action-button:hover {
  background: #f9fafb;
  color: #111827;
}

/* ==========================================================
   CUPON
========================================================== */

.cc-coupon-row {
  display: flex;
  gap: 10px;
}

.cc-coupon-input {
  flex: 1;
  height: 48px;

  border: 1px solid #d1d5db;
  border-radius: 10px;

  padding: 0 16px;

  background: #fff;

  font-size: 16px;
  color: #111827;

  outline: none;
}

.cc-coupon-input:focus {
  border-color: #2563eb;
}

.cc-coupon-btn {
  height: 48px;
  padding: 0 20px;

  border: 0;
  border-radius: 10px;

  background: #111827;
  color: #fff;

  cursor: pointer;

  font-size: 14px;
  font-weight: 700;

  transition: 0.2s ease;
}

.cc-coupon-btn:hover {
  opacity: 0.9;
}

/* ==========================================================
   NOTICES WOO
========================================================== */

.woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border: 0 !important;
  border-radius: 12px;
  padding: 18px 20px !important;
  margin-bottom: 12px !important;

  font-size: 14px;
  font-weight: 600;

  box-shadow: none !important;
}

.woocommerce-message {
  background: #ecfdf5 !important;
  color: #065f46 !important;
}

.woocommerce-error {
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.woocommerce-info {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none !important;
}

/* ==========================================================
   BOTON UPDATE HIDDEN
========================================================== */

.cc-hidden-update {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


  .woocommerce-form-coupon-toggle {
    display: none !important;
}

.fs-fullwidth-checkout .form-row {
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    float: none !important;
}

.fs-fullwidth-checkout .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
}

.fs-fullwidth-checkout .form-row > label {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}



.fs-fullwidth-checkout .fs-field-twin-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
}

.fs-fullwidth-checkout .fs-field-twin-grid .form-row {
    margin-bottom: 0 !important;
}

.fs-fullwidth-checkout .select2-container {
    display: none !important;
}

.fs-fullwidth-checkout .wc_payment_methods,
.fs-fullwidth-checkout .woocommerce-shipping-methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fs-fullwidth-checkout .wc_payment_methods li {
    border: 1px solid #e5e7eb !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.fs-fullwidth-checkout .wc_payment_methods li:first-child {
    border-radius: 8px 8px 0 0 !important;
}

.fs-fullwidth-checkout .wc_payment_methods li:last-child {
    border-radius: 0 0 8px 8px !important;
}

.fs-fullwidth-checkout .wc_payment_methods label {
    font-weight: 800 !important;
    color: #111827 !important;
    font-size: 14px !important;
}

.fs-fullwidth-checkout .payment_box {
    margin: 12px 0 0 28px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 13px !important;
}

.fs-fullwidth-checkout .payment_box::before {
    display: none !important;
}

.fs-internal-sidebar-max {
    position: sticky;
    top: 50px;
}

.fs-fullwidth-checkout #place_order {
    margin-top: 24px !important;
    width: auto !important;
    min-width: 140px !important;
    height: 56px !important;
    border-radius: 999px !important;
    border: none !important;
    background: #6a4eff !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 0 28px !important;
    cursor: pointer !important;
}

.fs-sidebar-shipping-methods .woocommerce-shipping-methods li {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.fs-sidebar-shipping-methods .woocommerce-shipping-methods li:has(input:checked) {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb inset !important;
}

.fs-sidebar-shipping-methods .woocommerce-shipping-methods label {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    font-size: 15px !important;
}

.fs-sidebar-shipping-methods .woocommerce-shipping-destination,
.fs-sidebar-shipping-methods .woocommerce-shipping-calculator {
    display: none !important;
}

.ccf-shipping-heading {
    margin-bottom: 16px;
}

.ccf-shipping-heading__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ccf-shipping-heading p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.ccf-shipping-trust-card {
    margin-top: 18px;
    padding: 24px 26px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
}

.ccf-shipping-trust-card--collect {
    border-color: #fed7aa;
    background: #fff7ed;
}

.ccf-shipping-trust-card--pickup {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ccf-shipping-trust-card strong {
    display: block;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.ccf-shipping-trust-card p {
    max-width: 65ch;
    margin: 10px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}

.fs-sidebar-math-block .ccf-pay-later-row {
    margin-top: 4px;
    padding: 9px 10px !important;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412 !important;
}

.ccf-pay-now-note {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
}

.ccf-pay-now-note > span {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.ccf-pay-now-note > strong,
.ccf-pay-now-note .woocommerce-Price-amount {
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.ccf-pay-now-note p {
    grid-column: 1 / -1;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

.ccf-pay-now-note--collect {
    background: #fff7ed;
}

.fs-coupon-action-row {
    flex-wrap: wrap;
}

.ccf-coupon-form {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
}

.fs-coupon-action-row input {
    flex: 1 !important;
}

.fs-coupon-apply-btn {
    width: 86px !important;
    height: 56px !important;
    border: none !important;
    background: #e5e7eb !important;
    color: #374151 !important;
    cursor: pointer !important;
}

.fs-coupon-apply-btn:disabled {
    cursor: wait !important;
    opacity: .65;
}

.ccf-coupon-feedback {
    width: 100%;
}

.ccf-coupon-feedback:empty {
    display: none;
}

.ccf-coupon-feedback .woocommerce-message,
.ccf-coupon-feedback .woocommerce-error,
.ccf-inline-notice {
    margin: 10px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.ccf-inline-notice.is-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

@media (max-width: 900px) {
    .fs-fullwidth-checkout .fs-checkout-screen-grid {
        grid-template-columns: 1fr !important;
    }

    .fs-fullwidth-checkout .fs-field-twin-grid {
        grid-template-columns: 1fr !important;
    }

    .fs-checkout-summary-sidebar {
        padding: 32px 20px !important;
    }
}

 /* ==========================================================
     HOJA CSS EXCLUSIVA A SANGRE TOTAL (SIN COLAPSOS DE GRID)
     ========================================================== --> */

  /* Forzamos que el marco abarque el 100% real de la pantalla */
  .fs-fullwidth-checkout {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Desactivamos restricciones en el contenedor base */
  .fs-fullwidth-checkout .contenedor-seccion {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .f-400 { font-weight: 400 !important; }
  .f-800 { font-weight: 800 !important; }
  .fs-main-title-space { margin-bottom: 40px !important; }
  .fs-required-note {
    margin: -28px 0 32px;
  }
  .fs-delivery-caption {
    margin: -10px 0 20px !important;
  }
  .letter-spacing-1 { letter-spacing: 0.5px; }

  /* MAQUETACIÓN CORE A PANTALLA COMPLETA (55% / 45%) */
  .fs-checkout-screen-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100%;
    min-height: 100vh;
  }

  /* BLOQUE IZQUIERDO: FORMULARIO LIMITADO EN CENTRO INTERNO */
  .fs-billing-form-wrapper {
    background-color: #ffffff;
    padding: 64px 8% 96px 12%; /* Margen generoso izquierdo para diseño asimétrico */
    box-sizing: border-box;
  }
  .fs-internal-form-max {
    max-width: 580px;
    width: 100%;
    margin-right: auto; /* Se recuesta hacia la izquierda */
  }

  .fs-form-group-block { width: 100%; }
  .fs-header-split-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .fs-section-title-space { margin-bottom: 20px !important; }
  .fs-caption-margin { margin-bottom: 16px !important; }

  .fs-field-row { margin-bottom: 12px; width: 100%; }
  .fs-field-twin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
  }

  /* Estilización limpia de inputs */
  .fs-custom-input-field {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 13px 16px;
    box-sizing: border-box;
    background-color: #ffffff;
    outline: none;
    color: #374151;
  }
  .fs-custom-input-field:focus { border-color: #2563eb; }

  .fs-checkbox-toggle { cursor: pointer; margin-top: 16px; }
  .fs-ui-checkbox, .fs-ui-radio {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }

  .fs-accent-link { color: #2563eb; text-decoration: none; }
  .fs-accent-link:hover { text-decoration: underline; }

  /* CAJA DE SELECCIÓN DE PAGO CRISTALINA */
  .fs-payment-options-box { border: none; }
  .fs-payment-label-row {
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
  }
  .fs-payment-options-box label:last-child { border-bottom: none; }
  .fs-payment-row-selected { background-color: #f8fafc; }
  .fs-gateway-card-box { width: 32px; height: 20px; background-color: #e5e7eb; border-radius: 3px; }

  .fs-main-pay-btn { padding: 18px 0 !important; }
  .fs-back-store-anchor { text-decoration: none; color: #2563eb; }

  /* ==========================================================
     BLOQUE DERECHO: SIDEBAR GRIS SANGRE TOTAL (45% ANCHO)
     ========================================================== --> */
  .fs-checkout-summary-sidebar {
    background-color: #f9fafb;
    border-left: 1px solid #e5e7eb;
    padding: 64px 12% 96px 8%; /* Equilibra la asimetría del layout */
    box-sizing: border-box;
  }
  .fs-internal-sidebar-max {
    max-width: 500px;
    width: 100%;
    margin-left: auto; /* Recuesta el contenido hacia el lado de los totales */
  }

  /* Celdas fijas de productos */
  .fs-sidebar-img-container {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
  }
  .fs-sidebar-img-container img { width: 100%; height: 100%; object-fit: cover; }
  .fs-sidebar-qty-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #9ca3af;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
  }

  /* Caja del cupón */
  .fs-coupon-apply-btn {
    background-color: #e5e7eb;
    border: none;
    color: #4b5563;
    padding: 0 20px;
    cursor: pointer;
  }
  .fs-coupon-apply-btn:hover { background-color: #d1d5db; }

  /* COMPORTAMIENTO DE LAS FILAS DE BLUEEXPRESS / STARKEN (WOO) */
  .fs-carrier-rate-row {
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 14px 16px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .fs-carrier-active {
    border-color: #2563eb;
    background-color: #f8fafc;
  }

  .border-bot-gray { border-bottom: 1px solid #e5e7eb; }
  .padding-bot-24 { padding-bottom: 24px; }
  .margin-bot-15 { margin-bottom: 15px; }
  .letter-spacing-0 { letter-spacing: 0px; }

  /* CONTROL RESPONSIVO DE CAÍDA (TABLETS & SMARTPHONES) */
  @media (max-width: 992px) {
    .fs-checkout-screen-grid {
      grid-template-columns: 1fr; /* Colapsa a layout vertical de una columna */
    }
    .fs-billing-form-wrapper {
      padding: 40px 20px;
    }
    .fs-checkout-summary-sidebar {
      order: -1; /* Envía el bloque de totales arriba en celulares */
      padding: 32px 20px;
      border-left: none;
      border-bottom: 1px solid #e5e7eb;
    }
    .ccf-order-summary-content {
      display: block;
    }
  }

  /* Tarjeta de producto y totales compartidos por todas las resoluciones. */
    .fs-sidebar-items-stack {
      gap: 12px !important;
      padding-bottom: 20px !important;
    }
    .ccf-product-summary-card {
      display: grid !important;
      grid-template-columns: 72px minmax(0, 1fr) auto;
      align-items: center !important;
      gap: 14px !important;
      width: 100%;
      padding: 14px !important;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      background: #ffffff;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
      box-sizing: border-box;
    }
    .ccf-product-summary-main {
      display: contents !important;
    }
    .ccf-product-summary-card .fs-sidebar-img-container {
      width: 72px !important;
      height: 72px !important;
      border-color: #eef0f3;
      border-radius: 10px;
      overflow: visible;
    }
    .ccf-product-summary-card .fs-sidebar-img-container img {
      border-radius: 9px;
    }
    .ccf-product-summary-card .fs-sidebar-qty-counter {
      top: -7px;
      right: -7px;
      width: 22px;
      height: 22px;
      background: #64748b;
      border: 2px solid #ffffff;
      font-size: 11px !important;
    }
    .ccf-product-summary-copy {
      min-width: 0;
    }
    .ccf-product-summary-title {
      margin: 0 !important;
      color: #0f172a !important;
      font-size: 15px !important;
      font-weight: 750 !important;
      line-height: 1.35 !important;
      overflow-wrap: anywhere;
    }
    .ccf-product-summary-copy .variation {
      margin: 3px 0 0;
      color: #64748b;
      font-size: 12px;
    }
    .ccf-checkout-item-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px 12px;
      margin-top: 10px;
    }
    .ccf-checkout-quantity {
      display: inline-grid;
      grid-template-columns: 30px 34px 30px;
      align-items: center;
      min-height: 30px;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      background: #ffffff;
    }
    .ccf-checkout-quantity__button {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      padding: 0;
      border: 0;
      background: transparent;
      color: #0f172a;
      font: inherit;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
      cursor: pointer;
      transition: background-color .18s ease, color .18s ease;
    }
    .ccf-checkout-quantity__button:hover:not(:disabled),
    .ccf-checkout-quantity__button:focus-visible {
      background: #eef4ff;
      color: #2563eb;
      outline: none;
    }
    .ccf-checkout-quantity__button:disabled {
      color: #94a3b8;
      cursor: not-allowed;
    }
    .ccf-checkout-quantity__value {
      display: grid;
      place-items: center;
      min-height: 30px;
      border-right: 1px solid #e2e8f0;
      border-left: 1px solid #e2e8f0;
      color: #0f172a;
      font-size: 13px;
      font-weight: 800;
    }
    .ccf-checkout-remove-item {
      padding: 5px 0;
      border: 0;
      border-bottom: 1px solid transparent;
      background: transparent;
      color: #64748b;
      font: inherit;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      cursor: pointer;
      transition: color .18s ease, border-color .18s ease;
    }
    .ccf-checkout-remove-item:hover,
    .ccf-checkout-remove-item:focus-visible {
      border-color: #dc2626;
      color: #dc2626;
      outline: none;
    }
    .ccf-checkout-item-feedback {
      margin: 4px 0 0;
      color: #b91c1c;
      font-size: 11px;
      line-height: 1.35;
    }
    .ccf-checkout-item-feedback:empty {
      display: none;
    }
    .ccf-product-summary-card.is-updating {
      opacity: .62;
      pointer-events: none;
    }
    .ccf-product-summary-price {
      align-self: center;
      color: #0f172a;
      white-space: nowrap;
    }
    .ccf-product-summary-price span,
    .ccf-product-summary-price .woocommerce-Price-amount {
      font-size: 16px !important;
      font-weight: 800 !important;
      line-height: 1.2 !important;
    }
    .fs-sidebar-math-block {
      gap: 0 !important;
      padding: 16px 18px !important;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      background: #ffffff;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    }
    .fs-sidebar-math-block > div:not(.order-total) {
      min-height: 30px;
      padding: 4px 0 !important;
      border-bottom: 0 !important;
      color: #334155;
      font-size: 14px !important;
      line-height: 1.35;
    }
    .fs-sidebar-math-block > div:not(.order-total) > span:last-child {
      color: #0f172a !important;
      font-weight: 750 !important;
    }
    .fs-sidebar-math-block .order-total {
      min-height: 44px;
      margin-top: 10px !important;
      padding-top: 14px !important;
      border-top: 1px solid #e5e7eb;
      align-items: baseline !important;
    }
    .fs-sidebar-math-block .order-total > span {
      color: #0f172a !important;
      font-size: 18px !important;
      font-weight: 800 !important;
    }
    .fs-sidebar-math-block .order-total > div {
      display: flex;
      align-items: baseline;
      justify-content: flex-end;
      gap: 7px;
    }
    .fs-sidebar-math-block .order-total .tracking-wider {
      display: inline !important;
      color: #64748b;
      font-size: 10px !important;
      letter-spacing: .08em;
    }
    .fs-sidebar-math-block .order-total .woocommerce-Price-amount {
      color: #0f172a !important;
      font-size: 26px !important;
      font-weight: 850 !important;
      line-height: 1 !important;
    }

  @media (max-width: 992px) {
    .fs-internal-form-max, .fs-internal-sidebar-max {
      max-width: 100%;
    }
    .fs-field-twin-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 520px) {
    .ccf-product-summary-card {
      grid-template-columns: 68px minmax(0, 1fr);
      gap: 12px !important;
      padding: 12px !important;
    }
    .ccf-product-summary-card .fs-sidebar-img-container {
      width: 68px !important;
      height: 68px !important;
      grid-row: 1 / span 2;
    }
    .ccf-product-summary-price {
      grid-column: 2;
      align-self: start;
      text-align: left !important;
    }
    .ccf-checkout-item-actions {
      margin-top: 8px;
    }
    .fs-sidebar-math-block {
      padding: 14px 16px !important;
    }
    .fs-sidebar-math-block .order-total .woocommerce-Price-amount {
      font-size: 24px !important;
    }
  }


  .ty-success-screen-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.ty-screen-master-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    width: 100%;
    min-height: 100vh;
}

.ty-billing-success-content {
    background-color: #ffffff;
    padding: 64px 8% 96px 12%;
    box-sizing: border-box;
}

.ty-internal-left-max {
    max-width: 600px;
    width: 100%;
    margin-right: auto;
}

.ty-brand-text-logo {
    display: inline-block;
    color: #111827;
    text-decoration: none;
    font-size: 34px;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -1px;
}

.ty-success-check-circle {
    width: 48px;
    height: 48px;
    border: 2px solid #16a34a;
    border-radius: 50%;
    color: #16a34a;
    font-size: 20px;
    font-weight: 800;
}

.ty-order-status-card {
    border: 1px solid #bfdbfe;
    background-color: #eff6ff;
    padding: 20px;
    border-radius: 20px;
}

.ty-status-title {
    color: #1e40af;
}

.ty-progress-line-track {
    width: 100%;
    height: 6px;
    background-color: #d1d5db;
    border-radius: 3px;
    overflow: hidden;
}

.ty-progress-line-fill {
    height: 100%;
    background-color: #2563eb;
    border-radius: 3px;
}

.ty-step-label-active {
    color: #2563eb;
}

.ty-step-label-muted {
    color: #9ca3af;
}

.ty-delivery-address-card {
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
}

.ty-address-icon-box {
    width: 44px;
    height: 44px;
    background-color: #f3f4f6;
    color: #2563eb;
}

.ty-badge-paid {
    background-color: #dcfce7;
    color: #15803d;
    padding: 4px 8px;
}

.ty-btn-primary,
.ty-btn-secondary {
    width: 190px;
    padding: 14px 0 !important;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ty-btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
}

.ty-btn-secondary {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.ty-footer-anchor {
    text-decoration: none;
    color: #2563eb;
}

.ty-checkout-summary-sidebar {
    background-color: #f9fafb;
    border-left: 1px solid #e5e7eb;
    padding: 64px 12% 96px 8%;
    box-sizing: border-box;
}

.ty-internal-sidebar-max {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    position: sticky;
    top: 20px;
}

.ty-sidebar-img-container {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.ty-sidebar-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-sidebar-qty-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #71717a;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.ty-failed-wrapper {
    padding: 80px 12%;
    background: #ffffff;
}

.border-top-gray {
    border-top: 1px solid #e5e7eb;
}

.border-bot-gray {
    border-bottom: 1px solid #e5e7eb;
}

.border-gray-light {
    border: 1px solid #e5e7eb;
}

.padding-bot-24 {
    padding-bottom: 24px;
}

.pad-top-32 {
    padding-top: 32px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-bot-24 {
    margin-bottom: 24px !important;
}

.margin-bot-40 {
    margin-bottom: 40px;
}

.m-top-5 {
    margin-top: 5px;
}

.m-top-10 {
    margin-top: 10px;
}

.m-top-24 {
    margin-top: 24px;
}

.m-top-32 {
    margin-top: 32px;
}

.m-top-40 {
    margin-top: 40px;
}

.m-top-60 {
    margin-top: 60px;
}

.f-400 {
    font-weight: 400 !important;
}

.f-800 {
    font-weight: 800 !important;
}

.letter-spacing-0 {
    letter-spacing: 0;
}

@media (max-width: 992px) {
    .ty-screen-master-grid {
        grid-template-columns: 1fr;
    }

    .ty-billing-success-content {
        padding: 40px 20px;
    }

    .ty-checkout-summary-sidebar {
        padding: 40px 20px;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

    .ty-internal-left-max,
    .ty-internal-sidebar-max {
        max-width: 100%;
    }

    .ty-buttons-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ty-btn-primary,
    .ty-btn-secondary {
        width: 100%;
    }

}

.cc-cart-empty-pro {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 42px;
  background: #fff;
}

.cc-cart-empty-pro__content {
  max-width: 760px;
  margin-bottom: 42px;
}

.cc-cart-empty-pro__tag {
  display: inline-block;
  margin-bottom: 14px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cc-cart-empty-pro__content p {
  max-width: 680px;
  margin: 16px 0 24px;
  color: #6b7280;
  line-height: 1.6;
}

/* Carrito vacío · línea visual CCG 2026 */
.cc-empty-cart-v3 {
  --cc-empty-paper: #fbfaf6;
  --cc-empty-carbon: #101820;
  --cc-empty-muted: #68737d;
  --cc-empty-line: #d9d8d1;
  --cc-empty-action: #075a6c;
  width: 100%;
  padding: clamp(56px, 7vw, 96px) 24px clamp(72px, 9vw, 120px);
  background: var(--cc-empty-paper);
  color: var(--cc-empty-carbon);
  box-sizing: border-box;
}

.cc-empty-cart-v3 *,
.cc-empty-cart-v3 *::before,
.cc-empty-cart-v3 *::after { box-sizing: border-box; }

.cc-empty-cart-v3__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.cc-empty-cart-v3__intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.cc-empty-cart-v3__rule {
  display: grid;
  width: 138px;
  height: 7px;
  margin-bottom: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.cc-empty-cart-v3__rule i:nth-child(1) { background: #f095be; }
.cc-empty-cart-v3__rule i:nth-child(2) { background: #94d4e9; }
.cc-empty-cart-v3__rule i:nth-child(3) { background: #bfd59f; }

.cc-empty-cart-v3__intro h1 {
  margin: 0;
  color: var(--cc-empty-carbon);
  font-family: "Poppins", sans-serif;
  font-size: clamp(38px, 5.3vw, 68px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}

.cc-empty-cart-v3__intro p {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--cc-empty-muted);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.cc-empty-cart-v3__routes {
  display: grid;
  border-top: 1px solid var(--cc-empty-line);
  border-left: 1px solid var(--cc-empty-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-empty-route {
  display: grid;
  min-width: 0;
  border-right: 1px solid var(--cc-empty-line);
  border-bottom: 1px solid var(--cc-empty-line);
  background: #fff;
  grid-template-rows: 290px 1fr;
}

.cc-empty-route__visual {
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--cc-empty-line);
  background: #f5f2ea;
}

.cc-empty-route__visual--cut {
  display: grid;
  background: #eaf5f7;
  place-items: center;
}

.cc-empty-route__visual--cut svg {
  width: min(78%, 400px);
  height: auto;
  color: var(--cc-empty-muted);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.cc-empty-route__visual--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-empty-route__content {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 40px);
}

.cc-empty-route__eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--cc-empty-action);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cc-empty-route h2 {
  max-width: 430px;
  margin: 0;
  color: var(--cc-empty-carbon);
  font-family: "Poppins", sans-serif;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.cc-empty-route p {
  max-width: 470px;
  margin: 15px 0 28px;
  color: var(--cc-empty-muted);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.cc-empty-route__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding: 0 24px;
  border: 1px solid var(--cc-empty-action);
  border-radius: 4px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.cc-empty-route__button--primary { background: var(--cc-empty-action); color: #fff; }
.cc-empty-route__button--secondary { background: #fff; color: var(--cc-empty-action); }

.cc-empty-route__button:hover,
.cc-empty-route__button:focus-visible {
  background: #034653;
  color: #fff;
  outline: 3px solid #f095be;
  outline-offset: 3px;
}

.cc-empty-cart-v3__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  background: var(--cc-empty-carbon);
  color: #fff;
}

.cc-empty-cart-v3__help strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
}

.cc-empty-cart-v3__help p {
  margin: 7px 0 0;
  color: #c8d0d5;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.cc-empty-cart-v3__help a {
  flex: 0 0 auto;
  color: #94d4e9;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cc-empty-cart-v3__help a:hover,
.cc-empty-cart-v3__help a:focus-visible { color: #fff; }

.cc-empty-cart-v3__trust {
  display: grid;
  padding: 24px 0 0;
  color: var(--cc-empty-carbon);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-empty-cart-v3__trust span { display: flex; align-items: center; gap: 9px; }

.cc-empty-cart-v3__trust b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #dff2de;
  color: #075a6c;
  place-items: center;
}

@media (max-width: 760px) {
  .cc-empty-cart-v3 { padding: 42px 18px 76px; }
  .cc-empty-cart-v3__intro { margin-bottom: 32px; }
  .cc-empty-cart-v3__routes { grid-template-columns: 1fr; }
  .cc-empty-route { grid-template-rows: 220px 1fr; }
  .cc-empty-cart-v3__help { align-items: flex-start; flex-direction: column; padding: 25px 24px; }
  .cc-empty-cart-v3__trust { grid-template-columns: 1fr; }
  .cc-empty-route__button { width: 100%; }
}

.cc-empty-suggestions {
  margin-top: 0;
  border-top: 1px solid #f3f4f6;
  padding-top: 32px;
}

@media (max-width: 768px) {
  .cc-cart-empty-pro {
    padding: 28px;
  }
}


/* ==========================================================
   WooCommerce Select2 / Región
   El select real queda como .select2-hidden-accessible.
   El campo visible es .select2-container.
   ========================================================== */

.woocommerce-checkout .form-row .select2-container {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 48px;
  height: auto;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100%;
  color: inherit;
  line-height: 46px;
  padding-left: 14px;
  padding-right: 34px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 8px;
}

/* El desplegable de Select2 se inserta bajo body, fuera del formulario. */
body.woocommerce-checkout .select2-container--open {
  z-index: 1000001 !important;
}

body.woocommerce-checkout .select2-dropdown {
  overflow: hidden;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .16) !important;
}

body.woocommerce-checkout .select2-search--dropdown {
  display: block !important;
  padding: 10px !important;
  background: #ffffff !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  outline: none !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1) !important;
}

body.woocommerce-checkout .select2-results,
body.woocommerce-checkout .select2-results__options {
  display: block !important;
  margin: 0 !important;
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.woocommerce-checkout .select2-results__options {
  max-height: 260px !important;
  overflow-y: auto !important;
  padding: 6px !important;
  list-style: none !important;
}

body.woocommerce-checkout .select2-results__option {
  min-height: auto !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"] {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* Modal de cuenta del checkout. */
body.ccf-auth-modal-open {
  overflow: hidden;
}

.ccf-auth-trigger {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.ccf-auth-modal[hidden],
.ccf-auth-modal [hidden] {
  display: none !important;
}

.ccf-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000010;
  display: grid;
  place-items: center;
  padding: 20px;
  line-height: normal;
}

.ccf-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(3px);
}

.ccf-auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 18px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.ccf-auth-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 25px;
  line-height: 34px;
  cursor: pointer;
}

.ccf-auth-modal__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ccf-auth-modal h2 {
  margin: 0 42px 8px 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.2;
}

.ccf-auth-modal p {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.ccf-auth-form label:not(.ccf-auth-remember) {
  display: block;
  margin: 14px 0 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.ccf-auth-form > input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
}

.ccf-auth-form > input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
  outline: none;
}

.ccf-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: #475569;
  font-size: 13px;
}

.ccf-auth-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ccf-auth-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.ccf-auth-text-button {
  display: block;
  margin: 14px auto 0;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ccf-auth-feedback {
  min-height: 0;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.ccf-auth-feedback.is-error { color: #b91c1c; }
.ccf-auth-feedback.is-success { color: #15803d; }

.ccf-auth-guest {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 11px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.ccf-auth-guest strong { color: #0f172a; }

.ccf-auth-guest button {
  width: fit-content;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 520px) {
  .ccf-auth-modal { padding: 12px; }
  .ccf-auth-modal__dialog { padding: 26px 20px; border-radius: 14px; }
}

.woocommerce-checkout .select2-dropdown {
  z-index: 999999;
}
/* Evita que la salida en blanco previa al shortcode cree una línea superior. */
body.woocommerce-checkout {
  line-height: 0;
}

/* ==========================================================
   Checkout + confirmación · Muestrario estratificado 2026
   ========================================================== */
body.woocommerce-checkout {
  --ccf-paper: #fbfaf6;
  --ccf-foam: #f5f2ea;
  --ccf-carbon: #101820;
  --ccf-deep: #034653;
  --ccf-action: #075a6c;
  --ccf-muted: #68737d;
  --ccf-line: #d9d8d1;
  background: var(--ccf-paper);
}

.ccf-checkout-intro {
  display: flex;
  width: min(100% - 48px, 1200px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--ccf-line);
  background: var(--ccf-paper);
}

.ccf-checkout-intro h1,
.ccf-checkout-summary-heading h2 {
  margin: 0;
  color: var(--ccf-carbon);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -.04em;
}

.ccf-checkout-intro h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1; }
.ccf-checkout-intro p,
.ccf-checkout-summary-heading p {
  margin: 12px 0 0;
  color: var(--ccf-muted);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.ccf-checkout-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ccf-muted);
  font: 700 12px/1.2 "Manrope", "Inter", sans-serif;
}

.ccf-checkout-progress li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ccf-checkout-progress li + li::before { width: 38px; height: 1px; margin-right: 14px; background: var(--ccf-line); content: ""; }
.ccf-checkout-progress span,
.ccf-step-number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ccf-line);
  border-radius: 50%;
  color: var(--ccf-muted);
  font: 800 12px/1 "Manrope", "Inter", sans-serif;
  place-items: center;
}
.ccf-checkout-progress .is-complete span { border-color: #bfd59f; background: #eaf4df; color: var(--ccf-deep); }
.ccf-checkout-progress .is-active { color: var(--ccf-carbon); }
.ccf-checkout-progress .is-active span { border-color: var(--ccf-action); background: var(--ccf-action); color: #fff; }

.fs-fullwidth-checkout { background: var(--ccf-paper) !important; line-height: 1.5 !important; }

.fs-fullwidth-checkout > .woocommerce-NoticeGroup-checkout {
  width: min(100% - 48px, 1200px);
  margin: 24px auto 0;
}

.fs-fullwidth-checkout > .woocommerce-NoticeGroup-checkout:focus {
  outline: 0;
}

.fs-fullwidth-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error,
.fs-fullwidth-checkout .cc-checkout-notices .woocommerce-error,
body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #e6b8b5 !important;
  border-radius: 8px;
  background: #fff7f6 !important;
  color: #7f1d1d !important;
  box-shadow: none !important;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.fs-fullwidth-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li,
.fs-fullwidth-checkout .cc-checkout-notices .woocommerce-error li,
body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error li {
  position: relative;
  margin: 0;
  padding-left: 18px;
}

.fs-fullwidth-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li::before,
.fs-fullwidth-checkout .cc-checkout-notices .woocommerce-error li::before,
body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error li::before {
  position: absolute;
  top: .58em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b42318;
  content: "";
}

body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error {
  box-sizing: border-box;
  width: min(100% - 48px, 1200px);
  margin: 24px auto 0 !important;
}

body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error:focus {
  outline: 0;
}

.fs-fullwidth-checkout .fs-checkout-screen-grid {
  width: min(100% - 48px, 1200px);
  min-height: 0;
  margin: 0 auto 96px;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
}

.fs-fullwidth-checkout .fs-billing-form-wrapper {
  padding: 48px 64px 64px 0;
  background: var(--ccf-paper);
}
.fs-fullwidth-checkout .fs-internal-form-max { max-width: 640px; }
.fs-fullwidth-checkout .fs-checkout-summary-sidebar {
  padding: 48px 48px 64px 56px !important;
  border-left: 1px solid var(--ccf-line);
  background: transparent;
  box-sizing: border-box;
}
.fs-fullwidth-checkout .fs-checkout-summary-sidebar *,
.fs-fullwidth-checkout .fs-checkout-summary-sidebar *::before,
.fs-fullwidth-checkout .fs-checkout-summary-sidebar *::after { box-sizing: border-box; }
.fs-fullwidth-checkout .fs-internal-sidebar-max { width: 100%; max-width: 500px; margin: 0 auto; }

.ccf-checkout-summary-heading { margin-bottom: 28px; }
.ccf-checkout-summary-heading h2 { font-size: 25px; line-height: 1.15; }

.fs-fullwidth-checkout .fs-form-group-block { padding-top: 36px; border-top: 1px solid var(--ccf-line); }
.fs-fullwidth-checkout .ccf-contact-section { padding-top: 0; border-top: 0; }
.fs-fullwidth-checkout .fs-form-group-block h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ccf-carbon);
  font: 700 21px/1.2 "Poppins", sans-serif !important;
  letter-spacing: -.025em;
}
.fs-fullwidth-checkout .ccf-step-number { border-color: var(--ccf-action); color: var(--ccf-action); }
.fs-fullwidth-checkout .fs-header-split-row { align-items: center; margin-bottom: 20px; }
.fs-fullwidth-checkout .ccf-login-prompt { color: var(--ccf-muted); }
.fs-fullwidth-checkout .fs-accent-link { border: 0; background: transparent; color: var(--ccf-action); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fs-fullwidth-checkout .fs-delivery-caption,
.fs-fullwidth-checkout .fs-caption-margin { color: var(--ccf-muted); opacity: 1 !important; }

.fs-fullwidth-checkout .form-row { margin-bottom: 15px; }
.fs-fullwidth-checkout .form-row > label {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 7px !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  color: var(--ccf-carbon);
  font: 700 13px/1.35 "Manrope", "Inter", sans-serif;
}
.fs-fullwidth-checkout .fs-custom-input-field,
.fs-fullwidth-checkout .select2-container--default .select2-selection--single {
  min-height: 54px !important;
  border: 1px solid var(--ccf-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--ccf-carbon) !important;
  box-shadow: none !important;
  font-family: "Manrope", "Inter", sans-serif !important;
}
.fs-fullwidth-checkout .fs-custom-input-field:focus,
.fs-fullwidth-checkout .select2-container--focus .select2-selection--single {
  border-color: var(--ccf-action) !important;
  outline: 3px solid rgba(240,149,190,.55) !important;
  outline-offset: 2px;
}
.fs-fullwidth-checkout .fs-ui-checkbox,
.fs-fullwidth-checkout .fs-ui-radio { accent-color: var(--ccf-action); }

.fs-fullwidth-checkout .ccf-product-summary-card,
.fs-fullwidth-checkout .fs-sidebar-math-block {
  border-color: var(--ccf-line);
  border-radius: 4px;
  box-shadow: none;
}
.fs-fullwidth-checkout .ccf-product-summary-card .fs-sidebar-img-container { border: 0; border-radius: 4px; background: #fff; }
.fs-fullwidth-checkout .ccf-product-summary-title,
.fs-fullwidth-checkout .ccf-product-summary-price,
.fs-fullwidth-checkout .fs-sidebar-math-block { color: var(--ccf-carbon) !important; }
.fs-fullwidth-checkout .ccf-checkout-quantity { border-color: var(--ccf-line); border-radius: 4px; }
.fs-fullwidth-checkout .ccf-checkout-quantity__button:focus-visible,
.fs-fullwidth-checkout .ccf-checkout-remove-item:focus-visible { outline: 3px solid #f095be; outline-offset: 2px; }

.fs-fullwidth-checkout .fs-coupon-action-row { border-color: transparent; }
ul#shipping_method { margin-top: 20px !important; }
.fs-fullwidth-checkout .fs-coupon-apply-btn { min-height: 54px !important; background: var(--ccf-carbon) !important; color: #fff !important; }
.fs-fullwidth-checkout .ccf-shipping-heading {
  display: grid !important;
  gap: 5px;
  margin: 0 0 18px !important;
  line-height: 1.4 !important;
}
.fs-fullwidth-checkout .ccf-shipping-heading__eyebrow {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  color: var(--ccf-action);
  font: 800 10px/1.35 "Manrope",sans-serif !important;
}
.fs-fullwidth-checkout .ccf-shipping-heading h3 {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  color: var(--ccf-carbon);
  font: 700 19px/1.25 "Poppins",sans-serif !important;
  letter-spacing: -.02em;
}

ul.wc_payment_methods.payment_methods.methods {
    margin: 20px 0px !important;
    background: transparent !important;
}

.fs-fullwidth-checkout .ccf-shipping-heading p {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  color: var(--ccf-muted);
  font: 500 12px/1.55 "Manrope",sans-serif !important;
}
.fs-fullwidth-checkout .fs-sidebar-shipping-methods,
.fs-fullwidth-checkout .fs-sidebar-shipping-methods > * { line-height: 1.45 !important; }
.fs-fullwidth-checkout .fs-sidebar-shipping-methods .woocommerce-shipping-methods {
  display: grid !important;
  gap: 12px;
  width: 100%;
}
.fs-fullwidth-checkout .fs-sidebar-shipping-methods .woocommerce-shipping-methods li {
  min-height: 72px;
  margin: 0 !important;
}
.fs-fullwidth-checkout .fs-sidebar-shipping-methods .woocommerce-shipping-methods label {
  align-items: center;
  line-height: 1.4 !important;
}
.fs-fullwidth-checkout .fs-carrier-rate-row { border-color: var(--ccf-line); border-radius: 4px; }
.fs-fullwidth-checkout .fs-carrier-active { border-color: var(--ccf-action); background: #eaf5f7; }
.fs-fullwidth-checkout .ccf-shipping-trust-card { border-radius: 4px; box-shadow: none; }
.fs-fullwidth-checkout .ccf-pay-now-note { border-radius: 4px; }

.fs-fullwidth-checkout .fs-payment-options-box { border-top: 1px solid var(--ccf-line); border-bottom: 1px solid var(--ccf-line); border-radius: 0 !important; }
.fs-fullwidth-checkout .wc_payment_methods li { border-color: var(--ccf-line); background: transparent; }
.fs-fullwidth-checkout .wc_payment_methods li.wc_payment_method:has(input:checked) { background: #eaf5f7; }
.fs-fullwidth-checkout .wc_payment_methods li.wc_payment_method {
  display: block !important;
  min-height: 0;
  line-height: 1.45 !important;
}
.fs-fullwidth-checkout .wc_payment_methods li.wc_payment_method > input[type="radio"] { vertical-align: middle; }
.fs-fullwidth-checkout .wc_payment_methods li.wc_payment_method > label {
  display: inline !important;
  position: static !important;
  margin: 0 0 0 8px !important;
  line-height: 1.45 !important;
}
.fs-fullwidth-checkout .payment_box {
  position: static !important;
  display: block !important;
  clear: both;
  margin: 14px 0 0 30px !important;
  border-radius: 4px;
  background: #fff !important;
  line-height: 1.55 !important;
}
.fs-fullwidth-checkout .payment_box p,
.fs-fullwidth-checkout .woocommerce-privacy-policy-text p,
.fs-fullwidth-checkout .woocommerce-terms-and-conditions-wrapper p {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  color: var(--ccf-muted);
  font: 500 13px/1.6 "Manrope",sans-serif !important;
}
.fs-fullwidth-checkout .payment_box p:last-child,
.fs-fullwidth-checkout .woocommerce-privacy-policy-text p:last-child,
.fs-fullwidth-checkout .woocommerce-terms-and-conditions-wrapper p:last-child { margin-bottom: 0 !important; }
.fs-fullwidth-checkout .form-row.place-order {
  display: block !important;
  clear: both;
  line-height: 1.5 !important;
}
.fs-fullwidth-checkout #place_order {
  min-height: 58px;
  border-radius: 8px !important;
  background: var(--ccf-action) !important;
  color: #fff !important;
  font: 800 15px/1.2 "Manrope", "Inter", sans-serif !important;
}
.fs-fullwidth-checkout #place_order:hover,
.fs-fullwidth-checkout #place_order:focus-visible { background: var(--ccf-deep) !important; outline: 3px solid #f095be; outline-offset: 3px; }

/* Página de éxito */
.woocommerce-order-received .ccg-commerce-main { min-height: 100vh; background: var(--ccf-paper); }
.ty-success-screen-wrapper { min-height: 100vh; padding: 28px 24px 64px; background: var(--ccf-paper) !important; }
.ty-screen-master-grid {
  width: min(100%, 1200px);
  min-height: 0;
  align-items: start;
  margin: 0 auto;
  border-top: 7px solid transparent;
  border-image: linear-gradient(90deg, #f095be 0 33%, #94d4e9 33% 66%, #bfd59f 66%) 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
}
.ty-billing-success-content { padding: 54px 64px 64px 0; background: var(--ccf-paper); }
.ty-checkout-summary-sidebar { align-self: start; min-height: 0; padding: 54px 0 64px 56px !important; border-left: 1px solid var(--ccf-line); background: #f9f8f5; }
.ty-internal-sidebar-max { position: sticky; top: 24px; }
.ty-success-check-circle { width: 56px; height: 56px; border: 0; background: #dff2de; color: var(--ccf-deep); }
.ty-success-check-circle svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ty-thanks-message-block h1 { color: var(--ccf-carbon); font: 700 clamp(34px,4vw,54px)/1 "Poppins",sans-serif !important; letter-spacing: -.04em; }
.ty-thanks-message-block p { color: var(--ccf-muted); opacity: 1 !important; }
.ty-order-status-card { padding: 26px; border: 0; border-radius: 4px !important; background: var(--ccf-carbon); color: #fff; }
.ty-order-status-card .ty-status-title { color: #94d4e9; }
.ty-order-status-card p { color: #d5dce0; opacity: 1 !important; }
.ty-progress-line-track { background: #45515a; }
.ty-progress-line-fill { background: #94d4e9; }
.ty-step-label-active { color: #fff; }
.ty-step-label-muted { color: #9da7ae; }
.ty-progress-steps-labels {
  display: grid !important;
  gap: 12px;
  grid-template-columns: repeat(var(--ty-step-count, 3), minmax(0, 1fr));
}
.ty-progress-steps-labels span { line-height: 1.3; }
.ty-progress-steps-labels span:not(:first-child) { text-align: center; }
.ty-progress-steps-labels span:last-child { text-align: right; }
.ty-payment-instructions {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--ccf-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ccf-carbon);
}
.ty-payment-instructions__heading {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: 48px minmax(0, 1fr);
}
.ty-payment-instructions__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #eaf5f7;
  color: var(--ccf-action);
}
.ty-payment-instructions__icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ty-payment-instructions__heading h2 {
  margin: 0;
  color: var(--ccf-carbon);
  font: 700 clamp(21px, 2.2vw, 27px)/1.15 "Poppins", sans-serif;
  letter-spacing: -.025em;
}
.ty-payment-instructions__heading p {
  max-width: 62ch;
  margin: 7px 0 0;
  color: var(--ccf-muted);
  font: 500 14px/1.55 "Manrope", sans-serif;
}
.ty-payment-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--ccf-foam);
  color: var(--ccf-muted);
  font: 700 13px/1.35 "Manrope", sans-serif;
}
.ty-payment-reference strong {
  color: var(--ccf-carbon);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.ty-payment-instructions__details { margin-top: 22px; }
.ty-payment-instructions__details > h2,
.ty-payment-instructions__details .woocommerce-bacs-bank-details > h2 { display: none !important; }
.ty-payment-instructions__details .woocommerce-bacs-bank-details {
  position: static !important;
  margin: 0 !important;
}
.ty-payment-instructions__details > h3,
.ty-payment-instructions__details .woocommerce-bacs-bank-details > h3 {
  position: static !important;
  display: block !important;
  margin: 0 0 10px;
  color: var(--ccf-carbon);
  font: 800 14px/1.4 "Manrope", sans-serif;
}
.ty-payment-instructions ul,
.ty-payment-instructions ol { margin: 10px 0 0; padding-left: 20px; color: var(--ccf-muted); }
.ty-payment-instructions li { margin: 5px 0; }
.ty-payment-instructions ul.wc-bacs-bank-details,
.ty-payment-instructions ul.bacs_details,
.ty-payment-instructions .woocommerce-bacs-bank-details ul {
  display: grid !important;
  position: static !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  clear: both !important;
  gap: 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  list-style: none !important;
}
.ty-payment-instructions ul.wc-bacs-bank-details li,
.ty-payment-instructions ul.bacs_details li,
.ty-payment-instructions .woocommerce-bacs-bank-details li {
  display: grid !important;
  position: static !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--ccf-line);
  color: var(--ccf-muted) !important;
  font: 600 12px/1.35 "Manrope",sans-serif !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}
.ty-payment-instructions ul.wc-bacs-bank-details li strong,
.ty-payment-instructions ul.bacs_details li strong,
.ty-payment-instructions .woocommerce-bacs-bank-details li strong {
  display: block !important;
  position: static !important;
  margin-top: 3px !important;
  color: var(--ccf-carbon) !important;
  font: 750 14px/1.4 "Manrope",sans-serif !important;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ty-payment-instructions table { width: 100%; margin-top: 12px; border-collapse: collapse; color: var(--ccf-carbon); font-size: 13px; }
.ty-payment-instructions th,
.ty-payment-instructions td { padding: 10px 0; border-bottom: 1px solid var(--ccf-line); text-align: left; }
.ty-payment-instructions__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.ty-copy-bank-details {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ccf-action);
  border-radius: 8px;
  background: var(--ccf-action);
  color: #fff;
  font: 800 13px/1.2 "Manrope", sans-serif;
  cursor: pointer;
}
.ty-copy-bank-details:hover { background: var(--ccf-deep); }
.ty-copy-bank-details:focus-visible { outline: 3px solid #f095be; outline-offset: 3px; }
.ty-copy-feedback {
  color: var(--ccf-muted);
  font: 600 12px/1.4 "Manrope", sans-serif;
}
.ty-delivery-address-card {
  display: grid !important;
  align-items: center;
  gap: 20px;
  border-color: var(--ccf-line);
  border-radius: 4px !important;
  box-shadow: none !important;
  grid-template-columns: 44px minmax(0, 1fr);
}
.ty-address-icon-box { background: #eaf5f7; color: var(--ccf-action); }
.ty-address-icon-box svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ty-delivery-address-copy {
  display: grid !important;
  min-width: 0;
  gap: 6px;
  line-height: 1.4 !important;
}
.ty-delivery-address-copy h4 {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  color: var(--ccf-carbon) !important;
  font: 700 13px/1.35 "Manrope",sans-serif !important;
}
.ty-delivery-address-text {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  color: var(--ccf-muted) !important;
  font: normal 500 14px/1.55 "Manrope",sans-serif !important;
  overflow-wrap: anywhere;
}
.ty-delivery-address-text br { display: block; content: ""; }
.ty-shipping-promise { padding: 20px 22px; border: 1px solid #94d4e9; background: #eaf5f7; }
.ty-shipping-promise strong { color: var(--ccf-carbon); font: 700 13px/1.3 "Manrope",sans-serif; }
.ty-shipping-promise p { margin: 5px 0 0; color: var(--ccf-muted); font: 500 14px/1.5 "Manrope",sans-serif; }
.ty-customer-meta-grid > .grid {
  display: grid !important;
  align-items: start;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ty-customer-meta-grid > .grid > div { display: flex !important; min-width: 0; flex-direction: column; gap: 9px; }
.ty-customer-meta-grid h4 { display: block; margin: 0; color: var(--ccf-muted); font: 700 13px/1.35 "Manrope",sans-serif; opacity: 1 !important; }
.ty-customer-meta-grid .flex.flex-column { display: flex !important; min-width: 0; flex-direction: column; gap: 5px; color: var(--ccf-carbon); line-height: 1.45; opacity: 1 !important; }
.ty-customer-meta-grid .flex.ali-center { display: flex !important; align-items: center; flex-direction: row; flex-wrap: wrap; gap: 9px; }
.ty-badge-paid { border-radius: 999px; background: #dff2de; color: var(--ccf-deep); }
.ty-buttons-action-row { display: flex !important; align-items: center; gap: 14px; }
.ty-btn-primary,.ty-btn-secondary { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px !important; border-radius: 8px; font-family: "Manrope",sans-serif; line-height: 1.2; }
.ty-btn-primary { border-color: var(--ccf-action); background: var(--ccf-action); }
.ty-btn-secondary { border-color: var(--ccf-action); color: var(--ccf-action); }
.ty-btn-primary:hover,.ty-btn-primary:focus-visible,.ty-btn-secondary:hover,.ty-btn-secondary:focus-visible { outline: 3px solid #f095be; outline-offset: 3px; }

/* Acceso en checkout: misma gramática visual del sistema CCG. */
.ccf-auth-modal { font-family: "Manrope",sans-serif; line-height: 1.5; }
.ccf-auth-modal__backdrop { background: rgba(16,24,32,.72); backdrop-filter: blur(5px); }
.ccf-auth-modal__dialog {
  width: min(100%, 500px);
  padding: 38px 40px 40px;
  border: 1px solid var(--ccf-line);
  border-top: 6px solid transparent;
  border-radius: 4px;
  border-image: linear-gradient(90deg,#f095be 0 33%,#94d4e9 33% 66%,#bfd59f 66%) 1;
  background: var(--ccf-paper);
  color: var(--ccf-carbon);
  box-shadow: 0 28px 70px rgba(16,24,32,.28);
}
.ccf-auth-modal__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ccf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ccf-carbon);
  line-height: 36px;
}
.ccf-auth-modal__close:hover,.ccf-auth-modal__close:focus-visible { border-color: var(--ccf-action); color: var(--ccf-action); outline: 3px solid #f095be; outline-offset: 2px; }
.ccf-auth-modal__eyebrow { color: var(--ccf-action); font: 800 12px/1.3 "Manrope",sans-serif; letter-spacing: .1em; }
.ccf-auth-modal h2 { color: var(--ccf-carbon); font: 700 30px/1.12 "Poppins",sans-serif; letter-spacing: -.035em; }
.ccf-auth-modal p { color: var(--ccf-muted); font: 500 14px/1.6 "Manrope",sans-serif; }
.ccf-auth-form label:not(.ccf-auth-remember) { color: var(--ccf-carbon); font: 700 13px/1.4 "Manrope",sans-serif; }
.ccf-auth-form > input {
  min-height: 54px;
  border-color: var(--ccf-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ccf-carbon);
  font: 500 15px/1.4 "Manrope",sans-serif;
}
.ccf-auth-form > input:focus { border-color: var(--ccf-action); box-shadow: 0 0 0 3px rgba(240,149,190,.42); }
.ccf-auth-remember { color: var(--ccf-muted); }
.ccf-auth-remember input { accent-color: var(--ccf-action); }
.ccf-auth-submit {
  min-height: 54px;
  border-radius: 4px;
  background: var(--ccf-action);
  font: 800 14px/1.2 "Manrope",sans-serif;
}
.ccf-auth-submit:hover,.ccf-auth-submit:focus-visible { background: var(--ccf-deep); outline: 3px solid #f095be; outline-offset: 3px; }
.ccf-auth-text-button { color: var(--ccf-action); font-family: "Manrope",sans-serif; }
.ccf-auth-guest {
  margin-top: 26px;
  padding: 18px 20px;
  border-color: var(--ccf-line);
  border-radius: 4px;
  background: var(--ccf-foam);
  color: var(--ccf-muted);
}
.ccf-auth-guest strong { color: var(--ccf-carbon); }
.ccf-auth-guest button { color: var(--ccf-action); font-family: "Manrope",sans-serif; }
.ccf-auth-text-button:hover,.ccf-auth-text-button:focus-visible,.ccf-auth-guest button:hover,.ccf-auth-guest button:focus-visible { color: var(--ccf-deep); outline: 2px solid #f095be; outline-offset: 3px; }
.ty-sidebar-img-container { border: 0; border-radius: 4px; }
.ty-sidebar-item-row { display: grid !important; align-items: center; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; }
.ty-sidebar-item-row > .flex { display: flex !important; min-width: 0; align-items: center; gap: 15px; }
.ty-sidebar-item-row h4 { overflow-wrap: anywhere; }
.ty-sidebar-math-block { display: flex !important; padding-top: 20px; border-top: 1px solid var(--ccf-line); flex-direction: column; gap: 14px; }
.ty-sidebar-math-block > div { display: flex !important; min-height: 28px; align-items: baseline; justify-content: space-between; gap: 20px; }
.ty-sidebar-math-block > div > :last-child { flex: 0 0 auto; text-align: right; }
.ty-sidebar-math-block .ty-sidebar-total {
  display: grid !important;
  align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--ccf-line);
  grid-template-columns: minmax(0, 1fr) auto;
}
.ty-sidebar-total small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: var(--ccf-muted);
  font: 500 11px/1.4 "Manrope",sans-serif;
  text-align: right;
}
.ty-failed-wrapper { width: min(100% - 48px,1200px); margin: 64px auto; padding: 56px; background: #fff; }

@media (max-width: 900px) {
  .fs-fullwidth-checkout > .woocommerce-NoticeGroup-checkout,
  body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error { width: min(100% - 40px, 720px); }
  .ccf-checkout-intro { width: min(100% - 40px, 720px); align-items: flex-start; flex-direction: column; padding-top: 40px; }
  .ccf-checkout-progress { width: 100%; justify-content: space-between; gap: 8px; }
  .ccf-checkout-progress li + li::before { display: none; }
  .fs-fullwidth-checkout .fs-checkout-screen-grid { width: min(100% - 40px,720px); margin-bottom: 72px; grid-template-columns: 1fr !important; }
  .fs-fullwidth-checkout .fs-checkout-summary-sidebar { order: 0; padding: 40px 0 !important; border-top: 1px solid var(--ccf-line); border-left: 0; background: var(--ccf-paper); }
  .fs-fullwidth-checkout .fs-billing-form-wrapper { padding: 40px 0 48px; }
  .ty-success-screen-wrapper { padding: 44px 20px 80px; }
  .ty-screen-master-grid { grid-template-columns: 1fr; }
  .ty-billing-success-content { padding: 40px 0 48px; }
  .ty-checkout-summary-sidebar { padding: 40px 0 0 !important; border-top: 1px solid var(--ccf-line); border-left: 0; background: var(--ccf-paper); }
  .ty-internal-sidebar-max { position: static; }
  .ty-buttons-action-row { align-items: stretch; flex-direction: column; }
  .ty-btn-primary,.ty-btn-secondary { width: 100%; }
}

@media (max-width: 560px) {
  .fs-fullwidth-checkout > .woocommerce-NoticeGroup-checkout,
  body.woocommerce-checkout .ccg-commerce-main > .woocommerce > .woocommerce-error { width: calc(100% - 32px); }
  .ccf-checkout-intro { width: calc(100% - 32px); }
  .ccf-checkout-progress { align-items: flex-start; }
  .ccf-checkout-progress li { max-width: 92px; align-items: flex-start; flex-direction: column; white-space: normal; }
  .fs-fullwidth-checkout .fs-checkout-screen-grid { width: calc(100% - 32px); }
  .fs-fullwidth-checkout .fs-header-split-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .fs-fullwidth-checkout .fs-field-twin-grid { grid-template-columns: 1fr !important; }
  .ty-thanks-message-block { align-items: flex-start; flex-direction: column; }
  .ty-customer-meta-grid .grid { grid-template-columns: 1fr !important; }
  .ty-sidebar-item-row { align-items: start; grid-template-columns: 1fr; }
  .ty-sidebar-item-row > span { padding-left: 79px; text-align: left; }
  .ty-payment-instructions { padding: 22px 18px; }
  .ty-payment-instructions__heading { grid-template-columns: 40px minmax(0, 1fr); }
  .ty-payment-instructions__icon { width: 40px; height: 40px; }
  .ty-payment-reference { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ty-payment-instructions ul.wc-bacs-bank-details,
  .ty-payment-instructions ul.bacs_details,
  .ty-payment-instructions .woocommerce-bacs-bank-details ul { grid-template-columns: 1fr !important; }
  .ty-payment-instructions__actions { align-items: stretch; flex-direction: column; }
  .ty-copy-bank-details { width: 100%; }
}

body.woocommerce-checkout > .woocommerce {
  line-height: normal;
  margin-top: -24px !important;
}

/* Refinamiento del formulario de checkout. */
.fs-fullwidth-checkout .fs-internal-form-max {
  max-width: 640px;
}

.fs-fullwidth-checkout .fs-main-title-space {
  margin-bottom: 10px !important;
  line-height: 1.15;
}

.fs-fullwidth-checkout .fs-required-note {
  margin: 0 0 38px !important;
  color: #64748b;
  line-height: 1.45;
}

.fs-fullwidth-checkout .fs-header-split-row {
  align-items: baseline;
  gap: 18px;
  margin-bottom: 20px;
}

.fs-fullwidth-checkout .fs-header-split-row > span {
  white-space: nowrap;
}

.fs-fullwidth-checkout .ccf-contact-section #billing_email_field {
  margin-bottom: 12px !important;
}

.fs-fullwidth-checkout .fs-checkbox-toggle {
  width: fit-content;
  margin: 2px 0 0 !important;
  color: #475569;
  line-height: 1.35;
}

.fs-fullwidth-checkout .fs-ui-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
}

.fs-fullwidth-checkout .ccf-delivery-section {
  margin-top: 44px !important;
}

.fs-fullwidth-checkout .ccf-delivery-section .fs-section-title-space {
  margin-bottom: 8px !important;
}

.fs-fullwidth-checkout .fs-delivery-caption {
  margin: 0 0 22px !important;
  color: #64748b;
  line-height: 1.45;
}

.fs-fullwidth-checkout .fs-field-row {
  margin-bottom: 14px !important;
}

.fs-fullwidth-checkout .fs-custom-input-field {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.3;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.fs-fullwidth-checkout .fs-custom-input-field:hover {
  border-color: #94a3b8;
}

.fs-fullwidth-checkout .fs-custom-input-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
  background: #ffffff;
}

.fs-fullwidth-checkout .fs-custom-input-field::placeholder {
  color: #64748b;
  opacity: 1;
}

.fs-fullwidth-checkout .fs-field-twin-grid {
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.fs-fullwidth-checkout .fs-field-twin-grid .form-row {
  margin-bottom: 0 !important;
}

.woocommerce-checkout .form-row .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 54px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.woocommerce-checkout .select2-container--default .select2-selection--single:hover {
  border-color: #94a3b8 !important;
}

.woocommerce-checkout .select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1e293b !important;
  line-height: 52px !important;
  padding-left: 16px !important;
  padding-right: 42px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 4px !important;
  right: 10px !important;
  height: 46px !important;
}

@media (min-width: 640px) {
  .fs-fullwidth-checkout .fs-field-twin-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
}

@media (max-width: 639px) {
  .fs-fullwidth-checkout .fs-header-split-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .fs-fullwidth-checkout .fs-header-split-row > span {
    white-space: normal;
  }

  .fs-fullwidth-checkout .fs-field-twin-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   CARRO CONVERSIÓN 2026 — PROYECTOS DE ESPUMA
   ========================================================== */
.cc-cart-main-container {
  padding: 44px 0 104px;
}

.cc-cart-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.cc-cart-hero__copy {
  max-width: 760px;
}

.cc-cart-eyebrow,
.cc-cart-section-heading__kicker {
  display: block;
  margin-bottom: 7px;
  color: #2563eb;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cc-cart-hero h1 {
  color: #0f172a;
  font-size: clamp(32px, 3.3vw, 48px) !important;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.cc-cart-hero__copy > p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #64748b;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.cc-cart-hero .cc-title-counter {
  flex: 0 0 auto;
  margin: 0 0 5px;
  padding: 9px 13px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  white-space: nowrap;
}

.cc-cart-progress {
  display: flex;
  align-items: center;
  max-width: 690px;
  margin-bottom: 38px;
}

.cc-cart-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-family: Inter, sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.cc-cart-progress__step span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cc-cart-progress__step.is-active {
  color: #0f172a;
}

.cc-cart-progress__step.is-active span {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.cc-cart-progress__line {
  width: 56px;
  height: 1px;
  margin: 0 12px;
  background: #cbd5e1;
}

.cc-cart-grid-layout {
  grid-template-columns: minmax(0, 1.72fr) minmax(330px, .88fr);
  gap: 38px;
}

.cc-cart-section-heading,
.cc-upsell-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.cc-cart-section-heading h2,
.cc-upsell-heading-row h3 {
  margin: 0;
  color: #0f172a;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cc-cart-section-heading > span,
.cc-upsell-heading-row > p {
  margin: 0 0 2px;
  color: #64748b;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.cc-cart-products-stack {
  gap: 12px;
}

.cc-product-item-card {
  min-height: 142px;
  padding: 18px 20px;
  border-color: #e2e8f0;
  border-radius: 17px;
  box-shadow: 0 5px 22px rgba(15, 23, 42, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cc-product-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
  transform: translateY(-1px);
}

.cc-product-meta-group {
  min-width: 0;
  gap: 18px;
}

.cc-product-image-frame {
  width: 104px;
  height: 104px;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f1f5f9);
}

.cc-product-image-frame img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.cc-product-text-details {
  min-width: 0;
  gap: 6px;
}

.cc-product-name-title {
  max-width: 310px;
  font-size: 15px !important;
  line-height: 1.35;
}

.cc-product-name-title a {
  color: #0f172a;
  text-decoration: none;
}

.cc-product-type-label {
  color: #64748b;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.cc-product-controls-group {
  gap: 22px;
}

.cc-qty-manipulator-box {
  min-width: 132px;
  height: 46px;
  border-color: #cbd5e1;
  border-radius: 10px;
}

.cc-qty-action-button {
  width: 38px;
  height: 46px;
  color: #64748b;
  font-size: 20px;
}

.cc-cart-main-container .quantity input.qty {
  width: 54px;
  height: 46px;
  font-size: 16px;
}

.cc-product-price-block {
  width: 112px;
}

.cc-product-total-price,
.cc-product-total-price .woocommerce-Price-amount {
  color: #0f172a;
  font-size: 17px !important;
  font-weight: 850 !important;
}

.cc-product-trash-trigger {
  flex-direction: column;
  gap: 1px;
  min-width: 40px;
  padding: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.cc-product-trash-trigger > span:first-child {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.cc-back-navigation-box {
  margin: 18px 0 0;
}

.cc-back-store-link {
  padding: 7px 0;
  color: #2563eb;
  font-size: 13px !important;
}

.cc-cart-confidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}

.cc-cart-confidence-strip > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-family: Inter, sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.cc-cart-confidence-strip > div > span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  place-items: center;
  font-size: 11px;
}

.cc-cart-right-column {
  position: sticky;
  top: 110px;
}

.cc-summary-card-panel {
  overflow: hidden;
  padding: 0;
  border-color: #dbe3ee;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .09);
}

.cc-summary-header {
  padding: 26px 28px 23px;
  border-bottom: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff, #f8fbff 68%, #fff);
}

.cc-summary-headline {
  margin-bottom: 6px !important;
  color: #0f172a;
  font-size: 22px !important;
}

.cc-summary-header > p {
  margin: 0;
  color: #64748b;
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.cc-summary-option {
  margin: 0 28px;
  border-bottom: 1px solid #eef2f7;
}

.cc-summary-option summary {
  position: relative;
  padding: 15px 24px 15px 0;
  color: #475569;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.cc-summary-option summary::-webkit-details-marker { display: none; }
.cc-summary-option summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  content: "+";
  color: #64748b;
  font-size: 18px;
  font-weight: 500;
  transform: translateY(-50%);
}
.cc-summary-option[open] summary::after { content: "−"; }

.cc-summary-option__content {
  padding: 0 0 16px;
}

.cc-summary-textarea-field {
  height: 78px;
  border-color: #cbd5e1;
  border-radius: 10px;
  font-size: 13px !important;
}

.cc-coupon-input {
  min-width: 0;
  height: 44px;
  font-size: 13px;
}

.cc-coupon-btn {
  height: 44px;
  padding: 0 16px;
}

.cc-summary-separator {
  height: 7px;
  margin-top: -1px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cc-summary-card-panel > .cc-summary-data-row,
.cc-checkout-trigger-container {
  margin-right: 28px;
  margin-left: 28px;
}

.cc-summary-data-row {
  padding: 15px 0;
}

.cc-badge-shipping-status {
  background: #f1f5f9;
  color: #475569;
  padding: 5px 9px;
}

.cc-summary-total-final-row {
  padding-top: 20px;
  margin-bottom: 16px;
}

.cc-summary-total-final-row .woocommerce-Price-amount {
  color: #0f172a;
  font-size: 27px;
  font-weight: 900;
}

.cc-primary-payment-button {
  min-height: 54px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 12px;
  background: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cc-primary-payment-button:hover {
  background: #1d4ed8;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .28);
  transform: translateY(-1px);
}

.cc-summary-no-charge {
  margin: 9px 0 14px;
  color: #64748b;
  font-family: Inter, sans-serif;
  font-size: 10px;
  text-align: center;
}

.cc-summary-assurances {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 14px 0 22px;
  border-top: 1px solid #eef2f7;
  color: #475569;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.cc-upsell-section-box {
  margin-top: 44px;
  padding-top: 34px;
  border-top-color: #e2e8f0;
}

.cc-upsell-grid-span {
  width: 100%;
}

.cc-upsell-grid-span .cc-upsell-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cc-upsell-heading-row {
  margin-bottom: 18px;
}

.cc-upsell-product-card {
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
}

.cc-upsell-image-wrapper {
  background: linear-gradient(145deg, #f8fafc, #fff);
}

@media (max-width: 1100px) {
  .cc-cart-grid-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .cc-upsell-grid-span .cc-upsell-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-product-item-card { align-items: flex-start; flex-direction: column; }
  .cc-product-controls-group {
    width: 100%;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
  }
}

@media (max-width: 900px) {
  .cc-cart-grid-layout { grid-template-columns: 1fr; }
  .cc-cart-right-column { position: static; }
  .cc-cart-confidence-strip { margin-bottom: 0; }
  .cc-upsell-grid-span .cc-upsell-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-upsell-grid-span .cc-upsell-hide-tablet {
    display: flex;
  }
}

@media (max-width: 640px) {
  .cc-cart-main-container { padding: 30px 0 72px; }
  .cc-cart-hero { align-items: flex-start; flex-direction: column; gap: 14px; }
  .cc-cart-hero h1 { font-size: 32px !important; }
  .cc-cart-hero__copy > p { font-size: 14px; }
  .cc-cart-hero .cc-title-counter { margin: 0; }
  .cc-cart-progress { margin-bottom: 28px; overflow: hidden; }
  .cc-cart-progress__step strong { display: none; }
  .cc-cart-progress__line { flex: 1; width: auto; min-width: 32px; }
  .cc-cart-section-heading,
  .cc-upsell-heading-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cc-product-item-card { min-height: auto; padding: 14px; }
  .cc-product-image-frame { width: 82px; height: 82px; }
  .cc-product-name-title { font-size: 14px !important; }
  .cc-product-controls-group { gap: 8px; }
  .cc-qty-manipulator-box { min-width: 116px; }
  .cc-qty-action-button { width: 34px; }
  .cc-cart-main-container .quantity input.qty { width: 46px; }
  .cc-product-price-block { min-width: 78px; width: auto; }
  .cc-product-total-price .woocommerce-Price-amount { font-size: 15px !important; }
  .cc-product-trash-trigger { min-width: 34px; }
  .cc-product-trash-trigger > span:last-child { display: none; }
  .cc-cart-confidence-strip { grid-template-columns: 1fr; padding: 14px; }
  .cc-summary-header { padding: 22px 20px 19px; }
  .cc-summary-option,
  .cc-summary-card-panel > .cc-summary-data-row,
  .cc-checkout-trigger-container { margin-right: 20px; margin-left: 20px; }
  .cc-summary-assurances { flex-direction: column; align-items: center; gap: 5px; }
  .cc-upsell-grid-span .cc-upsell-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .cc-upsell-grid-span .cc-upsell-product-card,
  .cc-upsell-grid-span .cc-upsell-hide-tablet {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    gap: 14px;
    box-sizing: border-box;
  }
  .cc-upsell-grid-span .cc-upsell-product-content,
  .cc-upsell-grid-span .cc-upsell-product-title,
  .cc-upsell-grid-span .cc-upsell-price-label,
  .cc-upsell-grid-span .cc-upsell-action-btn-add {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Carrito alineado con la herramienta Corte a Medida — override final */
.cc-cart-main-container {
  padding: 30px 0 104px;
  background: #fbfaf6 !important;
  color: #101820 !important;
  font-family: Manrope, Inter, sans-serif;
}
.cc-cart-main-container .contenedor-seccion { max-width: 1200px; }
.cc-cart-hero { align-items: end; margin-bottom: 30px; }
.cc-cart-hero h1 {
  color: #101820;
  font-family: Poppins, sans-serif;
  font-size: clamp(44px, 4.6vw, 68px) !important;
  font-weight: 700 !important;
  letter-spacing: -.045em;
  line-height: .98;
}
.cc-cart-hero__copy > p { margin-top: 14px; color: #68737d; font-family: Manrope, Inter, sans-serif; font-size: 16px; }
.cc-cart-hero .cc-title-counter { margin-bottom: 3px; padding: 7px 11px; border: 1px solid #d9d8d1; background: transparent; color: #075a6c; }
.cc-cart-progress { max-width: 640px; margin-bottom: 48px; }
.cc-cart-progress__step { color: #68737d; font-family: Manrope, Inter, sans-serif; }
.cc-cart-progress__step span { border-color: #d9d8d1; background: #fff; color: #68737d; }
.cc-cart-progress__step.is-active { color: #101820; }
.cc-cart-progress__step.is-active span { border-color: #101820; background: #101820; color: #fff; }
.cc-cart-progress__line { background: #d9d8d1; }
.cc-cart-grid-layout { grid-template-columns: minmax(0, 1.75fr) minmax(360px, .82fr); gap: 48px; }
.cc-cart-section-heading, .cc-upsell-heading-row { margin-bottom: 18px; }
.cc-cart-section-heading h2, .cc-upsell-heading-row h3 { color: #101820; font-size: 22px; letter-spacing: -.025em; }
.cc-cart-section-heading > span, .cc-upsell-heading-row > p { color: #68737d; font-family: Manrope, Inter, sans-serif; }
.cc-cart-products-stack { gap: 0; overflow: hidden; border: 1px solid #d9d8d1; border-radius: 4px; background: #fff; }
.cc-product-item-card {
  min-height: 152px; padding: 24px;
  border: 0; border-bottom: 1px solid #d9d8d1; border-radius: 0;
  background: #fff; box-shadow: none; transform: none;
}
.cc-product-item-card:last-child { border-bottom: 0; }
.cc-product-item-card:hover { border-color: #d9d8d1; background: #fdfcf9; box-shadow: none; transform: none; }
.cc-product-meta-group { align-items: flex-start; gap: 20px; }
.cc-product-image-frame { flex: 0 0 112px; width: 112px; height: 112px; border: 0; border-radius: 4px; background: #fff; }
.cc-product-image-frame img { width: 90%; height: 90%; object-fit: contain; }
.cc-product-image-frame--project { background: linear-gradient(165deg,#fff 0 28%,#94d4e9 28% 49%,#f095be 49% 70%,#bfd59f 70% 100%); }
.cc-product-name-title { max-width: 370px; color: #101820; font-family: Poppins,sans-serif !important; font-size: 16px !important; font-weight: 700 !important; }
.cc-product-type-label { color: #68737d; font-family: Manrope,Inter,sans-serif; }
.ccm-project-overview span { border-color: #d9d8d1; background: #fff; color: #075a6c; }
.ccm-project-details summary { color: #075a6c; }
.ccm-project-details__list, .ccm-project-details__list li { border-color: #d9d8d1; }
.cc-product-controls-group { align-self: center; gap: 18px; }
.cc-qty-manipulator-box { min-width: 132px; height: 50px; border-color: #d9d8d1; border-radius: 8px; }
.cc-qty-action-button { width: 40px; height: 50px; color: #075a6c; }
.cc-cart-main-container .quantity input.qty { width: 52px; height: 50px; color: #101820; }
.cc-product-total-price, .cc-product-total-price .woocommerce-Price-amount { color: #101820; }
.cc-back-store-link { color: #075a6c; font-family: Manrope,Inter,sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.cc-cart-confidence-strip { margin-top: 28px; padding: 16px 18px; border-color: #d9d8d1; border-radius: 4px; background: #f5f2ea; }
.cc-cart-confidence-strip > div { color: #101820; font-family: Manrope,Inter,sans-serif; }
.cc-cart-confidence-strip > div > span { background: #bfd59f; color: #034653; }
.cc-summary-card-panel { border: 0; border-radius: 0; background: #fff; box-shadow: 0 12px 36px rgba(16,24,32,.08); }
.cc-summary-header { padding: 28px 30px 24px; border-bottom: 1px solid #d9d8d1; background: #fff; }
.cc-summary-headline { color: #101820; font-size: 28px !important; letter-spacing: -.04em; }
.cc-summary-header > p, .cc-summary-option summary, .cc-summary-no-charge, .cc-summary-assurances { color: #68737d; font-family: Manrope,Inter,sans-serif; }
.cc-summary-option { border-color: #d9d8d1; }
.cc-summary-option summary::after { color: #075a6c; }
.cc-summary-separator { border-color: #d9d8d1; background: #f5f2ea; }
.cc-badge-shipping-status { background: #f5f2ea; color: #034653; }
.cc-summary-total-final-row .woocommerce-Price-amount { color: #101820; }
.cc-primary-payment-button { border-radius: 8px; background: #075a6c; box-shadow: none; }
.cc-primary-payment-button:hover, .cc-primary-payment-button:focus-visible { background: #034653; box-shadow: none; transform: none; }
.cc-primary-payment-button:focus-visible, .cc-back-store-link:focus-visible, .ccm-project-details summary:focus-visible { outline: 3px solid #f095be; outline-offset: 4px; }
.cc-upsell-section-box { margin-top: 64px; padding-top: 40px; border-top-color: #d9d8d1; }
.cc-upsell-products-grid { gap: 16px; }
.cc-upsell-product-card { border: 1px solid #d9d8d1; border-radius: 4px; box-shadow: none; }
.cc-upsell-action-btn-add { border-radius: 8px; background: #101820; }

@media (max-width: 1100px) {
  .cc-cart-grid-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 28px; }
  .cc-product-item-card { align-items: stretch; flex-direction: column; }
  .cc-product-controls-group { align-self: stretch; }
}
@media (max-width: 900px) { .cc-cart-grid-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cc-cart-main-container { padding: 40px 0 72px; }
  .cc-cart-hero { gap: 16px; }
  .cc-cart-hero h1 { font-size: 42px !important; }
  .cc-cart-products-stack { border-radius: 4px; }
  .cc-product-item-card { padding: 18px 14px; }
  .cc-product-meta-group { gap: 12px; }
  .cc-product-image-frame { flex-basis: 78px; width: 78px; height: 78px; }
  .cc-product-name-title { font-size: 13px !important; }
  .cc-product-controls-group { padding-top: 14px; border-color: #d9d8d1; }
  .cc-cart-confidence-strip { border-radius: 4px; }
  .cc-summary-card-panel { border-radius: 0; }
}

/* Corte a medida: una ficha técnica compacta y consistente en todo el flujo. */
.ccm-piece-specs,
.ccm-checkout-cut-summary,
.ccm-order-cut-summary {
  display: grid;
  gap: 3px;
  max-width: 620px;
  color: #68737d;
  font-family: Manrope, Inter, sans-serif;
}

.ccm-piece-specs p,
.ccm-piece-specs span,
.ccm-checkout-cut-summary p,
.ccm-checkout-cut-summary small,
.ccm-order-cut-summary p,
.ccm-order-cut-summary span {
  margin: 0;
}

.ccm-piece-specs p,
.ccm-checkout-cut-summary p,
.ccm-order-cut-summary p {
  color: #34434d;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.ccm-piece-specs span,
.ccm-checkout-cut-summary small,
.ccm-order-cut-summary span {
  color: #68737d;
  font-size: 10px;
  line-height: 1.45;
}

.cc-product-item-card--cut-project {
  min-height: 152px;
}

.cc-product-item-card--cut-project .cc-product-image-frame {
  display: grid;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0 28%, #94d4e9 28% 49%, #f095be 49% 70%, #bfd59f 70% 100%);
  place-items: center;
}

.cc-product-item-card--cut-project .cc-product-image-frame img {
  position: static;
  width: 78%;
  height: 78%;
  margin: 0;
  padding: 7px;
  background: rgba(255, 255, 255, .9);
  object-fit: contain;
}

.ccm-checkout-cut-summary {
  margin-top: 5px;
}

.ccm-checkout-cut-summary > span {
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid #d9d8d1;
  border-radius: 999px;
  color: #075a6c;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.4;
}

.ccf-product-summary-card.ccm-cart-item {
  align-items: center !important;
  min-height: 112px;
}

.ccf-product-summary-card.ccm-cart-item .fs-sidebar-img-container {
  display: grid !important;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0 28%, #94d4e9 28% 49%, #f095be 49% 70%, #bfd59f 70% 100%) !important;
  place-items: center;
}

.ccf-product-summary-card.ccm-cart-item .fs-sidebar-img-container img,
.ty-sidebar-item-row--cut .ty-sidebar-img-container img {
  position: static !important;
  width: 78% !important;
  height: 78% !important;
  margin: 0 !important;
  padding: 5px;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .9);
  object-fit: contain !important;
}

.ty-sidebar-item-row--cut .ty-sidebar-img-container {
  display: grid !important;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0 28%, #94d4e9 28% 49%, #f095be 49% 70%, #bfd59f 70% 100%);
  place-items: center;
}

.ccm-order-cut-summary {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .ccm-piece-specs p,
  .ccm-checkout-cut-summary p,
  .ccm-order-cut-summary p {
    font-size: 11px;
  }

  .cc-product-item-card--cut-project {
    min-height: 0;
  }
}
