/* Product Detail Page Styles */

/* Base styles */
.product-container {
    margin-top: 20px;
    background: rgba(20, 0, 40, .5);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 0 25px rgba(255, 0, 255, .3)
}

.product-image-container {
    background: transparent;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden
}

.product-image {
    border-radius: 5px;
    width: 100%;
    height: auto;
    object-fit: contain
}

.no-image {
    background: linear-gradient(135deg, #2a0055, #4a0077);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem
}

.product-title {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2
}

.product-description {
    font-family: Arial, sans-serif;
    line-height: 1.6
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px
}

.feature-text {
    font-family: Arial, sans-serif;
    font-size: 1.1rem
}

.price-container {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: none;
    display: flex;
    align-items: center
}

.product-container .price-label {
    display: none
}

.actions-container {
    margin-top: 20px
}

/* Product page button overrides - base styles in components/buttons.css */
.product-container .btn-rave,
.actions-container .btn-rave {
    font-weight: 800;
    margin-bottom: 12px;
    width: 100%;
}

.btn-outline-light {
    border: 2px solid rgba(255, 0, 255, .5);
    color: #ff00ff;
    font-weight: 800; /* Increased from bold (700) to 800 for more boldness */
    padding: 10px 15px;
    transition: all .3s ease;
    font-size: 1.1rem; /* Increased from 1rem to 1.1rem */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(153, 0, 255, .3);
    text-align: center;
    width: 100%;
}

.btn-outline-light:hover {
    background-color: rgba(255, 0, 255, .2);
    border-color: #ff00ff;
    color: white;
    box-shadow: 0 0 15px rgba(153, 0, 255, .5);
}

/* Specific styling for the "View All" button in the reviews section */
.reviews-section .btn-outline-light.btn-sm {
    background: transparent;
    border: 2px solid #9900ff;
    color: white;
    font-size: 0.875rem;
    padding: 5px 10px;
    width: auto;
    box-shadow: 0 0 10px rgba(153, 0, 255, .3);
}

.reviews-section .btn-outline-light.btn-sm:hover {
    background-color: rgba(255, 0, 255, .2);
    border-color: #ff00ff;
    color: white;
    box-shadow: 0 0 15px rgba(153, 0, 255, .5);
}

/* Variant Selector Styles */
.variant-selector {
    margin-bottom: 1rem;
}

.variant-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f8f9fa;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Variant option - base */
.variant-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 12px 16px;
    background: rgba(40, 0, 80, 0.4);
    border: 2px solid rgba(153, 0, 255, 0.3);
    border-radius: 10px;
    color: #f8f9fa;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

/* Checkmark - hidden by default */
.variant-checkmark {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #00ff88;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    z-index: 1;
}

/* Hover state */
.variant-option:hover:not(:disabled) {
    transform: scale(1.02);
    background: rgba(153, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: 0 4px 12px rgba(153, 0, 255, 0.3);
}

/* Focus state for keyboard accessibility */
.variant-option:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

.variant-option:focus:not(:focus-visible) {
    outline: none;
}

/* Selected state */
.variant-option.selected {
    border: 3px solid #ff00ff;
    background: rgba(153, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.variant-option.selected .variant-checkmark {
    display: flex;
}

/* Disabled/Out of stock state */
.variant-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(60, 60, 60, 0.3);
}

.variant-option:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 45%,
        rgba(255, 0, 0, 0.3) 45%,
        rgba(255, 0, 0, 0.3) 55%,
        transparent 55%
    );
    border-radius: 8px;
    pointer-events: none;
}

.variant-swatch {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.variant-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Price display - show full price */
.variant-price {
    font-size: 0.9rem;
    color: #00ffff;
    font-weight: 600;
}

/* Stock badges */
.variant-stock-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.variant-stock-badge.out {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.variant-stock-badge.low {
    background: rgba(255, 200, 0, 0.2);
    color: #ffd93d;
}

/* Legacy classes for backwards compatibility */
.variant-price-diff {
    font-size: 0.8rem;
    color: #00ffff;
}

.variant-out-of-stock {
    font-size: 0.75rem;
    color: #ff6b6b;
    margin-top: 0.25rem;
}

.variant-low-stock {
    font-size: 0.75rem;
    color: #ffd93d;
    margin-top: 0.25rem;
}

.variant-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Responsive variant options */
@media (max-width: 576px) {
    .variant-options {
        gap: 0.5rem;
    }

    .variant-option {
        min-width: 85px;
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .variant-checkmark {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: -6px;
        right: -6px;
    }

    .variant-swatch {
        width: 32px;
        height: 32px;
    }

    .variant-price {
        font-size: 0.85rem;
    }

    .variant-stock-badge {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
}

/* Fast-delivery notice below Amazon button */
.amazon-notice {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 200, 0, 0.5);
}

.amazon-notice i {
    color: #ffcc00;
}

.secondary-actions {
    display: flex;
    flex-direction: column
}

.reviews-section {
    background: rgba(20, 0, 40, .3);
    border-radius: 15px;
    padding: 20px 15px;
    margin-top: 15px
}

.reviews-header {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 10px;
    margin-bottom: 15px
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: #f5f5f5
}

.interactive-rating-container {
    margin: 15px 0;
    position: relative;
    display: block
}

.interactive-stars {
    font-size: 1.5rem;
    cursor: pointer
}

.star-interactive {
    margin-right: 2px;
    transition: all .2s ease
}

.star-interactive:hover {
    transform: scale(1.2)
}

.star-interactive.disabled {
    opacity: .5;
    cursor: not-allowed
}

.review-form-container {
    background: rgba(40, 0, 80, .3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(128, 0, 255, .2)
}

.review-item {
    background: rgba(40, 0, 80, .2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(80, 0, 160, .2);
    height: 100%;
    display: flex;
    flex-direction: column
}

.reviewer-name {
    font-weight: bold;
    color: #f0f0f0
}

.verified-badge {
    display: inline-block;
    background: rgba(0, 200, 100, .2);
    color: #4dff9e;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: .75rem;
    margin-left: 8px
}

.section-subtitle {
    color: #aaa;
    font-size: 1.1rem
}

.review-title {
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 5px;
    font-size: 1.1rem
}

.review-comment {
    color: #cccccc;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: break-word
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px
}

.reviewer-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

.review-rating {
    display: flex;
    align-items: center
}

.small-star {
    font-size: .8rem;
    margin-right: 0
}

.review-date {
    color: #aaa;
    font-size: .8rem
}

.highlight-new {
    animation: highlight-fade 3s ease-out
}

@keyframes highlight-fade {
    0% {
        background-color: rgba(128, 0, 255, .3)
    }

    100% {
        background-color: transparent
    }
}

.login-to-review-message {
    background: rgba(40, 0, 80, .3);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(128, 0, 255, .2);
    font-size: 1.1rem;
    color: #cccccc
}

.login-link {
    color: #9966ff;
    text-decoration: none;
    font-weight: bold
}

.login-link:hover {
    color: #bb99ff;
    text-decoration: underline
}

.modal-content.border-glow {
    background: linear-gradient(135deg, #1a0033, #2a0077);
    border: 1px solid rgba(128, 0, 255, .3);
    box-shadow: 0 0 15px rgba(128, 0, 255, .4)
}

.modal-header {
    border-bottom: 1px solid rgba(255, 0, 255, .2)
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto
}

.modal-body::-webkit-scrollbar {
    width: 10px
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .2);
    border-radius: 10px
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(128, 0, 255, .5);
    border-radius: 10px
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 0, 255, .7)
}

.review-item-full {
    background: rgba(40, 0, 80, .3);
    border-radius: 8px;
    padding: 15px;
    transition: all .3s ease;
    max-width: 100%;
    overflow-wrap: break-word
}

.review-item-full:hover {
    background: rgba(60, 0, 120, .3)
}

.review-date.text-white {
    color: #ffffff !important;
    font-size: .9rem
}

.review-divider {
    border-color: rgba(128, 0, 255, .2);
    margin: 20px 0
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .7;
    transition: all .2s ease
}

.btn-close-white:hover {
    opacity: 1;
    transform: scale(1.1)
}

.btn-close-warning {
    filter: brightness(0) invert(1);
    opacity: .7;
    transition: all .2s ease;
    background: none;
    border: none;
    font-size: .8rem;
    padding: 2px;
    line-height: 1;
    position: absolute;
    top: 4px;
    right: 12px
}

.btn-close-warning:hover {
    opacity: 1;
    transform: scale(1.1)
}

.char-counter {
    font-size: .8rem;
    color: #aaa;
    text-align: right;
    margin-top: 2px
}

.char-counter.near-limit {
    color: #ffaa00
}

.char-counter.at-limit {
    color: #ff3300
}

.review-form-validation-error {
    background: rgba(220, 53, 69, .1);
    color: #dc3545;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #dc3545;
    display: flex;
    align-items: center;
    font-weight: normal
}

.custom-warning-message {
    background: rgba(50, 45, 0, .8);
    border: 1px solid #ff0;
    border-radius: 4px;
    padding: 8px 30px 8px 12px;
    margin-top: 8px;
    margin-bottom: 15px;
    box-shadow: 0 0 5px #ff0, 0 0 10px rgba(255, 255, 0, .5);
    position: relative;
    font-size: .9rem;
    color: #fff;
    display: inline-block;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    width: auto;
    white-space: normal;
    line-height: 1.4;
    position: relative;
    min-width: 0;
    box-sizing: border-box
}

.custom-warning-message .d-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px
}

.custom-warning-message i {
    color: #ff0;
    font-size: 1.2rem;
    -webkit-flex-shrink: 0;
    flex-shrink: 0
}

.custom-warning-message span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    white-space: normal;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-right: 20px
}

.custom-warning-message .btn-close-warning {
    position: absolute;
    top: 4px;
    right: 12px;
    font-size: .7rem;
    opacity: .7;
    transition: all .2s ease;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding: 2px 6px
}

.custom-warning-message .btn-close-warning:hover {
    opacity: 1;
    transform: scale(1.1)
}

#notPurchasedMessage.custom-warning-message {
    background: rgba(50, 45, 0, .8);
    border: 1px solid #ff0;
    box-shadow: 0 0 5px #ff0, 0 0 10px rgba(255, 255, 0, .5)
}

#notPurchasedMessage.custom-warning-message i {
    color: #ff0
}

#alreadyReviewedMessage.custom-warning-message {
    background: rgba(50, 45, 0, .8);
    border: 1px solid #ff0;
    box-shadow: 0 0 5px #ff0, 0 0 10px rgba(255, 255, 0, .5)
}

#alreadyReviewedMessage.custom-warning-message i {
    color: #ff0
}

.system-messages {
    position: relative;
    z-index: 1050;
    margin-bottom: 20px;
    width: 100%;
}

.system-messages .alert {
    background: linear-gradient(135deg, #2a0055, #4a0077);
    border: 1px solid rgba(255, 0, 255, .5);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 0, 255, .3), 0 0 5px #ff00ff, 0 0 10px #ff00ff;
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
    color: #fff;
    padding: 15px 20px
}

.system-messages .alert-error,
.system-messages .alert-danger {
    background: linear-gradient(135deg, #2a0055, #4a0077);
    border: 1px solid rgba(255, 0, 255, .7);
    box-shadow: 0 0 15px rgba(255, 0, 255, .5), 0 0 8px #ff00ff, 0 0 20px #ff00ff;
    animation: neon-pulse 1.5s ease-in-out infinite alternate;
    color: #ffffff;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ff00ff;
    font-weight: 500;
}

.system-messages .alert i {
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
    font-size: 1.3rem;
    margin-right: 12px
}

.system-messages .alert-error i,
.system-messages .alert-danger i {
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff, 0 0 15px #ffffff;
}

.system-messages .alert span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, .5);
    font-weight: 500
}

.system-messages .alert .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .7;
    transition: all .2s ease
}

.system-messages .alert .btn-close:hover {
    opacity: 1;
    transform: scale(1.1)
}

@keyframes neon-pulse {
    from {
        box-shadow: 0 0 10px rgba(255, 0, 255, .4), 0 0 5px #ff00ff, 0 0 10px #ff00ff
    }

    to {
        box-shadow: 0 0 20px rgba(255, 0, 255, .6), 0 0 10px #ff00ff, 0 0 15px #ff00ff
    }
}

.image-gallery-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start; /* Top-align thumbnails with image */
}

.product-thumbnails-vertical {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    width: 70px;
    flex-shrink: 0;
}

/* Viewport with fixed max-height to match typical product images */
.thumbnail-viewport {
    max-height: 420px; /* Fixed height matching typical product images */
    overflow: hidden;
    position: relative;
    width: 100%;
}

.thumbnail-container-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    transition: transform 0.3s ease;
}

/* Navigation arrows - overlay style at top/bottom of viewport */
.thumbnail-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 26px;
    background: linear-gradient(180deg, rgba(20, 0, 40, 0.98) 0%, rgba(20, 0, 40, 0.85) 100%);
    border: 1px solid rgba(255, 0, 255, 0.4);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
    z-index: 10;
    opacity: 0;
}

/* Show arrows on hover over the entire thumbnail area */
.product-thumbnails-vertical:hover .thumbnail-nav:not(:disabled) {
    opacity: 1;
}

/* Also show when has 'visible' class (for initial state) */
.thumbnail-nav.visible:not(:disabled) {
    opacity: 0.8;
}

.thumbnail-nav-up {
    top: 0;
    background: linear-gradient(180deg, rgba(20, 0, 40, 0.98) 0%, rgba(20, 0, 40, 0.7) 100%);
}

.thumbnail-nav-down {
    bottom: 0;
    background: linear-gradient(0deg, rgba(20, 0, 40, 0.98) 0%, rgba(20, 0, 40, 0.7) 100%);
}

.thumbnail-nav:hover:not(:disabled) {
    background: linear-gradient(180deg, rgba(255, 0, 255, 0.5) 0%, rgba(255, 0, 255, 0.3) 100%);
    border-color: #ff00ff;
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
    opacity: 1;
}

.thumbnail-nav:disabled {
    opacity: 0 !important;
    cursor: default;
    pointer-events: none;
}

.thumbnail-nav i {
    font-size: 0.85rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.thumbnail-item {
    width: 60px;
    height: 60px;
    border: 2px solid #343a40;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: #6c757d
}

.thumbnail-item.active {
    border-color: #ff00ff
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.main-image-container {
    text-align: center;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    display: block
}

.product-image-container {
    flex-grow: 1;
    width: calc(100% - 85px);
    margin-bottom: 0 !important
}

.mobile-dot-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #343a40;
    cursor: pointer;
    transition: all .2s ease
}

.dot.active {
    background-color: #ff00ff;
    transform: scale(1.2)
}

.neon-text {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff, 0 0 30px #ff00ff;
    animation: neon-glow 1.5s ease-in-out infinite alternate
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 5px #ff00ff, 0 0 10px #00ffff, 0 0 15px #ff00ff
    }

    to {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff, 0 0 30px #ff00ff
    }
}

/* ========================================
   NAVBAR - Modern Redesign
   Layout: Logo Left | Nav Center | Utils Right (Desktop)
           Hamburger Left | Logo Center | Cart Right (Mobile)
   ======================================== */

.navbar {
    background: rgba(0, 0, 0, .9);
    box-shadow: 0 2px 20px rgba(255, 0, 255, .4);
    padding: 0;
    min-height: 70px
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.5rem clamp(1.25rem, 3vw, 4rem);
    position: relative
}

/* ===== DESKTOP LAYOUT (>= 992px) ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-shrink: 0
}

/* Desktop Logo */
.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
    display: block
}

.navbar-logo:hover {
    transform: scale(1.02)
}

/* Center Navigation */
.navbar-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    gap: 0.5rem
}

.navbar-nav-center .nav-item {
    margin: 0
}

.navbar-nav-center .nav-link {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease
}

/* Right Utilities (Cart & Account) */
.navbar-nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0
}

.navbar-nav-right .nav-item {
    margin: 0
}

.nav-icon-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem
}

.nav-icon-link i {
    font-size: 1.1rem
}

.cart-count {
    font-size: 0.85rem;
    opacity: 0.9
}

/* ===== MOBILE LAYOUT (< 992px) ===== */
.navbar-mobile {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    width: 100%;
    padding: 0.4rem 0;
    gap: 0.5rem
}

/* Mobile Hamburger - Left */
.mobile-toggler {
    border: none;
    padding: 0;
    background: transparent;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background-color 0.2s ease
}

.mobile-toggler:hover {
    background: rgba(255, 0, 255, 0.1)
}

.mobile-toggler:focus {
    box-shadow: none;
    outline: none
}

.mobile-toggler .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem
}

/* Mobile Logo - True Center */
.navbar-brand-mobile {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0
}

.navbar-logo-mobile {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block
}

/* Mobile Cart Icon - Right */
.mobile-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 0;
    font-size: 1.35rem;
    position: relative;
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.2s ease
}

.mobile-cart-icon:hover {
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1)
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ff00ff, #9900ff);
    color: #fff;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 0.15rem 0.35rem;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.6)
}

/* Mobile Menu Styles - Account Section */
.mobile-menu-extras {
    border-top: 2px solid rgba(255, 0, 255, 0.4);
    margin-top: 1rem;
    padding-top: 1rem;
    position: relative
}

.mobile-menu-extras::before {
    content: 'Account';
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    background: rgba(8, 0, 16, 0.97);
    padding: 0 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 0, 255, 0.7)
}

.mobile-menu-extras .nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.2s ease;
    border-radius: 8px
}

.mobile-menu-extras .nav-link:hover {
    color: #ff00ff;
    background: rgba(255, 0, 255, 0.12)
}

.mobile-menu-extras i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: #ff00ff;
    filter: drop-shadow(0 0 4px rgba(255, 0, 255, 0.5))
}

.btn-link-nav {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit
}

.btn-link-nav:hover {
    color: #ff00ff
}

/* ===== LOGO NEON GLOW EFFECT ===== */
.neon-logo {
    filter: drop-shadow(0 0 6px rgba(255, 0, 255, 0.8)) drop-shadow(0 0 12px rgba(255, 0, 255, 0.5));
    animation: logo-neon-glow 2s ease-in-out infinite alternate
}

@keyframes logo-neon-glow {
    from {
        filter: drop-shadow(0 0 4px rgba(255, 0, 255, 0.7)) drop-shadow(0 0 8px rgba(255, 0, 255, 0.4))
    }
    to {
        filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.9)) drop-shadow(0 0 16px rgba(255, 0, 255, 0.6))
    }
}

/* ===== NAVBAR COLLAPSE (Mobile Menu) ===== */
.navbar-collapse {
    flex-grow: 0
}

/* Mobile menu animation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
        pointer-events: none
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 0, 16, 0.97);
        padding: 1rem 1.25rem 1.25rem;
        border-top: 1px solid rgba(255, 0, 255, 0.5);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                    0 0 25px rgba(255, 0, 255, 0.2);
        z-index: 1050;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px)
    }

    .navbar-nav-center {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem
    }

    .navbar-nav-center .nav-link {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 1.1rem;
        border-radius: 6px;
        transition: all 0.2s ease
    }

    .navbar-nav-center .nav-link:hover {
        background: rgba(255, 0, 255, 0.1)
    }

    .navbar-nav-center .nav-item:last-child .nav-link {
        border-bottom: none
    }

    /* Mobile dropdown improvements */
    .navbar-nav-center .dropdown-menu {
        position: static;
        background: rgba(20, 0, 40, 0.95);
        border: 1px solid rgba(255, 0, 255, 0.2);
        border-radius: 10px;
        margin: 0.5rem 0 0.75rem 0.75rem;
        padding: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                    inset 0 0 20px rgba(255, 0, 255, 0.05)
    }

    .navbar-nav-center .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 6px;
        transition: all 0.2s ease
    }

    .navbar-nav-center .dropdown-item:hover {
        background: rgba(255, 0, 255, 0.15)
    }
}

/* ===== GENERAL NAV STYLES ===== */
.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none
}

.nav-item {
    margin: 0
}

.nav-link {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s ease
}

.nav-link:hover,
.nav-link:focus {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff
}

.navbar-brand,
.navbar-brand-mobile {
    color: #fff
}

.navbar-brand:hover,
.navbar-brand-mobile:hover {
    color: #fff
}

@media (max-width:768px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
        margin-top: 10px
    }

    .container-fluid.container-md {
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important
    }

    .product-container {
        padding: 0;
        margin: 0 0 15px 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent
    }

    .product-image-container {
        max-height: none;
        padding: 0;
        margin: 15px auto 15px;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        width: 75vw;
        max-width: 350px
    }

    .product-image {
        max-height: none;
        border-radius: 8px;
        width: 100%;
        object-fit: contain;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .2)
    }

    .product-detail-page .col-md-6:first-child {
        padding-left: 0;
        padding-right: 0;
        margin-top: 10px
    }

    .product-detail-page .col-md-6:last-child {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 5px
    }

    .product-title {
        font-size: 1.9rem !important;
        margin-top: 15px;
        margin-bottom: 8px;
        line-height: 1.3
    }

    .price-container {
        font-size: 1.7rem;
        margin-top: 5px;
        margin-bottom: 12px
    }

    .product-description p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 8px
    }

    .product-description .fs-5 {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        font-weight: normal
    }

    .feature-item {
        margin-bottom: 8px
    }

    .feature-icon {
        font-size: 1.2rem;
        margin-right: 10px
    }

    .feature-text {
        font-size: 1rem
    }

    /* Product page button overrides for tablet */
    .product-container .btn-rave,
    .actions-container .btn-rave {
        padding: 12px 15px;
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 10px;
        border-radius: 4px;
        width: 100%;
    }

    .btn-outline-light {
        padding: 12px 15px;
        font-size: 1.1rem; /* Increased from 1rem to 1.1rem */
        font-weight: 800; /* Increased from bold (700) to 800 */
        margin-bottom: 10px;
        border-radius: 4px;
        border: 2px solid rgba(255, 0, 255, .5) !important;
        color: #ff00ff !important;
        box-shadow: 0 0 10px rgba(153, 0, 255, .3);
        background: transparent !important;
        width: 100% !important;
    }

    .btn-outline-light:hover {
        background-color: rgba(255, 0, 255, .2) !important;
        border-color: #ff00ff !important;
        color: white !important;
        box-shadow: 0 0 15px rgba(153, 0, 255, .5);
    }

    .reviews-section {
        padding: 20px;
        margin: 20px 15px;
        border-radius: 12px;
        background: rgba(20, 0, 40, .5);
        box-shadow: 0 4px 15px rgba(128, 0, 255, .15);
        width: 96%;
        margin-left: auto;
        margin-right: auto
    }

    .product-detail-page .col-12.mt-4 {
        padding: 0;
        margin-top: 25px
    }

    .review-item {
        padding: 16px;
        margin-bottom: 18px;
        border-radius: 10px;
        border: 1px solid rgba(128, 0, 255, .15)
    }

    .reviews-preview .row.g-3 {
        margin: 0 -5px
    }

    .reviews-preview .col-md-6 {
        padding: 0 8px
    }

    .image-gallery-container {
        flex-direction: column
    }

    .product-thumbnails-vertical {
        display: none
    }

    .thumbnail-nav {
        display: none !important
    }

    .product-image-container {
        width: 100%;
        margin-bottom: 0
    }

    .main-image-container {
        touch-action: pan-x;
        position: relative;
        overflow: hidden
    }

    .product-image {
        transition: transform .3s ease
    }

    .interactive-stars {
        display: flex;
        align-items: center;
        flex-wrap: wrap
    }

    .star-interactive {
        font-size: 1.3rem
    }

    /* Fix styling for the "View All" button in reviews section */
    .reviews-section .btn-outline-light.btn-sm {
        background: transparent !important;
        border: 2px solid #9900ff !important;
        color: white !important;
        font-size: 0.875rem !important;
        padding: 5px 10px !important;
        width: auto !important;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 0 10px rgba(153, 0, 255, .3);
    }
}

@media (max-width:576px) {
    .product-title {
        font-size: 1.65rem;
        margin-top: 12px
    }

    .price-container {
        font-size: 1.5rem;
        margin-bottom: 8px
    }

    .product-description p {
        font-size: .95rem;
        line-height: 1.4
    }

    .product-description .fs-5 {
        font-size: 1rem;
        line-height: 1.5
    }

    /* Product page button overrides for mobile */
    .product-container .btn-rave,
    .actions-container .btn-rave {
        padding: 10px;
        font-size: 1.2rem;
        font-weight: 800;
        width: 100%;
    }

    .btn-outline-light {
        padding: 10px;
        font-size: 1.1rem; /* Increased from 1rem to 1.1rem */
        font-weight: 800; /* Increased from bold (700) to 800 */
        border: 2px solid rgba(255, 0, 255, .5) !important;
        color: #ff00ff !important;
        box-shadow: 0 0 10px rgba(153, 0, 255, .3);
        background: transparent !important;
        width: 100% !important;
    }

    .btn-outline-light:hover {
        background-color: rgba(255, 0, 255, .2) !important;
        border-color: #ff00ff !important;
        color: white !important;
        box-shadow: 0 0 15px rgba(153, 0, 255, .5);
    }

    .section-title {
        font-size: 1.3rem
    }

    .review-header {
        flex-direction: column;
        gap: 4px
    }

    .review-date {
        font-size: .8rem
    }

    .reviews-preview .col-md-6 {
        width: 100%;
        margin-bottom: 15px
    }

    .product-container {
        margin-top: 0
    }

    .container-fluid {
        padding-top: 25px
    }

    .product-image-container {
        width: 65vw;
        margin-top: 25px
    }

    .reviews-section {
        margin: 20px 0 5px;
        width: 100%;
        border-radius: 8px;
        padding: 22px 15px 15px
    }

    .review-item {
        margin-bottom: 20px;
        padding: 18px
    }

    .review-item:last-child {
        margin-bottom: 0
    }

    /* Fix styling for the "View All" button in reviews section */
    .reviews-section .btn-outline-light.btn-sm {
        background: transparent !important;
        border: 2px solid #9900ff !important;
        color: white !important;
        font-size: 0.875rem !important;
        padding: 5px 10px !important;
        width: auto !important;
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 0 10px rgba(153, 0, 255, .3);
    }
}

@media (min-width:769px) {
    .container-fluid.container-md {
        padding-top: 30px
    }

    .product-container {
        margin-top: 40px;
        padding: 35px 30px
    }

    .product-image-container {
        max-height: none;
        height: auto;
        padding: 15px;
        margin: 10px auto 20px
    }

    /* Align thumbnails with main image (match margin + padding offset) */
    .product-thumbnails-vertical {
        margin-top: 10px;
        padding-top: 15px;
    }

    .product-image {
        max-height: 450px
    }

    .row.product-container {
        display: flex;
        align-items: flex-start
    }

    /* Scoped to .product-container so the first-col align-self override stays
       on the product detail page. Without the scope, it leaks to every
       Bootstrap row whose first child is .col-md-6, breaking flex row-height
       equalisation on event-card grids elsewhere in the app. The same
       reasoning scopes the descendant rules below: keeps the product page's
       action/button overrides from leaking to any other page that happens to
       use those class names inside a col-md-6 first child. */
    .product-detail-page .product-container > .col-md-6:first-child {
        align-self: flex-start
    }

    .product-title {
        margin-top: 0
    }

    .product-detail-page .product-container > .col-md-6:first-child .actions-container {
        margin-top: 15px;
        width: 100%
    }

    /* Desktop product page button overrides - base styles in components/buttons.css */
    .product-detail-page .product-container > .col-md-6:first-child .btn-rave {
        font-size: 1.3rem;
        font-weight: 800;
        padding: 12px 0;
    }

    .product-detail-page .product-container > .col-md-6:first-child .secondary-actions {
        display: flex;
        justify-content: space-between;
        gap: 10px
    }

    .product-detail-page .product-container > .col-md-6:first-child .secondary-actions a {
        flex: 1;
        font-size: 1.1rem; /* Increased from 1rem to 1.1rem */
        font-weight: 800; /* Increased from bold (700) to 800 */
        text-align: center;
        padding: 10px 0;
        border: 2px solid rgba(255, 0, 255, .5);
        color: #ff00ff;
        box-shadow: 0 0 10px rgba(153, 0, 255, .3);
    }

    .product-detail-page .product-container > .col-md-6:first-child .secondary-actions a:hover {
        background-color: rgba(255, 0, 255, .2);
        border-color: #ff00ff;
        color: white;
        box-shadow: 0 0 15px rgba(153, 0, 255, .5);
    }
}

.info-label,
.info-item,
.trust-info {
    display: none
}

/* Image Lightbox Styles - Amazon-style */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.image-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.lightbox-content:active {
    cursor: grabbing;
}

.lightbox-content.dragging {
    cursor: grabbing;
}

.lightbox-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 85vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4), 0 0 80px rgba(0, 255, 255, 0.2);
    transition: none;
    pointer-events: none;
    will-change: transform;
}

.lightbox-img.zoomed {
    max-width: none;
    max-height: none;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    color: #fff;
    background: rgba(20, 0, 40, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px #ff00ff;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.lightbox-zoom-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 0, 40, 0.9);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 0, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    z-index: 10001;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9900ff, #ff00ff);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-level {
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
}

/* Lightbox navigation arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(20, 0, 40, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    line-height: 1;
    padding-bottom: 4px;
}

.lightbox-nav:hover {
    background: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

/* Lightbox dots indicator */
.lightbox-dots {
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10001;
    justify-content: center;
}

.lightbox-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.lightbox-dot.active {
    background: #ff00ff;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
}

.lightbox-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-hint.hidden {
    opacity: 0;
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        display: none;
    }

    .lightbox-zoom-controls {
        display: none;
    }

    .lightbox-content {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .lightbox-image-wrapper {
        flex-shrink: 0;
    }

    .lightbox-dots {
        position: static;
        transform: none;
        bottom: auto;
        left: auto;
    }

    .lightbox-dot {
        width: 8px;
        height: 8px;
    }

    .lightbox-hint {
        display: none;
    }
}

/* Make main image clickable */
.main-image-container {
    cursor: zoom-in;
}

.main-image-container .product-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image-container:hover .product-image {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* ========================================
   STOCK/AVAILABILITY INDICATOR
   ======================================== */

.stock-indicator {
    margin-bottom: 15px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.stock-badge i {
    font-size: 1rem;
}

.stock-in {
    background: rgba(0, 200, 100, 0.15);
    color: #4dff9e;
    border: 1px solid rgba(0, 200, 100, 0.4);
    text-shadow: 0 0 8px rgba(0, 200, 100, 0.5);
}

.stock-in i {
    color: #4dff9e;
}

.stock-low {
    background: rgba(255, 200, 0, 0.15);
    color: #ffcc00;
    border: 1px solid rgba(255, 200, 0, 0.4);
    text-shadow: 0 0 8px rgba(255, 200, 0, 0.5);
    animation: pulse-low 2s ease-in-out infinite;
}

.stock-low i {
    color: #ffcc00;
}

@keyframes pulse-low {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 200, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 200, 0, 0.6);
    }
}

.stock-out {
    background: rgba(255, 60, 60, 0.15);
    color: #ff6666;
    border: 1px solid rgba(255, 60, 60, 0.4);
    text-shadow: 0 0 8px rgba(255, 60, 60, 0.5);
}

.stock-out i {
    color: #ff6666;
}

/* ========================================
   QUANTITY SELECTOR
   ======================================== */

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quantity-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: rgba(20, 0, 40, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #ff00ff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #fff;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 50px;
    height: 44px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 0, 255, 0.3);
    border-right: 1px solid rgba(255, 0, 255, 0.3);
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-max-hint {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 200, 0, 0.5);
}

/* ========================================
   SHIPPING INFORMATION
   ======================================== */

.shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: #fff;
    flex-wrap: wrap;
}

.shipping-info i {
    color: #00ffff;
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.shipping-note {
    color: #4dff9e;
    font-size: 0.85rem;
    margin-left: auto;
}

/* ========================================
   TRUST BADGES
   ======================================== */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 15px;
    background: rgba(20, 0, 40, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(128, 0, 255, 0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #fff;
}

.trust-badge i {
    font-size: 1.1rem;
}

.trust-badge:nth-child(1) i {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.trust-badge:nth-child(2) i {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.trust-badge:nth-child(3) i {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */

.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #aaa;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #166fe5;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
    color: #fff;
}

.share-twitter {
    background: #000;
    border: 1px solid #333;
}

.share-twitter:hover {
    background: #222;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    color: #fff;
}

.share-pinterest {
    background: #e60023;
}

.share-pinterest:hover {
    background: #ad081b;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(230, 0, 35, 0.6);
    color: #fff;
}

/* ========================================
   RELATED PRODUCTS SECTION
   ======================================== */

.related-products-section {
    background: rgba(20, 0, 40, 0.3);
    border-radius: 15px;
    padding: 25px 20px;
    margin-top: 15px;
}

.related-products-section .section-title {
    font-size: 1.6rem;
    color: #f5f5f5;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.related-product-card {
    display: block;
    text-decoration: none;
    background: rgba(40, 0, 80, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(128, 0, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.related-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio */
    background: rgba(20, 0, 40, 0.5);
    overflow: hidden;
}

.related-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-image .no-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 2rem;
}

.related-product-info {
    padding: 12px;
}

.related-product-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 4px;
}

.related-stock-badge {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.related-stock-badge.out {
    background: rgba(255, 60, 60, 0.2);
    color: #ff6666;
}

.related-stock-badge.low {
    background: rgba(255, 200, 0, 0.2);
    color: #ffcc00;
}

/* ========================================
   DISABLED BUTTON STATE
   ======================================== */

.btn-rave.disabled,
.btn-rave:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #555;
    box-shadow: none;
}

.btn-rave.disabled:hover,
.btn-rave:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .stock-badge {
        font-size: 0.85rem;
        padding: 5px 10px;
    }

    .quantity-selector {
        justify-content: flex-start;
    }

    .quantity-label {
        font-size: 0.9rem;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
    }

    .qty-input {
        width: 45px;
        height: 40px;
        font-size: 1rem;
    }

    .shipping-info {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .shipping-note {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .trust-badges {
        gap: 8px;
        padding: 12px;
    }

    .trust-badge {
        font-size: 0.8rem;
        flex: 1 1 100%;
        justify-content: center;
    }

    .social-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .related-products-section {
        padding: 20px 15px;
        margin: 20px 0 5px;
        border-radius: 8px;
    }

    .related-products-section .section-title {
        font-size: 1.3rem;
    }

    .related-product-name {
        font-size: 0.8rem;
    }

    .related-product-price {
        font-size: 0.9rem;
    }

    .related-product-info {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .trust-badge {
        flex: 0 1 auto;
    }

    .related-product-card {
        border-radius: 8px;
    }
}
