/* Global Overrides */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    background-color: #000; /* For any gaps */
}

/* 3 Pane Flex Layout */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.left-pane {
    background-color: #ffffff;
    padding: 40px 20px;
    align-items: center;
}

.center-pane {
    background-color: #ffffff;
    color: #000000;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 20px 20px 140px 20px; /* ample bottom padding for scrolling without clipping */
    overflow-y: auto;
    perspective: 2500px; /* Crucial for 3D */
}

.right-pane {
    background-color: #ffffff;
    padding: 40px 20px;
    align-items: center;
    justify-content: flex-start;
}

/* Typography & Logo */
.logo-section {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
}

.logo-image-wrapper img {
    max-width: 70px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.logo-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #e32636;
    border-radius: 50px;
    padding: 5px 20px; /* Make it more pill-like based on the logo shape in image if needed, or stick to circle */
    width: 80px;
    height: 60px;
    color: #e32636;
    font-weight: 900;
    margin-bottom: 5px;
}

.logo-circle h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px;
}

.logo-circle span {
    font-size: 12px;
    position: relative;
    top: -12px;
}

.since-text {
    font-size: 11px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.main-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 26px;
    margin: 0;
    text-transform: uppercase;
}

/* Center Pane Distressed Text */
.center-title {
    font-family: 'Rubik Dirt', impact, sans-serif;
    font-size: 4.5vw;
    line-height: 1.4;
    margin: 0;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 3px;
}

/* Red Action Buttons */
.filter-section {
    width: 85%;
    max-width: 280px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    width: 100%;
    position: relative;
}

/* Multi-Select Styles */
.multi-select {
    width: 100%;
}

.ms-toggle {
    width: 100%;
    padding: 12px 15px;
    background-color: #f7f7f7;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 11px; /* Smaller to fit "(X selects)" */
    color: #333;
    outline: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.ms-toggle:hover {
    border-color: #fa1922;
}

.multi-select.active .ms-toggle {
    border-radius: 20px 20px 0 0;
    border-color: #fa1922;
}

.ms-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    background: #fff;
    border: 2px solid #fa1922;
    border-top: none;
    border-radius: 0 0 20px 20px;
    z-index: 500;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.multi-select.active .ms-dropdown {
    display: block;
}

.ms-search-container {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #fa1922;
    z-index: 510;
}

.ms-search-input {
    width: 100%;
    padding: 8px 12px;
    padding-left: 32px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
}

.ms-search-input:focus {
    border-color: #fa1922;
    box-shadow: 0 0 0 3px rgba(250, 25, 34, 0.1);
}

.ms-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.ms-item:hover {
    background: #fff5f5;
}

.ms-item input {
    margin-right: 12px;
    accent-color: #fa1922;
    transform: scale(1.2);
}

.ms-item label {
    flex: 1;
    cursor: pointer;
    text-transform: uppercase;
}

.download-res-btn {
    background-color: #000 !important;
    margin-top: 10px;
    color: white !important;
}

.download-res-btn i {
    color: white !important;
}

.download-res-btn:hover {
    background-color: #fa1922 !important;
}

/* Red Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 85%;
    max-width: 280px;
}

.action-btn {
    background-color: #fa1922; 
    color: #ffffff; /* Contrast fix */
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 15px;
    border: none;
    border-radius: 40px; /* Pill shape */
    padding: 14px 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2), inset 0px 0px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    transition: transform 0.2s, background-color 0.2s;
}

.action-btn i {
    font-size: 24px;
    color: #000;
}

.action-btn:hover {
    transform: scale(1.03);
    background-color: #ff333c;
}

/* Circular Paginator Buttons */
.nav-section {
    position: absolute;
    bottom: 50px;
}

.nav-left {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    top: auto;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.nav-right {
    left: 40px;
}

.nav-circle-btn {
    background-color: #ef3b45;
    color: white;
    border: none;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
}

.nav-circle-btn:hover:not(:disabled) {
    background-color: #ff4755;
    transform: scale(1.05);
}

.nav-circle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
    box-shadow: none;
}

/* Flipbook / Product Viewer Area */
.product-view-area {
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* fix: prevents overflowing top header from being cut off */
}

.flipbook-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    position: relative;
    transform-style: preserve-3d; /* Maintain 3D context */
}

/* Single Page Flipping Leaf Structure */
.single-flipping-leaf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    pointer-events: none;
    transform-style: preserve-3d;
    display: none; /* Shown via JS */
}

.single-flipping-leaf.flip-next {
    transform-origin: left center;
}

.single-flipping-leaf.flip-prev {
    transform-origin: right center;
}

.single-leaf-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.single-leaf-face.back {
    transform: rotateY(180deg);
}

.single-leaf-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 150;
    pointer-events: none;
    opacity: 0;
}

/* Animations */
@keyframes singleFlipToLeft {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(-180deg); }
}

@keyframes singleFlipToRight {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

@keyframes singleShadowFade {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}

.animate-single-flip-next {
    display: block !important;
    animation: singleFlipToLeft 0.8s ease-in-out forwards;
}

.animate-single-flip-prev {
    display: block !important;
    animation: singleFlipToRight 0.8s ease-in-out forwards;
}

.animate-single-shadow {
    animation: singleShadowFade 0.8s ease-in-out;
}

/* Base image rules stripped to prevent disrupting catalog design */

/* Catalog Page Exact Match */
.catalog-page {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: #000;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.catalog-header {
    width: 100%;
    position: relative;
    padding-top: 25px;
    padding-bottom: 50px; /* space for category title */
}

.header-gray-bar {
    position: absolute;
    top: 55px;
    left: 0;
    width: 65%; /* spans behind logo up to right side */
    height: 18px;
    background-color: #ededed;
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
}

.header-logo-img {
    max-width: 60px;
    height: auto;
    object-fit: contain;
    margin-top: 18px;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schema-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #e32636;
    border-radius: 40px;
    padding: 2px 16px;
    color: #fff;
    background-color: #e32636;
    font-weight: 900;
    box-shadow: 0 0 0 3px #fff inset; /* creates that inner white ring */
}

.schema-logo .sbj-text {
    font-size: 32px;
    letter-spacing: 1px;
}

.schema-logo .tm {
    font-size: 10px;
    position: relative;
    top: -10px;
    margin-left: 2px;
}

.since-text-small {
    font-size: 10px;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: 0.5px;
    color: #000;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 15px;
}

.schema-suitable-area {
    display: flex;
    align-items: center;
}

.suitable-text {
    font-weight: 900;
    font-size: 13px;
    color: #444;
    margin-right: 10px;
}

.suitable-brand {
    background-color: #e32636;
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    padding: 6px 14px;
    border-radius: 4px;
}

.category-area {
    width: 100%;
    padding: 0 40px;
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    box-sizing: border-box;
}

.category-title {
    font-weight: 700;
    font-size: 22px;
    color: #222;
    margin: 0;
    padding-bottom: 5px;
}

.category-underline {
    height: 3px;
    background: linear-gradient(to left, #e32636 0%, #e32636 60%, rgba(227, 38, 54, 0) 100%);
    width: 100%; /* Spans full width, fade on left */
}

.catalog-body {
    flex-grow: 1;
    position: relative;
    padding: 20px 40px;
}

.watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><g opacity="0.05"><path d="M50 20 C20 20 20 50 50 50 C80 50 80 80 50 80 C20 80 20 50 50 50" fill="none" stroke="%23000" stroke-width="20"/><path d="M100 20 L100 80 C130 80 130 50 100 50 C130 50 130 20 100 20" fill="none" stroke="%23000" stroke-width="20"/><path d="M150 20 L150 70 C150 90 120 90 120 70" fill="none" stroke="%23000" stroke-width="20"/><text x="100" y="65" font-family="Roboto" font-size="60" font-weight="900" text-anchor="middle" fill="%23000">SBJ</text></g></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    z-index: 0;
    pointer-events: none;
}

.product-grid-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 15px;
    position: relative;
    z-index: 1;
    align-items: start;
}

.catalog-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 15px;
    margin-bottom: 0px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.catalog-product.selected {
    transform: scale(1.05);
}

.catalog-product.selected .product-image-box {
    border-color: #fa1922;
    box-shadow: 0 0 15px rgba(250, 25, 34, 0.3);
}



.catalog-product:hover {
    transform: translateY(-8px) scale(1.02);
}

.catalog-product:hover .product-image-box {
    box-shadow: 0 15px 35px rgba(227, 38, 54, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 38, 54, 0.4);
}

.catalog-product.selected:hover .product-image-box {
    border-color: #fa1922;
}

.catalog-product:hover .product-nr-label {
    box-shadow: 0 8px 16px rgba(191, 0, 16, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}

.product-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    background-color: #fafafa;
    /* High-tech dotted grid background */
    background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,0.06) 1px, transparent 0);
    background-size: 16px 16px; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.product-image-box img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-model-label {
    position: absolute;
    top: 15px; 
    left: 50%;
    transform: translate(-50%, -50%); 
    background: linear-gradient(135deg, #333, #000);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 12px;
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
}

.product-nr-label {
    background: linear-gradient(135deg, #ff3344, #bf0010);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    padding: 6px 18px;
    border-radius: 20px;
    position: relative;
    top: -14px; 
    z-index: 3;
    box-shadow: 0 6px 12px rgba(191, 0, 16, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,100,100,0.5);
    transition: box-shadow 0.4s ease;
}

.product-details-box {
    width: calc(100% - 16px); 
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 28px 12px 14px 12px; 
    margin-top: -30px; 
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,1));
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    backdrop-filter: blur(5px);
}

.product-name {
    font-size: 11px;
    font-weight: 900;
    color: #111;
    line-height: 1.3;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-spec {
    font-size: 9px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalog-footer {
    width: 100%;
    margin-top: 30px;
}

.disclaimer {
    font-size: 8px;
    color: #666;
    text-align: center;
    padding: 0 40px 10px 40px;
    line-height: 1.4;
}

.footer-red-banner {
    background-color: #e32636;
    color: #fff;
    height: 35px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 40px;
}

.page-number {
    position: absolute;
    left: 40px;
    font-weight: 900;
    font-size: 18px;
}

.footer-banner-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .product-grid-catalog { grid-template-columns: repeat(2, 1fr); }
    .header-content { flex-direction: column; align-items: center; }
    .category-area { text-align: center; position: relative; margin-top: 20px; }
    .category-underline { background: #e32636; }
    .header-gray-bar { display: none; }
    .schema-suitable-area { margin-top: 15px; }
    .footer-red-banner { flex-direction: column; height: auto; padding: 10px; }
    .page-number { position: static; margin-bottom: 5px; }
}

.flipbook-page p {
    font-size: 16px;
    color: #666;
}

/* AI Search Box UI */
.search-container-box {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 2px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 10px;
}

.search-header {
    padding: 22px 25px;
    background: linear-gradient(135deg, #fa1922, #c7000d);
    color: white;
    position: relative;
    text-align: center;
}

.search-header h2 {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.search-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 9px;
    background: rgba(255,255,255,0.25);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-input-group {
    position: relative;
    padding: 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-icon-left {
    position: absolute;
    left: 35px;
    color: #888;
    font-size: 15px;
}

#ai-search-input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 12px 15px 12px 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

#ai-search-input:focus {
    border-color: #fa1922;
    box-shadow: 0 0 0 3px rgba(250, 25, 34, 0.1);
}

.icon-btn {
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.icon-btn:hover {
    color: #fa1922;
    background: #fffafa;
    border-color: #fcc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 25, 34, 0.15);
}

.search-results-area {
    height: 320px;
    overflow-y: auto;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.empty-state {
    margin: auto;
    text-align: center;
    color: #999;
    padding: 30px 20px;
}

.ai-sparkle {
    font-size: 40px;
    color: #fa1922;
    margin-bottom: 20px;
    opacity: 0.15;
}

.empty-state p {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #555;
}

.empty-state span {
    font-size: 12px;
    display: block;
    margin-top: 8px;
    text-transform: uppercase;
    color: #999;
}

/* Redesigned bottom navigation controls for the right pane */
.nav-right-container {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-bottom: 20px;
}

.controls-mini {
    display: flex;
    gap: 15px;
}

.mini-btn {
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.mini-btn:hover {
    color: #fa1922;
    border-color: #fcc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 25, 34, 0.15);
}

/* Animations & Responsiveness */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.flip-next {
    animation: flipNext 0.5s ease-in-out;
}

.flip-prev {
    animation: flipPrev 0.5s ease-in-out;
}

@keyframes flipNext {
    0% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
    50% { transform: perspective(1000px) rotateY(-90deg); opacity: 0; }
    51% { transform: perspective(1000px) rotateY(90deg); opacity: 0; }
    100% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
}

@keyframes flipPrev {
    0% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
    50% { transform: perspective(1000px) rotateY(90deg); opacity: 0; }
    51% { transform: perspective(1000px) rotateY(-90deg); opacity: 0; }
    100% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
}

@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .center-title {
        font-size: 12vw;
    }
    
    .nav-section {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        margin-top: 40px;
    }
    
    .nav-left, .nav-right {
        margin: 20px auto;
    }
}

/* Options Menu */
.product-options-menu {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 10000;
    overflow: hidden;
    min-width: 180px;
    font-family: 'Roboto', sans-serif;
}

.product-options-menu .option-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    text-transform: uppercase;
}

.product-options-menu .option-item i {
    font-size: 16px;
    color: #fa1922;
    width: 20px;
    text-align: center;
}

.product-options-menu .option-item:hover {
    background: #f5f5f5;
}

.product-options-menu .option-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

/* =========================================
   REELS MODE (Futuristic Layout)
   ========================================= */
.reels-container {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fadeInReels 0.5s ease-out forwards;
}

.reels-scroller {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.reels-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.reel-wrapper {
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.reel-glass-frame {
    height: calc(100% - 60px);
    width: auto;
    aspect-ratio: 9 / 16;
    max-width: 95vw;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-glass-frame:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(250, 25, 34, 0.4);
}

.reel-glass-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.reel-title {
    color: #333;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

@keyframes fadeInReels {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.reels-cat-btn.active {
    background-color: #fa1922 !important;
    border-color: #fa1922 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(250, 25, 34, 0.6);
}
