

.oren-bundles-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: flex-start;
    direction: rtl;
    text-align: right;
    margin: 20px 0;
}

.oren-bundle-card {
    background: #ffffff;
    border: 1px solid #eae6df;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    direction: rtl;
    text-align: right;
    font-family: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    box-sizing: border-box;
    cursor: pointer;
}

.oren-bundle-card.oren-bundle-card-featured,
.oren-bundles-grid-container > .oren-bundle-card:nth-child(2),
.oren-bundles-grid-container > .oren-bundle-card:nth-child(3n+2) {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.oren-bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.oren-bundle-image-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #f7f5f0;
    flex-shrink: 0;
}

.oren-bundle-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.oren-bundle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.oren-bundle-card:hover .oren-bundle-image {
    transform: scale(1.03);
}

.oren-bundle-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
}

.oren-bundle-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    text-align: center;
    line-height: 1.3;
}

.oren-bundle-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.oren-bundle-title-link:hover {
    color: #C09B54;
}

.oren-bundle-subtitle {
    font-size: 13.5px;
    color: #555555;
    margin: 0 0 16px 0;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}

.oren-bundle-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oren-bundle-item-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.oren-item-num {
    color: #666666;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.oren-item-name {
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oren-item-check {
    color: #b89354;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oren-item-check svg {
    width: 16px;
    height: 16px;
    fill: #b89354;
}

.oren-bundle-divider {
    height: 1px;
    background-color: #eee9e0;
    margin: 4px 0 16px 0;
    border: none;
}

.oren-bundle-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    margin-top: 12px;
}

.oren-bundle-price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.oren-bundle-original-price {
    font-size: 14px;
    color: #999999;
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.2;
}

.oren-bundle-final-price {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-top: 2px;
}

.oren-bundle-final-price span {
    font-size: 14px;
    font-weight: 600;
}

.oren-bundle-savings-badge {
    background-color: #369b3a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.2px;
}

.oren-add-bundle-btn {
    background-color: #C09B54;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(192, 154, 83, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.oren-add-bundle-btn:hover {
    background-color: #a88340;
    box-shadow: 0 4px 14px rgba(192, 154, 83, 0.4);
    transform: translateY(-1px);
}

.oren-add-bundle-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.oren-bundle-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: oren-spin 0.8s linear infinite;
}

@keyframes oren-spin {
    to { transform: rotate(360deg); }
}

.oren-bundle-notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.oren-bundle-notice.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.oren-bundle-notice.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.oren-bundle-mobile-dots {
    display: none;
}

@media (max-width: 767px) {
    .oren-bundles-grid-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 24px !important;
        padding: 4px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        align-items: flex-start !important;
        transition: height 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .oren-bundles-grid-container::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .oren-bundles-grid-container > .oren-bundle-card,
    .oren-bundles-grid-container > .oren-bundle-card.oren-bundle-card-featured,
    .oren-bundles-grid-container > .oren-bundle-card:nth-child(2),
    .oren-bundles-grid-container > .oren-bundle-card:nth-child(3n+2) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: flex-start !important;
        flex-grow: 0 !important;
        margin: 0 !important;
    }

    .oren-bundle-content {
        padding: 18px 20px 20px !important;
    }

    .oren-bundle-mobile-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        direction: ltr !important;
    }

    .oren-bundle-mobile-dot {
        width: 12px;
        height: 12px;
        border: 1.5px solid #C09B54;
        background: transparent;
        border-radius: 50%;
        transition: all 0.3s ease;
        cursor: pointer;
        display: inline-block;
    }

    .oren-bundle-mobile-dot.active {
        width: 34px;
        height: 12px;
        border-radius: 10px;
        background-color: #C09B54;
        border-color: #C09B54;
    }
}
