.giopio-bundle {
    --bg-dark: #050505;
    --card-bg: #0d0d0d;
    --gold: #c1a067;
    --gold-dark: #8e6d3b;
    --text-white: #ffffff;
    --text-gray: #888888;
    --border: #222222;
    --gold-gradient: radial-gradient(at center center, #E5C97C 0%, #804F14 100%);

    color: var(--text-white);
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.giopio-bundle * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.giopio-bundle .container-inner {
    width: 100%;
}

.giopio-bundle .stepper-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 60px auto;
    position: relative;
}

.giopio-bundle .stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.giopio-bundle .stepper-wrapper::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #333;
    z-index: 1;
}

.giopio-bundle .step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 200px;
    cursor: pointer;
}

.step-item.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.step-item.disabled .step-counter {
    pointer-events: stroke;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.giopio-bundle .step-counter {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #757474;
    color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.giopio-bundle .step-label { 
    font-size: 14px; 
    color: #cdcdcd; 
}

.giopio-bundle .step-item.active .step-counter { 
    background: linear-gradient(145deg, var(--gold), var(--gold-dark)); 
    color: #000; 
}

.giopio-bundle .step-item.active .step-label { 
    color: #fff; 
}

.giopio-bundle .step-item:nth-child(1) { align-items: flex-start; }
.giopio-bundle .step-item:nth-child(2) { align-items: center; }
.giopio-bundle .step-item:nth-child(3) { align-items: flex-end; }

.giopio-bundle .main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.giopio-bundle h1 { 
    font-size: 48px !important; 
    margin-bottom: 18px; 
    font-weight: 500; 
    color: #fff; 
}

.giopio-bundle .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.giopio-bundle .card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.giopio-bundle .card:hover {
    background: var(--gold-gradient);
    border-color: #E5C97C;
}

.giopio-bundle .card.selected {
    background: var(--gold-gradient);
    border-color: #E5C97C;
}

.giopio-bundle .vial-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin: 20px 0;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
}

.giopio-bundle .card:hover .vial-img {
    transform: scale(1.05);
}

.giopio-bundle .card-info-section {
    background: transparent;
    padding: 20px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 2;
}

.giopio-bundle .card:hover .card-info-section,
.giopio-bundle .card.selected .card-info-section {
    background: #000000;
}

.giopio-bundle .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.giopio-bundle .card-title { 
    font-size: 23px; 
    font-weight: 700; 
    color: #fff;
    line-height: 23px;
}

.giopio-bundle .card-price { 
    font-size: 23px; 
    font-weight: 500; 
    color: #fff; 
    opacity: 0.8; 
}

.giopio-bundle .card-desc { 
    font-size: 16px; 
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.giopio-bundle .add-cart-btn {
    position: absolute;
    right: 15px;
    bottom: 104px;
    width: 48px;
    height: 48px;
    background: #000;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
}

.giopio-bundle .card:hover .add-cart-btn,
.giopio-bundle .card.selected .add-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.giopio-bundle .card.selected .add-cart-btn {
    background: #4CAF50;
    border-color: #4CAF50;
}

.giopio-bundle .sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.giopio-bundle .tab-switcher {
    display: flex;
    background: #000;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 25px;
}

.giopio-bundle .tab { 
    flex: 1; 
    text-align: center; 
    padding: 10px; 
    font-size: 14px; 
    color: var(--text-gray); 
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.giopio-bundle .tab.active { 
    background: #1a1a1a; 
    color: #fff; 
}

.giopio-bundle .bundle-info { 
    display: flex; 
    justify-content: space-between; 
    font-size: 18px; 
    font-weight: 600; 
    margin-bottom: 25px; 
    color: #fff; 
}

.giopio-bundle .bundle-status { 
    font-size: 18px; 
    color: #4CAF50; 
    margin-bottom: 40px; 
}

.giopio-bundle .item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    transition: background 0.3s ease;
}

.giopio-bundle .item-row:hover {
    background: rgba(255,255,255,0.03);
}

.giopio-bundle .item-img-container {
    width: 92px;
    height: 92px;
    background: var(--gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.giopio-bundle .item-img-container img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.giopio-bundle .item-details { flex: 1; }

.giopio-bundle .item-name { 
    font-size: 15px; 
    font-weight: 700; 
    color: #fff; 
    margin-bottom: 2px; 
}

.giopio-bundle .item-price { 
    font-size: 14px; 
    font-weight: 600; 
    color: #fff; 
    opacity: 0.8; 
}

.giopio-bundle .remove-btn { 
    color: #666; 
    cursor: pointer; 
    font-size: 18px; 
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.giopio-bundle .remove-btn:hover {
    color: #ff4444;
    background: rgba(255,68,68,0.1);
}

.giopio-bundle .empty-slot {
    border: 1px dashed #333;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 24px;
}

.giopio-bundle .plus-box {
    width: 92px;
    height: 92px;
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #555;
}

.giopio-bundle .total-box { 
    margin-top: 25px; 
    border-top: 1px solid #222; 
    padding-top: 20px; 
}

.giopio-bundle .price-summary { 
    display: flex; 
    align-items: baseline; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.giopio-bundle .total-label {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.giopio-bundle .old-price {
    text-decoration: line-through;
    color: #555;
    font-size: 20px;
    color: #FFF4E080;
}

.giopio-bundle .btn-submit {
    width: 100%;
    background: #fffdf5;
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    border: 1px solid #fff;
}

.giopio-bundle .btn-submit:hover {
    background: var(--gold);
    box-shadow: 0 4px 12px rgba(193,160,103,0.3);
}

.giopio-bundle .btn-submit:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.giopio-bundle .promo-note, .giopio-bundle #dynamicDiscount {
    font-size: 16px;
    color: #949494;
    margin-top: 15px;
    text-align: center;
    line-height: 21px;
}

.giopio-bundle .promo-note span { 
    color: #ff4d4d; 
    font-weight: 600;
}

.giopio-bundle .promo-note strong {
    color: var(--gold);
}

.bundle-out-of-stock-badge{
    position: absolute; 
    right: 15px; 
    bottom: 125px; 
    display: flex; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease; 
    z-index: 5; 
    text-align: center; 
    font-size: 14px; 
    line-height: 1.1; 
    color: #fff;
    pointer-events: none;
}


.card:hover .bundle-out-of-stock-badge {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}




/* Responsive Design */
@media (max-width: 1024px) {
    .giopio-bundle .main-layout {
        grid-template-columns: 1fr;
    }
    
    .giopio-bundle .sidebar {
        position: static;
    }
    
    .giopio-bundle .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .giopio-bundle {
        padding: 20px 10px;
    }
    
    .giopio-bundle .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .giopio-bundle .stepper-container {
        margin-bottom: 40px;
    }
    
    .giopio-bundle .step-item {
        width: auto;
        flex: 1;
    }

    .giopio-bundle .step-label {
        font-size: 11px;
    }
    
    .giopio-bundle h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}