/**
 * McLean Corp USA - Custom Cart Styles
 * Based on Brand Guidelines v1.0
 * Tactical Edition
 */

/* ============================================
   CSS VARIABLES - McLean Brand Colors
   ============================================ */
:root {
    /* Primary Colors */
    --mclean-gold: #fcb316;
    --mclean-gold-dark: #d4a84b;
    --mclean-gold-glow: rgba(252, 179, 22, 0.15);
    --mclean-gold-glow-strong: rgba(252, 179, 22, 0.25);

    /* Background Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --bg-input: #1f1f1f;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --text-dim: #606060;

    /* Borders */
    --border-color: #2a2a2a;
    --border-accent: #3a3a3a;

    /* States */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Spacing */
    --section-padding: 1.5rem;
    --card-radius: 12px;
    --input-radius: 6px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   ELEMENTOR RESET - Strip all Elementor styles
   ============================================ */

/* Nuclear option: Reset ALL inherited styles on buttons */
.mclean-cart-wrapper button,
.mclean-cart-wrapper .mclean-cart-btn-primary,
.mclean-cart-wrapper .mclean-cart-btn-secondary,
.mclean-cart-wrapper .mclean-cart-qty-btn,
.mclean-cart-wrapper .mclean-cart-coupon-btn,
.mclean-cart-wrapper .mclean-cart-item-remove,
.mclean-cart-wrapper .mclean-cart-coupon-remove {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Reset links/anchors */
.mclean-cart-wrapper a,
.mclean-cart-wrapper a.mclean-cart-btn-primary,
.mclean-cart-wrapper a.mclean-cart-btn-secondary {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

/* Reset inputs */
.mclean-cart-wrapper input,
.mclean-cart-wrapper select,
.mclean-cart-wrapper textarea {
    all: unset !important;
    box-sizing: border-box !important;
}

/* Now reapply our button styles with full declarations */
.mclean-cart-wrapper .mclean-cart-btn-primary,
.mclean-cart-wrapper a.mclean-cart-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    background: var(--mclean-gold) !important;
    color: #0a0a0a !important;
    border: 2px solid var(--mclean-gold) !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

.mclean-cart-wrapper .mclean-cart-btn-primary:hover,
.mclean-cart-wrapper a.mclean-cart-btn-primary:hover {
    background: var(--mclean-gold-dark) !important;
    border-color: var(--mclean-gold-dark) !important;
    color: #0a0a0a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(252, 179, 22, 0.25) !important;
}

/* Reapply qty button styles after reset */
.mclean-cart-wrapper .mclean-cart-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: var(--transition-fast) !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

.mclean-cart-wrapper .mclean-cart-qty-btn:hover {
    background: var(--mclean-gold) !important;
    color: var(--bg-dark) !important;
}

.mclean-cart-wrapper .mclean-cart-qty-btn:active {
    transform: scale(0.95) !important;
}

/* Reapply item remove button styles after reset */
.mclean-cart-wrapper .mclean-cart-item-remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: var(--transition-fast) !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 1rem !important;
    padding: 0 !important;
    border: none !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove svg {
    width: 16px !important;
    height: 16px !important;
    pointer-events: none !important;
}

/* Reapply coupon button styles after reset */
.mclean-cart-wrapper .mclean-cart-coupon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1.5rem !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--input-radius) !important;
    color: var(--text-secondary) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: var(--transition-fast) !important;
    white-space: nowrap !important;
}

.mclean-cart-wrapper .mclean-cart-coupon-btn:hover {
    background: var(--mclean-gold) !important;
    border-color: var(--mclean-gold) !important;
    color: var(--bg-dark) !important;
}

/* Reapply coupon remove button styles after reset */
.mclean-cart-wrapper .mclean-cart-coupon-remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: rgba(34, 197, 94, 0.2) !important;
    color: var(--success) !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: var(--transition-fast) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.mclean-cart-wrapper .mclean-cart-coupon-remove:hover {
    background: var(--success) !important;
    color: #fff !important;
}

.mclean-cart-wrapper .mclean-cart-btn-primary svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #0a0a0a !important;
    fill: none !important;
}

.mclean-cart-wrapper .mclean-cart-btn-secondary,
.mclean-cart-wrapper a.mclean-cart-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    background: transparent !important;
    color: #b0b0b0 !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

.mclean-cart-wrapper .mclean-cart-btn-secondary:hover,
.mclean-cart-wrapper a.mclean-cart-btn-secondary:hover {
    color: #ffffff !important;
    border-color: #b0b0b0 !important;
    background: transparent !important;
}

.mclean-cart-wrapper .mclean-cart-btn-secondary svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
}

/* Reapply input styles */
.mclean-cart-wrapper input[type="text"],
.mclean-cart-wrapper input[type="email"],
.mclean-cart-wrapper input[type="tel"],
.mclean-cart-wrapper input[type="number"],
.mclean-cart-wrapper .mclean-cart-coupon-input {
    display: block !important;
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    background: #1f1f1f !important;
    color: #ffffff !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 6px !important;
    font-family: -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.mclean-cart-wrapper input:focus {
    outline: none !important;
    border-color: var(--mclean-gold) !important;
    box-shadow: 0 0 0 3px rgba(252, 179, 22, 0.15) !important;
}

/* Quantity buttons */
.mclean-cart-wrapper .mclean-cart-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: #141414 !important;
    color: #b0b0b0 !important;
    border: none !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mclean-cart-wrapper .mclean-cart-qty-btn:hover {
    background: var(--mclean-gold) !important;
    color: #0a0a0a !important;
}

/* Quantity input */
.mclean-cart-wrapper .mclean-cart-qty-input {
    width: 50px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #0a0a0a !important;
    color: #ffffff !important;
    border: none !important;
    border-left: 1px solid #2a2a2a !important;
    border-right: 1px solid #2a2a2a !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    -moz-appearance: textfield !important;
}

.mclean-cart-wrapper .mclean-cart-qty-input::-webkit-outer-spin-button,
.mclean-cart-wrapper .mclean-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Coupon button */
.mclean-cart-wrapper .mclean-cart-coupon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.875rem 1.5rem !important;
    background: transparent !important;
    color: var(--mclean-gold) !important;
    border: 2px solid var(--mclean-gold) !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.mclean-cart-wrapper .mclean-cart-coupon-btn:hover {
    background: var(--mclean-gold) !important;
    color: #0a0a0a !important;
}

/* Remove buttons */
.mclean-cart-wrapper .mclean-cart-item-remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #606060 !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    margin: 0.875rem 0.875rem 0 0 !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
    transform: scale(1.05) !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

.mclean-cart-wrapper .mclean-cart-coupon-remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    color: #808080 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
}

.mclean-cart-wrapper .mclean-cart-coupon-remove:hover {
    background: #ef4444 !important;
    color: white !important;
}

/* Ensure proper dark background regardless of Elementor theme */
body .mclean-cart-wrapper,
body.elementor-page .mclean-cart-wrapper {
    background: var(--bg-dark) !important;
}

/* ============================================
   BASE STYLES
   ============================================ */
.mclean-cart-wrapper {
    font-family: -apple-system, 'system-ui', 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
    background: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    min-height: 100vh !important;
    padding: 2rem !important;
    position: relative !important;
}

.mclean-cart-wrapper *,
.mclean-cart-wrapper *::before,
.mclean-cart-wrapper *::after {
    box-sizing: border-box !important;
}

/* Force all text white inside wrapper */
.mclean-cart-wrapper,
.mclean-cart-wrapper p,
.mclean-cart-wrapper span,
.mclean-cart-wrapper label,
.mclean-cart-wrapper h1,
.mclean-cart-wrapper h2,
.mclean-cart-wrapper h3,
.mclean-cart-wrapper h4,
.mclean-cart-wrapper a {
    color: var(--text-primary) !important;
}

.mclean-cart-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   TACTICAL CORNER ACCENTS
   ============================================ */
.mclean-cart-wrapper .mclean-cart-corner-accent {
    position: fixed;
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 100;
}

.mclean-cart-wrapper .mclean-cart-corner-accent::before,
.mclean-cart-wrapper .mclean-cart-corner-accent::after {
    content: '';
    position: absolute;
    background: var(--mclean-gold);
}

.mclean-cart-wrapper .mclean-cart-corner-accent.top-left { top: 20px; left: 20px; }
.mclean-cart-wrapper .mclean-cart-corner-accent.top-left::before { width: 3px; height: 30px; top: 0; left: 0; }
.mclean-cart-wrapper .mclean-cart-corner-accent.top-left::after { width: 30px; height: 3px; top: 0; left: 0; }

.mclean-cart-wrapper .mclean-cart-corner-accent.top-right { top: 20px; right: 20px; }
.mclean-cart-wrapper .mclean-cart-corner-accent.top-right::before { width: 3px; height: 30px; top: 0; right: 0; }
.mclean-cart-wrapper .mclean-cart-corner-accent.top-right::after { width: 30px; height: 3px; top: 0; right: 0; }

.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-left { bottom: 20px; left: 20px; }
.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-left::before { width: 3px; height: 30px; bottom: 0; left: 0; }
.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-left::after { width: 30px; height: 3px; bottom: 0; left: 0; }

.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-right { bottom: 20px; right: 20px; }
.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-right::before { width: 3px; height: 30px; bottom: 0; right: 0; }
.mclean-cart-wrapper .mclean-cart-corner-accent.bottom-right::after { width: 30px; height: 3px; bottom: 0; right: 0; }

/* ============================================
   CART HEADER
   ============================================ */
.mclean-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    margin-bottom: 1.5rem;
}

.mclean-cart-header-content .mclean-cart-header-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mclean-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.mclean-cart-header-content .mclean-cart-header-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.mclean-cart-item-count {
    font-size: 0.875rem;
    color: var(--text-muted) !important;
    background: var(--bg-elevated);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* ============================================
   EMPTY CART STATE
   ============================================ */
.mclean-cart-empty {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
}

.mclean-cart-empty-icon {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.mclean-cart-empty-icon svg {
    opacity: 0.5;
}

.mclean-cart-empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mclean-cart-empty p {
    color: var(--text-muted) !important;
    margin-bottom: 2rem;
}

/* ============================================
   MAIN CART LAYOUT
   ============================================ */
.mclean-cart-wrapper .mclean-cart-main {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
}

.mclean-cart-wrapper .mclean-cart-left {
    min-width: 0 !important;
    width: 100% !important;
}

.mclean-cart-wrapper .mclean-cart-right {
    min-width: 0 !important;
    width: 100% !important;
}

/* ============================================
   CART ITEMS
   ============================================ */
.mclean-cart-wrapper .mclean-cart-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.mclean-cart-wrapper .mclean-cart-item {
    display: grid !important;
    grid-template-columns: 100px 1fr auto auto !important;
    grid-template-rows: 1fr auto !important;
    grid-template-areas:
        "image details details remove"
        "image controls subtotal remove" !important;
    gap: 0 !important;
    padding: 0 !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    transition: var(--transition-normal) !important;
    overflow: hidden !important;
    position: relative !important;
}

.mclean-cart-wrapper .mclean-cart-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 3px !important;
    height: 100% !important;
    background: var(--mclean-gold) !important;
    opacity: 0 !important;
    transition: var(--transition-normal) !important;
    z-index: 1 !important;
}

.mclean-cart-wrapper .mclean-cart-item:hover {
    border-color: var(--mclean-gold) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--mclean-gold-glow) !important;
}

.mclean-cart-wrapper .mclean-cart-item:hover::before {
    opacity: 1 !important;
}

/* Product Image */
.mclean-cart-item-image {
    grid-area: image !important;
    width: 100px !important;
    background: var(--bg-dark) !important;
    border-right: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    min-height: 140px !important;
}

.mclean-cart-item-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 85px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

/* Item Details */
.mclean-cart-wrapper .mclean-cart-item-details {
    grid-area: details !important;
    padding: 1.25rem 3rem 0.75rem 1.25rem !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.mclean-cart-wrapper .mclean-cart-item-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: var(--text-primary) !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.mclean-cart-wrapper .mclean-cart-item-name a,
.mclean-cart-wrapper .mclean-cart-item-name a:link,
.mclean-cart-wrapper .mclean-cart-item-name a:visited,
.mclean-cart-wrapper .mclean-cart-item-name a:active {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
    text-transform: none !important;
    transition: var(--transition-fast) !important;
}

.mclean-cart-wrapper .mclean-cart-item-name a:hover {
    color: var(--mclean-gold) !important;
    text-decoration: none !important;
}

.mclean-cart-item-variation {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    padding: 0.25rem 0.5rem !important;
    background: var(--bg-dark) !important;
    border-radius: 4px !important;
    display: inline-block !important;
    max-width: fit-content !important;
}

.mclean-cart-item-variation dt,
.mclean-cart-item-variation dd {
    display: inline !important;
}

.mclean-cart-item-variation dt {
    color: var(--text-dim) !important;
}

.mclean-cart-item-variation dt::after {
    content: ': ' !important;
}

.mclean-cart-item-variation dd {
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

.mclean-cart-item-price {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
}

/* Quantity Control Area */
.mclean-cart-wrapper .mclean-cart-item-quantity {
    grid-area: controls !important;
    padding: 0 0 1rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Quantity Control */
.mclean-cart-qty-control {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--bg-dark) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.mclean-cart-qty-btn {
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition-fast) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mclean-cart-qty-btn:hover {
    background: var(--mclean-gold) !important;
    color: var(--bg-dark) !important;
}

.mclean-cart-qty-btn:active {
    transform: scale(0.95) !important;
}

.mclean-cart-qty-input,
.mclean-cart-wrapper input[type="number"].mclean-cart-qty-input {
    width: 50px !important;
    height: 38px !important;
    border: none !important;
    border-left: 1px solid var(--border-color) !important;
    border-right: 1px solid var(--border-color) !important;
    background: var(--bg-dark) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    -moz-appearance: textfield !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mclean-cart-qty-input::-webkit-outer-spin-button,
.mclean-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.mclean-cart-qty-input:focus {
    outline: none !important;
    background: var(--bg-input) !important;
}

/* Item Subtotal */
.mclean-cart-item-subtotal {
    grid-area: subtotal !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--mclean-gold) !important;
    padding: 0 1.25rem 1rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
}

/* Remove Button */
.mclean-cart-wrapper .mclean-cart-item-remove {
    grid-area: remove !important;
    align-self: start !important;
    justify-self: end !important;
    margin: 0.875rem 0.875rem 0 0 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-dim) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-fast) !important;
    padding: 0 !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove:hover {
    background: var(--error) !important;
    border-color: var(--error) !important;
    color: white !important;
    transform: scale(1.05) !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove:hover svg {
    stroke: white !important;
}

.mclean-cart-wrapper .mclean-cart-item-remove:active {
    transform: scale(0.95) !important;
}

/* ============================================
   COUPON SECTION
   ============================================ */
.mclean-cart-coupon {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
}

.mclean-cart-coupon-wrapper {
    display: flex;
    gap: 0.75rem;
}

.mclean-cart-coupon-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--input-radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.mclean-cart-coupon-input::placeholder {
    color: var(--text-dim);
}

.mclean-cart-coupon-input:focus {
    outline: none;
    border-color: var(--mclean-gold);
    box-shadow: 0 0 0 3px var(--mclean-gold-glow);
}

.mclean-cart-coupon-btn {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--mclean-gold);
    border-radius: var(--input-radius);
    color: var(--mclean-gold) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mclean-cart-coupon-btn:hover {
    background: var(--mclean-gold);
    color: var(--bg-dark) !important;
}

.mclean-cart-coupon-message {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.mclean-cart-coupon-message.success {
    color: var(--success) !important;
}

.mclean-cart-coupon-message.error {
    color: var(--error) !important;
}

/* Applied Coupons */
.mclean-cart-applied-coupons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mclean-cart-applied-coupon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--success);
    border-radius: var(--input-radius);
    margin-bottom: 0.5rem;
}

.mclean-cart-applied-coupon:last-child {
    margin-bottom: 0;
}

.mclean-cart-coupon-code {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary) !important;
}

.mclean-cart-coupon-discount {
    flex: 1;
    text-align: right;
    color: var(--success) !important;
    font-weight: 600;
}

.mclean-cart-coupon-remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    padding: 0;
}

.mclean-cart-coupon-remove:hover {
    background: var(--error);
    color: white;
}

.mclean-cart-coupon-remove svg {
    stroke: currentColor;
}

/* ============================================
   CART SUMMARY (Right Column)
   ============================================ */
.mclean-cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    position: sticky;
    top: 2rem;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.mclean-cart-summary-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--mclean-gold-glow) 0%, transparent 100%);
    border-bottom: 2px solid var(--mclean-gold);
}

.mclean-cart-summary-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Summary Totals */
.mclean-cart-summary-totals {
    padding: 1.5rem;
}

.mclean-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    border-bottom: 1px solid var(--border-color);
}

.mclean-cart-summary-row:last-child {
    border-bottom: none;
}

.mclean-cart-summary-row.coupon span:last-child,
.mclean-cart-summary-row.discount span:last-child {
    color: var(--success) !important;
    font-weight: 600;
}

.mclean-cart-summary-row.fee.discount {
    color: var(--success) !important;
}

.mclean-cart-summary-row.fee.discount span {
    color: var(--success) !important;
}

.mclean-cart-summary-row.total {
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--mclean-gold);
    border-bottom: none;
}

.mclean-cart-summary-row.total span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mclean-cart-total-amount {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--mclean-gold) !important;
}

.mclean-cart-shipping-estimate {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Trust Badges */
.mclean-cart-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
}

.mclean-cart-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.5rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.mclean-cart-trust-badge:last-child {
    border-right: none;
}

.mclean-cart-trust-badge svg {
    color: var(--mclean-gold);
    opacity: 0.8;
}

.mclean-cart-trust-badge span {
    font-size: 0.7rem;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CART ACTIONS
   ============================================ */
.mclean-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    margin-top: 1.5rem;
}

/* Button Styles */
.mclean-cart-btn-primary,
.mclean-cart-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--input-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none !important;
    border: 2px solid transparent;
}

.mclean-cart-btn-primary {
    background: var(--mclean-gold) !important;
    color: var(--bg-dark) !important;
    border-color: var(--mclean-gold) !important;
}

.mclean-cart-btn-primary:hover {
    background: var(--mclean-gold-dark) !important;
    border-color: var(--mclean-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--mclean-gold-glow-strong);
    color: var(--bg-dark) !important;
}

.mclean-cart-btn-primary svg {
    stroke: var(--bg-dark) !important;
}

.mclean-cart-btn-secondary {
    background: transparent !important;
    color: var(--text-secondary) !important;
    border-color: var(--border-accent) !important;
}

.mclean-cart-btn-secondary:hover {
    color: var(--text-primary) !important;
    border-color: var(--text-secondary) !important;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .mclean-cart-wrapper .mclean-cart-main {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .mclean-cart-wrapper .mclean-cart-right {
        order: -1 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }

    .mclean-cart-wrapper .mclean-cart-left {
        width: 100% !important;
    }

    .mclean-cart-wrapper .mclean-cart-summary {
        position: static !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mclean-cart-wrapper {
        padding: 0.75rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-corner-accent {
        display: none;
    }

    .mclean-cart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Cart Items - Mobile Layout */
    .mclean-cart-wrapper .mclean-cart-item {
        display: grid !important;
        grid-template-columns: 85px 1fr !important;
        grid-template-rows: auto auto !important;
        grid-template-areas:
            "image details"
            "image bottom" !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .mclean-cart-wrapper .mclean-cart-item::before {
        width: 2px !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-image {
        grid-area: image !important;
        width: 85px !important;
        min-height: 120px !important;
        padding: 0.75rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-image img {
        max-height: 70px !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-details {
        grid-area: details !important;
        padding: 0.875rem 2.5rem 0.5rem 1rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-name {
        font-size: 0.875rem !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 3 !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-price {
        font-size: 0.8rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-remove {
        position: absolute !important;
        top: 0.625rem !important;
        right: 0.625rem !important;
        margin: 0 !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-remove svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* Bottom row: qty + subtotal combined */
    .mclean-cart-wrapper .mclean-cart-item-quantity {
        grid-area: bottom !important;
        padding: 0.5rem 1rem 0.75rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        border-top: 1px solid var(--border-color) !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-subtotal {
        grid-area: bottom !important;
        padding: 0.5rem 1rem 0.75rem 0 !important;
        font-size: 1.05rem !important;
        border-top: 1px solid var(--border-color) !important;
    }

    .mclean-cart-wrapper .mclean-cart-qty-control {
        border-radius: 6px !important;
    }

    .mclean-cart-wrapper .mclean-cart-qty-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 1.1rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-qty-input,
    .mclean-cart-wrapper input[type="number"].mclean-cart-qty-input {
        width: 42px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }

    /* Coupon Mobile */
    .mclean-cart-coupon {
        padding: 1rem !important;
    }

    .mclean-cart-coupon-wrapper {
        flex-direction: column !important;
    }

    .mclean-cart-coupon-btn {
        width: 100% !important;
    }

    /* Cart Actions Mobile */
    .mclean-cart-actions {
        flex-direction: column;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }

    .mclean-cart-btn-primary,
    .mclean-cart-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem !important;
    }

    /* Summary Mobile */
    .mclean-cart-summary-totals {
        padding: 1rem !important;
    }

    .mclean-cart-summary-row {
        font-size: 0.9rem !important;
        padding: 0.5rem 0 !important;
    }

    .mclean-cart-summary-row.total .mclean-cart-total-amount {
        font-size: 1.25rem !important;
    }

    .mclean-cart-trust-badges {
        padding: 0.75rem 1rem !important;
    }

    .mclean-cart-trust-badge {
        padding: 0.75rem 0.5rem !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .mclean-cart-wrapper {
        padding: 0.5rem !important;
    }

    .mclean-cart-header {
        padding: 0.75rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item {
        grid-template-columns: 70px 1fr !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-image {
        width: 70px !important;
        min-height: 90px !important;
        padding: 0.375rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-image img {
        max-height: 70px !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-details {
        padding: 0.625rem 2rem 0.375rem 0.75rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-name {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-price {
        font-size: 0.75rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-quantity {
        padding: 0.375rem 0.5rem 0.5rem 0.75rem !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-qty-input,
    .mclean-cart-wrapper input[type="number"].mclean-cart-qty-input {
        width: 38px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-subtotal {
        font-size: 0.95rem !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-remove {
        top: 0.375rem !important;
        right: 0.375rem !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
    }

    .mclean-cart-wrapper .mclean-cart-item-remove svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mclean-cart-item {
    animation: fadeIn 0.4s ease-out;
}

/* Loading State */
.mclean-cart-wrapper.loading {
    pointer-events: none;
    opacity: 0.7;
}

.mclean-cart-wrapper.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--mclean-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Item Remove Animation */
.mclean-cart-item.removing {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(-20px);
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}
