.glass-panel {
    background: var(--color-nav-bg) !important;
    border-color: var(--color-nav-border) !important;
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .gallery-item {
    background-color: var(--color-surface) !important;
    border-color: var(--color-border) !important;
}

.price-original {
    text-decoration: line-through;
    font-size: 0.7rem;
    color: #94a3b8;
}

.price-discount {
    background: linear-gradient(135deg, #00b5eb 0%, #000000 100%);
    font-weight: 600;
    color: white;
    font-size: 0.8rem;
    /* height: 25px; */
    padding: 0.14rem 0.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    display: flex;
}

@media (max-width: 1024px){
    .price-discount{
        font-size: 0.6rem;
        padding: 0.12rem 0.45rem;
    }
.price-current {
    font-size: 0.6rem;
}
.price-original {
    font-size: 0.6rem;
}
}

.price-current {
    font-weight: 700;
    font-size: 0.8rem;
    color: #1e293b;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.js-card-price {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.js-card-price .top {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: space-between;
}

.js-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    line-height: 1;
    z-index: 10;
    background: transparent;
}

.js-card-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.5s ease;
}

.js-card-badge:hover::before {
    left: 100%;
}

.js-card-badge i {
    font-size: 0.7rem;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

.badge-new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.badge-popular {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(168, 85, 247, 0.95));
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.badge-bestseller {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.badge-soon {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.95), rgba(51, 65, 85, 0.95));
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-serba10k {
    background: linear-gradient(135deg, rgb(0 0 0 / 95%), rgb(131 130 130 / 95%));
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.title-row-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    margin-right: 0.5rem;
    line-height: 1;
}

.tech-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border-radius: 9999px;
    font-size: 11px;
    color: #334155;
    transition: all 0.2s;
}

.tech-badge:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.tech-badge i {
    font-size: 12px;
    color: #6366f1;
}

.tech-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #f8fafc;
    border-radius: 9999px;
    font-size: 12px;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tech-badge-large i {
    font-size: 14px;
    color: #4f46e5;
}

.tech-icon-custom {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.version-tabs-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.version-tabs-container::-webkit-scrollbar {
    display: none;
}

.version-tab {
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.version-tab:hover {
    background-color: #e2e8f0;
}

.version-tab.active {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.version-tab.active:hover {
    background-color: #6366f1;
}

.version-tab .price-indicator {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
}

.related-products-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.related-products-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-products-title i {
    color: #4f46e5;
    font-size: 1rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.1);
    border-color: #4f46e5;
}

.related-product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.related-product-info {
    padding: 0.75rem;
}

.related-product-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-product-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4f46e5;
}

.related-product-category {
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.related-product-category i {
    font-size: 0.6rem;
}

#mobile-action-bar .mab-price-block {
    flex: 1;
    min-width: 0;
}

#mobile-action-bar .mab-price-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: 2px;
}

#mobile-action-bar .mab-price-value {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] #mobile-action-bar .mab-price-label {
    color: #64748b;
}

[data-theme="dark"] #mobile-action-bar .mab-price-value {
    color: #e2e8f0;
}

#mobile-action-bar .mab-price-original {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

#mobile-version-tabs {
    display: flex !important;
    margin-bottom: 0 !important;
    padding: 10px 12px !important;
    border-bottom: none !important;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    z-index: 49;
    flex-shrink: 0;
}

[data-theme="dark"] #mobile-version-tabs {
    background: var(--color-surface);
    border-top-color: var(--color-border);
}

@media (min-width: 640px) {
#mobile-version-tabs {
        display: none !important;
    }
}
