/* Custom Waveform Player Container - #1a1a1a */
.custom-waveform-player {
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* NEW: Main layout - horizontal with play button left, waveform center, controls right */
.waveform-main-layout {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Play/Pause Button - Left side */
.waveform-play-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.waveform-play-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.waveform-play-btn.playing {
    background: #ff3366;
    border-color: #ff3366;
}

/* Play/Pause Icons */
.play-icon, .pause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.pause-icon {
    display: none;
}

.waveform-play-btn.playing .play-icon {
    display: none;
}

.waveform-play-btn.playing .pause-icon {
    display: flex;
}

.waveform-play-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Waveform Container - Center #2a2a2a */
.waveform-container {
    flex: 1;
    min-width: 0;
    height: 80px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

/* Controls on the Right - Vertical */
.waveform-controls-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 80px;
}

/* Time Display - Top Right */
.waveform-time {
    color: #999;
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
    text-align: right;
}

.waveform-time .current-time {
    color: #fff;
    font-weight: bold;
}

.waveform-time .total-time {
    color: #666;
}

/* Volume Control - Vertical Below Time */
.waveform-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-icon {
    color: #999;
    display: flex;
    align-items: center;
}

.volume-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Vertical Volume Slider */
.volume-slider {
    -webkit-appearance: slider-vertical;
    width: 4px;
    height: 60px;
    background: #444;
    border-radius: 2px;
    outline: none;
    writing-mode: bt-lr; /* IE */
    appearance: slider-vertical;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
}

/* Custom Trigger Events Container */
.Custom-Trigger-Events {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.Custom-Trigger-Events .button.add_to_cart_button {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.Custom-Trigger-Events .button.add_to_cart_button:hover {
    background: #555;
}

/* Contact Button */
.Custom-Submit-Form {
    flex: 1;
    padding: 10px 20px;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.3s;
}

.Custom-Submit-Form:hover {
    background: #e62e5c;
}


/* ------------------------------------------------ */

/* Update button styles for icons */
.Custom-Trigger-Events .button.add_to_cart_button {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.Custom-Trigger-Events .button.add_to_cart_button:hover {
    background: #555;
}

.Custom-Trigger-Events .button.add_to_cart_button i {
    font-size: 18px;
}

/* Contact Button with icon - #ff3366 */
.Custom-Submit-Form {
    flex: 1;
    padding: 10px 9px;
    background: #383838;
    color: #fcfcfc;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background 0.3s;
	max-width: 50px;
}

.Custom-Submit-Form:hover {
    background: #e62e5c;
}

.Custom-Submit-Form i {
    font-size: 18px;
}

/* Quote Overlay */
.Custom-Product-Quote {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.quote-overlay-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quote-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 1;
}

.quote-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.quote-overlay-content h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 24px;
    text-align: center;
}

.quote-product-name {
    color: #ff3366;
    text-align: center;
    margin: 0 0 25px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quote Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-form-group label {
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-form-group input,
.quote-form-group textarea {
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.quote-form-group input:focus,
.quote-form-group textarea:focus {
    outline: none;
    border-color: #ff3366;
}

.quote-form-group textarea {
    resize: vertical;
}

.quote-submit-btn {
    padding: 14px;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 10px;
}

.quote-submit-btn:hover {
    background: #e62e5c;
}

/* Quote Success Message */
.quote-success {
    text-align: center;
    padding: 20px;
}

.quote-success svg {
    margin-bottom: 15px;
}

.quote-success h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.quote-success p {
    color: #999;
    font-size: 14px;
}

.custom-waveform-player input[type="range"] {
   padding: 9px 0px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .waveform-main-layout {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .waveform-play-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .waveform-container {
        height: 60px;
        order: 2;
        width: 100%;
    }
    
    .waveform-controls-side {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
        order: 1;
        min-width: auto;
        margin-left: auto;
    }
    
    .volume-slider {
        height: 4px;
        width: 60px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .Custom-Trigger-Events {
        flex-direction: column;
        gap: 8px;
    }
    
    .Custom-Trigger-Events .button,
    .Custom-Submit-Form {
        width: 100%;
    }
	
	/* ------------------------------------ */
	 .quote-overlay-content {
        padding: 20px;
        width: 95%;
    }
    
    .quote-overlay-content h3 {
        font-size: 20px;
    }	
}
