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

:root {
    --cm-crimson: #0B1A4F;
    --cm-dark-red: #060D27;
    --cm-gold: #FFC107;
    --cm-light-gold: #e0f2fe;
    --cm-dark-gold: #FFA000;
    --cm-green: #15803d;
    --cm-dark: #1e293b;
    --cm-light-bg: #f8fafc;
    --cm-border: #fed7aa;
    --cm-shadow: 0 4px 15px rgba(11, 26, 79, 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, #060D27 0%, #0B1A4F 50%, #060D27 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: #060D27;
    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: #25d366;
    color: #ffffff;
}

.cm-wa-btn:hover {
    transform: translateY(-2px);
    background: #1eb855;
}

/* 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);
}

/* 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: #e0f2fe;
    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: #060D27;
    color: #ffffff;
    padding: 12px 10px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    border: none;
}

.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: #0B1A4F;
}

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

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

.cm-cat-ta {
    color: #0B1A4F !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: #e0f2fe;
}

.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: #0B1A4F !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: #f5672f !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, #060D27 0%, #0B1A4F 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: #f5672f !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, #c32304 0%, #f5672f 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, #a71e03 0%, #e0541d 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: #0B1A4F;
}

.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 #e0f2fe;
    color: #0B1A4F;
    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: #e0f2fe;
    color: #2f085e;
    border-color: #0B1A4F;
}

.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: #0B1A4F;
}

.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: #0B1A4F;
}

.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, #c32304 0%, #f5672f 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: #0B1A4F;
    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, #060D27, #0B1A4F);
    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, #0B1A4F, #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 */
    .td-sno, .td-unit, .td-rate, .td-offer {
        display: none !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: #0B1A4F !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: #f5672f !important;
        border: 1px solid #f5672f !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 90px !important;
        width: 90px !important;
        max-width: 90px !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-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: #0B1A4F !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: #0B1A4F !important;
    box-shadow: 0 4px 12px rgba(11, 26, 79, 0.2);
}
.cm-thumb-zoom {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #0B1A4F;
    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: #0B1A4F;
    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: #f5672f !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: #0B1A4F;
}
.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 (#FFC107 -> #FFA000) with High Contrast Theme Text (#060D27) */
.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, #c32304 0%, #f5672f 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, #a71e03 0%, #e0541d 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 (#f5672f) */
.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: #f5672f !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: #f5672f !important;
    border: 1.5px solid #f5672f !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 (#FFC107 -> #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 (#FFC107 -> #FFA000) with Dark Theme Contrast Text (#060D27) */
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, #c32304 0%, #f5672f 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, #a71e03 0%, #e0541d 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 #c32304 -> #f5672f, 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, #c32304 0%, #f5672f 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, #a71e03 0%, #e0541d 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: #0B1A4F !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 {
    image-rendering: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    display: block !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* 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: 100% White Font and Rounded Gradient Buttons */
.cm-cat-nav .cm-cat-btn,
.cm-cat-btn,
.cm-cat-btn *,
.cm-cat-btn span,
.cm-cat-btn small,
.cm-cat-btn .cm-cat-badge,
.cm-cat-btn .cm-badge {
    color: #ffffff !important;
    text-decoration: none !important;
}

.cm-cat-btn {
    background: linear-gradient(135deg, #c32304 0%, #f5672f 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    box-shadow: 0 3px 8px rgba(195, 35, 4, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.cm-cat-btn:hover {
    background: linear-gradient(135deg, #a71e03 0%, #e0541d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(195, 35, 4, 0.4) !important;
    transform: translateY(-2px) !important;
}

.cm-cat-btn.active {
    background: linear-gradient(135deg, #7f1d1d 0%, #c32304 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 4px 15px rgba(127, 29, 29, 0.5), 0 0 0 2px #ffd700 !important;
}

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

.cm-cat-btn .cm-badge,
.cm-cat-btn.active .cm-badge {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    padding: 2px 8px !important;
}

/* ABSOLUTE FINAL BUTTON OVERRIDES */
button,
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-btn-close-modal,
.cm-nav-menu a.cm-nav-highlight,
.cm-drawer-links li a.cm-drawer-shop-btn,
.cm-top-btn.cm-top-btn-shop,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #c32304 0%, #f5672f 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;
}

button *,
input[type="submit"] *,
.cm-btn-order-submit *,
.cm-btn-order-submit span,
.cm-btn-scroll-checkout *,
.cm-btn-primary *,
.cm-btn-gold *,
.cm-cat-cta-btn *,
.cm-nav-menu a.cm-nav-highlight * {
    color: #ffffff !important;
    text-decoration: none !important;
}

button: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-btn-close-modal: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,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, #a71e03 0%, #e0541d 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
}

