/* CCP commerce + footer chrome. Marketplace look (naranja/amarillo, 3px). No copia CSS de Besa. */

.ccp-page-hero--compact {
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ccp-line);
}
.ccp-page-hero--compact h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-family: var(--ccp-font-display);
}

.ccp-notice--shop {
  margin: 0 0 1.15rem;
  max-width: none;
}

.ccp-shell--commerce:has(.ccp-search-page__filters) > .ccp-container > .ccp-article > .ccp-form-card,
.ccp-shell--commerce:has(.ccp-market-grid) > .ccp-container > .ccp-article > .ccp-form-card,
.ccp-shell--commerce:has(ul.products) .ccp-form-card,
.ccp-shell--commerce:has(.woocommerce-products-header) .ccp-form-card {
  max-width: none;
  margin-inline: 0;
  border-left: 4px solid var(--ccp-carmine);
  box-shadow: none;
}

.ccp-menu-grid,
.ccp-ml-grid {
  display: grid;
  gap: 1rem;
}

.ccp-dish-card__img,
.ccp-menu-card__link .ccp-dish-card__ph {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  display: block;
}

.ccp-menu-card__add {
  margin: 0 0.95rem 0.95rem;
  width: calc(100% - 1.9rem);
}

body.ccp-theme .woocommerce-result-count,
body.ccp-theme .woocommerce-ordering {
  margin: 0 0 1rem;
}
body.ccp-theme .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 0.4rem 0.75rem;
  background: #fff;
}

body.ccp-theme .woocommerce-products-header__title {
  font-family: var(--ccp-font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 0 0 0.75rem;
}

body.ccp-theme ul.products {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.5rem !important;
  padding: 0;
  list-style: none;
  width: 100%;
}
body.ccp-theme ul.products li.product,
body.ccp-skin-market ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
body.ccp-theme ul.products li.product .ccp-ml-card {
  height: 100%;
}

@media (min-width: 768px) {
  body.ccp-theme ul.products,
  .ccp-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  body.ccp-theme ul.products.columns-3,
  body.ccp-theme ul.products,
  .ccp-menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.ccp-theme .woocommerce-pagination {
  margin: 1.5rem 0 0;
  display: flex;
  justify-content: center;
}
body.ccp-theme .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.ccp-theme .woocommerce-pagination a,
body.ccp-theme .woocommerce-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  background: #fff;
  padding: 0 0.7rem;
}
body.ccp-theme .woocommerce-pagination .current {
  background: var(--ccp-carmine);
  border-color: var(--ccp-carmine);
  color: #fff;
}

/* Single product */
body.ccp-theme div.product .woocommerce-product-gallery {
  margin-bottom: 1.25rem;
}
body.ccp-theme div.product .woocommerce-product-gallery img {
  width: 100%;
  border-radius: 3px;
  background: #f3f3f3;
}
body.ccp-theme div.product .price {
  color: var(--ccp-carmine);
  font-size: 1.45rem;
  font-weight: 800;
}
body.ccp-theme div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1rem 0;
}
body.ccp-theme div.product form.cart .quantity input {
  min-height: 44px;
  width: 4.5rem;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  text-align: center;
}
body.ccp-theme .woocommerce div.product .button:not(.elementor-button),
body.ccp-theme .woocommerce-cart .button:not(.elementor-button),
body.ccp-theme .woocommerce-checkout .button:not(.elementor-button),
body.ccp-theme .woocommerce-account .button:not(.elementor-button),
body.ccp-theme a.checkout-button,
body.ccp-theme .return-to-shop .button {
  background: var(--ccp-carmine) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 3px !important;
  min-height: 44px;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
}
body.ccp-theme .woocommerce-info,
body.ccp-theme .woocommerce-message,
body.ccp-theme .woocommerce-error,
body.ccp-theme .woocommerce-noreviews {
  border-radius: 3px;
  border-top: 0;
  border-left: 4px solid var(--ccp-carmine);
  background: #fff;
  padding: 0.95rem 1.1rem;
  margin: 0 0 1rem;
  box-shadow: var(--ccp-shadow);
}
body.ccp-theme .woocommerce-message { border-left-color: var(--ccp-cane); }
body.ccp-theme .woocommerce-error { border-left-color: #b42318; }
body.ccp-theme .cart-empty {
  font-size: 1.05rem;
  font-weight: 650;
}

/* Cart */
body.ccp-theme table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  overflow: hidden;
}
body.ccp-theme table.shop_table th,
body.ccp-theme table.shop_table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--ccp-line);
  text-align: left;
  vertical-align: middle;
}
body.ccp-theme table.shop_table img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
}
body.ccp-theme .quantity .qty {
  min-height: 44px;
  width: 4.25rem;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  text-align: center;
}
body.ccp-theme .cart-collaterals {
  margin-top: 0;
}
@media (min-width: 900px) {
  body.woocommerce-cart .cart-collaterals {
    position: sticky;
    top: 5.5rem;
  }
}
body.ccp-theme .cart_totals,
body.ccp-theme .woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--ccp-shadow);
}
body.ccp-theme .cart_totals h2,
body.ccp-theme #order_review_heading {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}
body.ccp-theme .wc-proceed-to-checkout { margin-top: 1rem; }
body.ccp-theme .wc-proceed-to-checkout .checkout-button {
  display: flex;
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  body.woocommerce-checkout .col2-set .col-1,
  body.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
    max-width: none;
  }
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading {
    width: 100%;
    float: none;
    clear: none;
  }
}

/* Checkout + account fields */
body.ccp-theme .woocommerce form .form-row {
  margin: 0 0 0.85rem;
  padding: 0;
}
body.ccp-theme .woocommerce form .form-row label {
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
}
body.ccp-theme .woocommerce form .input-text,
body.ccp-theme .woocommerce form select,
body.ccp-theme .woocommerce-page .input-text,
body.ccp-theme .select2-container .select2-selection--single {
  min-height: 44px !important;
  border-radius: 3px !important;
  border: 1px solid var(--ccp-line) !important;
  width: 100%;
}
body.ccp-theme #add_payment_method #payment,
body.ccp-theme .woocommerce-checkout #payment {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1rem;
}
body.ccp-theme .woocommerce-checkout-payment .place-order {
  margin-top: 0.75rem;
}
body.ccp-theme #place_order { width: 100%; }

body.ccp-theme .woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
body.ccp-theme .woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
body.ccp-theme .woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-weight: 650;
}
body.ccp-theme .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--ccp-carmine);
  color: #fff;
}
body.ccp-theme .woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1.1rem;
}

@media (min-width: 900px) {
  body.ccp-theme .woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
  body.ccp-theme .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 0; }
}

/* Footer */
.ccp-footer {
  position: relative;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.82);
  background: #111;
  padding: 2.6rem 0 1.15rem;
  width: 100%;
  border-top: 4px solid var(--ccp-carmine);
}
.ccp-footer a { color: rgba(255, 255, 255, 0.86); }
.ccp-footer a:hover { color: var(--ccp-gold); }
.ccp-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem 1.4rem;
  align-items: start;
}
.ccp-footer__title {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}
.ccp-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.ccp-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.ccp-footer__brand p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 28ch;
}
.ccp-footer__social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
}
.ccp-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 650;
}
.ccp-footer__subscribe {
  margin-top: 1.75rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ccp-footer__subscribe-inner {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.ccp-footer__subscribe-copy p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.ccp-footer .ccp-newsletter--footer {
  max-width: 28rem;
  width: 100%;
  display: grid;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
}
.ccp-footer .ccp-newsletter--footer label {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.88rem;
}
.ccp-footer .ccp-newsletter--footer input[type="email"] {
  min-height: 44px;
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #1c1c1c;
  color: #fff;
  padding: 0.55rem 0.8rem;
}
.ccp-footer .ccp-newsletter--footer input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.ccp-footer .ccp-newsletter--footer .ccp-newsletter__consent {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.35;
}
.ccp-footer .ccp-newsletter--footer .ccp-btn {
  width: 100%;
  min-height: 44px;
}
.ccp-footer__bottom {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}
.ccp-footer__bottom p { margin: 0; }
.ccp-footer__meta { color: var(--ccp-gold); font-weight: 650; }

@media (min-width: 768px) {
  .ccp-footer__grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }
  .ccp-footer__subscribe-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

body.ccp-has-dock .ccp-wa-float {
  bottom: 5.75rem;
}
body.ccp-has-dock .ccp-footer {
  padding-bottom: 1.5rem;
}

/* Forms — catalog filters stay full width; standalone forms are centered */
body.ccp-theme .ccp-form,
body.ccp-theme .ccp-form-card,
body.ccp-theme .woocommerce-account form.login,
body.ccp-theme .woocommerce-account form.register,
body.ccp-theme .woocommerce-account form.lost_reset_password,
body.ccp-theme .woocommerce-EditAccountForm,
body.ccp-theme .comment-form,
body.ccp-theme .wpcf7-form {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--ccp-shadow);
  max-width: min(44rem, 100%);
  width: 100%;
  margin-inline: auto;
}
body.ccp-theme .woocommerce form.checkout {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
  margin-inline: 0;
  width: 100%;
}
body.ccp-theme .ccp-form.ccp-search-page__filters {
  max-width: none;
  margin-inline: 0;
  width: 100%;
}
body.ccp-theme .ccp-shell--commerce:has(.ccp-search-page__filters) .ccp-article > .ccp-form-card,
body.ccp-theme .ccp-shell--commerce:has(.ccp-market-grid) .ccp-article > .ccp-form-card,
body.ccp-theme .ccp-shell--commerce:has(ul.products) .ccp-form-card {
  max-width: none;
  margin-inline: 0;
}
.ccp-article:has(> form.ccp-form:not(.ccp-search-page__filters)) > .ccp-form-card,
.ccp-article:has(> form.ccp-form:not(.ccp-search-page__filters)) > .ccp-vdash__hint,
.ccp-article:has(> form.ccp-form:not(.ccp-search-page__filters)) > .ccp-notice {
  max-width: min(44rem, 100%);
  margin-inline: auto;
  width: 100%;
}
body.ccp-theme .ccp-form label,
body.ccp-theme .ccp-form-card label,
body.ccp-theme .woocommerce form .form-row label {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  color: var(--ccp-ink);
}
body.ccp-theme .ccp-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]),
body.ccp-theme .ccp-form select,
body.ccp-theme .ccp-form textarea,
body.ccp-theme .ccp-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="file"]),
body.ccp-theme .ccp-form-card select,
body.ccp-theme .ccp-form-card textarea,
body.ccp-theme .woocommerce form .input-text,
body.ccp-theme .woocommerce form select,
body.ccp-theme .woocommerce-page textarea,
body.ccp-theme .wc-block-components-text-input input,
body.ccp-theme .wc-block-components-textarea,
body.ccp-theme .select2-container .select2-selection--single {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid var(--ccp-line);
  border-radius: 3px !important;
  background: #fff;
  padding: 0.55rem 0.8rem;
  color: var(--ccp-ink);
  box-shadow: none;
}
body.ccp-theme textarea,
body.ccp-theme .woocommerce-page textarea,
body.ccp-theme .ccp-form textarea {
  min-height: 120px;
  resize: vertical;
}
body.ccp-theme .ccp-form .ccp-btn,
body.ccp-theme .ccp-form-card .ccp-btn,
body.ccp-theme .woocommerce form button[type="submit"] {
  min-height: 44px;
  border-radius: 3px;
}
body.ccp-theme input[type="checkbox"],
body.ccp-theme input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  accent-color: var(--ccp-carmine);
}

/* Empty cart */
.ccp-empty-cart {
  max-width: 28rem;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 2rem 1.4rem;
  box-shadow: var(--ccp-shadow);
}
.ccp-empty-cart__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ccp-carmine);
}
.ccp-empty-cart h2 {
  margin: 0 0 0.5rem;
  font-family: var(--ccp-font-display);
}
.ccp-empty-cart p { margin: 0 0 1rem; color: var(--ccp-stone); }
.ccp-empty-cart .return-to-shop { margin: 0; }
.ccp-empty-cart .ccp-btn { min-width: 12rem; }

body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) {
  display: block;
}
@media (min-width: 900px) {
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.25rem;
    align-items: start;
  }
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .ccp-vendor-split,
  body.woocommerce-cart .woocommerce-form-coupon-toggle,
  body.woocommerce-cart .woocommerce-info,
  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-error {
    grid-column: 1 / -1;
  }
  body.woocommerce-cart form.woocommerce-cart-form {
    grid-column: 1;
    min-width: 0;
  }
  body.woocommerce-cart .cart-collaterals {
    grid-column: 2;
  }
}

/* Classic checkout two columns — kill Woo floats */
@media (min-width: 900px) {
  body.woocommerce-checkout form.woocommerce-checkout,
  body.ccp-theme form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 1.5rem;
    row-gap: 0.85rem;
    align-items: start;
  }
  body.ccp-theme form.checkout .woocommerce-NoticeGroup,
  body.ccp-theme form.checkout .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
  }
  body.ccp-theme form.checkout .col2-set {
    grid-column: 1;
    grid-row: 2 / span 8;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    display: block;
  }
  body.ccp-theme form.checkout #order_review_heading {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 0 0.65rem;
  }
  body.ccp-theme form.checkout #order_review {
    grid-column: 2;
    grid-row: 3;
    width: 100% !important;
    float: none !important;
    clear: none !important;
  }
}
body.ccp-theme form.checkout .col2-set .col-1,
body.ccp-theme form.checkout .col2-set .col-2 {
  width: 100%;
  float: none;
  max-width: none;
}
body.ccp-theme #order_review {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1.1rem 1.15rem;
  position: sticky;
  top: 5.5rem;
}

/* WC Blocks fallback (if a page still has them) */
body.ccp-theme .wp-block-woocommerce-checkout,
body.ccp-theme .wp-block-woocommerce-cart,
body.ccp-theme .wc-block-checkout,
body.ccp-theme .wc-block-cart {
  max-width: none !important;
  width: 100%;
}
body.ccp-theme .wc-block-components-checkout-place-order-button,
body.ccp-theme .wc-block-cart__submit-button {
  background: var(--ccp-carmine) !important;
  color: #fff !important;
  border-radius: 3px !important;
  min-height: 44px !important;
}

/* Single product gallery must never stay invisible */
body.ccp-theme .woocommerce-product-gallery,
body.ccp-theme .woocommerce-product-gallery.woocommerce-product-gallery--without-images {
  opacity: 1 !important;
  max-width: 100%;
}
body.ccp-theme div.product {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  padding: 1.15rem;
}
body.ccp-theme div.product .product_title {
  font-family: var(--ccp-font-display);
  margin: 0 0 0.5rem;
}
body.ccp-theme .woocommerce-product-gallery__image--placeholder img,
body.ccp-theme .woocommerce-product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f3f3;
  border-radius: 3px;
}

/* Product cards */
body.ccp-theme .ccp-ml-card,
body.ccp-theme .ccp-dish-card,
body.ccp-theme .ccp-menu-card {
  background: #fff;
  border: 1px solid var(--ccp-line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--ccp-shadow);
  height: 100%;
}
body.ccp-theme .ccp-ml-card__img,
body.ccp-theme .ccp-dish-card__img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  background: #f3f3f3;
}
.ccp-dish-card__img-wrap {
  display: block;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  background: #f3f3f3;
}
.ccp-dish-card__img-wrap .ccp-dish-card__ph,
.ccp-dish-card__img-wrap .ccp-dish-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

/* Compact cart/checkout line meta (tienda + tiempo) */
body.ccp-theme .woocommerce td.product-name .variation,
body.ccp-theme .woocommerce-checkout-review-order-table .variation,
body.ccp-theme .woocommerce-cart-form .variation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--ccp-stone);
}
body.ccp-theme .variation dt,
body.ccp-theme .variation dd {
  float: none !important;
  clear: none !important;
  display: inline;
  margin: 0;
  padding: 0;
}
body.ccp-theme .variation dt {
  font-weight: 650;
  margin-right: 0.25rem;
}
body.ccp-theme .variation dd p {
  display: inline;
  margin: 0;
}
body.ccp-theme .woocommerce-checkout-review-order-table th,
body.ccp-theme .woocommerce-checkout-review-order-table td {
  padding: 0.5rem 0.35rem !important;
  vertical-align: top;
}

/* Cart coupon + update on one row */
body.ccp-theme .woocommerce-cart-form .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0 0;
}
body.ccp-theme .woocommerce-cart-form .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
  flex: 1 1 16rem;
  float: none !important;
}
body.ccp-theme .woocommerce-cart-form .coupon .input-text,
body.ccp-theme .woocommerce-cart-form .coupon input[type="text"] {
  width: 12.5rem;
  max-width: 100%;
  min-height: 44px;
}
body.ccp-theme .woocommerce-cart-form .coupon .button,
body.ccp-theme .woocommerce-cart-form .actions > .button {
  width: auto !important;
  min-width: 10rem;
  min-height: 44px;
  float: none !important;
}

/* Woo leftover floats */
body.ccp-theme .woocommerce .col2-set,
body.ccp-theme .woocommerce .col-1,
body.ccp-theme .woocommerce .col-2,
body.ccp-theme .woocommerce .form-row-first,
body.ccp-theme .woocommerce .form-row-last,
body.ccp-theme .woocommerce .form-row-wide {
  float: none !important;
  clear: none !important;
}
@media (min-width: 768px) {
  body.ccp-theme .woocommerce .form-row-first,
  body.ccp-theme .woocommerce .form-row-last {
    display: inline-block;
    width: 48%;
    vertical-align: top;
  }
  body.ccp-theme .woocommerce .form-row-first { margin-right: 4%; }
  body.ccp-theme .woocommerce .form-row-wide { display: block; width: 100%; }
}

@media (min-width: 768px) {
  .ccp-footer__subscribe-inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    align-items: end;
    gap: 1.5rem;
  }
  .ccp-footer .ccp-newsletter--footer {
    max-width: none;
    justify-self: stretch;
  }
}

.ccp-ml-card__rating,
.ccp-ml-card__rating--empty {
  overflow: visible;
  min-height: 1.25rem;
}
.ccp-ml-card__rating--empty small {
  display: block;
  white-space: normal;
  line-height: 1.3;
}

@media (max-width: 899px) {
  body.woocommerce-checkout form.woocommerce-checkout,
  body.ccp-theme form.checkout,
  body.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
  }
  body.ccp-theme #order_review {
    position: static;
  }
  body.ccp-theme .woocommerce-cart-form .coupon .input-text,
  body.ccp-theme .woocommerce-cart-form .coupon .button,
  body.ccp-theme .woocommerce-cart-form .actions > .button {
    width: 100% !important;
    min-width: 0;
  }
}
@media (max-width: 767px) {
  body.ccp-theme .ccp-form,
  body.ccp-theme .ccp-form-card {
    padding: 1rem 0.9rem;
  }
  body.ccp-theme table.shop_table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.ccp-theme ul.products,
  .ccp-menu-grid,
  .ccp-ml-grid,
  .ccp-market-grid,
  .ccp-store-grid {
    grid-template-columns: 1fr !important;
  }
  body.ccp-theme .woocommerce .form-row-first,
  body.ccp-theme .woocommerce .form-row-last {
    display: block;
    width: 100%;
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .ccp-container {
    width: min(100% - 1.25rem, var(--ccp-max));
  }
  body.ccp-theme .ccp-btn,
  body.ccp-theme .woocommerce button.button,
  body.ccp-theme .woocommerce input.button,
  body.ccp-theme .wc-proceed-to-checkout .checkout-button {
    min-height: 44px;
    width: 100%;
  }
}
