@charset "UTF-8";

/* =========================================
   Global Reset & Variables
   ========================================= */
:root {
    --theme-primary: #3b82f6; /* Blue-500 */
    --theme-primary-dark: #2563eb; /* Blue-600 */
    --theme-primary-fade: rgba(59, 130, 246, 0.08);
    --theme-secondary: #64748b; /* Slate-500 */
    --theme-bg-body: #f8fafc; /* Slate-50 */
    --theme-bg-card: #ffffff;
    --theme-text-dark: #1e293b; /* Slate-800 */
    --theme-text-body: #475569; /* Slate-600 */
    --theme-border: #e2e8f0; /* Slate-200 */
    
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

body {
    background-color: var(--theme-bg-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--theme-text-body);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Layout & Container
   ========================================= */
.mccart-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.mccart-header {
    margin-bottom: 30px;
    position: relative;
    padding: 30px 0 10px;
    text-align: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
}

.mccart-header::before {
    display: none;
}

.feature-badge {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 10px 20px;
    border-radius: 50rem;
    font-size: 0.9rem;
    color: var(--theme-text-body);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border-color: var(--theme-primary);
    background: #fff;
}

.header-content {
    position: relative;
    z-index: 1;
}

.mccart-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* Remove the old underline bar */
    height: 0;
    background: transparent;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--theme-text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.header-desc {
    font-size: 1.1rem;
    color: var(--theme-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Order Configuration Page Specifics
   ========================================= */

.config-group-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--theme-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.config-title {
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--theme-border);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--theme-text-dark);
    display: flex;
    align-items: center;
}

.config-title i {
    margin-right: 12px;
    color: var(--theme-primary);
}

.config-body {
    padding: 24px;
}

.config-option-row {
    margin-bottom: 24px;
}

.config-option-row:last-child {
    margin-bottom: 0;
}

.config-label {
    display: block;
    font-weight: 600;
    color: var(--theme-text-dark);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Item Grids for Radios/Checks */
.config-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.config-item {
    position: relative;
}

.config-select-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 48px;
    width: 100%;
}

.btn-check:checked + .config-select-label {
    border-color: var(--theme-primary);
    background: var(--theme-primary-fade);
    color: var(--theme-primary);
    box-shadow: 0 0 0 1px var(--theme-primary);
}

.config-select-label:hover {
    border-color: var(--theme-primary);
}

/* OS Select Options */
.os-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.os-select-option img {
    width: 18px;
    height: 18px;
}

/* Range Sliders */
.config-range-wrapper {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--theme-border);
}

.form-range::-webkit-slider-thumb {
    background: var(--theme-primary);
}

.form-range::-moz-range-thumb {
    background: var(--theme-primary);
}

.config-input {
    border-radius: 8px;
    border: 1px solid var(--theme-border);
    padding: 10px 14px;
}

.config-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px var(--theme-primary-fade);
}

/* Summary Card */
.summary-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.summary-header {
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--theme-border);
}

.summary-body {
    padding: 24px;
}

.summary-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid var(--theme-border);
}

.config-divider {
    height: 1px;
    background: var(--theme-border);
    margin: 30px 0;
}

/* Sticky behavior */
@media (min-width: 1200px) {
    .sticky-top {
        position: sticky;
        top: 2rem;
        z-index: 1000;
    }
}

/* Mobile specific fixes */
@media (max-width: 767.98px) {
    .config-group-card {
        border-radius: 12px;
    }
    
    .config-body {
        padding: 16px;
    }
    
    .config-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mccart-filter-box {
    background: var(--theme-bg-card);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--theme-border);
    margin-bottom: 30px;
}

/* =========================================
   New Filter System Design (Modern SaaS Style)
   ========================================= */

/* Level 1: Underline Tabs */
.mccart-tabs-wrapper {
    border-bottom: 1px solid var(--theme-border);
    margin-bottom: 24px;
}

.mccart-tabs {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar */
}

.mccart-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 12px 4px;
    color: var(--theme-text-body);
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.tab-item:hover {
    color: var(--theme-text-dark);
}

.tab-item.active {
    color: var(--theme-primary);
    border-bottom-color: var(--theme-primary);
    font-weight: 600;
}

.tab-item i {
    font-size: 1.1em;
}

/* Level 2: Region Cards Grid */
.mccart-sub-filter-box {
    background: transparent;
}

.filter-label-row {
    margin-bottom: 16px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.filter-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.region-card {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 160px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.region-card:hover {
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--theme-primary);
}

.region-card.active {
    background: #eff6ff;
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--theme-primary), 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.region-card.active::after {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: var(--theme-primary);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
}

.region-card .flag-icon {
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 2px;
}

.region-card i.fa-globe {
    opacity: 0.5;
}
.mccart-filter-row-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mccart-filter-label {
    font-weight: 700;
    color: var(--theme-text-dark);
    font-size: 1rem;
    min-width: 100px;
}

.mccart-filter-options-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.region-option {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--theme-text-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--theme-bg-body); /* Slight bg for better visibility */
}

.region-option:hover {
    background: #e2e8f0;
    color: var(--theme-text-dark);
}

.region-option.active {
    background: var(--theme-primary);
    color: #fff; /* White text on active for better contrast with flag */
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.region-option .flag-icon {
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: 1.2em; /* Slightly larger flags */
    line-height: 1em;
}

/* =========================================
   Product Card v22.0 (Crystal Clear Glass - High Contrast)
   ========================================= */
.product-card-tier {
    /* Crystal Clear Glass Material */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.05) 100%
    );
    
    /* Strong Specular Borders (Simulate thick glass edge) */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1.5px solid rgba(255, 255, 255, 0.95); /* Bright top edge */
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    
    border-radius: 36px;
    padding: 32px;
    
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy pop */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    /* Prismatic Shadows */
    box-shadow: 
        0 8px 32px -4px rgba(31, 38, 135, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.2); /* Inner volume */
        
    backdrop-filter: blur(24px) saturate(180%); /* Moderate blur, High saturation */
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Strong Gloss Reflection */
.product-card-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.0) 100%
    );
    z-index: 0;
    pointer-events: none;
    border-radius: 36px 36px 100% 100% / 36px 36px 20% 20%;
    opacity: 0.6;
}

/* Hover State - "Hyper Glass" with Blue Border Glow */
.product-card-tier:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.2) 100%
    );
    /* Restore Blue Border Effect */
    border-color: var(--theme-primary);
    box-shadow: 
        0 20px 50px -10px rgba(59, 130, 246, 0.25), /* Blue tinted shadow */
        inset 0 0 0 1px rgba(59, 130, 246, 0.1), /* Subtle inner blue */
        0 0 20px rgba(59, 130, 246, 0.4); /* Stronger Outer Blue Glow */
    backdrop-filter: blur(30px) saturate(200%);
    z-index: 10;
}

.card-bg-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 10rem;
    color: var(--theme-primary);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
    transition: all 0.5s ease;
}

.product-card-tier:hover .card-bg-decoration {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.08; /* Slightly more visible on hover */
}

/* =========================================
   Exquisite Contact Popup Card
   ========================================= */
.contact-card {
    position: absolute;
    bottom: 50px; /* Position above the icon */
    left: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.1);
    z-index: 1000;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy effect */
    transform-origin: bottom left;
}

.contact-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(to right, #f8fafc, #ffffff);
    border-radius: 16px 16px 0 0;
}

.contact-card-header h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.5px;
}

.contact-card-body {
    padding: 20px;
}

.contact-group {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.contact-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.contact-row:hover {
    background-color: #f1f5f9;
}

.contact-name {
    color: #94a3b8;
}

.contact-value {
    color: #475569;
    font-weight: 600;
    font-family: 'Monaco', 'Consolas', monospace; /* Tech feel for numbers */
}

/* Close button custom styling */
#close-contact-card {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

#close-contact-card:hover {
    opacity: 1;
}

/* Shine effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

/* =========================================
   Product Card V5 - Ultra Premium Redesign
   ========================================= */
.product-card-v5 {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 24px 20px; /* 恢复紧凑内边距 */
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* 核心修复：允许高度自适应，不要硬性截断 */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-card-v5:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    border-color: var(--theme-primary);
    z-index: 10;
}

.product-card-v5 .card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* 强制一行四个的强制约束 */
@media (min-width: 1200px) {
    .row.g-4 > .col-xl-3 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
        padding-left: 8px;
        padding-right: 8px;
    }
    .row.g-4 {
        margin-left: -8px;
        margin-right: -8px;
        display: flex;
        flex-wrap: wrap;
    }
}

/* 硬件配置自适应布局 - 强制单列以保证大尺寸下文字不换行 */
.v5-feature-list {
    display: flex !important;
    flex-direction: column !important; /* 强制单列 */
    gap: 12px !important; /* 间距 */
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important;
    list-style: none !important;
}

.v5-feature-item {
    display: flex !important; 
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.v5-feature-icon {
    width: 32px; /* 恢复稍微大一点的图标 */
    height: 32px;
    color: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 10px;
}

.v5-feature-icon i {
    font-size: 1.1rem;
}

.v5-feature-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column; /* 恢复纵向排列 */
    gap: 2px;
}

.v5-feature-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.v5-feature-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    white-space: normal; /* 允许换行，但在单列下会有更多空间 */
    word-break: break-word;
}

/* 价格与按钮区域 */
.card-footer-v5 {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px dashed #edf2f7;
}

.price-wrapper {
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 4px;
}

.price-value-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency-symbol {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-primary);
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--theme-primary);
    line-height: 1;
}

.price-cycle {
    font-size: 0.85rem;
    color: #a0aec0;
    font-weight: 500;
}

.buy-button-v5 {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: var(--theme-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.buy-button-v5:hover {
    background: var(--theme-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    color: #fff;
}

/* 产品徽章样式 - 紧贴右上角 */
.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 0 24px 0 16px; /* 匹配卡片圆角并向内收缩 */
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.05);
}

.badge-recommend {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: #fff;
}

.badge-hot {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

/* 推荐/爆款/新品卡片特殊样式 */
.product-card-v5.is-recommend {
    border: 2px solid rgba(79, 70, 229, 0.3);
    background: linear-gradient(to bottom, #ffffff, #f5f7ff);
}

.product-card-v5.is-hot {
    border: 2px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(to bottom, #ffffff, #fff5f5);
}

.product-card-v5.is-new {
    border: 2px solid rgba(16, 185, 129, 0.3);
}

/* =========================================
   Viewcart Page Specifics
   ========================================= */
.product-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-option-card {
    position: relative;
}

.payment-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #edf2f7;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.payment-name {
    font-weight: 600;
    color: #4a5568;
}

.payment-option-card .check-mark {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.btn-check:checked + .payment-label {
    border-color: var(--theme-primary);
    background: rgba(59, 130, 246, 0.02);
}

.btn-check:checked + .payment-label .check-mark {
    opacity: 1;
    transform: scale(1);
}

.bg-primary-soft {
    background: rgba(59, 130, 246, 0.1);
}
    background: linear-gradient(to bottom, #ffffff, #f0fff4);
}

/* Header Features */
.header-features {
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-text-body);
    box-shadow: 0 4px 15px -3px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    cursor: default;
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
    background: #ffffff;
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

.feature-badge i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.feature-badge:hover i {
    transform: scale(1.1) rotate(5deg);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Styles */
.cart-header-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-bottom: 1px solid var(--theme-border);
    position: relative;
    overflow: hidden;
}

.cart-header-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.cart-header-wrapper h1 {
    color: #1e293b !important;
}

.cart-header-wrapper p.lead {
    color: #475569 !important;
}

/* =========================================
   Order Configuration Page (configureproduct)
   ========================================= */
.config-group-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.config-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.config-title i {
    width: 32px;
    height: 32px;
    background: var(--theme-primary-fade);
    color: var(--theme-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
}

.config-option-row {
    margin-bottom: 25px;
}

.config-option-row:last-child {
    margin-bottom: 0;
}

.config-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
    display: block;
}

/* Custom Checkbox/Radio Labels */
.config-item-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.config-select-label {
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.config-select-label:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    background: #fff;
}

.btn-check:checked + .config-select-label {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* OS Icon styling in select */
.os-select-option img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Range Slider Styling */
.config-range-wrapper {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.form-range {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    appearance: none;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid var(--theme-primary);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: -9px;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

/* Order Summary Sidebar */
.summary-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.summary-header {
    background: #f8fafc;
    padding: 20px 24px;
    border-bottom: 1px solid #edf2f7;
}

.summary-header h5 {
    margin: 0;
    font-weight: 800;
    color: #1e293b;
    font-size: 1.1rem;
}

.summary-body {
    padding: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.summary-label {
    color: #64748b;
}

.summary-value {
    font-weight: 600;
    color: #1e293b;
}

.summary-total-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

.summary-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.summary-total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--theme-primary);
}

.summary-footer {
    padding: 24px;
    background: #f8fafc;
}

/* Password & Input Group */
.config-input {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    font-size: 0.95rem;
}

.config-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Mobile Bottom Total Bar */
@media (max-width: 767.98px) {
    .mobile-bottom-total {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 1.25rem;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        z-index: 1050;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-bottom-total .total {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--theme-primary);
    }
    
    .mobile-hide {
        display: none !important;
    }
    
    /* Adjust body padding for mobile bar */
    body {
        padding-bottom: 5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .summary-card {
        position: static;
        margin-top: 30px;
    }
}
