/* TN Power Crackers Sivakasi - Diwali Festive Theme & Responsive Order Table */

:root {
    --cm-crimson: #991b1b;
    --cm-dark-red: #180305;
    --cm-gold: #fbbf24;
    --cm-light-gold: #fef3c7;
    --cm-dark-gold: #d97706;
    --cm-green: #15803d;
    --cm-dark: #180305;
    --cm-light-bg: #fffbf5;
    --cm-border: #fecdd3;
    --cm-shadow: 0 4px 15px rgba(153, 27, 27, 0.15);
}

html {
    overflow-x: clip;
    max-width: 100vw;
}
body {
    overflow-x: clip;
    overflow-y: visible;
    max-width: 100vw;
    position: relative;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.cm-order-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--cm-dark);
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px 100px;
    background-color: var(--cm-light-bg);
    overflow: visible !important;
    width: 100%;
    box-sizing: border-box;
}

.cm-hidden,
.cm-product-row.cm-hidden,
.cm-cat-header-row.cm-hidden,
.cm-product-row[style*="display: none"],
.cm-cat-header-row[style*="display: none"] {
    display: none !important;
}

/* Festive Hero Banner */
.cm-festive-hero {
    background: linear-gradient(135deg, #180305 0%, #7F1D1D 50%, #180305 100%);
    color: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(26, 3, 54, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--cm-gold);
}

.cm-festive-hero::before {
    content: "✨ 🎆 🪔 🎆 ✨";
    display: block;
    font-size: 18px;
    letter-spacing: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.cm-diwali-badge {
    display: inline-block;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #180305;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cm-hero-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    margin: 0 0 8px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.cm-hero-sub {
    font-size: clamp(14px, 2vw, 17px);
    margin: 0 0 16px;
    color: var(--cm-light-gold);
}

.cm-hero-sub strong {
    color: #fef08a;
    font-size: 1.15em;
    background: rgba(0,0,0,0.25);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--cm-gold);
}

.cm-highlights-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fde68a;
    padding: 10px 0;
    border-top: 1px dashed rgba(253, 230, 138, 0.4);
    border-bottom: 1px dashed rgba(253, 230, 138, 0.4);
    margin-bottom: 18px;
}

.cm-call-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.cm-phone-btn, .cm-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s;
}

.cm-phone-btn {
    background: #ffffff;
    color: var(--cm-crimson);
}

.cm-phone-btn:hover {
    transform: translateY(-2px);
    background: var(--cm-light-gold);
}

.cm-wa-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    font-weight: 800 !important;
}

.cm-wa-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1eb855 0%, #075e54 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

/* Responsive Shop Banner - Full Uncropped Natural Dimensions */
.cm-shop-banner-wrap {
    margin-bottom: 18px;
    width: 100%;
}
.cm-shop-banner-wrap picture {
    display: block;
    width: 100%;
}
.cm-shop-banner-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    object-fit: contain !important;
    border-radius: 14px;
    border: 2px solid #fed7aa;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    image-rendering: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Sticky Filter & Search (Sticks directly at top since site header is not sticky) */
.cm-filter-wrapper {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    top: var(--cm-sticky-top, 0px) !important;
    z-index: 950 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 20px !important;
    border: 1.5px solid #fed7aa !important;
}

.admin-bar .cm-filter-wrapper {
    top: 32px !important;
    top: var(--cm-sticky-top, 32px) !important;
}

@media (max-width: 860px) {
    .cm-filter-wrapper {
        top: 0 !important;
        top: var(--cm-sticky-top, 0px) !important;
        padding: 8px 10px !important;
        margin-bottom: 14px !important;
        border-radius: 10px !important;
    }
    .admin-bar .cm-filter-wrapper {
        top: 46px !important;
        top: var(--cm-sticky-top, 46px) !important;
    }
}

.cm-search-container {
    position: relative;
    margin-bottom: 10px;
}

.cm-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
}

#cm-search-input {
    width: 100%;
    padding: 10px 38px 10px 36px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
    box-sizing: border-box;
}

#cm-search-input:focus {
    border-color: var(--cm-crimson);
    background: #ffffff;
}

#cm-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.cm-category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.cm-category-scroll::-webkit-scrollbar {
    height: 4px;
}

.cm-category-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.cm-cat-btn {
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.cm-cat-btn:hover {
    background: #fef3c7;
    color: var(--cm-crimson);
}

.cm-cat-btn.active {
    background: var(--cm-crimson);
    color: #ffffff;
    border-color: var(--cm-crimson);
    box-shadow: 0 2px 6px rgba(11, 26, 79, 0.3);
}

.cm-cat-btn.active small {
    color: #fde68a;
}

.cm-badge {
    background: rgba(0,0,0,0.08);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

.cm-cat-btn.active .cm-badge {
    background: rgba(255,255,255,0.25);
}

/* Instruction notice */
.cm-instruction-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef3c7;
    border-left: 4px solid var(--cm-gold);
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #92400e;
}

.cm-inst-icon {
    font-size: 22px;
    flex-shrink: 0;
}

/* Products Table */
.cm-table-responsive {
    background: #ffffff;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 30px;
}

.cm-products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cm-products-table thead th {
    background: #6b1517 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #fbbf24 !important;
    padding: 12px 10px !important;
    font-weight: 800 !important;
    text-align: left;
    white-space: nowrap;
}

.cm-products-table thead th.th-sno,
.cm-products-table thead th.th-img,
.cm-products-table thead th.th-unit,
.cm-products-table thead th.th-rate,
.cm-products-table thead th.th-offer,
.cm-products-table thead th.th-qty,
.cm-products-table thead th.th-subtotal {
    text-align: center;
}

/* Category separator row */
.cm-cat-header-row td {
    background: #fef3c7;
    padding: 10px 16px;
    border-top: 2px solid var(--cm-gold);
    border-bottom: 1px solid #fed7aa;
}

.cm-cat-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #991B1B;
}

.cm-cat-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.cm-cat-tag {
    display: none !important;
}

.cm-cat-ta {
    color: #991B1B !important;
    font-size: 14px;
}

/* Product rows */
.cm-product-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.cm-product-row:hover {
    background: #fffbeb;
}

.cm-product-row.cm-row-selected {
    background: #fef3c7;
}

.cm-product-row td {
    padding: 10px 8px;
    vertical-align: middle;
}

.cm-sno-pill {
    display: inline-block;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 12px;
}

.cm-prod-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 2px;
    display: block;
    margin: 0 auto;
}

.cm-name-en {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.3;
}

.cm-name-ta {
    font-size: 12px;
    color: #991B1B !important;
    margin-top: 2px;
}

.cm-mobile-price-row, .td-price-mobile {
    display: none;
}

.cm-unit-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.td-rate, .td-offer, .td-subtotal, .td-qty, .td-sno, .td-img, .td-unit {
    text-align: center;
}

.cm-strike {
    color: #94a3b8;
    font-size: 13px;
}

.cm-offer-price {
    color: var(--cm-crimson);
    font-size: 15px;
    display: block;
}

.cm-discount-pill {
    display: inline-block;
    background: #6b1517 !important;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 2px;
}

/* Quantity Box */
.cm-qty-box {
    display: inline-flex;
    align-items: center;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.cm-qty-btn {
    background: #f8fafc;
    border: none;
    width: 28px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.15s;
}

.cm-qty-btn:hover {
    background: #e2e8f0;
}

.cm-qty-btn:active {
    background: #cbd5e1;
}

.cm-qty-input {
    width: 44px;
    height: 32px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    outline: none;
}

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

.cm-row-subtotal {
    font-weight: 800;
    color: #0f172a;
    font-size: 14px;
}

.cm-row-selected .cm-row-subtotal {
    color: var(--cm-crimson);
}

.cm-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 15px;
}

/* Live Top Cart & Total Strip (Above Search Bar) */
.cm-top-cart-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #180305 0%, #7F1D1D 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1.5px solid var(--cm-gold);
    box-shadow: 0 3px 10px rgba(26, 3, 54, 0.18);
    transition: all 0.3s ease;
}

.cm-top-cart-strip.has-items {
    background: linear-gradient(135deg, #881337 0%, #2f085e 100%);
    border-color: #facc15;
    box-shadow: 0 4px 14px rgba(120, 1, 88, 0.25);
}

.cm-top-cart-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cm-cart-items-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.cm-cart-icon {
    font-size: 15px;
}

.cm-cart-total-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.cm-cart-total-lbl {
    color: #fef08a;
    font-weight: 600;
}

.cm-cart-total-val {
    color: #fef08a;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.cm-top-cart-strip.has-items .cm-cart-total-val {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.cm-cart-save-box {
    display: inline-block;
}

.cm-cart-save-pill {
    background: #6b1517 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.cm-btn-scroll-checkout {
    background: linear-gradient(135deg, #6b1517 0%, #6b1517 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    cursor: pointer;
    white-space: nowrap;
}

.cm-btn-scroll-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #6b1517 0%, #8b1c1f 100%) !important;
}

.cm-top-cart-strip.has-items .cm-btn-scroll-checkout {
    animation: cm-pulse 2s infinite;
}

@keyframes cm-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(251, 191, 36, 0);
    }
}

@media (max-width: 640px) {
    .cm-top-cart-strip {
        padding: 6px 10px;
        gap: 6px;
    }
    .cm-cart-save-box {
        display: none;
    }
    .cm-cart-total-val {
        font-size: 15px;
    }
    .cm-btn-scroll-checkout {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Checkout Section */
.cm-checkout-section {
    margin-top: 40px;
}

.cm-checkout-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid var(--cm-border);
    box-shadow: 0 10px 30px rgba(11, 26, 79, 0.08);
}

.cm-checkout-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 18px;
    margin-bottom: 25px;
}

.cm-ch-icon {
    font-size: 32px;
    background: #fef3c7;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.cm-checkout-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #991B1B;
}

.cm-checkout-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Order Summary Box */
.cm-order-summary-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.cm-order-summary-box h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
}

.cm-summary-empty {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    padding: 15px;
}

.cm-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 15px;
}

.cm-summary-table th {
    background: #fef3c7;
    color: #78350f;
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #fed7aa;
}

.cm-summary-table td {
    padding: 8px;
    border-bottom: 1px solid #fef3c7;
}

.cm-sum-qty-pill {
    background: #fed7aa;
    color: #7c2d12;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Order Summary Qty Edit & Remove Controls */
.cm-sum-qty-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.cm-sum-btn {
    background: #f1f5f9;
    border: none;
    width: 26px;
    height: 28px;
    font-size: 15px;
    font-weight: bold;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    user-select: none;
    padding: 0;
}

.cm-sum-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cm-sum-btn:active {
    background: #cbd5e1;
}

.cm-sum-input {
    width: 38px;
    height: 28px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    outline: none;
    padding: 0;
}

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

.cm-sum-remove {
    background: none;
    border: 1px solid #fef3c7;
    color: #991B1B;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.cm-sum-remove:hover {
    background: #fef3c7;
    color: #2f085e;
    border-color: #991B1B;
}

.cm-sum-col-qty {
    text-align: center;
}

.cm-sum-col-action {
    text-align: center;
    width: 36px;
}

.cm-summary-totals {
    border-top: 2px dashed #fde68a;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.cm-total-row {
    font-size: 14px;
    display: flex;
    gap: 15px;
}

.cm-total-row.cm-green {
    color: var(--cm-green);
    font-weight: 600;
}

.cm-total-row.cm-grand {
    font-size: 18px;
    color: #991B1B;
}

.cm-total-row.cm-grand strong {
    font-size: 22px;
}

/* Form Styles */
.cm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.cm-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cm-form-group.full-width {
    grid-column: span 2;
}

.cm-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.cm-form-group .req {
    color: #991B1B;
}

.cm-form-group input,
.cm-form-group textarea,
.cm-form-group select {
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.cm-form-group input:focus,
.cm-form-group textarea:focus,
.cm-form-group select:focus {
    border-color: var(--cm-crimson);
    box-shadow: 0 0 0 3px rgba(11, 26, 79, 0.1);
}

.cm-form-group small {
    font-size: 11px;
    color: #64748b;
}

/* Payment Notice */
.cm-payment-notice {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.cm-pn-badge {
    display: inline-block;
    background: #059669;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cm-payment-notice p {
    margin: 0;
    font-size: 13px;
    color: #065f46;
    line-height: 1.4;
}

/* Submit Button */
.cm-btn-order-submit {
    width: 100%;
    background: linear-gradient(135deg, #6b1517 0%, #6b1517 100%) !important;
    color: #ffffff !important;
    border: none;
    padding: 16px 25px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(11, 26, 79, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cm-btn-order-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 26, 79, 0.45);
}

.cm-btn-order-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success Modal */
.cm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cm-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 3px solid var(--cm-gold);
    animation: cmPop 0.3s ease-out;
}

@keyframes cmPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cm-success-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.cm-modal-content h2 {
    color: #15803d;
    margin: 0 0 12px;
    font-size: 24px;
}

.cm-order-id-box {
    font-size: 18px;
    color: #0f172a;
    margin: 6px 0;
}

.cm-order-total-box {
    font-size: 20px;
    color: #991B1B;
    margin: 6px 0 15px;
}

.cm-success-msg {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.cm-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cm-btn-wa-order {
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    display: block;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.cm-btn-slip-order {
    background: linear-gradient(135deg, #180305, #991B1B);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    display: block;
    font-size: 14px;
    border: 1px solid var(--cm-gold);
    box-shadow: 0 4px 10px rgba(26, 3, 54, 0.2);
    transition: transform 0.2s;
}

.cm-btn-slip-order:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #991B1B, #2f085e);
}

.cm-btn-close-modal {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* =======================================================
   MOBILE-SPECIFIC RESPONSIVE OVERRIDES
   ======================================================= */
@media (max-width: 768px) {
    html, body {
        overflow-x: clip !important;
        max-width: 100vw !important;
    }

    .cm-order-wrapper {
        padding: 6px 8px 120px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cm-festive-hero {
        padding: 18px 12px !important;
        margin-bottom: 14px !important;
        border-radius: 12px !important;
    }

    .cm-highlights-bar {
        flex-direction: column !important;
        gap: 6px !important;
        font-size: 12px !important;
    }

    .cm-call-strip {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .cm-phone-btn, .cm-wa-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .cm-filter-section {
        margin-bottom: 14px !important;
    }

    .cm-search-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cm-category-scroll {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cm-instruction-box {
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin-bottom: 14px !important;
    }

    /* ===== MOBILE PRODUCT LIST TABLE: STRICTLY ZERO HORIZONTAL OVERFLOW ===== */
    .cm-table-responsive {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .cm-products-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        box-sizing: border-box !important;
    }

    .cm-products-table thead {
        display: none !important;
    }

    .cm-products-table tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Category Header Banner */
    .cm-cat-header-row {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 14px !important;
        margin-bottom: 8px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        border: 1px solid #f59e0b !important;
    }

    .cm-cat-header-row td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 9px 12px !important;
        background: #fef3c7 !important;
    }

    .cm-cat-header-content {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 13.5px !important;
    }

    /* Individual Product Card Row */
    .cm-product-row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 10px !important;
        border: 1px solid #fed7aa !important;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
        overflow-x: hidden !important;
        position: relative !important;
        transition: all 0.2s ease !important;
    }

    .cm-product-row.cm-row-selected {
        background: #fffdf5 !important;
        border-color: #f59e0b !important;
        border-left: 4px solid #f59e0b !important;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15) !important;
    }

    .cm-product-row td {
        display: block !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Hide desktop-only columns with high specificity */
    .cm-product-row .td-sno,
    .cm-product-row .td-unit,
    .cm-product-row .td-rate,
    .cm-product-row .td-offer {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Row 1: Product Thumbnail (Left) */
    .td-img {
        flex: 0 0 48px !important;
        width: 48px !important;
        max-width: 48px !important;
        order: 1 !important;
        margin-right: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cm-prod-thumb {
        width: 48px !important;
        height: 48px !important;
        border-radius: 10px !important;
        object-fit: contain !important;
        display: block !important;
        border: 1px solid #fed7aa !important;
        background: #ffffff !important;
        padding: 2px !important;
    }

    /* Row 1: Name and Details (Right of Thumbnail - Full Width!) */
    .td-name {
        flex: 1 1 calc(100% - 60px) !important;
        min-width: 0 !important;
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .cm-name-en {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
        word-break: break-word !important;
    }

    .cm-name-meta {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .cm-name-ta {
        font-size: 11.5px !important;
        color: #64748b !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .cm-unit-label {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #78350f !important;
        background: #fef3c7 !important;
        border: 1px solid #fde68a !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
        display: inline-block !important;
    }

    /* Row 2: Price & Offer % Block (Left) */
    .td-price-mobile {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        order: 3 !important;
        margin-top: 8px !important;
        padding-top: 0 !important;
        border-top: none !important;
        box-sizing: border-box !important;
    }

    .cm-price-block-mobile {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    .cm-offer-num {
        font-size: 16px !important;
        font-weight: 900 !important;
        color: #991B1B !important;
        line-height: 1 !important;
        letter-spacing: -0.3px !important;
    }

    .cm-mrp-num {
        font-size: 11.5px !important;
        font-weight: 500 !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
        line-height: 1 !important;
    }

    .cm-off-tag {
        font-size: 11px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        background: #6b1517 !important;
        border: 1px solid #6b1517 !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        letter-spacing: 0.2px !important;
        line-height: 1.1 !important;
        display: inline-block !important;
    }

    /* Row 2: Quantity Box (Right) */
    .td-qty {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        order: 4 !important;
        margin-left: auto !important;
        margin-top: 8px !important;
        padding-top: 0 !important;
        border-top: none !important;
        box-sizing: border-box !important;
    }

    .cm-out-of-stock-box {
        padding: 4px 10px !important;
        border-radius: 8px !important;
        border-width: 1.5px !important;
        min-width: auto !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }

    .cm-out-of-stock-pill {
        font-size: 10.5px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
    }

    .cm-out-of-stock-ta {
        font-size: 10px !important;
        white-space: nowrap !important;
        margin-top: 1px !important;
    }

    .cm-badge-sold-out-inline {
        font-size: 10px !important;
        padding: 1px 6px !important;
        margin-left: 6px !important;
        white-space: nowrap !important;
    }

    .cm-stock-indicator {
        font-size: 10px !important;
        padding: 2px 7px !important;
    }

    .cm-qty-box {
        display: inline-flex !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .cm-qty-btn {
        width: 27px !important;
        height: 32px !important;
        font-size: 16px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8fafc !important;
        border: none !important;
        color: #334155 !important;
    }

    .cm-qty-btn:active {
        background: #e2e8f0 !important;
    }

    .cm-qty-input {
        width: 36px !important;
        height: 32px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        padding: 0 !important;
        text-align: center !important;
        border: none !important;
        border-left: 1px solid #e2e8f0 !important;
        border-right: 1px solid #e2e8f0 !important;
        color: #0f172a !important;
    }

    /* Row 3: Subtotal Line (When selected) */
    .td-subtotal {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        order: 5 !important;
        text-align: right !important;
        padding-top: 4px !important;
        margin-top: 4px !important;
        border-top: none !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #991B1B !important;
        box-sizing: border-box !important;
    }

    .cm-product-row.cm-row-selected .td-subtotal {
        display: block !important;
    }

    .cm-row-subtotal::before {
        content: "Item Total: ";
        font-weight: 600;
        color: #64748b;
    }

    /* Sticky Bottom Bar on Mobile */
    .cm-sticky-bar {
        padding: 8px 10px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .cm-sticky-container {
        gap: 6px !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .cm-sticky-info {
        gap: 4px 10px !important;
        font-size: 12px !important;
    }

    .cm-sticky-count {
        padding: 2px 6px !important;
        font-size: 11px !important;
    }

    .cm-sticky-amount {
        font-size: 13px !important;
    }

    .cm-sticky-amount strong {
        font-size: 15px !important;
    }

    .cm-sticky-saved {
        font-size: 11px !important;
    }

    .cm-btn-scroll-checkout {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    /* Checkout Form on Mobile */
    .cm-checkout-card {
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    .cm-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .cm-form-group.full-width {
        grid-column: span 1 !important;
    }

    .cm-form-group input, 
    .cm-form-group textarea, 
    .cm-form-group select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cm-summary-table-wrap {
        overflow-x: hidden !important;
    }

    .cm-summary-table {
        font-size: 12px !important;
    }
}

/* Extra small devices (phones <= 380px) */
@media (max-width: 380px) {
    .td-img {
        flex: 0 0 42px !important;
        width: 42px !important;
        margin-right: 8px !important;
    }
    .cm-prod-thumb {
        width: 42px !important;
        height: 42px !important;
    }
    .td-name {
        flex: 1 1 calc(100% - 50px) !important;
    }
    .cm-name-en {
        font-size: 13px !important;
    }
    .cm-name-ta {
        font-size: 11px !important;
    }
    .cm-price-block-mobile {
        gap: 5px !important;
    }
    .cm-offer-num {
        font-size: 14.5px !important;
    }
    .cm-mrp-num {
        font-size: 11px !important;
    }
    .cm-off-tag {
        font-size: 10px !important;
        padding: 1px 5px !important;
    }
    .td-qty {
        flex: 0 0 84px !important;
        width: 84px !important;
    }
    .cm-qty-btn {
        width: 25px !important;
        height: 30px !important;
        font-size: 15px !important;
    }
    .cm-qty-input {
        width: 34px !important;
        height: 30px !important;
        font-size: 13px !important;
    }
}

/* Clickable Hero Banner */
.cm-shop-banner-link {
    cursor: pointer !important;
    display: block !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cm-shop-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

/* Product Thumbnail Interactive Trigger */
.cm-prod-img-trigger {
    cursor: pointer !important;
    position: relative;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cm-prod-img-trigger:hover {
    transform: scale(1.08);
}
.cm-prod-img-trigger:hover .cm-prod-thumb {
    border-color: #991B1B !important;
    box-shadow: 0 4px 12px rgba(11, 26, 79, 0.2);
}
.cm-thumb-zoom {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #991B1B;
    color: #ffffff;
    font-size: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    pointer-events: none;
    line-height: 1;
}

/* Product Image Preview Lightbox Modal */
.cm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cm-modal-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid #fed7aa;
}
.cm-modal-overlay.active .cm-modal-dialog {
    transform: scale(1);
}
.cm-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.cm-modal-close:hover {
    background: #991B1B;
    transform: rotate(90deg);
}
.cm-modal-img-wrap {
    background: #fffdf5;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1.5px solid #fed7aa;
    max-height: 340px;
    overflow: hidden;
}
.cm-modal-img {
    max-width: 100%;
    max-height: 290px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.cm-modal-details {
    padding: 18px 20px 22px;
}
.cm-modal-offer-tag {
    display: inline-block;
    background: #6b1517 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    border: none !important;
    letter-spacing: 0.3px;
}
.cm-modal-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.cm-modal-ta {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #b45309;
}
.cm-modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.cm-modal-unit {
    background: #fef3c7;
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid #fde68a;
}
.cm-modal-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.cm-modal-offer {
    font-size: 22px;
    font-weight: 900;
    color: #991B1B;
}
.cm-modal-mrp {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}
.cm-modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.cm-modal-qty-label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}



/* User Requested Vibrant Gradient Buttons (#fbbf24 -> #FFA000) with High Contrast Theme Text (#180305) */
.cm-btn-order-submit,
.cm-btn-scroll-checkout,
.cm-btn-primary,
.cm-btn-gold,
.cm-cat-cta-btn,
.cm-nav-menu a.cm-nav-highlight,
.cm-drawer-links li a.cm-drawer-shop-btn,
.cm-top-btn.cm-top-btn-shop {
    background: linear-gradient(135deg, #6b1517 0%, #6b1517 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.cm-btn-order-submit:hover,
.cm-btn-scroll-checkout:hover,
.cm-btn-primary:hover,
.cm-btn-gold:hover,
.cm-cat-cta-btn:hover,
.cm-nav-menu a.cm-nav-highlight:hover,
.cm-drawer-links li a.cm-drawer-shop-btn:hover,
.cm-top-btn.cm-top-btn-shop:hover {
    background: linear-gradient(135deg, #6b1517 0%, #8b1c1f 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(222, 143, 16, 0.5) !important;
}

/* User Requested Highlighted Parts & Offer Tags (#6b1517) */
.cm-discount-pill,
.cm-off-tag,
.cm-cat-offer-tag,
.cm-modal-offer-tag,
.cm-cart-save-pill,
.cm-drawer-links li a.cm-drawer-shop-btn span.badge,
span.cm-badge-offer {
    background: #6b1517 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(245, 103, 47, 0.35) !important;
}

.cm-sec-badge,
.cm-drawer-offer-badge {
    background: #fff3ed !important;
    color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    font-weight: 800 !important;
}

/* Input Fields & Placeholders */
input::placeholder,
textarea::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #FFA000 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(242, 175, 5, 0.25) !important;
}



/* ========================================================
   USER SPECIFIED STYLES (V3)
   - Logo Width Enlargement
   - Whole Site Gradient Buttons (#fbbf24 -> #FFA000)
   - Shop & Site Offer Tags (#d9422b on light #fff0ed background)
   ======================================================== */

/* Header Logo Enlargement */
.cm-site-logo-wrap img,
.cm-site-logo-img {
    height: 54px !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 270px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .cm-site-logo-wrap img,
    .cm-site-logo-img {
        height: 54px !important;
        max-height: 60px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 480px) {
    .cm-site-logo-wrap img,
    .cm-site-logo-img {
        height: 48px !important;
        max-height: 52px !important;
        max-width: 200px !important;
    }
}

/* Whole Site Buttons - Vibrant Golden-Amber Gradient (#fbbf24 -> #FFA000) with Dark Theme Contrast Text (#180305) */
button:not(.cm-qty-btn):not(.cm-drawer-close):not(#cm-search-clear),
input[type="submit"],
input[type="button"],
.button,
.cm-btn-order-submit,
.cm-btn-scroll-checkout,
.cm-btn-primary,
.cm-btn-gold,
.cm-cat-cta-btn,
.cm-btn-slip-order,
.cm-nav-menu a.cm-nav-highlight,
.cm-drawer-links li a.cm-drawer-shop-btn,
.cm-top-btn.cm-top-btn-shop,
.cm-cat-btn.active,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #6b1517 0%, #6b1517 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
}

button:not(.cm-qty-btn):not(.cm-drawer-close):not(#cm-search-clear):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.cm-btn-order-submit:hover,
.cm-btn-scroll-checkout:hover,
.cm-btn-primary:hover,
.cm-btn-gold:hover,
.cm-cat-cta-btn:hover,
.cm-btn-slip-order:hover,
.cm-nav-menu a.cm-nav-highlight:hover,
.cm-drawer-links li a.cm-drawer-shop-btn:hover,
.cm-top-btn.cm-top-btn-shop:hover,
.cm-cat-btn.active:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, #6b1517 0%, #8b1c1f 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(222, 143, 16, 0.5) !important;
}

/* Category Filter Active Button text & counter pill */
.cm-cat-btn.active small,
.cm-cat-btn.active .cm-badge {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.1) !important;
    font-weight: 800 !important;
}

/* Offer Tags on Shop & Site - Text #d9422b on Light Theme Background (#fff0ed) */
.cm-discount-pill,
.cm-off-tag,
.cm-cat-offer-tag,
.cm-modal-offer-tag,
.cm-cart-save-pill,
.cm-drawer-links li a.cm-drawer-shop-btn span.badge,
span.cm-badge-offer {
    background: #fff0ed !important;
    color: #d9422b !important;
    border: 1px solid #fecdc7 !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 4px rgba(217, 66, 43, 0.12) !important;
}

.cm-sec-badge,
.cm-drawer-offer-badge {
    background: #fff0ed !important;
    color: #d9422b !important;
    border: 1.5px solid #fecdc7 !important;
    font-weight: 800 !important;
}

/* Input Fields & Placeholders */
input::placeholder,
textarea::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #FFA000 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(242, 175, 5, 0.25) !important;
}



/* ========================================================
   HEADER INNER PADDING & LOGO HEIGHT UPDATE (V4.1)
   ======================================================== */
.cm-site-header-inner {
    padding: 5px 15px !important;
}

.cm-site-logo-wrap img,
.cm-site-logo-img {
    height: 65px !important;
    max-height: 70px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .cm-site-header-inner {
        padding: 5px 12px !important;
    }
    .cm-site-logo-wrap img,
    .cm-site-logo-img {
        height: 52px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 480px) {
    .cm-site-header-inner {
        padding: 4px 10px !important;
    }
    .cm-site-logo-wrap img,
    .cm-site-logo-img {
        height: 46px !important;
        max-width: 200px !important;
    }
}


/* =========================================================
   USER REQUESTED OVERRIDES: BUTTONS, VISIBILITY & BANNER
   ========================================================= */

/* 1. Global Buttons: Rounded 30px, Gradient #6b1517 -> #6b1517, Crisp White Text, NO Underline */
a.cm-btn-primary,
a.cm-btn-gold,
a.cm-cat-cta-btn,
a.cm-nav-highlight,
a.cm-btn-scroll-checkout,
a.cm-drawer-shop-btn,
.cm-btn-order-submit,
.cm-btn-slip-order,
.cm-cat-btn.active,
.cm-top-btn.cm-top-btn-shop,
button.cm-btn-primary,
button.cm-btn-gold,
button.cm-cat-cta-btn,
button.cm-btn-order-submit,
.cm-btn-close-modal,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #6b1517 0%, #6b1517 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

a.cm-btn-primary:hover,
a.cm-btn-gold:hover,
a.cm-cat-cta-btn:hover,
a.cm-nav-highlight:hover,
a.cm-btn-scroll-checkout:hover,
a.cm-drawer-shop-btn:hover,
.cm-btn-order-submit:hover,
.cm-btn-slip-order:hover,
.cm-cat-btn.active:hover,
.cm-top-btn.cm-top-btn-shop:hover,
button.cm-btn-primary:hover,
button.cm-btn-gold:hover,
button.cm-cat-cta-btn:hover,
button.cm-btn-order-submit:hover,
.cm-btn-close-modal:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, #6b1517 0%, #8b1c1f 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
}

/* Ensure ALL link buttons have NO underline in any pseudo-class */
a.cm-btn-primary, a.cm-btn-primary:visited, a.cm-btn-primary:focus, a.cm-btn-primary:active,
a.cm-btn-gold, a.cm-btn-gold:visited, a.cm-btn-gold:focus, a.cm-btn-gold:active,
a.cm-cat-cta-btn, a.cm-cat-cta-btn:visited, a.cm-cat-cta-btn:focus, a.cm-cat-cta-btn:active,
a.cm-nav-highlight, a.cm-nav-highlight:visited, a.cm-nav-highlight:focus, a.cm-nav-highlight:active,
a.cm-btn-scroll-checkout, a.cm-btn-scroll-checkout:visited, a.cm-btn-scroll-checkout:focus, a.cm-btn-scroll-checkout:active,
a.cm-drawer-shop-btn, a.cm-drawer-shop-btn:visited, a.cm-drawer-shop-btn:focus, a.cm-drawer-shop-btn:active,
.cm-home-hotlines-bar a, .cm-call-strip a, .cm-btn-whatsapp, .cm-btn-wa-order {
    text-decoration: none !important;
}

/* 2. Content Visibility Fix Across ALL Pages */
body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.cm-content-card,
.cm-content-page,
.cm-home-container,
.cm-order-wrapper {
    color: #1e293b !important;
}

.cm-content-card h1,
.cm-content-card h2,
.cm-content-card h3,
.cm-content-card h4,
.cm-sec-title,
.cm-checkout-header h2,
.cm-order-summary-box h3,
.cm-about-grid h2,
.cm-ci-item h4 {
    color: #991B1B !important;
    font-weight: 800 !important;
}

.cm-lead,
.cm-content-card p,
.cm-ci-item p,
.cm-about-grid p,
.cm-feature-card p,
.cm-cat-info p {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cm-content-card ul,
.cm-about-grid ul {
    color: #334155 !important;
    line-height: 1.7 !important;
}

/* 3. Ultra-Crisp Banner Display - High Resolution & No Blur */
.cm-home-banner-section img.cm-hero-banner-img,
.cm-home-banner-section picture img,
.cm-shop-banner-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    object-fit: contain !important;
    border-radius: 14px;
    border: 2px solid #fed7aa;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    image-rendering: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* WordPress Emoji Resets (Prevent Twemoji from scaling) */
img.emoji,
.emoji {
    display: inline-block !important;
    width: 1.15em !important;
    height: 1.15em !important;
    max-width: 1.15em !important;
    max-height: 1.15em !important;
    margin: 0 0.15em !important;
    vertical-align: -0.15em !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* 4. Payment Badges (Non-clickable Plain Display) */
.cm-gpay-link,
.cm-gpay-badge {
    color: #15803d !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    cursor: default !important;
    text-decoration: none !important;
}

/* 5. Typography: All <p> tags font-weight 500 for crisp visibility */
p,
body p,
.cm-content-page p,
.cm-content-card p,
.cm-about-grid p,
.cm-ci-item p,
.cm-feature-card p,
.cm-section p,
.cm-instruction-box p,
.cm-home-container p,
.cm-lead,
.cm-modal p {
    font-weight: 500 !important;
}

/* 6. Shop Category Tabs: Brand Red Gradient with Pure White Legible Text */
.cm-cat-nav .cm-cat-btn,
.cm-cat-btn {
    background: linear-gradient(135deg, #6b1517 0%, #b31200 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 25px !important;
    padding: 7px 16px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(179, 18, 0, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.cm-cat-btn *,
.cm-cat-btn span,
.cm-cat-btn small,
.cm-cat-btn .cm-cat-ta {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.cm-cat-btn small {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    opacity: 1 !important;
    letter-spacing: 0.2px !important;
}

.cm-cat-btn .cm-badge {
    background: #ffffff !important;
    color: #b31200 !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    border-radius: 12px !important;
    padding: 2px 7px !important;
    display: inline-block !important;
}

.cm-cat-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45) !important;
}

.cm-cat-btn:hover small {
    color: #ffffff !important;
    opacity: 1 !important;
}

.cm-cat-btn:hover .cm-badge {
    background: #ffffff !important;
    color: #dc2626 !important;
}

.cm-cat-btn.active {
    background: linear-gradient(135deg, #DC2626 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 14px rgba(2, 37, 153, 0.5) !important;
    font-weight: 800 !important;
}

.cm-cat-btn.active *,
.cm-cat-btn.active small {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.cm-cat-btn.active .cm-badge {
    background: #ffd700 !important;
    color: #DC2626 !important;
    font-weight: 900 !important;
}

/* 7. Offer Badges: Logo Red Text with Lite Theme Red Background */
.cm-discount-pill,
.cm-off-tag,
.cm-badge-offer {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-size: 11px !important;
    display: inline-block !important;
    letter-spacing: 0.3px !important;
}

/* 8. Quantity Plus/Minus Buttons: Background matches Offer Text Red */
.cm-qty-box {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #dc2626 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    padding: 0 !important;
}
.cm-qty-btn,
.cm-qty-btn.cm-minus,
.cm-qty-btn.cm-plus,
button.cm-qty-btn {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: none !important;
    width: 30px !important;
    height: 32px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    transition: background 0.15s !important;
}
.cm-qty-btn:hover,
button.cm-qty-btn:hover {
    background: #b91c1c !important;
    color: #ffffff !important;
}
.cm-qty-input {
    width: 44px !important;
    height: 32px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #7F1D1D !important;
    text-align: center !important;
    padding: 0 !important;
    outline: none !important;
    background: #ffffff !important;
}

/* 9. GLOBAL SITE-WIDE BUTTON STYLES: #DC2626 to #fc0808 with White Text */
.cm-btn-primary,
.cm-btn-order-submit,
.cm-btn-slip-order,
.cm-cat-cta-btn,
.cm-btn-gold,
.cm-nav-menu a.cm-nav-highlight,
.cm-drawer-links li a.cm-drawer-shop-btn,
.cm-top-btn.cm-top-btn-shop,
.btn-action,
.btn-print,
.cm-admin-print-btn,
a.cm-btn-primary,
button.cm-btn-primary,
a.cm-cat-cta-btn,
button.cm-btn-order-submit,
#cm-submit-order,
#cm-res-slip-btn,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.button.button-primary {
    background: linear-gradient(135deg, #DC2626 0%, #fc0808 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 37, 153, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    font-weight: 800 !important;
    transition: all 0.25s ease !important;
}

.cm-btn-primary *,
.cm-btn-order-submit *,
.cm-btn-slip-order *,
.cm-cat-cta-btn *,
.cm-nav-menu a.cm-nav-highlight * {
    color: #ffffff !important;
}

.cm-btn-primary:hover,
.cm-btn-order-submit:hover,
.cm-btn-slip-order:hover,
.cm-cat-cta-btn:hover,
.cm-btn-gold:hover,
.cm-nav-menu a.cm-nav-highlight:hover,
.cm-drawer-links li a.cm-drawer-shop-btn:hover,
.cm-top-btn.cm-top-btn-shop:hover,
.btn-action:hover,
.btn-print:hover,
.cm-admin-print-btn:hover,
a.cm-btn-primary:hover,
button.cm-btn-primary:hover,
a.cm-cat-cta-btn:hover,
button.cm-btn-order-submit:hover,
#cm-submit-order:hover,
#cm-res-slip-btn:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.button.button-primary:hover {
    background: linear-gradient(135deg, #7F1D1D 0%, #d40404 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(252, 8, 8, 0.4) !important;
}

/* 10. HIGHLIGHTED PROCEED TO CHECKOUT BUTTON (High-Visibility Call To Action) */
#cm-sticky-cart .cm-btn-scroll-checkout,
.cm-top-cart-strip .cm-btn-scroll-checkout,
a.cm-btn-scroll-checkout,
.cm-btn-scroll-checkout {
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 18px rgba(255, 23, 68, 0.65), 0 0 10px rgba(255, 215, 0, 0.4) !important;
    font-weight: 900 !important;
    font-size: 14.5px !important;
    letter-spacing: 0.4px !important;
    border-radius: 30px !important;
    padding: 9px 22px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
    transition: all 0.25s ease !important;
}

#cm-sticky-cart .cm-btn-scroll-checkout *,
.cm-top-cart-strip .cm-btn-scroll-checkout *,
a.cm-btn-scroll-checkout *,
.cm-btn-scroll-checkout * {
    color: #ffffff !important;
    font-weight: 900 !important;
}

#cm-sticky-cart .cm-btn-scroll-checkout:hover,
.cm-top-cart-strip .cm-btn-scroll-checkout:hover,
a.cm-btn-scroll-checkout:hover,
.cm-btn-scroll-checkout:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ff9100 100%) !important;
    color: #180305 !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(255, 215, 0, 0.85) !important;
    transform: translateY(-2px) scale(1.03) !important;
    text-shadow: none !important;
}

#cm-sticky-cart .cm-btn-scroll-checkout:hover *,
.cm-top-cart-strip .cm-btn-scroll-checkout:hover *,
a.cm-btn-scroll-checkout:hover *,
.cm-btn-scroll-checkout:hover * {
    color: #180305 !important;
}

/* 11. SITE-WIDE WHATSAPP BUTTONS (PREMIUM GREEN GRADIENT) */
.cm-btn-order-whatsapp,
a.cm-btn-order-whatsapp,
.cm-wa-btn,
a.cm-wa-btn,
.cm-floating-wa,
a.cm-floating-wa,
#cm-floating-whatsapp-btn,
.cm-btn-whatsapp,
a.cm-btn-whatsapp,
.cm-btn-wa-order,
a.cm-btn-wa-order,
.cm-res-wa-btn,
a.cm-res-wa-btn,
.btn-wa,
a.btn-wa,
.cm-drawer-wa-btn,
a.cm-drawer-wa-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.cm-btn-order-whatsapp *,
a.cm-btn-order-whatsapp *,
.cm-wa-btn *,
a.cm-wa-btn *,
.cm-floating-wa *,
a.cm-floating-wa *,
#cm-floating-whatsapp-btn *,
.cm-btn-whatsapp *,
a.cm-btn-whatsapp *,
.cm-btn-wa-order *,
a.cm-btn-wa-order *,
.cm-res-wa-btn *,
a.cm-res-wa-btn *,
.btn-wa *,
a.btn-wa *,
.cm-drawer-wa-btn *,
a.cm-drawer-wa-btn * {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.cm-btn-order-whatsapp:hover,
a.cm-btn-order-whatsapp:hover,
.cm-wa-btn:hover,
a.cm-wa-btn:hover,
.cm-floating-wa:hover,
a.cm-floating-wa:hover,
#cm-floating-whatsapp-btn:hover,
.cm-btn-whatsapp:hover,
a.cm-btn-whatsapp:hover,
.cm-btn-wa-order:hover,
a.cm-btn-wa-order:hover,
.cm-res-wa-btn:hover,
a.cm-res-wa-btn:hover,
.btn-wa:hover,
a.btn-wa:hover,
.cm-drawer-wa-btn:hover,
a.cm-drawer-wa-btn:hover {
    background: linear-gradient(135deg, #1eb855 0%, #075e54 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

/* ==========================================================================
   STOCK & OUT OF STOCK STYLING (QUANTITY COLUMN & PRODUCT ROW)
   ========================================================================== */
.cm-out-of-stock-box {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff1f2 !important;
    border: 2px solid #e11d48 !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    text-align: center !important;
    min-width: 120px !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.18) !important;
    transition: transform 0.2s ease !important;
}

.cm-out-of-stock-pill {
    color: #be123c !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    line-height: 1.2 !important;
    display: block !important;
}

.cm-out-of-stock-ta {
    color: #9f1239 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
    display: block !important;
}

.cm-row-out-of-stock {
    background: #fffafa !important;
}

.cm-row-out-of-stock .cm-name-en {
    color: #334155 !important;
}

.cm-badge-sold-out-inline {
    display: inline-flex !important;
    align-items: center !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1.5px solid #f87171 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.cm-qty-wrapper {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
}

/* Stock Indicator below the Quantity Box */
.cm-stock-indicator {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #047857 !important;
    background: #ecfdf5 !important;
    border: 1.5px solid #10b981 !important;
    border-radius: 12px !important;
    padding: 3px 10px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.15) !important;
}

.cm-stock-indicator.low-stock {
    color: #b45309 !important;
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    font-weight: 900 !important;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2) !important;
}

.cm-stock-tag-out {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1.5px solid #f87171 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

.cm-stock-tag-avail {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1.5px solid #10b981 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    display: inline-block !important;
}

.cm-stock-tag-avail.low {
    background: #fffbeb !important;
    color: #b45309 !important;
    border-color: #f59e0b !important;
}

/* Product Thumbnail Corner Sold Out Badge - Removed as per request (retained side inline badge next to title) */
.cm-thumb-stock-badge,
.cm-corner-sold-out-badge {
    display: none !important;
}


.cm-modal-stock-badge {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    margin: 8px 0 !important;
}

.cm-modal-stock-badge.cm-out-of-stock {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 2px solid #ef4444 !important;
}

.cm-modal-stock-badge.cm-in-stock {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 2px solid #10b981 !important;
}

/* Minimum Order Amount UI Styles */
.cm-min-order-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cm-min-pill {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}
.cm-min-pill-warn {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1.5px solid #f87171 !important;
}
.cm-min-pill-ok {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1.5px solid #10b981 !important;
}
.cm-min-pill-admin {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1.5px solid #60a5fa !important;
}
.cm-min-order-alert-box {
    margin: 15px 0 20px !important;
}
.cm-min-alert-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}
.cm-min-alert-warn {
    background: #fff1f2 !important;
    border: 2px dashed #f43f5e !important;
    color: #9f1239 !important;
}
.cm-min-alert-ok {
    background: #ecfdf5 !important;
    border: 2px solid #10b981 !important;
    color: #065f46 !important;
}
.cm-min-alert-admin {
    background: #eff6ff !important;
    border: 2px solid #3b82f6 !important;
    color: #1e40af !important;
}
.cm-btn-checkout-wa {
    transition: all 0.25s ease !important;
}
.cm-btn-checkout-wa:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37,211,102,0.45) !important;
}






/* ==========================================================================
   TN POWER CRACKERS SIVAKASI - MASTER THEME OVERRIDES & COMPREHENSIVE FIXES
   1. Minimum Order Amount Concept Completely Removed (Zero limits & hidden UI)
   2. Desktop & Mobile Header Menu Navigation Visibility (Crisp White & Gold)
   3. Products Table & Add/Minus Quantity Buttons Styling (#6b1517 Brand Theme)
   4. Complete Mobile Responsiveness (Fix Image 2 & 3: Sticky cart, buttons, overflow)
   5. ALL Buttons Background & Border #6b1517 EXCEPT "Proceed to Checkout"
   6. Eradicate All Old Theme Colors (Orange #6b1517, Blues) -> TN Power Crackers Theme
   ========================================================================== */

/* 1. MINIMUM ORDER AMOUNT REMOVAL */
.cm-min-order-pill,
#cm-min-order-pill,
.cm-min-pill,
.cm-min-order-alert-box,
#cm-min-order-alert-box,
.cm-min-alert-wrap,
.cm-min-alert-warn,
.cm-min-alert-ok,
.cm-min-alert-admin {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 2. HEADER DESKTOP MENU VISIBILITY & HIGH CONTRAST */
.cm-site-header {
    background: #140306 !important;
    border-bottom: 2px solid #fbbf24 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1000 !important;
}

.cm-nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cm-nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.cm-nav-menu a {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.cm-nav-menu a:hover,
.cm-nav-menu a.active {
    color: #fbbf24 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.7) !important;
}

.cm-brand-title {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.cm-brand-tagline {
    color: #fbbf24 !important;
    font-weight: 700 !important;
}

/* 3. PRODUCTS TABLE & ADD / MINUS QUANTITY CONTROLS */
.cm-products-table thead th,
table.cm-products-table thead th,
.cm-product-table thead th,
table.cm-product-table thead th,
#cm-table thead th {
    background: #6b1517 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #fbbf24 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 12px 10px !important;
    text-align: center !important;
}

@media (min-width: 861px) {
    .cm-table-responsive {
        overflow: visible !important;
    }
    .cm-products-table thead,
    table.cm-products-table thead,
    #cm-table thead {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: var(--cm-table-header-top, 120px) !important;
        z-index: 920 !important;
    }
    .cm-products-table thead th,
    table.cm-products-table thead th,
    #cm-table thead th {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: var(--cm-table-header-top, 120px) !important;
        z-index: 920 !important;
        background: #6b1517 !important;
        color: #ffffff !important;
        border-bottom: 2px solid #fbbf24 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    }
}

.cm-product-table thead th.cm-col-name {
    text-align: left !important;
}

.cm-cat-header-row td,
.cm-category-row td,
tr.cm-cat-header-row td {
    background: #6b1517 !important;
    color: #ffffff !important;
    border-left: 5px solid #fbbf24 !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.cm-cat-header-row td *,
.cm-category-row td * {
    color: #ffffff !important;
}

.cm-product-table tbody tr {
    border-bottom: 1px solid #fee2e2 !important;
    transition: background 0.15s ease !important;
}

.cm-product-table tbody tr:hover {
    background-color: #fff9f5 !important;
}

.cm-qty-box {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #6b1517 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(107, 21, 23, 0.15) !important;
}

.cm-qty-btn,
.cm-qty-minus,
.cm-qty-plus,
button.cm-qty-btn,
button.cm-qty-minus,
button.cm-qty-plus {
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

.cm-qty-btn:hover,
button.cm-qty-btn:hover,
.cm-qty-minus:hover,
.cm-qty-plus:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
}

.cm-qty-input {
    width: 44px !important;
    height: 32px !important;
    border: none !important;
    border-left: 1px solid #fee2e2 !important;
    border-right: 1px solid #fee2e2 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #6b1517 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    outline: none !important;
}

/* 4. MOBILE RESPONSIVENESS & ZERO HORIZONTAL OVERFLOW (Using clip to preserve position: sticky) */
html {
    overflow-x: clip !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure all parent containers keep sticky context alive */
.cm-site-main,
.cm-quick-order-container,
.cm-order-wrapper {
    overflow: visible !important;
}

/* Table Header & Sticky Filter Bar - 100% Sticky Behavior */
#cm-sticky-filter,
.cm-filter-wrapper {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    top: var(--cm-sticky-top, 0px) !important;
    z-index: 950 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

.cm-site-header-inner,
.cm-quick-order-container,
.cm-order-wrapper,
.cm-home-container,
.cm-content-page,
.cm-filter-wrapper,
.cm-table-responsive {
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

.cm-category-scroll,
.cm-cat-scroll-track {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 6px 2px !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
}

.cm-category-scroll::-webkit-scrollbar {
    display: none !important;
}

.cm-top-cart-strip {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #140306 0%, #300609 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    overflow: hidden !important;
}

.cm-top-cart-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.cm-cart-items-pill {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.cm-cart-total-box {
    color: #fbbf24 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.cm-cart-total-box strong,
.cm-top-cart-strip .cm-cart-total-val {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.cm-top-cart-strip .cm-btn-scroll-checkout,
a.cm-btn-scroll-checkout {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    max-width: 50% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .cm-site-header-inner {
        padding: 6px 12px !important;
    }
    
    .cm-site-logo-wrap img,
    .cm-site-logo-img {
        max-height: 48px !important;
        width: auto !important;
    }
    
    .cm-site-header nav,
    .cm-nav-menu {
        display: none !important;
    }
    
    .cm-menu-toggle,
    button.cm-menu-toggle,
    #cm-menu-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .cm-top-cart-strip {
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    
    .cm-top-cart-strip .cm-btn-scroll-checkout,
    a.cm-btn-scroll-checkout {
        padding: 7px 12px !important;
        font-size: 12px !important;
        max-width: 52% !important;
    }
    
    .cm-cart-items-pill {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }
    
    .cm-cart-total-box {
        font-size: 13px !important;
    }
    
    .cm-cart-save-box {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .cm-top-cart-strip {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .cm-top-cart-strip .cm-btn-scroll-checkout,
    a.cm-btn-scroll-checkout {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* 5. ALL BUTTONS BACKGROUND & BORDER #6b1517 EXCEPT "Proceed to Checkout" */
.cm-cat-btn,
.cm-cat-nav .cm-cat-btn,
button.cm-cat-btn {
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(107, 21, 23, 0.25) !important;
    transition: all 0.2s ease !important;
}

.cm-cat-btn *,
.cm-cat-btn span,
.cm-cat-btn small {
    color: #ffffff !important;
}

.cm-cat-btn .cm-badge {
    background: #ffffff !important;
    color: #6b1517 !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    border-radius: 12px !important;
    padding: 2px 7px !important;
}

.cm-cat-btn:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(107, 21, 23, 0.4) !important;
}

.cm-cat-btn.active {
    background-color: #8b1c1f !important;
    border: 2px solid #fbbf24 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(251, 191, 36, 0.35) !important;
    font-weight: 800 !important;
}

.cm-cat-btn.active .cm-badge {
    background: #fbbf24 !important;
    color: #140306 !important;
    font-weight: 900 !important;
}

@media (min-width: 861px) {
    .cm-menu-toggle,
    button.cm-menu-toggle,
    #cm-menu-toggle {
        display: none !important;
    }
    .cm-site-header nav {
        display: block !important;
    }
    .cm-nav-menu {
        display: flex !important;
    }
}

@media (max-width: 860px) {
    .cm-site-header nav,
    .cm-nav-menu {
        display: none !important;
    }
    .cm-menu-toggle,
    button.cm-menu-toggle,
    #cm-menu-toggle {
        display: inline-flex !important;
        margin-left: auto !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        background-color: #6b1517 !important;
        border: 1.5px solid #6b1517 !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
    }
    .cm-menu-toggle:hover,
    button.cm-menu-toggle:hover {
        background-color: #8b1c1f !important;
        border-color: #fbbf24 !important;
        color: #fbbf24 !important;
    }
    .cm-toggle-bars {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 22px !important;
        height: 15px !important;
        margin: auto !important;
    }
    .cm-toggle-bars span {
        display: block !important;
        width: 100% !important;
        height: 2.5px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
    }
}

.cm-wa-btn,
a.cm-wa-btn,
.cm-btn-whatsapp,
a.cm-btn-whatsapp,
.cm-drawer-wa-btn,
a.cm-drawer-wa-btn,
.cm-floating-wa,
a.cm-floating-wa,
#cm-floating-whatsapp-btn,
.cm-btn-wa-order,
a.cm-btn-wa-order,
.cm-res-wa-btn,
a.cm-res-wa-btn,
.btn-wa,
a.btn-wa,
.cm-btn-order-whatsapp,
a.cm-btn-order-whatsapp,
.cm-btn-checkout-wa {
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(107, 21, 23, 0.3) !important;
    transition: all 0.2s ease !important;
}

.cm-wa-btn:hover,
a.cm-wa-btn:hover,
.cm-btn-whatsapp:hover,
a.cm-btn-whatsapp:hover,
.cm-drawer-wa-btn:hover,
a.cm-drawer-wa-btn:hover,
.cm-floating-wa:hover,
.cm-btn-checkout-wa:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(107, 21, 23, 0.5) !important;
}

.cm-wa-btn *,
.cm-btn-whatsapp *,
.cm-drawer-wa-btn * {
    color: #ffffff !important;
}

.cm-phone-btn,
a.cm-phone-btn,
.cm-drawer-phone-btn,
a.cm-drawer-phone-btn {
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(107, 21, 23, 0.25) !important;
    transition: all 0.2s ease !important;
}

.cm-phone-btn:hover,
.cm-drawer-phone-btn:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
}

.cm-btn-primary,
button.cm-btn-primary,
a.cm-btn-primary,
.cm-btn-gold,
button.cm-btn-gold,
a.cm-btn-gold,
.cm-cat-cta-btn,
button.cm-cat-cta-btn,
a.cm-cat-cta-btn,
.cm-nav-menu a.cm-nav-highlight,
.cm-drawer-links li a.cm-drawer-shop-btn,
.cm-top-btn.cm-top-btn-shop,
.btn-action,
.btn-print,
.cm-admin-print-btn,
.cm-btn-close-modal,
.cm-modal-close,
#cm-search-clear,
.cm-back-to-top,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(107, 21, 23, 0.25) !important;
    transition: all 0.2s ease !important;
}

.cm-btn-primary:hover,
.cm-btn-gold:hover,
.cm-cat-cta-btn:hover,
.cm-nav-menu a.cm-nav-highlight:hover,
.cm-drawer-links li a.cm-drawer-shop-btn:hover,
.cm-btn-close-modal:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(107, 21, 23, 0.4) !important;
}

/* EXCLUSION: KEEP "PROCEED TO CHECKOUT" BUTTONS VIBRANT & HIGH-VISIBILITY */
.cm-btn-scroll-checkout,
a.cm-btn-scroll-checkout,
#cm-sticky-cart .cm-btn-scroll-checkout,
.cm-top-cart-strip .cm-btn-scroll-checkout,
#cm-submit-order,
button#cm-submit-order,
.cm-btn-order-submit,
button.cm-btn-order-submit {
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 18px rgba(255, 23, 68, 0.65), 0 0 10px rgba(255, 215, 0, 0.4) !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    border-radius: 30px !important;
    text-decoration: none !important;
}

.cm-btn-scroll-checkout:hover,
a.cm-btn-scroll-checkout:hover,
#cm-submit-order:hover,
.cm-btn-order-submit:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ff9100 100%) !important;
    color: #140306 !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(255, 215, 0, 0.85) !important;
    transform: translateY(-2px) scale(1.02) !important;
    text-shadow: none !important;
}

.cm-btn-scroll-checkout:hover *,
a.cm-btn-scroll-checkout:hover *,
#cm-submit-order:hover *,
.cm-btn-order-submit:hover * {
    color: #140306 !important;
}

/* 6. SITE-WIDE THEME HARMONIZATION: BADGES, OFFER TAGS & ACCENTS */
.cm-discount-pill,
.cm-off-tag,
.cm-cat-offer-tag,
.cm-modal-offer-tag,
.cm-cart-save-pill,
span.cm-badge-offer {
    background: #fef2f2 !important;
    color: #6b1517 !important;
    border: 1px solid #fecaca !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-size: 11.5px !important;
    display: inline-block !important;
}

.cm-sec-badge,
.cm-drawer-offer-badge {
    background: #fef2f2 !important;
    color: #6b1517 !important;
    border: 1.5px solid #fecaca !important;
    font-weight: 800 !important;
}

.cm-sec-title,
.cm-content-card h1,
.cm-content-card h2,
.cm-content-card h3,
.cm-order-summary-box h3,
.cm-checkout-header h2 {
    color: #6b1517 !important;
}


/* =========================================================
   CATEGORY TABS HORIZONTAL SCROLL & NAVIGATION ARROWS
   - Left / Right Arrow buttons (#6b1517 & Gold border)
   - Smooth horizontal scroll on touch & desktop
   - Flex-shrink: 0 on all buttons to maintain pill shape
   - Visible gold slim scrollbar for clear affordance
   ========================================================= */
.cm-cat-scroll-outer {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cm-cat-nav-btn,
.cm-cat-nav-prev,
.cm-cat-nav-next,
#cm-cat-prev,
#cm-cat-next {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.cm-category-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    padding: 6px 4px 10px 4px !important;
    width: 100% !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #fbbf24 #f1f5f9 !important;
    cursor: grab !important;
}

.cm-category-scroll::-webkit-scrollbar {
    height: 5px !important;
    display: block !important;
}

.cm-category-scroll::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}

.cm-category-scroll::-webkit-scrollbar-thumb {
    background: #fbbf24 !important;
    border-radius: 4px !important;
}

.cm-category-scroll::-webkit-scrollbar-thumb:hover {
    background: #f59e0b !important;
}

.cm-cat-btn,
.cm-cat-nav .cm-cat-btn,
button.cm-cat-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

/* ==========================================================================
   CATEGORY NAVIGATION TABS - EXPANDED GAP & LUXURIOUS DARK ACTIVE TAB
   ========================================================================== */
.cm-cat-scroll-outer {
    gap: 12px !important;
}

.cm-category-scroll,
.cm-cat-scroll-track {
    gap: 12px !important;
    padding: 8px 6px 14px 6px !important;
}

.cm-cat-btn,
.cm-cat-nav .cm-cat-btn,
button.cm-cat-btn,
.cm-category-scroll .cm-cat-btn {
    background: #6b1517 !important;
    background-color: #6b1517 !important;
    border: 1.5px solid #6b1517 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 8px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(107, 21, 23, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.cm-cat-btn *,
.cm-cat-btn span {
    color: #ffffff !important;
}

.cm-cat-btn small {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 11px !important;
}

.cm-cat-btn .cm-badge {
    background: #ffffff !important;
    color: #6b1517 !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.cm-cat-btn:hover {
    background-color: #8b1c1f !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(107, 21, 23, 0.4) !important;
}

/* ACTIVE CATEGORY TAB: DEEP OBSIDIAN BLACK-WINE BACKGROUND WITH RADIANT 24K GOLD ACCENTS */
.cm-cat-btn.active,
.cm-cat-nav .cm-cat-btn.active,
button.cm-cat-btn.active,
.cm-category-scroll .cm-cat-btn.active,
.cm-category-scroll button.cm-cat-btn.active {
    background: #0f0204 !important;
    background-color: #0f0204 !important;
    background-image: linear-gradient(135deg, #0a0102 0%, #1a0306 100%) !important;
    border: 2.5px solid #fbbf24 !important;
    color: #fbbf24 !important;
    font-weight: 900 !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35), 0 4px 16px rgba(0, 0, 0, 0.55), 0 0 12px rgba(251, 191, 36, 0.4) !important;
    z-index: 5 !important;
}

.cm-cat-btn.active *,
.cm-cat-btn.active span {
    color: #fbbf24 !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.cm-cat-btn.active small {
    color: #fef08a !important;
    font-weight: 800 !important;
}

.cm-cat-btn.active .cm-badge {
    background: #fbbf24 !important;
    color: #0f0204 !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.5) !important;
}
