/* ======================================================
   1. AMERI VIDEO PLAYER STYLES
   ====================================================== */
.ameri-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: #000;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #262626;
    font-family: sans-serif;
}

.ameri-wrapper:hover .ameri-overlay-header,
.ameri-wrapper:hover .ameri-controls {
    opacity: 1;
}

.ameri-overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.ameri-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0;
}

.ameri-brand span {
    color: #ef4444; /* Red-500 */
}

.ameri-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    cursor: pointer;
}

.ameri-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ameri-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.ameri-spinner {
    border: 4px solid #e5e7eb;
    border-top: 4px solid #ef4444;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: amerispin 1s linear infinite;
}

@keyframes amerispin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ameri-center-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.ameri-center-btn-inner {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 9999px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ameri-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
    padding: 1rem;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ameri-progress-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.ameri-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
}

.ameri-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ef4444;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.ameri-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ameri-controls-left, .ameri-controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ameri-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.ameri-btn:hover {
    color: #ef4444;
}

.ameri-time {
    font-size: 0.875rem;
    font-family: monospace;
    color: #d1d5db;
}

.ameri-volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ameri-vol-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.3s;
    height: 4px;
    background: #4b5563;
    border-radius: 2px;
    -webkit-appearance: none;
}

.ameri-volume-container:hover .ameri-vol-slider {
    width: 6rem;
}

/* Icons SVG sizing */
.ameri-icon { width: 24px; height: 24px; }
.ameri-icon-lg { width: 32px; height: 32px; }
.hidden { display: none !important; }

/* ======================================================
   2. PRODUCT SPECIFICATION CARDS
   ====================================================== */
.product-specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
    font-family: 'Jost', sans-serif;
}

@media (max-width: 480px) {
    .product-specs-container {
        grid-template-columns: 1fr;
    }
}

.spec-card {
    border: 1px solid #eee5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.spec-header {
    background-color: #fdf2ff;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #1a1a4b;
    border-bottom: 1px solid #eee5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.spec-body {
    padding: 15px;
    background: #fff;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #1a1a4b;
    font-size: 14px;
}

.spec-row:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: #1a1a4b;
    font-weight: 400;
    width: 40%;
}

.spec-value {
    width: 60%;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.spec-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #1a1a4b;
    stroke-width: 1.5;
}

.copy-icon {
    color: #6666cc;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.spec-separator {
    margin-right: 8px;
}

/* ======================================================
   3. ENQUIRY MODAL STYLES
   ====================================================== */
#productEnquiryModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
    z-index: 999999;
}

#productEnquiryModal.show {
    opacity: 1;
    pointer-events: all;
}

#productEnquiryBox {
    width: 100%;
    max-width: 460px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(25px);
    transition: .3s ease;
}

#productEnquiryModal.show #productEnquiryBox {
    transform: translateY(0);
}

#productEnqClose {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.enq-title {
    margin-bottom: 18px;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}

.enq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.enq-group.full {
    grid-column: span 2;
}

.enq-group label {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.enq-group input,
.enq-group select {
    width: 100%;
    padding: 9px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
}

.enq-btn {
    margin-top: 15px;
    padding: 11px;
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: .5px;
    cursor: pointer;
}