/**
 * Isbrand Transparent Special Pricing
 * 
 * Hide all indicators that the price is a "special" or discounted price
 * so special prices appear as regular prices to customers.
 */

/* ==============================================
   HIDE OLD/STRIKETHROUGH PRICES
   ============================================== */

/* Hide old price (strikethrough) everywhere */
.price-box .old-price {
    display: none !important;
}

.product-item .old-price {
    display: none !important;
}

.product-info-main .old-price {
    display: none !important;
}

.cart-price .old-price {
    display: none !important;
}

/* ==============================================
   HIDE SPECIAL PRICE LABELS
   ============================================== */

/* Hide "Special Price" label */
.price-box .special-price .price-label {
    display: none !important;
}

.product-item .special-price .price-label {
    display: none !important;
}

.product-info-main .special-price .price-label {
    display: none !important;
}

/* Hide "Regular Price" label when shown alongside special */
.price-box .old-price .price-label {
    display: none !important;
}

/* ==============================================
   HIDE DISCOUNT INDICATORS
   ============================================== */

/* Hide discount percentage badges */
.discount-percent,
.discount-label,
.sale-badge,
.you-save,
.price-box .discount {
    display: none !important;
}

/* ==============================================
   NORMALIZE SPECIAL PRICE APPEARANCE
   ============================================== */

/* Remove any special styling from special price */
.price-box .special-price {
    color: inherit;
}

.price-box .special-price .price {
    color: inherit;
}

/* Remove extra margins when old-price is hidden */
.price-box .price-final_price {
    margin-top: 0;
}

/* ==============================================
   CHECKOUT SPECIFIC
   ============================================== */

/* MageWorx checkout */
.mageworx-checkout .old-price {
    display: none !important;
}

.mageworx-checkout .special-price .price-label {
    display: none !important;
}

.summary .old-price {
    display: none !important;
}

/* ==============================================
   ESTIMATED CURRENCY DISPLAY
   ============================================== */

/* Default: inline display next to price */
.estimated-price {
    display: inline;
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}

/* Product listing - inline */
.product-item .estimated-price {
    font-size: 0.85em;
    color: #777;
}

/* Product detail page - inline */
.product-info-main .estimated-price {
    font-size: 0.9em;
    color: #555;
}

/* Mini cart - inline */
.minicart-items .estimated-price,
.minicart-wrapper .estimated-price {
    font-size: 0.85em;
    display: inline;
}

/* Cart page - inline */
.cart .estimated-price {
    font-size: 0.85em;
    display: inline;
}

/* Checkout summary */
.opc-block-summary .estimated-price,
.checkout-container .estimated-price {
    font-size: 0.85em;
    display: inline;
}

/* MageWorx checkout summary */
.summary__cell .estimated-price,
.mageworx-checkout .estimated-price {
    font-size: 0.85em;
    color: #666;
    display: inline;
}

/* ==============================================
   PREVENT MAGEWORX CHECKOUT JUMPING/FLASHING
   ============================================== */

/* Main summary container - prevent collapse during Knockout re-renders */
.mageworx-checkout .summary {
    min-height: 250px;
}

/* Summary rows - maintain height during updates */
.mageworx-checkout .summary__field {
    min-height: 40px;
    transition: opacity 0.1s ease;
}

/* Grand total row - slightly taller */
.mageworx-checkout .summary__field--align-bottom {
    min-height: 50px;
}

/* Cells - prevent collapse */
.mageworx-checkout .summary__cell {
    min-height: 24px;
}

.mageworx-checkout .summary__cell--content-right {
    min-width: 100px;
    min-height: 24px;
}

/* Text elements inside cells */
.mageworx-checkout .summary__cell--content-right p,
.mageworx-checkout .summary__cell--content-right .text {
    min-height: 20px;
    min-width: 70px;
}

/* Product rows in summary */
.mageworx-checkout .summary__field.product {
    min-height: 80px;
}

/* Smooth transitions for content changes */
.mageworx-checkout .text--size-xxl,
.mageworx-checkout .text--variation-strong {
    transition: opacity 0.1s ease;
}

