/* Wedding Bands Frontend Search Styles */
.wedding-bands-search {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Search Header */
.wb-search-header-main {
    text-align: center;
    margin-bottom: 20px;
}

.wb-search-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.wb-search-subtitle {
    opacity: 0.7;
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Two Column Filter Layout - Match Diamond Search */
.wb-filters-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 12px 20px;
}

.wb-filters-left-column,
.wb-filters-right-column {
    display: flex;
    flex-direction: column;
}

.wb-filters-left-column {
    border-right: 1px solid #f0f0f0;
    padding-right: 12px;
}

.wb-filters-right-column {
    padding-left: 12px;
}

/* Left Column: Slider Filters */
.wb-filter-sliders-section {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.wb-slider-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wb-filter-slider-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wb-slider-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wb-slider-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Right Column: Dropdown Filters */
.wb-dropdown-filters-section {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.wb-dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wb-dropdown-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wb-dropdown-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wb-dropdown-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.wb-dropdown-select {
    padding: 12px 50px 12px 12px;
    border: 2px solid #e5e5e5;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    transition: all 0.2s ease;
    touch-action: manipulation;
    margin-bottom: 0;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wb-dropdown-select:focus {
    outline: none;
    border-color: rgb(153, 120, 222);
    box-shadow: 0 0 0 3px rgba(153, 120, 222, 0.1);
}

.wb-dropdown-select:hover {
    border-color: rgb(153, 120, 222);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wb-filters-two-column {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .wb-filters-left-column {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    
    .wb-filters-right-column {
        padding-left: 0;
    }
    
    .wb-search-title {
        font-size: 20px;
    }
    
    .wb-search-subtitle {
        font-size: 14px;
    }
}

/* Price Filter Label */
.wb-price-filter-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Price Slider Wrapper */
.wb-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* noUiSlider Custom Styling to Match Diamond Search */
.wb-range-slider {
    margin: 12px 0 8px 0;
    height: 6px;
}

/* Base slider styling */
.wb-range-slider .noUi-base {
    width: 100%;
    height: 6px !important;
    position: relative;
    max-width: 100%;
    margin: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #e5e5e5 !important;
    border: none !important;
}

.wb-range-slider .noUi-connects {
    overflow: hidden;
    z-index: 0;
    border-radius: 0 !important;
    height: 6px !important;
}

.wb-range-slider .noUi-connect,
.wb-range-slider .noUi-origin {
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 6px !important;
    width: 100%;
    transform-origin: 0 0;
    transform-style: preserve-3d;
    background: none;
    border-radius: 0 !important;
}

/* Track background */
.wb-range-slider .noUi-target {
    position: relative;
    background: #e5e5e5 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    touch-action: manipulation;
    cursor: pointer;
    height: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Active track */
.wb-range-slider .noUi-connect {
    background: rgb(153, 120, 222) !important;
    border-radius: 0 !important;
    height: 6px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Handles */
.wb-range-slider .noUi-handle {
    box-sizing: border-box;
    width: 24px !important;
    height: 24px !important;
    position: absolute;
    right: -12px;
    top: -9px;
    cursor: grab;
    background: rgb(153, 120, 222);
    border: 2px solid #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
}

.wb-range-slider .noUi-handle:before,
.wb-range-slider .noUi-handle:after {
    content: none;
}

.wb-range-slider .noUi-handle:hover {
    background: rgb(138, 102, 200);
    box-shadow: 0 4px 12px rgba(153, 120, 222, 0.3);
    transform: scale(1.1);
}

.wb-range-slider .noUi-handle:active,
.wb-range-slider .noUi-handle.noUi-active {
    cursor: grabbing;
    background: rgb(138, 102, 200);
    box-shadow: 0 4px 12px rgba(153, 120, 222, 0.3);
    transform: scale(1.15);
}

.wb-range-slider .noUi-handle:focus {
    outline: none;
}

/* Handle z-index and separation */
.wb-range-slider .noUi-handle.noUi-handle-lower {
    z-index: 3;
    width: 24px !important;
    height: 24px !important;
}

.wb-range-slider .noUi-handle.noUi-handle-upper {
    z-index: 2;
    width: 24px !important;
    height: 24px !important;
}

/* Ensure handles don't overlap visually and stay round */
.wb-range-slider .noUi-handle {
    margin-right: 0;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

/* Touch styles */
.wb-range-slider .noUi-touch-area {
    height: 100%;
    width: 100%;
}

/* Disable default tooltips */
.wb-range-slider .noUi-tooltip {
    display: none;
}

/* Range Inputs */
.wb-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wb-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
}

.wb-input-group label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.wb-input-with-prefix .wb-range-input {
    padding-left: 24px;
    padding-right: 12px;
}

.wb-input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #666;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.wb-range-input {
    padding: 10px 12px;
    border: 2px solid #e5e5e5;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    transition: all 0.2s ease;
    touch-action: manipulation;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.wb-range-input:focus {
    outline: none;
    border-color: rgb(153, 120, 222);
    box-shadow: 0 0 0 3px rgba(153, 120, 222, 0.1);
}

.wb-range-input:hover {
    border-color: rgb(153, 120, 222);
}

/* Price Quick Select */
.wb-price-quick-select {
    margin-top: 8px;
    text-align: center;
}

.wb-quick-select-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
    text-align: center;
}

.wb-quick-select-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.wb-price-buttons-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wb-price-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: white;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wb-price-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.wb-price-btn.selected {
    border-color: #6366f1;
    background: #eef2ff;
    color: #6366f1;
}

/* Filter Actions - Removed since reset button moved to header */

.wb-reset-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wb-reset-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Hide Apply button on desktop */
.wb-apply-btn {
    display: none;
}

.wb-apply-btn {
    border: 1px solid #6366f1;
    background: #6366f1;
    color: white;
}

.wb-apply-btn:hover {
    background: #5b5ff7;
}

/* Search Header */
.wb-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.wb-search-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wb-search-header-right {
    display: flex;
    align-items: center;
}

.wb-results-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* Shape Filter */
.wb-filter-section {
    margin-bottom: 30px;
}

.wb-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.wb-shape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    max-width: 800px;
}

.wb-shape-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.wb-shape-option:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.wb-shape-option.active {
    border-color: #6366f1;
    background: #eef2ff;
}

.wb-shape-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wb-shape-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.7);
    transition: all 0.2s ease;
}

.wb-shape-option.active .wb-shape-icon {
    opacity: 1;
}

.wb-shape-option.active .wb-shape-icon img {
    filter: brightness(1);
}

.wb-shape-option:hover .wb-shape-icon img {
    filter: brightness(0.9);
}

.wb-shape-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Other Filters Row */
.wb-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.wb-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%236b7280" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
    padding-right: 40px;
}

.wb-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.wb-select:hover {
    border-color: #9ca3af;
}

/* Search Controls */
.wb-search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wb-results-count {
    color: #6b7280;
    font-size: 14px;
}

.wb-sort-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    background: white;
    color: #374151;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%236b7280" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

/* Product Grid - Match Ring Legacy Layout */
.wb-products-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

/* Desktop: 3 columns to match Ring Legacy */
@media (min-width: 1024px) {
    .wb-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .wb-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 2 columns */
@media (min-width: 480px) and (max-width: 767px) {
    .wb-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Small Mobile: 1 column */
@media (max-width: 479px) {
    .wb-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.wb-product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wb-product-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wb-product-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wb-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.wb-main-image {
    opacity: 1;
}

.wb-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.wb-product-card:hover .wb-main-image {
    opacity: 0;
}

.wb-product-card:hover .wb-hover-image {
    opacity: 1;
}

.wb-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
    font-size: 14px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
}

.wb-image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 4px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.wb-product-info {
    padding: 16px;
}

.wb-product-title {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wb-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Loading State */
.wb-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.wb-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #6366f1;
    border-radius: 0;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

/* Infinite Scroll Loading Indicator */
.wb-infinite-scroll-loading {
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 0;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    min-height: 80px;
}

.wb-infinite-scroll-loading .wb-loading-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
    margin: 0 auto 12px;
}

.wb-infinite-scroll-loading p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.wb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.wb-pagination button {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.wb-pagination button:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.wb-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wb-pagination button.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

/* No Results */
.wb-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.wb-no-results h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #374151;
}

.wb-no-results p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
/* Mobile specific styles */
@media (max-width: 768px) {
    .wedding-bands-search {
        padding: 15px;
    }
    
    .wb-filters-panel {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .wb-filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Mobile price slider */
    .wb-range-slider {
        margin: 12px 0 8px 0;
        height: 8px;
    }
    
    .wb-range-slider .noUi-base {
        height: 8px;
    }
    
    .wb-range-slider .noUi-connect,
    .wb-range-slider .noUi-origin {
        height: 8px;
    }
    
    .wb-range-slider .noUi-handle {
        width: 30px;
        height: 30px;
        right: -15px;
        top: -11px;
        border-width: 2px;
    }
    
    .wb-range-inputs {
        gap: 8px;
    }
    
    .wb-range-input {
        padding: 12px 12px 12px 24px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .wb-quick-select-buttons {
        gap: 4px;
    }
    
    .wb-price-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .wb-filter-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
    }
    
    .wb-reset-btn, .wb-apply-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Show Apply button on mobile */
    .wb-apply-btn {
        display: block !important;
    }
    
    .wb-filters {
        padding: 20px;
    }
    
    .wb-shape-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .wb-filters-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wb-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wb-search-controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    /* Mobile image interaction */
    .wb-product-image {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .wb-product-card {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Disable hover effects on mobile */
    .wb-product-card:hover .wb-main-image {
        opacity: 1;
    }
    
    .wb-product-card:hover .wb-hover-image {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .wb-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .wb-shape-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .wb-product-card {
        font-size: 0.95em;
    }
    
    .wb-product-image {
        height: 240px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Message Container */
.message-container {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.message-container.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-container.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-container.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.message-container.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Shape Selector Styles (matching ring settings) */
.shape-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.shape-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
    min-width: 60px;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.shape-option:hover {
    border-color: rgb(153, 120, 222);
    background: #fafaff;
    box-shadow: 0 8px 25px rgba(153, 120, 222, 0.15);
    transform: translateY(-3px);
}

.shape-option.selected {
    border-color: rgb(153, 120, 222);
    background: #f8faff;
    box-shadow: 0 8px 25px rgba(153, 120, 222, 0.25);
    transform: translateY(-2px);
}

.shape-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    filter: brightness(0) saturate(100%) invert(45%) sepia(8%) saturate(673%) hue-rotate(202deg) brightness(91%) contrast(88%);
    transition: all 0.3s ease;
}

.shape-option:hover .shape-icon,
.shape-option.selected .shape-icon {
    filter: brightness(0) saturate(100%) invert(62%) sepia(73%) saturate(2571%) hue-rotate(225deg) brightness(95%) contrast(91%);
    transform: scale(1.05);
}

.shape-label {
    display: none;
}

.loading-shapes,
.loading-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.loading-error {
    color: #d63384;
}
