/* ==========================================================================
   SINGLE PRODUCT PAGE - BLOCKSY STYLE REBUILD
   ========================================================================== */

/* --- 1. General Layout --- */
.single-product div.product {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* --- 2. Product Image --- */

/* --- 3. Product Summary (Right Column) --- */
.single-product div.product .summary.entry-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.single-product div.product .product_title {
    font-family: var(--font-base);
    color: var(--color-text);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.single-product div.product p.price {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.single-product div.product .woocommerce-product-details__short-description {
    color: var(--color-text-muted);
    font-family: var(--font-base);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.single-product div.product .camfortmall-product-breadcrumb {
    margin: 0 0 12px 0;
    width: 100%;
}

/* Meta Data (Categories, Tags) */
.single-product div.product .product_meta {
    font-family: var(--font-base);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: normal;
    border-top: none;
    padding-top: 0;
    margin-top: var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.single-product div.product .product_meta .posted_in,
.single-product div.product .product_meta .tagged_as {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0;
    margin: 0;
}

.single-product div.product .product_meta .posted_in a,
.single-product div.product .product_meta .tagged_as a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.2;
}

.single-product div.product .product_meta a:hover {
    border-color: var(--color-success);
    color: var(--color-text);
}

/* --- 4. Add to Cart Row (Pill Shapes) --- */
.single-product div.product form.cart {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: nowrap;
}

.single-product div.product form.cart .quantity {
    margin: 0 !important;
}

/* Quantity Input */
.single-product div.product form.cart .quantity input.qty {
    height: 54px;
    width: 80px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-strong);
    padding: 0 15px;
    text-align: center;
    font-family: var(--font-base);
    font-weight: 600;
    color: var(--color-text);
}

/* Primary Add to Cart Button */
.single-product div.product form.cart .single_add_to_cart_button {
    height: 54px;
    flex: 1; /* Makes the button take up remaining space */
    border-radius: var(--radius-full);
    background-color: var(--color-success);
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    transition: background 0.2s ease;
    padding: 0 30px;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
    background-color: var(--color-success-hover);
}

/* --- 5. Safe Checkout Badges (Added via PHP) --- */
.custom-safe-checkout {
    text-align: center;
    margin-top: var(--space-md);
    padding: var(--space-sm) 0;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.custom-safe-checkout__title {
    display: block;
    font-family: var(--font-base);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.custom-safe-checkout__img {
    max-height: 24px;
    margin: 0 auto;
    display: inline-block;
}

/* --- 6. Horizontal Centered Tabs (Overriding Storefront) --- */
.single-product .woocommerce-tabs {
    clear: both;
    width: 100% !important;
    margin-top: 4rem;
    float: none !important;
}

/* Force standard Storefront layout to horizontal */
@media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .woocommerce-tabs {
        width: 100%;
        display: block;
    }
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 3rem;
    margin: 0 0 2rem 0 !important;
    padding: 0 0 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--color-border) !important;
    width: 100% !important;
    float: none !important;
    text-align: left;
}

.single-product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important; /* Hide Storefront's decorative borders */
}

.single-product .woocommerce-tabs ul.tabs li a {
    color: var(--color-text-muted) !important;
    font-family: var(--font-base);
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0 0 10px 0 !important;
    position: relative;
    border: none !important;
    text-align: left;
}

/* Active tab underline using brand primary color */
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--color-text) !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-success);
}

.single-product .woocommerce-tabs .panel {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- 7. Fix Related Products Grid --- */
/* Your current related products grid is collapsing into narrow columns. This fixes it. */
.single-product section.related.products {
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.single-product section.related.products > h2 {
    font-family: var(--font-base);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.single-product section.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 30px !important;
}

.single-product section.related.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

.camfortmall-product-breadcrumb {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.camfortmall-product-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.camfortmall-product-breadcrumb__sep {
    color: var(--color-text-muted);
    margin: 0 6px; /* replaces the old flex `gap` now that it's inline flow */
}

.camfortmall-product-breadcrumb__current {
    color: var(--color-text);
    font-weight: 600;
}

/* Force hide the default Storefront sticky banner */
.storefront-sticky-add-to-cart {
    display: none !important;
}

/* --- Off Platform Payment Notice Layout (Grey Background) --- */
.custom-payment-notice {
    text-align: center;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background-color: #f3f4f6; /* Light grey background */
    border-radius: var(--radius);
    border: 1px solid var(--color-border-strong);
    align-items: center;
    justify-content: center;
    
}

.custom-payment-notice__text {
    font-family: var(--font-base);
    font-size: 0.75rem;
    font-weight: 500;
    color: grey; /* Dark text for contrast against grey */
    margin: 0;
    width: 70%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;

}

/* --- Sticky Top Product Banner Layout --- */
.custom-sticky-banner {
    position: fixed;
     bottom: -100px; /* Hidden off-screen initially */
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xs) 0;
}

/* Toggle activation visibility class assigned via JS */
.custom-sticky-banner.is-active {
    bottom: 0;
}

.sticky-banner-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Product Meta Info Column */
.sticky-banner-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sticky-banner-info img {
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.sticky-banner-title {
    font-family: var(--font-base);
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
}

/* Interactive Form Actions Row */
.sticky-banner-form {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 !important;
}

/* Fully Rounded Custom Quantity Controls */
.custom-qty-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    padding: 2px;
    height: 46px;
}

.qty-control-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: background 0.2s ease;
}

.qty-control-btn:hover {
    background-color: var(--color-border);
}

.custom-qty-input {
    width: 40px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    text-align: center !important;
    font-family: var(--font-base) !important;
    font-weight: 700 !important;
    color: var(--color-text) !important;
    font-size: 1rem !important;
}

/* Hide native browser arrows inside custom layout wrapper */
.custom-qty-input::-webkit-outer-spin-button,
.custom-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Fully Rounded Sticky Submission CTA Button */
.sticky-submit-btn {
    height: 46px !important;
    border-radius: var(--radius-full) !important;
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    font-family: var(--font-base) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0 var(--space-md) !important;
    border: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease !important;
}

.sticky-submit-btn:hover {
    background-color: var(--color-primary-dark) !important;
}
ul.products.columns-3::before,
ul.products.columns-3::after {
  display: none !important;
  content: none !important;
}









/* ==========================================================================
   SUMMARY REDESIGN (FIXED & RESPONSIVE)
   ========================================================================== */

.summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
}

/* ==========================================
   1. FIXED SALE BANNER
   ========================================== */
.sale-banner {
  width: 100% !important;
  height: 44px !important; /* Uniform height prevents breaking background */
  display: flex !important;
  align-items: center !important;
  font-family: var(--font-base) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #ffe06f !important; /* Yellow background */
  margin-bottom: 16px !important;
  box-shadow: none !important;
}
.sale-label {
  height: 44px !important;
  min-width: 110px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  position: relative !important;
  z-index: 2 !important;
  color: #ffffff !important;
  background: #ff4500 !important; /* Orange badge */
  font-size: 16px !important;
  font-weight: 700 !important;
   font-family: var(--font-base) !important;
  flex-shrink: 0 !important;
}
.sale-label::after {
  content: "" !important;
  position: absolute !important;
  right: -12px !important;
  top: 0 !important;
  width: 24px !important;
  height: 44px !important;
  background: #ff4500 !important;
  transform: skewX(20deg) !important;
  z-index: -1 !important;
   font-family: var(--font-base) !important;
}
.sale-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}
.sale-content {
  height: 100% !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 20px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
   font-family: var(--font-base) !important;
}
.sale-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.feature-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}
.divider {
  width: 1px !important;
  height: 20px !important;
  margin: 0 14px !important;
  background: rgba(0, 0, 0, 0.25) !important;
  flex-shrink: 0 !important;
}

/* ==========================================
   2. TITLE & SHARE BUTTON
   ========================================== */
.tm-title-share-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}
.tm-product-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
   font-family: var(--font-base) !important;
}
.tm-share-btn {
  background: #f0f0f0 !important;
  border: 1px solid #dcdcdc !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
.tm-share-btn:hover {
  background: #e2e2e2 !important;
}
.tm-share-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #111111 !important;
  fill: none !important;
}

/* ==========================================
   3. BIG GOLDEN STARS
   ========================================== */
.tm-rating-sales-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}
.tm-rating-num {
  font-size: 16px !important;
  font-weight: 700 !important;
   font-family: var(--font-base) !important;
  color: #111111 !important;
}
.tm-stars {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  line-height: 1 !important;
}
.tm-star {
  font-size: 22px !important; /* Large stars */
   font-family: var(--font-base) !important;
  line-height: 1 !important;
}
.tm-star.tm-star-filled {
  color: #ff9900 !important; /* Golden stars */
}
.tm-star.tm-star-empty {
  color: #d1d1d1 !important;
}
.tm-review-count, .tm-sales-count {
     font-family: var(--font-base) !important;
  font-size: 14px !important;
  color: #555555 !important;
}

/* ==========================================
   4. BIG PURPLE SALE PRICE
   ========================================== */
.tm-price-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  margin-bottom: 16px !important;
  padding: 12px 0 !important;
  border-top: 1px solid #eeeeee !important;
  border-bottom: 1px solid #eeeeee !important;
   font-family: var(--font-base) !important;
}
.tm-price-display {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}
.tm-old-price,
.tm-old-price .woocommerce-Price-amount {
  font-size: 20px !important;
  font-weight: 500 !important;
   font-family: var(--font-base) !important;
  color: #888888 !important;
  text-decoration: line-through !important;
}
.tm-sale-price,
.tm-sale-price .woocommerce-Price-amount,
.tm-sale-price .woocommerce-Price-amount bdi {
  font-size: 32px !important; /* Very Big */
  font-weight: 700 !important; /* Bold */
  color: #0d0316 !important; /* Purple */
  line-height: 1 !important;
  text-decoration: none !important;
   font-family: var(--font-base) !important;
}

/* Badges */
.tm-discount-wrap { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
.tm-discount-tag {
  background: #e52e2e !important; color: #ffffff !important;
  font-weight: 700 !important; font-size: 16px !important;
  padding: 3px 7px !important; border-radius: 4px !important;
   font-family: var(--font-base) !important;
}
.tm-limited-lbl { color: #e52e2e !important; font-weight: 600 !important; font-size: 16px !important; }
.tm-stock-tag {
  background: #fff0ed !important; color: #e52e2e !important;
  border: 1px solid #ffd4cd !important; font-weight: 600 !important;
   font-family: var(--font-base) !important;
  font-size: 16px !important; padding: 3px 8px !important; border-radius: 4px !important;
}

/* ==========================================
   5. TIMER & BLACK PLACE ORDER BUTTON
   ========================================== */
.tm-timer-wrapper {
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
   font-family: var(--font-base) !important;
}
.tm-timer-label {
  display: flex !important; align-items: center !important; gap: 6px !important;
  font-size: 18px !important; font-weight: 700 !important; color: #222 !important;
}
.tm-timer-boxes { display: flex !important; align-items: center !important; gap: 5px !important; }
.tm-time-box {
  background: #ffffff !important; border: 1px solid #ddd !important;
  border-radius: 6px !important; padding: 5px 8px !important;
  min-width: 66px !important; text-align: center !important;
}
.tm-digit { font-size: 18px !important; font-weight: 800 !important; color: #e52e2e !important; line-height: 1 !important; }
.tm-unit { font-size: 9px !important; font-weight: 700 !important; color: #777 !important; margin-top: 2px !important; display: block !important; }
.tm-colon { font-weight: 800 !important; color: #e52e2e !important; font-size: 16px !important; }

/* Black Cart Button */
.summary.entry-summary form.cart {
  display: flex !important; flex-wrap: wrap !important; align-items: center !important;
  gap: 12px !important; margin-bottom: 16px !important; width: 100% !important;
   font-family: var(--font-base) !important;
}
.summary.entry-summary form.cart .quantity { width: 75px !important; flex-shrink: 0 !important; margin: 0 !important; }
.summary.entry-summary form.cart .quantity input.qty {
  width: 100% !important; height: 48px !important; border-radius: 8px !important;
  border: 1px solid #ccc !important; text-align: center !important; font-weight: 700 !important;
}
.summary.entry-summary form.cart .single_add_to_cart_button {
  flex: 1 1 auto !important; height: 48px !important; border-radius: 24px !important;
  background: #000000 !important; color: #ffffff !important; font-size: 16px !important;
  font-weight: 700 !important; border: none !important; cursor: pointer !important;
}
.summary.entry-summary form.cart .single_add_to_cart_button:hover { background: #222222 !important; }

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .sale-content .sale-item:nth-child(3),
  .sale-content .divider { display: none !important; }
  .tm-sale-price, .tm-sale-price .woocommerce-Price-amount bdi { font-size: 28px !important; }

  /* --- Sticky banner cleanup --- */
  .sticky-banner-container {
    gap: 8px;
    padding: 0 12px;
  }

  .sticky-banner-info {
    min-width: 0;      /* lets this side actually shrink instead of pushing the button off */
    flex: 1 1 auto;
    gap: 8px;
    overflow: hidden;
  }

  .sticky-banner-info img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .sticky-banner-info > div:nth-child(2) {
    min-width: 0;
    overflow: hidden;
  }

  .sticky-banner-title {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-banner-form {
    flex-shrink: 0;    /* keeps qty + button from getting squeezed */
    gap: 6px;
  }

  .custom-qty-wrapper {
    height: 38px;
  }

  .qty-control-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .custom-qty-input {
    width: 26px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .sticky-submit-btn {
    height: 38px !important;
    font-size: 0.8rem !important;
    padding: 0 12px !important;
    white-space: nowrap !important;  /* the actual "no 2 lines" fix */
  }
}


/* ==========================================
   6. ACCEPTED PAYMENT MODES
   ========================================== */
.tm-payments-wrapper {
  margin-top: 12px !important;
  padding-top: 16px !important;
  border-top: 1px dashed #e0e0e0 !important; /* A subtle divider to separate it from the button */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important; /* Centers the whole block */
  gap: 12px !important;
  width: 100% !important;
}

.tm-payments-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #666666 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.tm-payments-cards {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  flex-wrap: nowrap !important; /* This strictly forces them to stay on one line */
}

.tm-payments-cards img {
  height: 54px !important; /* Base height for the cards */
  width: auto !important;
  /* The max-width ensures that on super tiny screens, the images shrink rather than wrap */
  max-width: calc(33.333% - 10px) !important; 
  object-fit: contain !important; /* Ensures the card images never distort or stretch */
  border-radius: 4px !important; /* Optional: adds slight rounding if your PNGs have sharp corners */
}

.product_meta{
    display: hidden !important;
}


@media (max-width: 600px) {
  .single-product div.product {
    padding: 0px !important;
  }
}


/* --- Sticky banner cleanup: tablet --- */
@media (min-width: 601px) and (max-width: 1024px) {
  .sticky-banner-container {
    gap: 12px;
    padding: 0 20px;
  }

  .sticky-banner-info {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
    overflow: hidden;
  }

  .sticky-banner-info img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .sticky-banner-info > div:nth-child(2) {
    min-width: 0;
    overflow: hidden;
  }

  .sticky-banner-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-banner-form {
    flex-shrink: 0;
    gap: 8px;
  }

  .custom-qty-wrapper {
    height: 42px;
  }

  .qty-control-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .custom-qty-input {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .sticky-submit-btn {
    height: 42px !important;
    font-size: 0.88rem !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
  }
}

/* --- Sticky banner cleanup: desktop --- */
@media (min-width: 1025px) {
  .sticky-banner-container {
    gap: 16px;
    padding: 0 24px;
  }

  .sticky-banner-info {
    min-width: 0;
    flex: 1 1 auto;
    gap: 12px;
    overflow: hidden;
  }

  .sticky-banner-info img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .sticky-banner-info > div:nth-child(2) {
    min-width: 0;
    overflow: hidden;
  }

  .sticky-banner-title {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-banner-form {
    flex-shrink: 0;
    gap: 10px;
  }

  .custom-qty-wrapper {
    height: 46px;
  }

  .qty-control-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .custom-qty-input {
    width: 40px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .sticky-submit-btn {
    height: 46px !important;
    font-size: 0.95rem !important;
    padding: 0 var(--space-md) !important;
    white-space: nowrap !important;
  }
}




/* =========================================================
   CAMFORT MALL PRODUCT ORDER CONTROLS
   ========================================================= */

.cm-product-order-controls {
	display: flex !important;
	align-items: stretch !important;
	gap: 10px !important;

	width: 100% !important;

	margin: 16px 0 0 !important;

	box-sizing: border-box;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.cm-product-quantity-control {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 0 0 auto !important;

	height: 50px !important;

	border: 1px solid #ddd7e7 !important;
	border-radius: 10px !important;

	background: #fff !important;

	overflow: hidden !important;
	box-sizing: border-box !important;
}


.cm-product-quantity-btn {
	width: 40px !important;
	height: 50px !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;
	outline: 0 !important;

	background: transparent !important;

	color: #554863 !important;

	font-size: 19px !important;
	font-weight: 700 !important;

	cursor: pointer !important;

	-webkit-appearance: none !important;
	appearance: none !important;
}


.cm-product-quantity-btn:hover {
	background: #f3eef9 !important;
	color: #69479b !important;
}


.cm-product-quantity-input {
	width: 48px !important;
	height: 50px !important;

	padding: 0 !important;
	margin: 0 !important;

	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;

	background: transparent !important;

	color: #252027 !important;

	font-size: 15px !important;
	font-weight: 700 !important;

	text-align: center !important;

	-webkit-appearance: none !important;
	appearance: none !important;
}


/* Remove browser number spinner */

.cm-product-quantity-input::-webkit-inner-spin-button,
.cm-product-quantity-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.cm-product-quantity-input {
	-moz-appearance: textfield;
}


/* =========================================================
   PLACE ORDER BUTTON
   ========================================================= */

.cm-product-place-order-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	flex: 1 1 auto !important;

	width: auto !important;
	min-width: 0 !important;
	height: 50px !important;

	padding: 0 20px !important;
	margin: 0 !important;

	border: 0 !important;
	border-radius: 10px !important;

	background: #000000 !important;

	color: #fff !important;

	font-size: 20px !important;
	font-weight: 700 !important;

	line-height: 1 !important;

	text-align: center !important;
	text-decoration: none !important;

	cursor: pointer !important;

	opacity: 1 !important;
	visibility: visible !important;

	box-shadow: none !important;

	-webkit-appearance: none !important;
	appearance: none !important;
}


.cm-product-place-order-button:hover,
.cm-product-place-order-button:focus,
.cm-product-place-order-button:active {
	background: #222222 !important;
	color: #fff !important;

	outline: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.cm-product-order-controls {
		display: flex !important;
		flex-direction: row !important;

		align-items: stretch !important;

		gap: 8px !important;

		width: 100% !important;
	}


	.cm-product-quantity-control {
		height: 46px !important;
	}


	.cm-product-quantity-btn {
		width: 35px !important;
		height: 46px !important;
	}


	.cm-product-quantity-input {
		width: 42px !important;
		height: 46px !important;

		font-size: 14px !important;
	}


	.cm-product-place-order-button {
		height: 46px !important;

		flex: 1 1 auto !important;

		padding: 0 14px !important;

		font-size: 14px !important;

		border-radius: 9px !important;
	}
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

	.cm-product-order-controls {
		gap: 6px !important;
	}


	.cm-product-quantity-btn {
		width: 32px !important;
	}


	.cm-product-quantity-input {
		width: 38px !important;
	}


	.cm-product-place-order-button {
		padding-left: 10px !important;
		padding-right: 10px !important;

		font-size: 18px !important;
	}
}