* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Promo Banner */
.promo-banner {
    background: url('assets/img/topbar.png') center/cover no-repeat;
    padding: 10px 20px;
    text-align: center;
    position: relative;
}

.promo-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.promo-close:hover {
    opacity: 1;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.promo-text {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    position: relative;
    top: 5px;
}

.promo-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.promo-btn .btn-content {
    display: inline-block;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(12.48deg, #A76A02 19.8%, #ffe1ae 92.38%);
    box-shadow: -3px 0 0 0 #fff, 0 -1px 0 0 rgba(255,255,255,0.7), 0 1px 0 0 rgba(255,255,255,0.7), 0 0 4px #B8A568;
    padding: 10px 50px 10px 25px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}


.promo-btn:hover .btn-content {
    box-shadow: 2px 0 0 0 #fff;
    background:
        linear-gradient(to left, #fff 30%, transparent 30%) top,
        linear-gradient(to left, #fff 30%, transparent 30%) bottom,
        linear-gradient(12.48deg, #A76A02 19.8%, #ffe1ae 92.38%);
    background-size: 100% 1px, 100% 1px, 100% 100%;
    background-repeat: no-repeat;
}

/* SAVE SAVE Animation */
.save-animation {
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: -5px;
    z-index: 2;
}

.save-animation span {
    font-weight: bold;
    font-size: 29px;
    opacity: 0;
}

.save-animation span.visible {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.save-animation span:nth-child(5) {
    margin-right: 8px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    /* Logo sizing: keep header compact so menu doesn't wrap */
    --header-logo-height: 50px;
    --header-logo-width: 200px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: var(--header-logo-height);
    flex: 0 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    line-height: 0;
}

.logo img {
    width: var(--header-logo-width);
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #C9A227;
}

.main-nav a i {
    font-size: 10px;
    margin-left: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-link {
    text-decoration: none;
    color: #0066cc;
    font-size: 28px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #C9A227;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #C9A227;
}

/* Product Section */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Product Gallery */
.product-gallery {
    position: relative;
    overflow: visible;
}

.main-image {
    position: relative;
    background: transparent;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.5);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: #C9A227;
    color: #fff;
    border-color: #C9A227;
}

.nav-arrow.prev {
    left: 15px;
}

.nav-arrow.next {
    right: 15px;
}

.thumbnail-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 46px;
    height: 46px;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s, opacity 0.3s;
    flex-shrink: 0;
    opacity: 0.5;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #C9A227;
    opacity: 1;
}

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

/* Product Info */
.product-info {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(90deg, rgba(167, 106, 2, 1) 0%, rgba(245, 212, 155, 1) 100%);
    border-radius: 10px 10px 0 0;
}

.product-title h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.product-title h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    margin-top: 3px;
    line-height: 1;
}

.whisper-logo-img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.product-info > *:not(.product-header) {
    margin-left: 25px;
    margin-right: 25px;
}

.product-info > *:last-child {
    margin-bottom: 25px;
}

.price-msrp {
    font-size: 26px;
    color: #818181;
    margin-bottom: 15px;
    margin-top: 20px;
}

.strikethrough {
    text-decoration: line-through;
}

.clearance-banner {
    background: #0A0A50;
    box-shadow: 0px 4px 16px 8px rgb(0 0 0 / 0%);
    text-align: center;
    padding: 15px;
    margin: 20px 7%;
    border-radius: 0px;
    position: relative;
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    line-height: 110%;
    text-transform: uppercase;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
}

.financing-terms {
    color: #2873B6;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: Georgia, 'Times New Roman', serif;
}

.savings-text {
    font-size: 14px;
    color: #858585;
    margin-bottom: 10px;
    text-align: center;
}

.pricing-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.financing-note {
    color: #2873B6;
    font-size: 14px;
    margin-bottom: 15px;
}

.bonus-text {
    font-size: 14px;
    color: #858585;
    margin-bottom: 15px;
    text-align: center;
}

.btn {
    display: block;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    border-radius: 0px;
    box-shadow: 0px 4px 9px 0px #00516100;
    width: 100%;
    max-width: 230px;
    margin: 10px auto;
    border: none;
}

.btn-outline {
    background: #eebd19;
    color: #333;
}

.btn-outline:hover {
    background: #2873B6;
    color: #fff;
}

.btn-gold {
    background: #2873B6;
    color: #fff;
}

.btn-gold:hover {
    background: #eebd19;
    color: #333;
}

.disclaimer {
    font-size: 10px;
    color: #979797;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.badge {
    text-align: center;
    font-size: 12px;
    color: #979797;
}

.badge i {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.badge-icon {
    height: 24px;
    width: auto;
    margin-bottom: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.badge-icon-large {
    height: 54px;
    margin-bottom: 0;
}

.secure-checkout {
    background: linear-gradient(90deg, rgba(167, 106, 2, 1) 0%, rgba(245, 212, 155, 1) 100%);
    color: #fff;
    padding: 17px 20px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.secure-checkout i {
    font-size: 16px;
}

.payment-icons {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.payment-icons img {
    height: 20px;
    border-radius: 3px;
}

/* Product Tabs */
.product-tabs {
    margin: 40px 0;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #333;
    background: #fff;
}

.tab-btn.active {
    color: #C9A227;
    background: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #C9A227;
}

.tabs-content {
    padding: 30px;
    background: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Tab Content Styles */
.tab-subtitle {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
}

.tab-subtitle:first-child {
    margin-top: 0;
}

.bullet-list {
    list-style: disc;
    padding-left: 25px;
    margin: 0;
}

.bullet-list li {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    padding: 3px 0;
}

.bullet-list li strong {
    color: #000;
}

/* Customization Section */
.customization-section {
    padding: 30px 0;
    margin-left: 50%;
}

.customization-section h2 {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    margin-bottom: 25px;
}

.color-selection {
    margin-bottom: 30px;
}

.color-selection h3 {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 0;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
}

.selected-color-name {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.color-swatch:hover::before {
    content: attr(data-name);
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}

.upgrades-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.upgrade-option {
    display: block;
    padding: 15px;
    padding-left: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 90%;
    cursor: pointer;
    font-size: 13px;
    color: #000;
    font-weight: 400;
    margin-bottom: 7px;
}

.upgrade-option input {
    display: none;
}

.upgrade-option:has(input:checked) {
    border: 1px solid #2873B6;
}

.btn-add-to-cart {
    position: relative;
    background: linear-gradient(to right, #A4A4A4, #fff);
    padding: 2px;
    border-radius: 50px;
    box-shadow: 0px 4px 9px 0px #A4A4A4;
    border: 0;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s;
}

.btn-add-to-cart .btn-content {
    display: block;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(12.48deg, #2a2a2a 19.8%, #000000 92.38%);
    padding: 10px 50px 10px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: linear-gradient(to right, #fff, #1a1a1a);
}

.btn-add-to-cart:hover .btn-content {
    background: linear-gradient(to left, #A4A4A4, #fff);
    color: #1a1a1a;
}

/* Related Products */
.related-products {
    margin: 50px 0;
}

.related-products h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    text-align: center;
    padding: 20px;
}

.related-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    display: block;
}

.related-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.btn-shop-now {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-shop-now:hover {
    background: #4A4A4A;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-container input:checked + .checkmark {
    background: #C9A227;
    border-color: #C9A227;
}

.checkbox-container input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .header {
        --header-logo-width: 180px;
    }

    .product-section {
        grid-template-columns: 1fr;
    }

    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .header {
        --header-logo-width: 160px;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .promo-content {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 33.33%;
        padding: 12px 10px;
        font-size: 12px;
    }

    .tabs-content {
        padding: 20px;
    }

    .customization-section {
        margin-left: 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
