/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
/* -----------------------------
   🧭 PRIMARY MENU STYLES
----------------------------- */
/*@media (min-width: 993px) {
    .menu-primary-menu-container > ul > li > a {
        padding-left: 0.275em;
    }
}*/

/* -----------------------------
   🧭 Hide Amount From Menu Cart
----------------------------- */
/*.shoptimizer-cart .amount {
    display: none;
}*/

/* -----------------------------
   ✅ SUCCESS / WARNING MESSAGES
----------------------------- */
/*.enu_warning {
    background-color: #3bb54a !important;
}*/

/* -----------------------------
   💰 PRICING STYLES
----------------------------- */
/*body.wp-singular .cgkit-as-variation-price .price{
	color: black;
}
.ckobp-price,
.commercekit-ajs-product-price {
	color: black !important;
}
body.home.wp-singular .cgkit-as-variation-price .b2bking_retail_price_price,
body.archive .cgkit-as-variation-price .b2bking_retail_price_price,
body.wp-singular .cgkit-as-variation-price .b2bking_retail_price_price,
.shoptimizer-cart-wrapper .product-subtotal del .woocommerce-Price-amount,
.woocommerce-checkout-review-order .product-total del .woocommerce-Price-amount,
.b2bking_retail_price_price .woocommerce-Price-amount.amount {
    text-decoration: line-through;
    color: #72767c;
}
.shoptimizer-cart-wrapper .product-subtotal del .woocommerce-Price-amount,
.woocommerce-checkout-review-order .product-total del .woocommerce-Price-amount,
.commercekit-order-bump-wrap .b2bking_both_prices_text.b2bking_retail_price_text,
.commercekit-order-bump-wrap .b2bking_both_prices_price.b2bking_retail_price_price,
.commercekit-ajs-results .b2bking_both_prices_text.b2bking_retail_price_text,
.commercekit-ajs-results .b2bking_both_prices_price.b2bking_retail_price_price {
    font-size: 0.8em;
}
body.home.wp-singular .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount,
body.archive .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount,
body.wp-singular .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount,
.widget_shopping_cart .woocommerce-mini-cart .quantity ins .woocommerce-Price-amount,
.shoptimizer-cart-wrapper .product-subtotal ins .woocommerce-Price-amount,
.woocommerce-checkout-review-order .product-total ins .woocommerce-Price-amount,
.b2bking_b2b_price_price .woocommerce-Price-amount.amount {
    font-weight: bold;
    color: red;
	font-size: 16px;
}
body.home.wp-singular .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount,
body.archive .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount {
	font-size: 16px;
}
/*body.wp-singular .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount {
	font-size: 28px;
}
body.single-product .product .summary .cgkit-as-variation-price .b2bking_b2b_price_price > .woocommerce-Price-amount {
    font-size: 28px;
}
.woocommerce-cart td.product-subtotal {
    white-space: nowrap;
}
.woocommerce-cart .order-total td strong {
  font-size: 0;
}
.woocommerce-cart .order-total td strong .woocommerce-Price-amount {
  font-size: clamp(0.875rem, 0.6209rem + 0.813vw, 1.125rem); /* restore original size 
}
.commercekit-order-bump-wrap .woocommerce-Price-currencySymbol img.emoji,
.commercekit-order-bump-wrap .woocommerce-price-suffix {
  display: none !important;
}*/

/* -----------------------------
   💰 SAVE BADGE
----------------------------- */
/*.save-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: black;
    border-radius: 3px;
    font-size: 11px;
    padding: 3px 6px;
    line-height: 15px;
    color: white;
    opacity: 0.8;
	font-weight: 600;
	z-index: 2;
}
/* Mobile override 
@media (max-width: 480px) {
  body:not(.wp-singular) .save-badge {
    top: auto;        /* remove the top anchoring 
    bottom: 10px;     /* push it down 
    right: 10px;      /* keep it aligned right 
  }
}
.save-amount {
    font-size: 14px;
    color: red;
    margin-left: 2px;
}
/* Hide flag emoji and replace with plain dollar sign 
.save-amount .woocommerce-Price-currencySymbol,
.woocommerce-mini-cart .quantity del .woocommerce-Price-currencySymbol,
.woocommerce-mini-cart .quantity ins .woocommerce-Price-currencySymbol,
.shoptimizer-cart-wrapper .product-subtotal del .woocommerce-Price-currencySymbol,
.shoptimizer-cart-wrapper .product-subtotal ins .woocommerce-Price-currencySymbol,
.woocommerce-checkout-review-order .product-total del .woocommerce-Price-currencySymbol,
.woocommerce-checkout-review-order .product-total ins .woocommerce-Price-currencySymbol {
  display: none;
}
.save-amount .woocommerce-Price-amount::before,
.woocommerce-mini-cart .quantity del .woocommerce-Price-amount::before,
.woocommerce-mini-cart .quantity ins .woocommerce-Price-amount::before,
.shoptimizer-cart-wrapper .product-subtotal del .woocommerce-Price-amount::before,
.shoptimizer-cart-wrapper .product-subtotal ins .woocommerce-Price-amount::before,
.woocommerce-checkout-review-order .product-total del .woocommerce-Price-amount::before,
.woocommerce-checkout-review-order .product-total ins .woocommerce-Price-amount::before {
  content: '$';
}
.save-badge-variation {
	display: none;
}
*/
/* -----------------------------
   💰 CART YOU SAVE
----------------------------- */
/*
.cart-yousave {
    display: block;
    background-color: black;
    opacity: 0.8;
    padding: 3px 9px;
    color: white;
    border-radius: 3px;
    font-size: 22px;
	margin-bottom: 10px;
}
.cart-yousave-amount .woocommerce-Price-amount.amount {
    font-size: 22px;
	color: red;
}
.cart_totals .woocommerce-Price-amount.amount {
    float: right;
}
.order-review-yousave {
	color: white;
}
.order-review-yousave-label {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    background: black;
    opacity: 0.8;
	padding-left: 20px;
	font-size: 22px !important;
}
.order-review-yousave-amount {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    background: black;
    opacity: 0.8;
	padding-right: 20px;
	text-align: right;
	color: red;
	font-size: 22px !important;
}
.order-review-yousave-spacer td {
    line-height: 0px !important;
    padding: 10px !important;
}
.woocommerce-checkout-review-order-table tbody tr:last-child td {
    padding-bottom: 0 !important;
}

#payment .payment_methods li[class*=payment_method_woocommerce_payments] label .payment-methods--logos {
    margin-right: 15px;
}
*/
/* -----------------------------
   💰 WOOPAYMENTS
----------------------------- */
/*body .wcpay-checkout-email-field button.wcpay-stripelink-modal-trigger {
    height: 32px;
    background-size: contain;
    margin-top: 5px;
    right: 0px;
}*/

/* -----------------------------
   💰 MINI CART LOGIN FOR GUEST USERS
----------------------------- */
/*body:not(.logged-in) .woocommerce-mini-cart__empty-message {
	display: none;
}
.shoptimizer-empty-mini-cart-login #customer_login .u-column1.col-1 {
    width: 100%;
}
.shoptimizer-empty-mini-cart-login #customer_login .u-column2.col-2 {
	display: none;
}
.shoptimizer-empty-mini-cart-register {
	font-weight: 600;
}
*/

/* -----------------------------
   💰 REGISTRATION FORM
----------------------------- */
/*.registration-form-mailpoet {
    font-weight: 600;
}*/

/* -----------------------------
   💰 MOBILE MENU ACCOUNT BTN
----------------------------- */
/*.mobile-menu-account-btn {
    width: 100%;
    text-align: center;
    font-size: 18px !important;
    line-height: 0.2;
}*/

/* ----------------------------
 * Card + layout 
-------------------------------*/
/*.office-stock-card {
  border: 1px solid var(--ck-border, #e6e6e6);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}
.office-stock-title {
  font-weight: 600;
  margin-bottom: 8px;
  display:none;
}
.office-stock-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
}

.office-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Office name 
.office-name { font-weight: 600; }
.office-name small { font-weight: 500; opacity: .7; }
.office-name.is-hq::after {
  content: " HQ";
  margin-left: .35rem;
  font-size: .75em;
  font-weight: 700;
  color: #6b7280;
}

/* Pill badges 
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .875rem;
  line-height: 1.2;
  white-space: nowrap;
}
.status-pill .dot {
  width: 10px; height: 10px;
  fill: currentColor;
}

/* Color system by semantic value 
.status-pill.gt50 { color:#065f46; background:#ecfdf5; border:1px solid #a7f3d0; }

.status-pill.x20_50 { color:#166534; background:#eafff0; border:1px solid #bbf7d0; }

.status-pill.x5_20 { color:#1e40af; background:#eef2ff; border:1px solid #c7d2fe; }

.status-pill.lt5 { color:#92400e; background:#fff7ed; border:1px solid #fed7aa; }

.status-pill.ho { color:#374151; background:#f3f4f6; border:1px solid #e5e7eb; }

.status-pill.mto { color:#6b21a8; background:#f5f3ff; border:1px solid #ddd6fe; }

.status-pill.zero,
.status-pill.oos { color:#991b1b; background:#fef2f2; border:1px solid #fecaca; }

.status-pill.ooss { color:#4b5563; background:#f3f4f6; border:1px dashed #d1d5db; text-decoration: line-through; }

/* 1) Pulsing "live" dot 
@keyframes cgkit-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.55); opacity: .35; }
}

/* apply to all non-zero-like states 
.status-pill:not(.ho):not(.mto):not(.zero):not(.oos):not(.ooss) .dot {
  animation: cgkit-pulse 2s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* keep zero / on-order / superseded steady 
.status-pill.zero .dot,
.status-pill.oos .dot,
.status-pill.ooss .dot { animation: none; }

/* accessibility: respect reduced motion 
@media (prefers-reduced-motion: reduce) {
  .status-pill .dot { animation: none !important; }
}*/

/* ORDER BUMP */
/*.ckobp-button button{
	color: #fff !important;
    background: #3bb54a !important;
    line-height: 20px;
    transition: 0.2s;
}
.ckobp-button button:hover{ filter:brightness(0.95); }

.bundle_form.bundle_sells_form {
	padding-top: 2em !important;
}

/* SEARCH FOR NOT LOGGED IN USERS 
body:not(.logged-in) a.commercekit-ajs-product {
    max-width: 60px;
}

body:not(.logged-in) .commercekit-ajs-product-desc a {
    min-width: 100%;
}
body:not(.logged-in) .autocomplete-suggestion a {
    padding: 6px;
}

/* Style the entire row based on what's inside the <td> 
.woocommerce-order-details tfoot tr:has(.otv-order_total) * {
  font-size: 1.5rem;
  font-weight: 700;
  color: red;
}
.woocommerce-order-details tfoot tr:has(.otv-payment_method) * {
  font-size: .85rem !important;
  color: #666;
  font-style: italic;
}*/