body {
    background-color: #000000;
    color: #ffffff;
}

h2 {
    font-size: 18px;
    text-transform: uppercase;
    color: #A7A7A7;
    text-shadow: #666 2px 2px 2px;
}

.container {
    display: grid;
    grid-template-columns: 75px 1fr 75px;
    min-height: 100vh;
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 10px 1fr 10px;
    }

    .film-strip {
        background-size: 10px auto;
    }

    .film-strip.right {
        background-size: 10px auto;
    }

    /* Adjust product grid for mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .product-card {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.film-strip {
    background-image: url('production/images/35mm_left_75.jpg');
    background-repeat: repeat-y;
}

.film-strip.right {
    background-image: url('production/images/35mm_right_75.jpg');
}

.content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.header-image {
    width: 100%;
    max-width: 370px;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Store styles */
.store-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 10px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four items per row on desktop */
    gap: 20px;
    padding: 15px;
}

.product-card {
    background: rgba(34, 34, 34, 0.5);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Helps push controls to bottom if card heights vary */
}

/* --- Product Card Option Spacing --- */
.product-card .product-brief-options {
    margin-top: 5px; /* Reduced top margin */
    margin-bottom: 10px; /* Space before controls */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px; /* Minimal gap between label and select */
}

.product-card .product-brief-options .option-label {
    font-size: 0.85em;
    color: #ccc;
    margin-bottom: 0; /* Explicitly remove bottom margin */
    padding-bottom: 0; /* Ensure no padding adds to space */
}

.product-card .product-brief-options {
    width: 100%;
    margin-top: 0; /* Explicitly remove top margin */
    padding-top: 2px; /* Minimal padding if needed for select's internal look */
    padding-bottom: 2px; /* Minimal padding */
    /* Keep other select styling like background, color, border from global .option-select */
}
/* --- End Product Card Option Spacing --- */

/* --- AGGRESSIVE Product Card Option Spacing --- */
/* Target the container of label + select */
body #product-types-container .product-grid .product-card .product-brief-options {
    margin-top: 3px !important;
    margin-bottom: 8px !important; /* Space before controls */
    padding: 0 !important; /* No padding on the container itself */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important; /* Minimal gap */
}

/* Target the label within that specific structure */
body #product-types-container .product-grid .product-card .product-brief-options {
    font-size: 0.85em !important;
    color: #ccc !important;
    margin: 0 !important; /* Reset all margins */
    padding: 0 0 1px 0 !important; /* Minimal bottom padding if needed for visual separation */
    line-height: 1.2 !important; /* Adjust line-height */
    display: block !important;
}

/* Target the select within that specific structure */
body #product-types-container .product-grid .product-card .product-brief-options  {
    width: 100% !important;
    height: auto !important; /* Let content and padding define height */
    margin: 0 !important; /* Reset all margins */
    padding: 4px 6px !important; /* CONTROLLED PADDING */
    font-size: 0.9em !important;
    line-height: 1.4 !important; /* Adjust line-height for select */
    background-color: #333 !important;
    color: white !important;
    border: 1px solid #555 !important;
    border-radius: 3px !important;
    box-sizing: border-box !important; /* Crucial */
    -webkit-appearance: none !important; /* Attempt to reset default browser styling */
    -moz-appearance: none !important;
    appearance: none !important;
    /* Add custom arrow if default is removed by appearance: none */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    background-size: 16px 12px !important;
}
/* --- End AGGRESSIVE Product Card Option Spacing --- */

/* NUCLEAR OPTION: Cart Quantity Selector - Ultra Minimal */
html body .cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input,
html body #cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input,
html body .cart-item-quantity input[type="number"],
.cart-quantity-input,
[id^="cart-qty-"],
input.cart-quantity-input {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    line-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important; 
    font-size: 0.75em !important;
    text-align: center !important;
    border: 1px solid #222 !important;
    background-color: #1a1a1a !important;
    color: #888 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    opacity: 0.7 !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Hide spinners across all browsers with extreme prejudice */
html body input[type="number"]::-webkit-outer-spin-button,
html body input[type="number"]::-webkit-inner-spin-button,
html body .cart-quantity-input::-webkit-outer-spin-button,
html body .cart-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Make label almost invisible */
html body .cart-item-quantity label,
html body #cart-sidebar .cart-item-quantity label {
    font-size: 0.7em !important;
    opacity: 0.6 !important;
    color: #666 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
}

.product-image-container {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer; /* Add pointer cursor to indicate clickable */
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease; /* Add subtle hover effect */
}

/* Add subtle zoom effect on hover for clickable images */
.has-zoom:hover .product-image {
    transform: scale(1.03);
}

.sold-out-overlay {
    position: absolute;
    top: 25px;
    left: -50px;
    transform: rotate(-45deg);
    background: rgba(220, 53, 69, 0.9);  /* Bootstrap danger red with opacity */
    color: white;
    padding: 8px 0;
    width: 200px;
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 1px;
    height: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.product-title {
    font-size: 1.0em;
    margin: 10px 0;
    font-weight: normal;
}

.product-price {
    color: #FFCC00;
    font-weight: normal;
    margin: 10px 0;
}

select.option-select { margin: 0px; padding: 0px; line-height: 1.0 } 

.option-select {
    padding: 0px;
    margin: 0px 0;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 4px;
}

.product-controls {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 8px; /* Space between quantity input and button */
    justify-content: center;
    align-items: center;
    margin-top: auto; /* Pushes controls to the bottom of the card if card content is shorter */
    padding-top: 10px; /* Add some space above the controls */
}

.quantity-input {
    max-width: 50px;
    padding: 5px;
    background: #333;
    color: white;
    border: 1px solid #444;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box; /* Ensures padding and border don't add to the width */
}

.btn-add-cart {
    background-color: #dc3545; /* Bootstrap's danger red */
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box; /* Ensures padding and border don't add to the width */
}

.btn-add-cart:hover {
    background-color: #bb2d3b; /* Darker red on hover */
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* NEW: Product options badges */
.product-options {
    margin: 10px 0;
}

.option-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #555;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 2px;
    font-size: 0.9em;
    color: #FFCC00;
}

/* More details button for products with many options */
.view-details-btn {
    background-color: rgba(255,204,0,0.1);
    color: #FFCC00;
    border: 1px solid #FFCC00;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 0.9em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 120px;
    margin-top: auto; /* Push to bottom */
    padding-top: 10px;
    transition: all 0.2s ease;
}

.view-details-btn:hover {
    background-color: rgba(255,204,0,0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Modal for options */
.options-modal-content {
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.options-modal-header {
    color: #FFCC00;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.option-item {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 4px;
}

.options-modal-footer {
    border-top: 1px solid #444;
    padding-top: 15px;
    margin-top: 15px;
    text-align: right;
}

/* Cart styles */
.cart-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #1a1a1a;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.cart-overlay.active {
    display: block;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    text-align: left;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-option {
    font-size: 0.9em;
    color: #FFCC00;  /* Brand yellow color */
    margin: 2px 0 5px;
}

.cart-item-option strong {
    color: #ddd;
}

.cart-item-price {
    color: #FFCC00;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px; /* Increased gap for better spacing */
    margin-top: 5px;
}

.cart-item-quantity label {
    font-size: 0.9em;
    margin-bottom: 0;
    white-space: nowrap; /* Prevent "Qty:" from wrapping */
}

.cart-quantity-input {
    width: 30px; 
    min-width: 30px;
    height: 24px; /* Explicitly set height */
    line-height: 24px; /* Match height for vertical centering of text */
    padding: 0 2px; /* Reduced padding */
    font-size: 0.85em; /* Slightly smaller font */
    text-align: center;
    border: 1px solid #444; /* Slightly less visible border */
    background-color: #333; /* Custom background */
    color: #ddd; /* Slightly dimmer text */
    border-radius: 3px; /* Slight rounding */
    box-sizing: border-box; /* Ensures padding and border don't add to the width */
    -moz-appearance: textfield; /* Firefox - hide spinners */
    -webkit-appearance: none; /* WebKit browsers - hide spinners */
    appearance: none; /* Reset default browser styling */
    opacity: 0.9; /* Slightly more subtle */
}

.cart-quantity-input:focus {
    opacity: 1; /* Fully visible when focused */
    color: #fff; /* Bright text color */
    border-color: #555; /* Slightly darker border */
    outline: none; /* Remove default outline */
}

/* --- STREAMLINED Cart Quantity Input Styling --- */
body .cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input {
    width: 30px !important;
    min-width: 30px !important;
    height: 24px !important;
    line-height: 24px !important;
    margin: 0 !important; 
    padding: 0 2px !important; /* Reduced padding */
    font-size: 0.85em !important; /* Slightly smaller font */
    text-align: center !important;
    border: 1px solid #444 !important; /* Slightly less visible border */
    background-color: #333 !important;
    color: #ddd !important; /* Slightly dimmer text */
    border-radius: 3px !important;
    box-sizing: border-box !important; 
    -moz-appearance: textfield !important; 
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 0.9 !important; /* Slightly more subtle */
}

/* Make the quantity input blend in more until focused */
body .cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input:focus {
    opacity: 1 !important;
    color: #fff !important;
    border-color: #555 !important;
    outline: none !important;
}

/* Make the label more compact too */
body .cart-sidebar .cart-item .cart-item-quantity label {
    font-size: 0.8em !important;
    color: #aaa !important;
    margin-right: 2px !important;
}
/* --- End STREAMLINED Cart Quantity Input Styling --- */

/* SUPER SPECIFIC Cart Quantity Selector Styling - Maximum Override Priority */
.cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input,
.cart-sidebar .cart-item-quantity input[type="number"],
body .cart-sidebar .cart-item .cart-item-quantity input[type="number"],
#cart-sidebar .cart-item .cart-item-quantity input.cart-quantity-input {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    line-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.8em !important;
    text-align: center !important;
    border: 1px solid #333 !important;
    background-color: #222 !important;
    color: #aaa !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    opacity: 0.85 !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Hide the spinner buttons completely */
.cart-sidebar input[type="number"]::-webkit-inner-spin-button,
.cart-sidebar input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

/* Make the label extremely minimal */
.cart-sidebar .cart-item .cart-item-quantity label,
#cart-sidebar .cart-item-quantity label {
    font-size: 0.75em !important;
    opacity: 0.7 !important;
    color: #777 !important;
    margin-right: 2px !important;
    font-weight: normal !important;
}

/* Compactify the quantity section */
.cart-sidebar .cart-item-quantity,
#cart-sidebar .cart-item-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin-top: 2px !important;
}

/* Only show full opacity when hovered or focused */
.cart-sidebar input.cart-quantity-input:hover,
.cart-sidebar input.cart-quantity-input:focus {
    opacity: 1 !important;
    border-color: #444 !important;
    color: #ccc !important;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Navbar styles */
.navbar {
    z-index: 3;
    margin-bottom: 40px;
}

.navbar-nav {
    max-width: 800px;
    margin: 0 auto;
}

.dropdown-menu {
    background: rgba(52, 58, 64, 0.95);
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    background: rgba(255, 204, 0, 0.1);
    color: #FFCC00;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); /* Three items per row */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Two items per row */
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr; /* One item per row on mobile */
    }
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 60px; /* Make room for swipe indicator */
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.continue-shopping {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 14px;
}

.continue-shopping:hover {
    background: #333;
}

.swipe-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.5);
    width: 100%;
    pointer-events: none;
}

.swipe-indicator i {
    font-size: 24px;
    animation: bounceUp 1.5s infinite;
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Zoom icon overlay to indicate image is enlargeable */
.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.product-image-container:hover .zoom-icon {
    opacity: 1;
}

/* Modal styling for product details */
.product-details-modal {
    background-color: #222;
    color: #fff;
    max-width: 850px;
    padding: 0;
    border-radius: 8px;
    margin: 0 auto;
}

.product-details-modal .modal-header {
    background-color: rgba(0,0,0,0.3);
    padding: 20px;
    border-bottom: 1px solid #444;
    border-radius: 8px 8px 0 0;
}

.product-details-modal .modal-header h4 {
    color: #FFCC00;
    margin-bottom: 5px;
}

.product-details-modal .modal-body {
    padding: 20px;
}

.product-details-modal .product-price {
    color: #FFCC00;
    font-size: 1.2em;
    margin: 0;
}

.product-details-modal .product-detail-image {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-details-modal .options-section, 
.product-details-modal .purchase-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.product-details-modal h5 {
    color: #FFCC00;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.product-details-modal .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.product-details-modal .option-item {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 4px;
}

.product-details-modal .option-item p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #ccc;
}

.product-details-modal .purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-details-modal .form-group {
    margin-bottom: 10px;
}

.product-details-modal label {
    display: block;
    margin-bottom: 5px;
}

.product-details-modal .form-select,
.product-details-modal .form-control {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}

/* Better styling for the options section */
.product-brief-options {
    margin-top: 8px; /* Reduced top margin */
    margin-bottom: 12px; /* Sufficient bottom margin before controls */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align label to the left */
    gap: 4px; /* Reduced gap between label and select */
}

.option-label {
    font-size: 0.85em; /* Slightly smaller label */
    display: block;
    margin-bottom: 0;
    padding-bottom: 0px;
    line-height: 1;
    color: #ccc;
}

.product-brief-options .option-select {
    width: 100%;
    padding: 0px;
    line-height: 1;
    margin: 0; /* Remove bottom margin, rely on parent's bottom margin */
}

/* Make modal form styles better */
#options-modal-container form {
    margin-bottom: 0;
}

.product-details-modal .form-select:focus,
.product-details-modal .form-control:focus {
    border-color: #FFCC00;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

/* Vinyl Info Modal Specific Styles */
.vinyl-info-modal-content {
    padding: 20px; /* Standard padding */
    background-color: #2c2c2c;
    color: #f1f1f1;
    max-width: 750px; /* Slightly wider for top gallery */
    margin: 0 auto;
}

/* New Subtle Title Style */
.vinyl-info-modal-title {
    font-size: 1.1em; /* Subtle size */
    font-weight: 500; /* Not too bold */
    color: #FFCC00;  /* Accent color */
    text-align: center;
    margin-bottom: 20px; /* Space before gallery */
    letter-spacing: 0.5px; /* Slight letter spacing for class */
    text-transform: uppercase; /* Optional: for a more stylized look */
}

.vinyl-info-image-gallery-container {
    margin-top: 20px;
}

.vinyl-info-image-gallery-container.top-gallery {
    margin-top: 0; /* No top margin if it's the first element after title */
    margin-bottom: 25px; /* Space after gallery, before description */
}

.vinyl-info-image-gallery {
    display: flex;
    flex-wrap: nowrap; /* Keep images in a single row, enable horizontal scroll */
    justify-content: flex-start; /* Align images to the start */
    gap: 12px; /* Spacing between images */
    overflow-x: auto; /* Crucial for horizontal scrolling */
    padding-bottom: 15px; /* Space for scrollbar if it appears */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #FFCC00 #333; /* For Firefox */
}
/* Webkit scrollbar styling */
.vinyl-info-image-gallery::-webkit-scrollbar {
    height: 8px;
}
.vinyl-info-image-gallery::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}
.vinyl-info-image-gallery::-webkit-scrollbar-thumb {
    background-color: #FFCC00;
    border-radius: 4px;
}

.gallery-image-wrapper {
    height: 180px; /* Increased height for bigger images */
    /* width: auto; Let width be auto based on aspect ratio for this height */
    flex-shrink: 0; /* Prevent images from shrinking to fit, allow horizontal scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.vinyl-info-gallery-image {
    display: block;
    max-width: none; /* Allow image to exceed wrapper if needed for aspect with fixed height */
    max-height: 100%; 
    height: 100%;    /* Fill wrapper height */
    width: auto;     /* Maintain aspect ratio */
    object-fit: contain; 
    border-radius: 3px;
}

.vinyl-long-description {
    line-height: 1.7; 
    font-size: 1em;   
    text-align: left; 
    margin-top: 0; /* No top margin if it follows gallery */
}

.vinyl-long-description p,
.vinyl-long-description ul,
.vinyl-long-description blockquote {
    margin-bottom: 1em;
}

/* Mobile adjustments for the TOP gallery */
@media (max-width: 600px) {
    .vinyl-info-modal-title {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .gallery-image-wrapper {
        height: 150px; /* Slightly smaller on mobile but still prominent */
    }
    .vinyl-info-image-gallery {
        gap: 8px;
    }
}

/* Ensure old main image/thumbnail styles are definitely gone */
.vinyl-main-image-display,
.vinyl-thumbnail-strip,
.vinyl-thumbnail {
    display: none !important; 
}

/* Add this to your CSS file */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(40, 40, 40, 0.9);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 14px;
    max-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    border-left: 4px solid #FFCC00; /* Brand color */
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Fancybox Dark Theme */
.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.95);
    --fancybox-color: #fff;
}

.fancybox__toolbar,
.fancybox__nav {
    --fancybox-accent-color: #FFCC00;
}