/* ============================================
   CEO TOYS TCG - Custom Theme
   Color Palette: Orange (#FF6B00), Black (#1A1A1A), White (#FFFFFF)
   ============================================ */

/* Mitr Font Family */
@font-face { font-family: 'Mitr'; src: url('font/Mitr-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url('font/Mitr-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url('font/Mitr-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url('font/Mitr-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url('font/Mitr-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mitr'; src: url('font/Mitr-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --ceo-orange: #FF6B00;
    --ceo-orange-hover: #E55F00;
    --ceo-orange-light: #FFF3E8;
    --ceo-orange-glow: rgba(255, 107, 0, 0.15);
    --ceo-black: #1A1A1A;
    --ceo-dark: #2D2D2D;
    --ceo-gray-900: #333333;
    --ceo-gray-700: #555555;
    --ceo-gray-500: #888888;
    --ceo-gray-300: #CCCCCC;
    --ceo-gray-100: #F5F5F5;
    --ceo-white: #FFFFFF;
    --ceo-success: #22C55E;
    --ceo-danger: #EF4444;
    --ceo-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    --ceo-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --ceo-shadow-hover: 0 8px 24px rgba(255, 107, 0, 0.15);
    --ceo-radius: 12px;
    --ceo-radius-sm: 8px;
    --ceo-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ceo-font: 'Mitr', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */
body {
    font-family: var(--ceo-font);
    background-color: var(--ceo-gray-100);
    color: var(--ceo-gray-900);
    overflow-x: hidden;
}

::selection {
    background-color: var(--ceo-orange);
    color: var(--ceo-white);
}

/* Override eTrade default colors */
.axil-header .header-action .action-list > li > a:hover,
.axil-header .header-action .action-list > li > a:focus {
    color: var(--ceo-orange) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.ceo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--ceo-radius-sm);
    font-family: var(--ceo-font);
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ceo-transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.ceo-btn-primary {
    background-color: var(--ceo-orange);
    color: var(--ceo-white);
    border-color: var(--ceo-orange);
}

.ceo-btn-primary:hover {
    background-color: var(--ceo-orange-hover);
    border-color: var(--ceo-orange-hover);
    color: var(--ceo-white);
    transform: translateY(-2px);
    box-shadow: var(--ceo-shadow-hover);
}

.ceo-btn-outline {
    background-color: transparent;
    color: var(--ceo-black);
    border-color: var(--ceo-gray-300);
}

.ceo-btn-outline:hover {
    background-color: var(--ceo-black);
    color: var(--ceo-white);
    border-color: var(--ceo-black);
    transform: translateY(-2px);
}

.ceo-btn-outline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--ceo-radius-sm);
    border: 2px solid var(--ceo-gray-300);
    background: transparent;
    color: var(--ceo-gray-700);
    cursor: pointer;
    transition: var(--ceo-transition);
    font-size: 18px;
}

.ceo-btn-outline-icon:hover {
    border-color: var(--ceo-orange);
    color: var(--ceo-orange);
}

.ceo-btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.ceo-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   HEADER
   ============================================ */
.ceo-header-top {
    background-color: var(--ceo-black);
    padding: 8px 0;
    font-size: 13px;
}

.ceo-header-top .header-top-info span {
    color: var(--ceo-gray-300);
    font-weight: 400;
}

.ceo-header-top .header-top-info i {
    color: var(--ceo-orange);
    margin-right: 6px;
}

.ceo-header-top .header-top-link .quick-link {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.ceo-header-top .header-top-link .quick-link li a {
    color: var(--ceo-gray-300);
    text-decoration: none;
    font-size: 13px;
    transition: var(--ceo-transition);
}

.ceo-header-top .header-top-link .quick-link li a:hover {
    color: var(--ceo-orange);
}

.ceo-header-top .header-top-link .quick-link li a i {
    margin-right: 4px;
}

/* 3D Register Button */
.btn-register-3d {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: var(--ceo-font);
    color: #fff !important;
    background: linear-gradient(180deg, #FF8C33 0%, #FF6B00 50%, #E55F00 100%);
    border: none;
    border-radius: 50px;
    box-shadow:
        0 4px 0 #B34700,
        0 6px 12px rgba(255, 107, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    transition: all 0.15s ease;
    transform: translateY(0);
    position: relative;
    cursor: pointer;
}

.btn-register-3d:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #FF9E55 0%, #FF7E1A 50%, #FF6B00 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #B34700,
        0 8px 20px rgba(255, 107, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-register-3d:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 0 #B34700,
        0 2px 4px rgba(255, 107, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-register-3d i {
    font-size: 13px;
    margin-right: 0 !important;
}

/* Member Greeting (logged in) */
.member-greeting {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.btn-member-3d {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: var(--ceo-font);
    color: #FF6B00 !important;
    background: rgba(255,107,0,0.08);
    border: 2px solid rgba(255,107,0,0.2);
    border-radius: 50px;
    text-decoration: none !important;
    cursor: default;
    transition: all 0.2s;
}

.btn-member-3d i {
    font-size: 13px;
}

.btn-member-orders {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 7px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: var(--ceo-font);
    color: var(--ceo-orange) !important;
    background: rgba(255,107,0,0.06);
    border: 1.5px solid rgba(255,107,0,0.2);
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-member-orders:hover {
    background: var(--ceo-orange);
    color: #fff !important;
    border-color: var(--ceo-orange);
}

.btn-member-orders i {
    font-size: 12px;
}

.btn-member-logout {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239,68,68,0.08);
    color: #EF4444 !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-member-logout:hover {
    background: #EF4444;
    color: #fff !important;
}

/* Main Nav */
.ceo-mainmenu {
    background-color: var(--ceo-white) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.ceo-mainmenu .header-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ceo-mainmenu .header-action {
    margin-left: auto;
}

.ceo-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ceo-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.ceo-logo .logo-text {
    font-family: var(--ceo-font);
    font-size: 26px;
    font-weight: 900;
    color: var(--ceo-black);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.ceo-logo .logo-text .accent {
    color: var(--ceo-orange);
}

/* ============================================
   3D SHOPPING CART BUTTON
   ============================================ */
.shopping-cart a.cart-dropdown-btn,
.shopping-cart a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #FF8C00, #FF6B00);
    box-shadow:
        0 4px 0 #CC5500,
        0 6px 12px rgba(255, 107, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.shopping-cart a.cart-dropdown-btn:hover,
.shopping-cart a:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #CC5500,
        0 10px 20px rgba(255, 107, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.shopping-cart a.cart-dropdown-btn:active,
.shopping-cart a:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 #CC5500,
        0 3px 6px rgba(255, 107, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shopping-cart a i {
    font-size: 20px;
    color: #fff !important;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

/* Cart count badge */
.header-action .shopping-cart .cart-count,
.shopping-cart .cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: #EF4444 !important;
    color: #fff !important;
    font-family: var(--ceo-font);
    font-size: 11px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
    border: 2px solid #fff;
    z-index: 2;
}

/* Pulse animation when count > 0 */
.shopping-cart .cart-count.has-items {
    animation: cartPulse 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   HERO BANNER
   ============================================ */
.ceo-hero-banner {
    background: linear-gradient(135deg, var(--ceo-black) 0%, #2D2D2D 50%, #3D3D3D 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ceo-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ceo-orange);
    color: var(--ceo-white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-family: var(--ceo-font);
    font-size: 48px;
    font-weight: 800;
    color: var(--ceo-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 .accent {
    color: var(--ceo-orange);
}

.hero-content p {
    color: var(--ceo-gray-300);
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions .ceo-btn-outline {
    color: var(--ceo-white);
    border-color: rgba(255,255,255,0.3);
}

.hero-actions .ceo-btn-outline:hover {
    background: var(--ceo-white);
    color: var(--ceo-black);
    border-color: var(--ceo-white);
}

/* LIVE TikTok Button */
.ceo-btn-live {
    background: #EF4444;
    color: var(--ceo-white);
    border-color: #EF4444;
    position: relative;
}

.ceo-btn-live:hover {
    background: #DC2626;
    border-color: #DC2626;
    color: var(--ceo-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.ceo-btn-live .live-dot {
    width: 10px;
    height: 10px;
    background: var(--ceo-white);
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 380px;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   CATEGORY BAR
   ============================================ */
.ceo-category-bar {
    background: var(--ceo-white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--ceo-gray-300);
    background: var(--ceo-white);
    color: var(--ceo-gray-700);
    font-family: var(--ceo-font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--ceo-transition);
    white-space: nowrap;
}

.chip:hover {
    border-color: var(--ceo-orange);
    color: var(--ceo-orange);
}

.chip.active {
    background: var(--ceo-orange);
    border-color: var(--ceo-orange);
    color: var(--ceo-white);
}

.chip i {
    font-size: 14px;
}

.chip-img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================
   SHOP SECTION
   ============================================ */
.ceo-shop-section {
    padding: 40px 0 80px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-header-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.section-title {
    font-family: var(--ceo-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--ceo-black);
    margin: 0;
}

.product-count {
    font-size: 14px;
    color: var(--ceo-gray-500);
    font-weight: 400;
}

.shop-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-filters {
    display: flex;
    gap: 10px;
}

.ceo-select {
    padding: 10px 36px 10px 14px;
    border: 2px solid #E5E5E5;
    border-radius: var(--ceo-radius-sm);
    font-family: var(--ceo-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--ceo-gray-700);
    background: var(--ceo-white);
    cursor: pointer;
    transition: var(--ceo-transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.ceo-select:focus {
    outline: none;
    border-color: var(--ceo-orange);
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--ceo-white);
    border: 2px solid #E5E5E5;
    border-radius: var(--ceo-radius-sm);
    padding: 2px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--ceo-gray-500);
    cursor: pointer;
    transition: var(--ceo-transition);
    font-size: 15px;
}

.view-btn.active {
    background: var(--ceo-orange);
    color: var(--ceo-white);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: var(--ceo-white);
    border-radius: var(--ceo-radius);
    overflow: hidden;
    transition: var(--ceo-transition);
    margin-bottom: 30px;
    border: 1px solid #F0F0F0;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--ceo-shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-card .thumbnail {
    position: relative;
    padding: 20px;
    background: var(--ceo-gray-100);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .thumbnail img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .thumbnail img {
    transform: scale(1.08);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--ceo-danger);
    color: var(--ceo-white);
}

.badge-new {
    background: var(--ceo-orange);
    color: var(--ceo-white);
}

.badge-hot {
    background: var(--ceo-black);
    color: var(--ceo-white);
}

/* Product Hover Actions */
.product-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: var(--ceo-transition);
    z-index: 3;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ceo-transition);
    font-size: 15px;
}

.btn-add-cart {
    background: var(--ceo-orange);
    color: var(--ceo-white);
    flex: 1;
    border-radius: var(--ceo-radius-sm);
    font-family: var(--ceo-font);
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    max-width: 180px;
}

.btn-add-cart:hover {
    background: var(--ceo-orange-hover);
    transform: scale(1.02);
}

/* Sold Out Product */
.product-sold-out .thumbnail img {
    opacity: 0.45;
    filter: grayscale(40%);
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.sold-out-badge {
    background: rgba(239, 68, 68, 0.92);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-family: var(--ceo-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.product-actions-disabled {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.product-sold-out:hover .product-actions-disabled {
    opacity: 1;
    transform: translateY(0);
}

.btn-sold-out {
    background: #EF4444 !important;
    color: #fff !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-sold-out:hover {
    background: #EF4444 !important;
    transform: none !important;
}

.btn-quick-view {
    background: var(--ceo-white);
    color: var(--ceo-gray-700);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-quick-view:hover {
    background: var(--ceo-black);
    color: var(--ceo-white);
}

.btn-wishlist-card {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--ceo-white);
    color: var(--ceo-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ceo-transition);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 3;
    opacity: 0;
}

.product-card:hover .btn-wishlist-card {
    opacity: 1;
}

.btn-wishlist-card:hover,
.btn-wishlist-card.active {
    background: var(--ceo-danger);
    color: var(--ceo-white);
}

/* Product Content */
.product-info {
    padding: 16px 20px 20px;
}

.product-category {
    font-size: 12px;
    color: var(--ceo-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-family: var(--ceo-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--ceo-black);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: var(--ceo-transition);
}

.product-name:hover {
    color: var(--ceo-orange);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-family: var(--ceo-font);
    font-size: 22px;
    font-weight: 800;
    color: #16A34A;
}

.price-old {
    font-size: 14px;
    color: var(--ceo-gray-500);
    text-decoration: line-through;
    font-weight: 400;
}

.price-discount {
    font-size: 12px;
    color: var(--ceo-danger);
    font-weight: 700;
    background: #FEF2F2;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 1px;
}

.stars i {
    font-size: 12px;
    color: #FFB800;
}

.stars i.empty {
    color: #DDD;
}

.rating-count {
    font-size: 12px;
    color: var(--ceo-gray-500);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--ceo-transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--ceo-white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #F0F0F0;
    background: var(--ceo-black);
}

.cart-sidebar-header h4 {
    margin: 0;
    font-family: var(--ceo-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--ceo-white);
}

.cart-sidebar-header h4 i {
    color: var(--ceo-orange);
    margin-right: 8px;
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--ceo-white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--ceo-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    background: var(--ceo-orange);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
    color: var(--ceo-gray-500);
}

.cart-empty i {
    font-size: 64px;
    margin-bottom: 16px;
    color: var(--ceo-gray-300);
}

.cart-empty p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ceo-gray-700);
}

.cart-empty span {
    font-size: 13px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--ceo-radius-sm);
    background: var(--ceo-gray-100);
    margin-bottom: 12px;
    transition: var(--ceo-transition);
    position: relative;
}

.cart-item:hover {
    background: var(--ceo-orange-light);
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ceo-white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--ceo-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ceo-black);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--ceo-orange);
    margin-bottom: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #DDD;
    background: var(--ceo-white);
    color: var(--ceo-gray-700);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ceo-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty button:first-child {
    border-radius: 6px 0 0 6px;
}

.cart-item-qty button:last-child {
    border-radius: 0 6px 6px 0;
}

.cart-item-qty button:hover {
    background: var(--ceo-orange);
    color: var(--ceo-white);
    border-color: var(--ceo-orange);
}

.cart-item-qty span {
    width: 36px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    background: var(--ceo-white);
}

.cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ceo-gray-500);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ceo-transition);
}

.cart-item-remove:hover {
    background: var(--ceo-danger);
    color: var(--ceo-white);
}

/* Cart Footer */
.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 2px solid var(--ceo-orange);
    background: var(--ceo-white);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-subtotal span:first-child {
    font-size: 15px;
    font-weight: 500;
    color: var(--ceo-gray-700);
}

.cart-subtotal-amount {
    font-family: var(--ceo-font);
    font-size: 22px;
    font-weight: 800;
    color: var(--ceo-orange);
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .ceo-btn {
    flex: 1;
    justify-content: center;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.ceo-modal-content {
    border: none;
    border-radius: var(--ceo-radius);
    overflow: hidden;
}

.ceo-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--ceo-black);
    color: var(--ceo-white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ceo-transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ceo-modal-close:hover {
    background: var(--ceo-orange);
    transform: rotate(90deg);
}

/* Stock number */
.qv-stock .stock-num {
    font-weight: 400;
    opacity: 0.7;
}

.quick-view-image {
    background: var(--ceo-gray-100);
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.quick-view-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.quick-view-content {
    padding: 32px;
}

.qv-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ceo-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.qv-title {
    font-family: var(--ceo-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--ceo-black);
    line-height: 1.3;
    margin-bottom: 12px;
}

.qv-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.qv-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qv-price .current {
    font-size: 28px;
    font-weight: 800;
    color: var(--ceo-black);
}

.qv-price .old {
    font-size: 18px;
    color: var(--ceo-gray-500);
    text-decoration: line-through;
}

.qv-price .discount-badge {
    background: #FEF2F2;
    color: var(--ceo-danger);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.qv-description {
    font-size: 14px;
    color: var(--ceo-gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}

.qv-stock {
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.qv-stock.in-stock {
    color: var(--ceo-success);
}

.qv-stock.low-stock {
    color: #F59E0B;
}

.qv-stock.out-of-stock {
    color: var(--ceo-danger);
}

.qv-quantity {
    margin-bottom: 20px;
}

.qv-quantity label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ceo-gray-700);
    margin-bottom: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    background: #f0f0f0;
    border-radius: 16px;
    padding: 4px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1), 0 1px 2px rgba(255,255,255,0.8);
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    color: var(--ceo-gray-700);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.12), -2px -2px 6px rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.qty-btn:hover {
    background: linear-gradient(145deg, var(--ceo-orange), #e05500);
    color: var(--ceo-white);
    box-shadow: 3px 3px 10px rgba(255,107,0,0.3), -2px -2px 6px rgba(255,255,255,0.5);
}

.qty-btn:active {
    background: linear-gradient(145deg, #e05500, var(--ceo-orange));
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2), inset -1px -1px 3px rgba(255,255,255,0.1);
    transform: scale(0.95);
}

.quantity-selector input {
    width: 52px;
    height: 48px;
    border: none;
    border-radius: 12px;
    text-align: center;
    font-family: var(--ceo-font);
    font-size: 20px;
    font-weight: 800;
    background: #fff !important;
    color: #1A1A1A !important;
    -webkit-text-fill-color: #1A1A1A;
    box-shadow: inset 1px 1px 4px rgba(0,0,0,0.08), 0 1px 2px rgba(255,255,255,0.9);
    -moz-appearance: textfield;
}

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

.quantity-selector input:focus {
    outline: none;
    box-shadow: inset 1px 1px 4px rgba(0,0,0,0.08), 0 0 0 2px rgba(255,107,0,0.3);
}

.qv-actions {
    display: flex;
    gap: 10px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.ceo-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ceo-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--ceo-black);
    color: var(--ceo-white);
    border-radius: var(--ceo-radius-sm);
    font-family: var(--ceo-font);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--ceo-shadow-lg);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    max-width: 400px;
    border-left: 4px solid var(--ceo-orange);
}

.ceo-toast i {
    font-size: 18px;
    color: var(--ceo-orange);
}

.ceo-toast.toast-exit {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   LOAD MORE
   ============================================ */
.ceo-load-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.ceo-footer {
    background: var(--ceo-black);
    padding: 60px 0 0;
    margin-top: 40px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--ceo-font);
    font-size: 24px;
    font-weight: 900;
    color: var(--ceo-white);
    margin-bottom: 16px;
}

.footer-logo .accent {
    color: var(--ceo-orange);
}

.footer-widget p {
    color: var(--ceo-gray-500);
    font-size: 14px;
    line-height: 1.7;
}

.footer-widget h6 {
    font-family: var(--ceo-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--ceo-white);
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--ceo-gray-500);
    font-size: 14px;
    text-decoration: none;
    transition: var(--ceo-transition);
}

.footer-widget ul li a:hover {
    color: var(--ceo-orange);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ceo-gray-500);
    text-decoration: none;
    transition: var(--ceo-transition);
}

.footer-social a:hover {
    background: var(--ceo-orange);
    border-color: var(--ceo-orange);
    color: var(--ceo-white);
}

.footer-newsletter {
    display: flex;
    gap: 0;
    margin-top: 12px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: var(--ceo-radius-sm) 0 0 var(--ceo-radius-sm);
    background: rgba(255,255,255,0.05);
    color: var(--ceo-white);
    font-family: var(--ceo-font);
    font-size: 14px;
}

.footer-newsletter input::placeholder {
    color: var(--ceo-gray-500);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--ceo-orange);
}

.footer-newsletter .ceo-btn {
    border-radius: 0 var(--ceo-radius-sm) var(--ceo-radius-sm) 0;
    padding: 12px 20px;
}

/* TikTok Live Card */
.tiktok-live-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.tiktok-live-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0,0,0,0.3);
}

.tiktok-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #EF4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.tiktok-live-viewers {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 600;
}

.tiktok-live-body {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px 12px;
}

.tiktok-live-avatar {
    position: relative;
    flex-shrink: 0;
}

.tiktok-live-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #EF4444;
}

.avatar-live-ring {
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid rgba(239,68,68,0.5);
    border-radius: 50%;
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.tiktok-live-info {
    min-width: 0;
}

.tiktok-live-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.tiktok-live-handle {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.tiktok-live-handle i {
    font-size: 11px;
}

.tiktok-live-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tiktok-live-stream {
    padding: 0 14px 14px;
}

.tiktok-live-placeholder {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    border-radius: 12px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stream-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 30px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.08), transparent, rgba(239,68,68,0.06), transparent);
    animation: streamWave 4s linear infinite;
}

.stream-wave:nth-child(2) {
    height: 20px;
    animation-duration: 3s;
    animation-delay: -1s;
    opacity: 0.7;
}

.stream-wave:nth-child(3) {
    height: 15px;
    animation-duration: 5s;
    animation-delay: -2s;
    opacity: 0.5;
}

@keyframes streamWave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stream-icon {
    font-size: 28px;
    color: rgba(255,255,255,0.15);
    margin-bottom: 6px;
}

.stream-text {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tiktok-live-watch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.tiktok-live-watch:hover {
    background: rgba(255,107,0,0.15);
    color: var(--ceo-orange);
}

.tiktok-live-watch i {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--ceo-gray-500);
    font-size: 13px;
    margin: 0;
}

/* ============================================
   LIST VIEW
   ============================================ */
.product-grid-list .col-xl-3,
.product-grid-list .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.product-grid-list .product-card {
    display: flex;
    flex-direction: row;
}

.product-grid-list .product-card .thumbnail {
    width: 240px;
    min-width: 240px;
    aspect-ratio: unset;
}

.product-grid-list .product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.product-grid-list .product-card .product-name {
    font-size: 18px;
    -webkit-line-clamp: 1;
}

.product-grid-list .product-actions {
    position: static;
    opacity: 1;
    transform: none;
    justify-content: flex-start;
    margin-top: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .ceo-hero-banner {
        padding: 60px 0;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-filters {
        flex-wrap: wrap;
    }

    .product-grid-list .product-card .thumbnail {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .ceo-hero-banner {
        padding: 48px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .ceo-shop-section {
        padding: 24px 0 60px;
    }

    .shop-header-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .shop-filters {
        width: 100%;
    }

    .ceo-select {
        flex: 1;
        min-width: 0;
    }

    .product-grid-list .product-card {
        flex-direction: column;
    }

    .product-grid-list .product-card .thumbnail {
        width: 100%;
        min-width: 100%;
        aspect-ratio: 1/1;
    }

    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .quick-view-image {
        min-height: 260px;
    }

    .qv-title {
        font-size: 20px;
    }

    .qv-price .current {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .ceo-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SCROLLBAR CUSTOM
   ============================================ */
.cart-sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.cart-sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--ceo-gray-300);
    border-radius: 10px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.product-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

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

/* Stagger animation for product cards */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }

/* Cart item add animation */
.cart-item.just-added {
    animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.02); background: var(--ceo-orange-light); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   DELIVERY OPTION TOGGLE (แกะโชว์ / จัดส่ง)
   ============================================ */
.cart-delivery-toggle {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.delivery-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 6px;
    border: 1.5px solid #DDD;
    background: var(--ceo-white);
    color: var(--ceo-gray-500);
    font-family: var(--ceo-font);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ceo-transition);
    white-space: nowrap;
}

.delivery-btn i {
    font-size: 11px;
}

.delivery-btn:hover {
    border-color: var(--ceo-orange);
    color: var(--ceo-orange);
}

.delivery-btn.active {
    background: var(--ceo-orange);
    border-color: var(--ceo-orange);
    color: var(--ceo-white);
}

/* แกะโชว์ button - red style */
.delivery-btn-unbox {
    border-color: #EF4444;
    color: #EF4444;
}

.delivery-btn-unbox:hover {
    border-color: #EF4444;
    color: #EF4444;
    background: #FEF2F2;
}

.delivery-btn-unbox.active {
    background: #EF4444;
    border-color: #EF4444;
    color: var(--ceo-black);
    font-weight: 700;
}

/* Quick View delivery option */
.qv-delivery-option {
    margin-bottom: 20px;
}

.qv-delivery-option label.section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ceo-gray-700);
    margin-bottom: 10px;
}

.qv-delivery-cards {
    display: flex;
    gap: 10px;
}

.delivery-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.delivery-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.delivery-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border: 2px solid #E5E5E5;
    border-radius: var(--ceo-radius-sm);
    transition: var(--ceo-transition);
    text-align: center;
}

.delivery-card input:checked + .card-content {
    border-color: var(--ceo-orange);
    background: var(--ceo-orange-light);
}

/* แกะโชว์ card - red theme */
.delivery-card input[value="unbox_live"]:checked + .card-content {
    border-color: #EF4444;
    background: #FEF2F2;
}

.delivery-card .card-content i {
    font-size: 22px;
    color: var(--ceo-gray-500);
}

.delivery-card input:checked + .card-content i {
    color: var(--ceo-orange);
}

.delivery-card input[value="unbox_live"]:checked + .card-content i {
    color: #EF4444;
}

.delivery-card .card-content .card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ceo-black);
}

.delivery-card .card-content .card-desc {
    font-size: 11px;
    color: var(--ceo-gray-500);
    line-height: 1.4;
}
