.hast-bundle-results-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.hast-bundle-item {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.hast-bundle-images {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.hast-bundle-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #f5f5f5;
}

.hast-bundle-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.hast-bundle-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.hast-bundle-thumbnails img:hover {
    border-color: #333;
}

.hast-bundle-details {
    flex: 2;
    min-width: 300px;
}

.hast-bundle-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #222;
}

.hast-bundle-excerpt {
    color: #c9302c; /* Reddish color matching the design */
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hast-bundle-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.hast-bundle-components-list {
    margin-bottom: 20px;
}

.hast-bundle-components-list h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hast-bundle-components-list ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.hast-bundle-components-list li {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}

.hast-bundle-price-wrap {
    margin-bottom: 20px;
}

.hast-bundle-price {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.hast-bundle-footer-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Variations Badges (Colors) */
.hast-bundle-variation-select.hast-color-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.hast-color-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.hast-variation-badges.hast-color-swatches {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hast-color-swatch {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 2px;
    background: #fff;
    box-shadow: 0 0 0 1px #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0;
    color: transparent;
}

.hast-color-swatch:hover {
    box-shadow: 0 0 0 1px #aaa;
}

.hast-color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 0 2px #008000;
}

.hast-swatch-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.hast-swatch-check {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #008000;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
    border: 2px solid #fff;
}

.hast-color-swatch.selected .hast-swatch-check {
    opacity: 1;
    transform: scale(1);
}

.hast-swatch-check svg {
    width: 10px;
    height: 10px;
    fill: #fff;
}

/* Hide original select */
.hast-variation-select {
    display: none;
}

/* Optional Checkbox custom styling */
.hast-optional-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.hast-optional-toggle-wrapper input {
    margin: 0;
    cursor: pointer;
}

/* Add to cart form */
.hast-bundle-add-to-cart {
    margin-top: 20px;
}

.hast-btn-add-cart {
    background-color: #d11e22; /* Hast Red or similar */
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hast-btn-add-cart:hover {
    background-color: #a8171b;
}

.hast-no-results {
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}

/* Zoom popup / Modal Styles */
.hast-zoomable-image {
    position: relative;
    cursor: zoom-in;
}

.hast-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hast-zoomable-image:hover .hast-zoom-icon {
    opacity: 1;
}

/* Modal Background */
.hast-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.hast-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hast-modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hast-modal-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation: hastZoomIn 0.3s;
}

/* Modal Thumbnails (Optional, inside modal) */
.hast-modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 10px;
}

.hast-modal-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}

.hast-modal-thumbnails img:hover,
.hast-modal-thumbnails img.active {
    opacity: 1;
    border-color: #fff;
}

/* The Close Button */
.hast-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.hast-modal-close:hover,
.hast-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes hastZoomIn {
    from {transform:scale(0.8); opacity:0;}
    to {transform:scale(1); opacity:1;}
}
