@import url('https://fonts.cdnfonts.com/css/bahnschrift');

:root {
    --card-bg: #0f0f0f;
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #ff3333;
    --text-main: #ffffff;
    --text-muted: #888888;
    --product-link-color: #ff4d4d;
    --product-link-hover: #ff7a7a;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-display {
    margin-bottom: 10px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price-box .current-price {
    font-size: 42px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    letter-spacing: -1px;
}

.price-box .old-price {
    font-size: 18px;
    color: #666;
    text-decoration: line-through;
    font-family: 'ClashDisplay-Medium';
    font-weight: 500;
}

.price-box .save-badge {
    background: linear-gradient(135deg, #00c853 0%, #00a040 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    letter-spacing: 0.5px;
}

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00c853 0%, #00a040 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 24px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    letter-spacing: 2px;
}

.custom-price-text {
    color: var(--text-muted);
    font-size: 16px;
    font-style: italic;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 25px;
    font-size: 15px;
    font-family: 'ClashDisplay-Semibold';
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.btn-action.half {
    width: 48%;
}

.btn-buy {
    background: linear-gradient(135deg, #ff3333 0%, #a01010 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #ff2222 0%, #dd0000 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.4);
}

.btn-subscribe {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-subscribe:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #222 0%, #111 100%);
    transform: translateY(-3px);
}

.btn-added {
    background: linear-gradient(135deg, #00c853 0%, #00a040 100%);
    color: white;
}

.btn-gift {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
    padding: 14px 20px;
}

.btn-gift:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 8px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--primary);
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
}

.btn-view-cart {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-view-cart:hover {
    background: #cc0000;
}

.product-detail-section {
    padding: 100px 0 80px 0;
    min-height: 100vh;
    background-color: #050505;
    background-image: 
        radial-gradient(at 0% 0%, rgba(255,0,0,0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255,0,0,0.05) 0px, transparent 50%);
}
.breadcrumb {
    margin-bottom: 30px;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--text-main); }
.product-grid-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
    gap: 28px;
    margin-bottom: 60px;
    align-items: start;
}
.col-gallery, .col-buy-box {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.col-buy-box {
    height: auto;
}
.gallery-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    flex: 1;
}
.main-media-frame {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    background: #080808;
}

.main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
    background: #000;
}

.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.media-nav:hover {
    background: rgba(255, 51, 51, 0.9);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.05);
}

.media-nav-prev { left: 12px; }
.media-nav-next { right: 12px; }
.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.main-media-frame:hover .zoom-hint { opacity: 1; }
.media-thumbnails-scroll {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #111;
}
.media-thumbnails-scroll::-webkit-scrollbar {
    height: 6px;
}
.media-thumbnails-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
.media-thumbnails-scroll::-webkit-scrollbar-track {
    background: #111;
}
.thumb-card {
    flex: 0 0 120px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s;
    background: #111;
}
.thumb-card[data-media-kind="youtube"]::after {
    content: '\f167';
    font-family: "Font Awesome 6 Brands";
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #ff3b3b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-card:hover { opacity: 1; transform: translateY(-2px); }
.thumb-card.active { 
    opacity: 1; 
    border-color: var(--primary); 
    box-shadow: 0 0 15px rgba(255,0,0,0.2);
}
.buy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 35px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.sticky-panel {
    position: relative;
    top: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-header {
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.tags-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.badge {
    font-size: 11px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge.sale { background: var(--primary); color: #fff; }
.badge.discount-tag {
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge.discount-tag i { font-size: 12px; }
.badge.type { background: rgba(255,255,255,0.08); color: #aaa; }
.title {
    font-size: 32px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.actions-section {
    margin-bottom: 0;
}
.actions-section .btn-primary {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    font-family: 'ClashDisplay-Semibold';
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 15px;
    letter-spacing: 0.5px;
}
.actions-section .btn-primary:hover {
    background: #d40000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.2);
}
.quantity-field {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}
.quantity-field input {
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
}
.quantity-field button {
    background: rgba(255,255,255,0.05);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
}
.quantity-field button:hover { background: rgba(255,255,255,0.1); }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--card-border);
}

.product-inline-description {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--card-border);
    max-height: none;
}

.product-inline-description.text-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.65;
}

.product-inline-description h1,
.product-inline-description h2,
.product-inline-description h3 {
    font-size: clamp(18px, 2vw, 24px);
    margin: 0 0 12px;
}

.product-inline-description p {
    margin: 0 0 14px;
}
.trust-item {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.trust-item i {
    font-size: 18px;
    color: var(--primary);
    background: rgba(255,0,0,0.1);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.product-description-container { display: none; }
.tabs-header {
    display: flex;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--card-border);
}
.tab-btn {
    padding: 25px 40px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    font-family: 'ClashDisplay-Bold';
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-right: 1px solid var(--card-border);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.02); }
.tab-btn.active {
    color: var(--primary);
    background: rgba(255,0,0,0.05);
    box-shadow: inset 0 -3px 0 var(--primary);
}
.tab-content {
    display: none;
    padding: 60px;
    animation: fadeIn 0.4s ease;
}
.tab-content.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.text-content {
    color: #ccc;
    line-height: 1.8;
    font-size: 16px;
}
.text-content h1, .text-content h2, .text-content h3 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}
.text-content p { margin-bottom: 20px; }
.text-content ul { padding-left: 20px; margin-bottom: 20px; }
.text-content li { margin-bottom: 10px; }
.text-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.description-body a,
.text-content a {
    color: var(--product-link-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.description-body a:hover,
.text-content a:hover {
    color: var(--product-link-hover);
    text-shadow: 0 0 12px rgba(255, 77, 77, 0.22);
}
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
}
.spec-row .label { color: var(--text-muted); }
.spec-row .value { color: #fff; font-weight: 600; }
.spec-row .value.capitalize { text-transform: capitalize; }
@media (max-width: 1024px) {
    .product-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .col-gallery, .col-buy-box {
        min-height: auto;
    }
    .gallery-wrapper, .sticky-panel {
        position: static;
        height: auto;
    }
    .main-media-frame {
        aspect-ratio: 16/9;
        min-height: 0;
    }
    .buy-card {
        justify-content: flex-start;
    }
    .product-inline-description {
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .title { font-size: 24px; }
    .product-detail-section { padding-top: 100px; }
    .media-nav {
        width: 34px;
        height: 34px;
    }
    .media-nav-prev { left: 8px; }
    .media-nav-next { right: 8px; }
    .product-inline-description.text-content {
        font-size: 14px;
        line-height: 1.6;
    }
}

.main-media-frame {
    cursor: zoom-in;
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.zoom-hint i {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.main-media-frame:hover .zoom-hint {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.main-media-frame:hover .zoom-hint i {
    transform: scale(1.2);
}

.main-media-frame:hover img {
    transform: scale(1.02);
}

.main-media-frame img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-lightbox.active .lightbox-image-container img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100000;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: transparent;
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 0, 0, 0.8);
    border-color: transparent;
    transform: translateY(-50%) scale(1.15);
}

.lightbox-nav.prev {
    left: -80px;
}

.lightbox-nav.next {
    right: -80px;
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .lightbox-nav.prev {
        left: 15px;
        top: auto;
        bottom: 30px;
        transform: none;
    }
    .lightbox-nav.next {
        right: 15px;
        top: auto;
        bottom: 30px;
        transform: none;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .lightbox-counter {
        bottom: 100px;
    }
    .zoom-hint {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ========================================
   Product Page Match Pass (reference-like)
   ======================================== */
.page-package .product-detail-section,
.page-package .product-detail-section * {
    text-shadow: none !important;
}

.page-package .product-detail-section {
    background: #07040d;
    background-image: none;
    padding: 86px 0 56px;
}

.page-package .product-grid-v2 {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 30px;
    margin-bottom: 0;
}

.page-package .main-media-frame {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.page-package .media-nav {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #ff2d2d;
    font-size: 18px;
}

.page-package .media-nav:hover {
    background: transparent;
    color: #ff5a5a;
    transform: translateY(-50%) scale(1.08);
}

.page-package .media-thumbnails-scroll {
    margin-top: 10px;
    padding-bottom: 0;
    gap: 8px;
    overflow-x: auto;
}

.page-package .thumb-card {
    flex: 0 0 82px;
    height: 50px;
    border-radius: 6px;
}

.page-package .thumb-card.active {
    border-color: #ff2d2d;
    box-shadow: none;
}

.page-package .buy-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.page-package .product-header {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.page-package .tags-row,
.page-package .trust-grid {
    display: none !important;
}

.page-package .title {
    margin: 0 0 8px;
    font-size: clamp(42px, 3.4vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.page-package .price-box .current-price {
    font-size: clamp(32px, 2.7vw, 44px);
    color: #ff2d2d;
}

.page-package .price-box .old-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.page-package .buttons-container {
    margin-top: 10px;
    gap: 10px;
}

.page-package .btn-action {
    border-radius: 6px;
    padding: 13px 14px;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.page-package .btn-buy {
    background: #ff2d2d;
    box-shadow: none;
}

.page-package .btn-buy:hover {
    transform: none;
    box-shadow: none;
    background: #ff3a3a;
}

.page-package .btn-gift {
    border-color: rgba(255, 255, 255, 0.25);
    color: #f4f4f4;
}

.page-package .product-inline-description {
    margin-top: 16px;
    border-top: none;
    padding-top: 0;
}

.page-package .product-inline-description.text-content {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.62;
}

.page-package .product-inline-description h1,
.page-package .product-inline-description h2,
.page-package .product-inline-description h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.page-package .product-inline-description p {
    margin: 0 0 10px;
}

@media (max-width: 1024px) {
    .page-package .product-grid-v2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .page-package .title {
        font-size: clamp(30px, 8vw, 40px);
    }
}

/* ========================================
   Hard Match Override (final priority)
   ======================================== */
body.page-package .product-detail-section {
    background: #0a0612 !important;
    padding: 86px 0 56px !important;
}

body.page-package .product-detail-section .container {
    width: min(1260px, calc(100% - 48px)) !important;
}

body.page-package .breadcrumb {
    margin: 0 0 14px !important;
}

body.page-package .product-grid-v2 {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%) !important;
    gap: 24px !important;
    margin-bottom: 0 !important;
    align-items: start !important;
}

body.page-package .main-media-frame {
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body.page-package .media-thumbnails-scroll {
    margin-top: 8px !important;
    gap: 8px !important;
    padding-bottom: 0 !important;
}

body.page-package .thumb-card {
    flex: 0 0 78px !important;
    height: 46px !important;
    border-radius: 4px !important;
    opacity: 1 !important;
}

body.page-package .thumb-card.active {
    border-color: #ff2f2f !important;
    box-shadow: none !important;
}

body.page-package .media-nav {
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    border: none !important;
    background: transparent !important;
    color: #ff2f2f !important;
}

body.page-package .media-nav:hover {
    transform: translateY(-50%) scale(1.08) !important;
    background: transparent !important;
}

body.page-package .buy-card,
body.page-package .sticky-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.page-package .product-header {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
}

body.page-package .tags-row,
body.page-package .countdown-timer,
body.page-package .trust-grid {
    display: none !important;
}

body.page-package .title {
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: clamp(44px, 3.5vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em !important;
}

body.page-package .price-display {
    margin: 0 0 10px !important;
}

body.page-package .price-box {
    gap: 10px !important;
}

body.page-package .price-box .current-price {
    font-size: clamp(34px, 2.7vw, 44px) !important;
    color: #ff2f2f !important;
    text-shadow: none !important;
}

body.page-package .price-box .old-price {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.42) !important;
}

body.page-package .price-box .save-badge {
    background: #2ecc71 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 3px 10px !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

body.page-package .buttons-container {
    gap: 10px !important;
    margin: 0 0 14px !important;
}

body.page-package .btn-action {
    padding: 13px 14px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

body.page-package .btn-buy {
    background: #ff2f2f !important;
    border: none !important;
    box-shadow: none !important;
}

body.page-package .btn-buy:hover {
    background: #ff4545 !important;
    transform: none !important;
    box-shadow: none !important;
}

body.page-package .btn-gift {
    border: 1px solid #436ff3 !important;
    background: #436ff3 !important;
    color: #ffffff !important;
}

body.page-package .btn-gift:hover,
body.page-package .btn-gift:focus-visible {
    border-color: #5f86ff !important;
    background: #5f86ff !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

body.page-package .product-inline-description {
    margin-top: 6px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

body.page-package .product-inline-description.text-content {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 15px !important;
    line-height: 1.64 !important;
}

body.page-package .product-inline-description h1,
body.page-package .product-inline-description h2,
body.page-package .product-inline-description h3 {
    font-size: 22px !important;
    margin: 0 0 10px !important;
}

body.page-package .product-inline-description p {
    margin: 0 0 10px !important;
}

body.page-package .product-description-container {
    display: none !important;
}

@media (max-width: 1024px) {
    body.page-package .product-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.page-package .title {
        font-size: clamp(30px, 7vw, 40px) !important;
    }
}

body.page-package .product-frameworks-box {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 16px 14px;
    background: rgba(7, 7, 10, 0.98);
    text-align: center;
}

body.page-package .product-frameworks-box,
body.page-package .product-frameworks-title,
body.page-package .product-frameworks-list li {
    font-family: 'Bahnschrift', 'Segoe UI', Arial, sans-serif;
}

body.page-package .product-frameworks-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

body.page-package .product-frameworks-title::before,
body.page-package .product-frameworks-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 56px;
    height: 1px;
    background: rgba(255, 47, 47, 0.8);
}

body.page-package .product-frameworks-title::before { left: 0; }
body.page-package .product-frameworks-title::after { right: 0; }

body.page-package .product-frameworks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

body.page-package .product-frameworks-list li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body.page-package .product-info-box {
    margin-top: 10px;
}

body.page-package .product-info-list li {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    body.page-package .product-frameworks-title::before,
    body.page-package .product-frameworks-title::after {
        width: 36px;
    }

    body.page-package .product-frameworks-list li,
    body.page-package .product-info-list li {
        font-size: 20px;
    }
}
