/* General Styles & Variables based on Vendor Panel */
:root {
    --apex-primary: #556ee6;
    --apex-primary-dark: #485ec4;
    --apex-success: #34c38f;
    --apex-warning: #f1b44c;
    --apex-danger: #f46a6a;
    --apex-dark: #343a40;
    --apex-light: #f8f9fa;
    --apex-border-color: #eff2f7;
    --apex-text-muted: #74788d;
}

/* ==========================================================================
   ULTRA PREMIUM SHIPPING PACKAGES STYLE - APEX STORE
   ========================================================================== */

/* 1. کانتینر اصلی کارت (تبدیل سطر جدول به باکس لوکس) */
.cart_totals tr.shipping,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px -10px rgba(34, 113, 177, 0.15); /* سایه رنگی نرم */
    border: 1px solid rgba(34, 113, 177, 0.1);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0 !important;
}

.cart_totals tr.shipping:hover,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(34, 113, 177, 0.25);
    border-color: rgba(34, 113, 177, 0.3);
}

/* 2. هدر جذاب (سمت راست - عنوان بسته) */
.cart_totals tr.shipping th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping th {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* گرادینت آبی نفتی به آبی روشن */
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #fff;
    padding: 18px 25px !important;
    font-size: 16px;
    font-weight: 800;
    border-bottom: 4px solid #3b82f6; /* خط تاکید زیر هدر */
}

/* آیکون کامیون با CSS قبل از متن */
.cart_totals tr.shipping th::before,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping th::before {
    content: '\1F69A'; /* کد ایموجی کامیون */
    font-size: 24px;
    margin-left: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* 3. استایل مدرن نام فروشنده */
.apex-vendor-label {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
}

.apex-vendor-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80; /* دایره سبز آنلاین */
    border-radius: 50%;
    margin-left: 8px;
    box-shadow: 0 0 10px #4ade80;
}

/* 4. بدنه محتوا (بخش انتخاب‌ها) */
.cart_totals tr.shipping.woocommerce-shipping-totals td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td {
    width: 100%;
    padding: 25px !important;
    background: #f8fafc !important;
}


body.cart_page .woocommerce table.shop_table .woocommerce-shipping-totals.shipping th {
    padding: 16px !important;
}

body.cart_page .woocommerce table.shop_table .woocommerce-shipping-totals.shipping td {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    padding: 24px !important;
}

/* 5. لیست روش‌های ارسال (تمیزکاری) */
.woocommerce-shipping-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 6. تبدیل هر گزینه به دکمه/کارت قابل کلیک */
.woocommerce-shipping-methods li {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

/* وقتی انتخاب شد */
.woocommerce-shipping-methods li:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* افکت هاور */
.woocommerce-shipping-methods li:hover {
    border-color: #94a3b8;
    transform: translateX(-5px);
}

/* مخفی کردن دکمه رادیویی پیش‌فرض زشت */
.woocommerce-shipping-methods li input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-left: 15px !important;
    position: relative;
    outline: none;
    flex-shrink: 0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

/* استایل دکمه رادیویی وقتی تیک خورد */
.woocommerce-shipping-methods li input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}

.woocommerce-shipping-methods li input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* استایل متن لیبل */
.woocommerce-shipping-methods li label {
    flex-grow: 1;
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between; /* قیمت برود ته خط */
    align-items: center;
    width: 100%;
}

/* استایل قیمت */
.woocommerce-shipping-methods li label .amount {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 800;
}


/* =========================================
   1. Modern Alert Box (باکس هشدار بالای صفحه)
   ========================================= */
.apex-alert-modern {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border: 1px solid #f0e6d2;
    border-right: 5px solid #ffab00; /* نوار رنگی سمت راست */
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px -10px rgba(255, 171, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-top: 32px;
}

.apex-alert-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(255, 171, 0, 0.2);
}

.apex-alert-icon-box {
    background: #fff8e1;
    color: #ffab00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.apex-alert-icon-box .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.apex-alert-body {
    flex-grow: 1;
}

.apex-alert-title {
    margin: 0 0 5px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #333;
}

.apex-alert-text {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666;
    line-height: 1.6;
}

.apex-alert-badge {
    background: #ffab00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 171, 0, 0.3);
}

/* =========================================
   2. Vendor Section Header (هدر جداکننده فروشندگان)
   ========================================= */
.apex-vendor-separator {
    margin-top: 16px; /* فاصله زیاد از آیتم‌های قبلی */
    margin-bottom: 15px;
    position: relative;
    clear: both;
}

/* اگر اولین آیتم است، فاصله بالا را حذف کن */
tr:first-child td .apex-vendor-separator {
    margin-top: 5px;
}

.apex-vendor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); /* سایه نرم */
    width: 100%;
    box-sizing: border-box;
}

.apex-vendor-card-header .vendor-info {
    display: flex;
    align-items: center;
}

.vendor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.vendor-icon-fallback {
    width: 32px;
    height: 32px;
    background: #f0f4f8;
    color: #627d98;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.vendor-name {
    font-weight: 700;
    font-size: 14px;
    color: #102a43;
}

.vendor-badge {
    background: #e3f2fd;
    color: #1565c0;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* =========================================
   3. Product & Table Styling (زیباسازی جدول)
   ========================================= */

/* حذف بوردرهای پیش‌فرض زشت ووکامرس */
.woocommerce-cart-form__contents tr.cart_item td {
    border-top: none !important;
    border-bottom: 1px dashed #eee; /* خط‌چین ملایم بین محصولات */
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: transparent !important; /* مهم برای نمایش پس‌زمینه گروه */
}

/* استایل دهی به نام محصول برای خوانایی بهتر */
.apex-product-title-wrapper {
    margin-top: 10px;
}

.apex-product-title-wrapper a {
    font-weight: 600;
    font-size: 14px;
    color: #24292e;
    text-decoration: none;
    transition: color 0.2s;
}

.apex-product-title-wrapper a:hover {
    color: #0366d6; /* رنگ لینک در هاور */
}

/* مخفی کردن خط جداکننده آخرین محصول هر گروه برای زیبایی */
tr.cart_item:last-child td {
    border-bottom: none;
}

/* یک حقه بصری: ایجاد پس‌زمینه سفید برای کل گروه فروشنده */
/* این کلاس توسط هوک add_group_class_to_cart_rows اضافه شده */
tr.cart_item[class*="apex-vendor-group-"] {
    background-color: #fff;
}

/* =========================================
   1. Modern Alert Box (حفظ شده از قبل)
   ========================================= */
/* (کدهای apex-alert-modern که قبلا دادم را اگر پاک کردید، دوباره اضافه کنید یا نگه دارید) */

/* =========================================
   2. BOLD Vendor Card Header
   ========================================= */


/* کارت اصلی */
.apex-vendor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px; /* گردی بیشتر */
    border: 1px solid #e2e8f0;
    /* سایه عمیق‌تر برای برجستگی */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* نوار رنگی سمت راست برای جلب توجه */
.apex-vendor-card-header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #3b82f6; /* آبی روشن و مدرن */
    border-radius: 0 4px 4px 0; /* اصلاح جهت برای راست‌چین */
}

.apex-vendor-card-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(59, 130, 246, 0.15); /* سایه رنگی هنگام هاور */
    border-color: #bfdbfe;
}

/* حالت انبار مرکزی */
.apex-vendor-card-header.is-central::before {
    background: #64748b;
}

/* --- بخش اطلاعات (راست) --- */
.vendor-info-group {
    display: flex;
    align-items: center;
}

.vendor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px; /* گردی ملایم بجای دایره کامل برای مدرن بودن */
    margin-left: 18px;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.2s;
}

.vendor-avatar:hover {
    transform: scale(1.05);
}

.vendor-icon-fallback {
    width: 56px;
    height: 56px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    font-size: 24px;
}

.vendor-details {
    display: flex;
    flex-direction: column;
}

.vendor-sub-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.vendor-name-link {
    font-size: 18px; /* فونت درشت‌تر */
    font-weight: 900; /* بولد سنگین */
    color: #1e293b;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.vendor-name-link:hover {
    color: #2563eb;
}

.vendor-name-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #3b82f6;
    transition: transform 0.2s;
}

.vendor-name-link:hover .dashicons {
    transform: translateX(-3px); /* حرکت فلش هنگام هاور */
}

.vendor-rating-badge {
    font-size: 11px;
    color: #d97706; /* طلایی */
    background: #fffbeb;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    width: fit-content;
    font-weight: 600;
}

.vendor-rating-badge .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

/* --- بخش دکمه (چپ) --- */
.vendor-visit-btn {
    background-color: #2563eb; /* آبی پررنگ */
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.vendor-visit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(37, 99, 235, 0.3);
}

.vendor-badge-central {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.vendor-badge-central .dashicons {
    margin-left: 5px;
    color: #94a3b8;
}

/* ریسپانسیو (موبایل) */
@media (max-width: 600px) {
    .apex-vendor-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .vendor-actions {
        width: 100%;
        margin-top: 15px;
        text-align: left; /* دکمه سمت چپ بماند */
        border-top: 1px dashed #e2e8f0;
        padding-top: 15px;
    }

    .vendor-visit-btn {
        width: 100%;
        text-align: center;
    }
}


/* Buy Box Wrapper - Modern Card Style */
.apex-store-buy-box-wrapper {
    margin: 20px 0;
    padding: 0;
    border: 1px solid var(--apex-border-color);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
    overflow: hidden;
    font-family: inherit; /* Inherit theme font */
}

/* Winner Box Styles */
.apex-store-buy-box-winner {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid var(--apex-border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.apex-store-buy-box-winner > div:first-child {
    flex: 1;
    min-width: 200px;
}

.buy-box-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--apex-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.buy-box-price .woocommerce-Price-currencySymbol {
    font-size: 0.75em;
    color: var(--apex-text-muted);
    vertical-align: super;
}

.buy-box-vendor {
    font-size: 14px;
    color: var(--apex-text-muted);
}

.buy-box-vendor strong {
    color: var(--apex-primary);
    font-weight: 600;
}

/* Winner Add to Cart Button */
.buy-box-actions {
    flex-shrink: 0;
}

.buy-box-actions .add-to-cart-btn {
    display: inline-block;
    background-color: var(--apex-primary);
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
}

.buy-box-actions .add-to-cart-btn:hover {
    background-color: var(--apex-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(85, 110, 230, 0.25);
}

/* Other Sellers Section */
.apex-store-other-sellers {
    background-color: #fcfdff;
}

.apex-store-other-sellers h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--apex-dark);
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid var(--apex-border-color);
    background-color: #f8f9fa;
}

.other-sellers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seller-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--apex-border-color);
    transition: background-color 0.2s ease;
}

.seller-item:last-child {
    border-bottom: none;
}

.seller-item:hover {
    background-color: #fff;
}

.seller-info {
    flex: 1;
    font-size: 14px;
    color: var(--apex-text-muted);
}

.seller-info strong {
    color: var(--apex-dark);
    font-weight: 600;
}

.seller-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--apex-dark);
    margin: 0 20px;
    min-width: 100px;
    text-align: left; /* Or right depending on your preference for RTL/LTR */
}

.seller-action {
    flex-shrink: 0;
}

/* Other Sellers Add to Cart Button (Secondary Style) */
.other-sellers-list .add-to-cart-btn {
    background-color: rgba(85, 110, 230, 0.1); /* Soft Primary */
    color: var(--apex-primary);
    font-size: 13px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.other-sellers-list .add-to-cart-btn:hover {
    background-color: var(--apex-primary);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .apex-store-buy-box-winner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .buy-box-actions .add-to-cart-btn {
        width: 100%;
    }

    .seller-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .seller-info {
        width: 100%;
        margin-bottom: 5px;
    }

    .seller-price {
        margin: 0;
        flex: 1;
        text-align: right;
    }
}

/* --- Keep existing necessary styles below if needed (e.g. for dashboard shortcode tables if not fully replaced yet) --- */
/* (Optional: You can keep the old styles below this line if they are used elsewhere, otherwise remove them for a clean file) */
.apex-store-notice {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem
}

.notice-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc
}

.notice-error {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7
}

.apex-alert-modern {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border: 1px solid #f0e6d2;
    border-right: 5px solid #ffab00;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px -10px rgba(255, 171, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-top: 32px;
    gap: 15px;
}

.apex-alert-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(255, 171, 0, 0.2);
}

.apex-alert-icon-box {
    background: #fff8e1;
    color: #ffab00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apex-alert-icon-box .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.apex-alert-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apex-alert-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #333;
}

.apex-alert-text {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666;
    line-height: 1.6;
}

.apex-alert-badge {
    background: #ffab00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 171, 0, 0.3);
    align-self: flex-start;
}

@media (max-width: 575.98px) {
    .apex-alert-modern {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }

    .apex-alert-icon-box {
        width: 42px;
        height: 42px;
    }

    .apex-alert-icon-box .dashicons {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .apex-alert-badge {
        align-self: flex-start;
        margin-top: 4px;
    }
}


.apex-premium-buybox-wrapper {
    font-family: inherit;
    direction: rtl;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    clear: both;
}

.apex-bb-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.apex-bb-campaign {
    border: 2px solid transparent;
    position: relative;
}

.apex-bb-campaign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #ef4444, #f59e0b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.apex-bb-camp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #fff;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
}

.apex-bb-camp-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
}

.apex-bb-camp-title img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.apex-bb-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
    font-family: monospace;
}

.apex-bb-timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    min-width: 32px;
}

.apex-bb-timer b {
    font-size: 14px;
    line-height: 1;
}

.apex-bb-timer span {
    font-size: 9px;
    opacity: 0.8;
}

.apex-bb-body {
    padding: 24px;
}

.apex-bb-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 24px;
    position: relative;
}

.apex-bb-discount-badge {
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    position: absolute;
    right: 0;
    top: 4px;
}

.apex-bb-old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 15px;
    margin-bottom: 4px;
}

.apex-bb-current-price {
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.apex-bb-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.apex-bb-meta-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
}

.apex-bb-meta-list li:last-child {
    margin-bottom: 0;
}

.apex-bb-meta-list iconify-icon {
    font-size: 18px;
    color: #64748b;
}

.apex-bb-meta-label {
    color: #64748b;
}

.apex-bb-btn-primary {
    width: 100%;
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.apex-bb-btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.apex-bb-others-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.apex-bb-others-title {
    background: #f8fafc;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.apex-bb-others-title iconify-icon {
    font-size: 20px;
    color: #3b82f6;
}

.apex-bb-others-list {
    display: flex;
    flex-direction: column;
}

.apex-bb-other-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.apex-bb-other-item:last-child {
    border-bottom: none;
}

.apex-bb-other-item:hover {
    background: #f8fafc;
}

.apex-bb-other-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apex-bb-other-vendor {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.apex-bb-other-vendor iconify-icon {
    color: #94a3b8;
}

.apex-bb-other-warranty {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.apex-bb-other-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.apex-bb-other-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.apex-bb-other-price del {
    font-size: 12px;
    color: #94a3b8;
}

.apex-bb-other-price span {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.apex-bb-btn-outline {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.apex-bb-btn-outline:hover {
    background: #ef4444;
    color: #fff;
}