/* Base Reset & Fonts */
:root {
    --primary-color: #e60000;
    /* Electric Blue */
    --accent-color: #00ff88;
    /* WhatsApp Green */
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #2a2a2a;
    --price-color: #ffcc00;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Global protection against horizontal scroll */
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.highlight {
    color: var(--primary-color);
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: #000;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #222;
}

.top-bar span {
    margin: 0 10px;
    color: #888;
}

.top-bar i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Header */
.main-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
}

.logo span {
    color: var(--primary-color);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/hero_bg_v2.jpg') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--dark-bg));
}

.sub-heading {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.rating-badge {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stars {
    color: #f1c40f;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
    transition: all 0.3s;
}

.cta-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.6);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    }
}

/* Product Section */
.product-section {
    padding: 0 0 40px;
}

.product-grid {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

/* Gallery */
.main-image {
    background: #1a1a1a;
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
}

.img-placeholder {
    text-align: center;
    color: #444;
}

.img-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
}

.features-mini-grid {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
    gap: 20px;
}

.feature-item {
    /* Hero styling overrides */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    width: 150px;
    text-align: center;
    padding: 15px 5px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

/* Configurator */
.product-configurator {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.product-header h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.1rem;
}

.current-price {
    color: var(--price-color);
    font-size: 2rem;
    font-weight: 800;
}

.discount-tag {
    background: #ff3b30;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.promo-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.color-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-options {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 15px;
    justify-items: center;
    width: 100%;
}


.color-thumb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
    transition: all 0.3s;
}

.color-opt input:checked+.color-thumb {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.4);
}

.color-opt {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.color-opt .name {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #ccc;
    transition: color 0.3s;
    text-align: center;
    width: 100%;
}

.color-opt input:checked~.name {
    color: var(--primary-color);
    font-weight: 600;
}

/* Edge Color Options */
.edge-color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.edge-opt {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.edge-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.edge-strip {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #333;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* Strip Colors */
.edge-strip.black {
    background: #111;
}

.edge-strip.red {
    background: #cc0000;
}

.edge-strip.blue {
    background: #0066cc;
}

.edge-strip.grey {
    background: #666;
}

.edge-strip.orange {
    background: #ff9900;
}

/* Strip Texture Effect (Optional) */
.edge-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.3;
}

.edge-opt input:checked+.edge-strip {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(230, 0, 0, 0.4);
    transform: translateY(-2px);
}

.edge-opt .name {
    font-size: 0.8rem;
    color: #ccc;
    transition: color 0.3s;
}

.edge-opt input:checked~.name {
    color: var(--primary-color);
    font-weight: 600;
}

/* Visual Extras Toggle */
.visual-toggle-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.visual-toggle-opt {
    cursor: pointer;
    position: relative;
}

.visual-toggle-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.visual-content {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    transition: all 0.3s;
    text-align: center;
    gap: 8px;
}

.visual-content img {
    width: 80%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.visual-content .icon {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 5px;
}

.visual-content .name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ccc;
}

.visual-content .price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Checked State */
.visual-toggle-opt input:checked+.visual-content {
    border-color: var(--primary-color);
    background: #251010;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.visual-toggle-opt input:checked+.visual-content .name {
    color: white;
}

/* Accessory Board */
.accessory-board {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.board-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #333;
}

.board-item {
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.board-item:last-child {
    border-right: none;
}

.item-header {
    text-align: center;
    padding: 12px;
    font-weight: 700;
    border-bottom: 1px solid #333;
    color: white;
    text-transform: uppercase;
    font-size: 1rem;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.header-price {
    font-weight: 400;
    color: #bbb;
    font-size: 0.95rem;
}

.item-visual {
    position: relative;
    padding: 0;
    width: 100%;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000;
    margin: 0;
}

.item-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.item-visual:hover img {
    transform: scale(1.05);
}

/* Interactive Area (Controls + Feedback) */
.item-interactive {
    background: #111;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.item-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.control-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex: 1;
    max-width: 140px;
    color: #aaa;
    background: #1a1a1a;
}

.control-opt input {
    display: none;
}

.check-icon {
    font-size: 0.9rem;
    display: none;
}

/* "Want" Button (Green) */
.opt-yes {
    border-color: #2e7d32;
    color: #81c784;
}

.opt-yes:hover {
    background: rgba(46, 125, 50, 0.1);
}

.opt-yes:has(input:checked) {
    background: #2e7d32;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

/* "Don't Want" Button (Red) */
.opt-no {
    border-color: #c62828;
    color: #e57373;
}

.opt-no:hover {
    background: rgba(198, 40, 40, 0.1);
}

.opt-no:has(input:checked) {
    background: #c62828;
    color: white;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
}

/* Show Check/Times Icon on Selection */
.control-opt:has(input:checked) .check-icon {
    display: inline-block;
}

/* Price Feedback Below Buttons */
.selected-price-feedback {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    height: 24px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s;
}

.selected-price-feedback.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Set Content Specifics */
.set-content-board {
    margin-bottom: 25px;
}

.set-content-board .item-visual {
    padding: 30px;
    /* Zoom out effect */
    background: #f5f5f5;
    /* Light background for better contrast if needed, or keep black */
    background: #1a1a1a;
}

.opt-set {
    border-color: #555;
    color: #ccc;
    justify-content: center;
}

.opt-set:hover {
    border-color: #888;
    color: white;
}

.opt-set:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

/* Extras */
.extras-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.extra-option {
    display: flex;
    align-items: center;
    background: #1f1f1f;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #333;
    transition: all 0.2s;
}

.extra-option:hover {
    border-color: #555;
}

.extra-option input {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--primary-color);
}

.option-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
}

.opt-price {
    color: var(--price-color);
    font-weight: 600;
}

/* Submit Area */
.order-summary {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.shipping-info {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #cc0000;
}

.security-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

/* Customer Info Form */
.customer-info-section {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.discount-banner {
    background: rgba(204, 0, 0, 0.15);
    color: var(--primary-color);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.discount-price {
    font-weight: 700;
    font-size: 1.2rem;
}

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

.customer-info-section .form-group {
    margin-bottom: 15px;
}

.customer-info-section label {
    display: block;
    color: #ccc;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.customer-info-section input,
.customer-info-section select,
.customer-info-section textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    background: #111;
    color: #fff;
    transition: border-color 0.2s;
}

.customer-info-section input::placeholder,
.customer-info-section textarea::placeholder {
    color: #666;
}

.customer-info-section input:focus,
.customer-info-section select:focus,
.customer-info-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

/* Payment Section */
.payment-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.payment-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.payment-option-card {
    cursor: pointer;
    position: relative;
    height: 100%;
    display: block !important;
    /* Prevent JS from breaking layout */
    width: 100% !important;
    min-height: 120px;
}

.payment-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-content {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 120px;
    /* Ensure uniform height */
    position: relative;
    /* Fix for floating checkmark */
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    background: #252525;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    transition: all 0.3s;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    /* Center text content horizontally */
    width: 100%;
}

.option-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ddd;
}

.option-desc {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.3;
}

.discount-text {
    color: var(--accent-color);
    font-weight: 600;
}

.check-circle {
    position: absolute;
    top: 8px !important;
    right: 8px !important;
    width: 18px;
    /* Slightly smaller */
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    /* Ensure on top */
}

.check-circle i {
    color: white;
    font-size: 0.7rem;
}

/* Hover State */
.payment-option-card:hover .card-content {
    border-color: #555;
    background: #222;
    transform: translateY(-3px);
}

.payment-option-card:hover .icon-wrapper {
    color: white;
    background: #333;
}

/* Selected State */
.payment-option-card input:checked+.card-content {
    border-color: var(--primary-color);
    background: rgba(230, 0, 0, 0.08);
    /* Subtle red tint */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.payment-option-card input:checked+.card-content .icon-wrapper {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.4);
}

.payment-option-card input:checked+.card-content .option-title {
    color: white;
}

.payment-option-card input:checked+.card-content .check-circle {
    opacity: 1;
    transform: scale(1);
}

/* Features Details */
.details-section {
    padding: 60px 0;
    background: #111;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(230, 0, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #999;
}

/* Footer */
.main-footer {
    border-top: 1px solid #222;
    padding: 40px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    border-top: 1px solid #333;
    z-index: 1001;
    padding: 10px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2px;
}

.sticky-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.9rem;
}

.sticky-current-price {
    color: var(--price-color);
    font-size: 1.3rem;
    font-weight: 800;
}

.sticky-discount {
    background: #ff3b30;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sticky-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
    min-width: 180px;
    text-align: center;
}

.sticky-btn:hover {
    background: #cc0000;
}

/* Responsive */


@media (max-width: 768px) {

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

    .sticky-bottom-bar {
        padding: 10px 0;
    }

    .sticky-title {
        display: none;
    }

    .sticky-old-price {
        display: none;
    }

    .sticky-btn {
        min-width: auto;
        padding: 12px 20px;
    }
}


/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: #0f0f0f;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    /* Space for scrollbar */
    -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 300px;
    /* Fixed width for desktop */
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

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

/* Main Footer */
.main-footer {
    background: #111;
    border-top: 1px solid #222;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #222;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 10px;
}

.footer-links-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom-bar {
    background: #000;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid #1a1a1a;
}



.review-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
}

.review-card .stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: #ccc;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.reviewer .name {
    font-weight: 700;
    color: white;
}

.reviewer .car {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Updated Thumbs */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Input with Icon Styling */
.input-with-icon {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.input-with-icon input {
    padding-left: 42px !important;
    /* override default padding */
}

.input-with-icon input:focus+.input-icon,
.input-with-icon input:focus~.input-icon {
    color: var(--primary-color);
}

/* Success Modal */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.success-modal {
    background: #181818;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.success-modal h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.success-modal p {
    color: #aaa;
    margin-bottom: 30px;
}

.order-id-text {
    font-size: 1.1rem;
    color: white !important;
    margin-bottom: 5px !important;
    font-weight: 500;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

.order-details-summary {
    text-align: left;
    background: #222;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #333;
}

.order-details-summary h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.summary-item span:first-child {
    color: #888;
}

.summary-divider {
    height: 1px;
    background: #444;
    margin: 15px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.close-modal-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.close-modal-btn:hover {
    background: #cc0000;
}

/* Sticky Hide State */
.sticky-bottom-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.sticky-bottom-bar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Professional Mobile Responsiveness */
@media (max-width: 991px) {

    /* Hide Top Bar on all mobile/tablet */
    .top-bar {
        display: none !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .product-grid {
        margin-top: 0;
        padding: 0 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .gallery-grid removed to preserve flex layout */
}

@media (max-width: 768px) {

    /* Prevent Horizontal Scroll */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Already hidden above, but ensuring legacy support */
    .top-bar {
        display: none !important;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1100;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid #2a2a2a;
    }

    .header-container {
        padding: 0 10px !important;
    }

    .logo {
        font-size: 14px !important;
        max-width: 65%;
    }

    .whatsapp-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 20px !important;
        text-align: center;
        background: #25d366 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .whatsapp-btn i {
        font-size: 12px !important;
        margin-right: 4px !important;
        display: block !important;
    }

    .whatsapp-btn span {
        display: none !important;
        /* Force hide number on mobile */
    }

    .whatsapp-btn::after {
        content: 'Destek';
        font-weight: 700;
        font-size: 10px;
    }

    /* Fixed Header Spacing */
    .hero {
        padding-top: 100px;
        /* Increased from 80px for better clearance */
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-bg {
        opacity: 0.3;
        /* Reduce bg opacity slightly on mobile for readability */
    }

    .sub-heading {
        font-size: 0.75rem;
        /* Further reduced */
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .hero h1 {
        font-size: 1.4rem;
        /* Further reduced */
        line-height: 1.2;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .hero-desc {
        font-size: 0.9rem;
        padding: 0 10px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .cta-button {
        padding: 10px 20px;
        /* Compact padding */
        font-size: 0.85rem;
        /* Smaller font */
        width: 90%;
        /* prevent full width touching edges if centered */
        max-width: 300px;
        white-space: nowrap;
        /* Keep on one line if possible */
    }

    /* Feature Mini Grid (Buttons below Hero) */
    .features-mini-grid {
        gap: 10px;
        margin: 15px 0 25px;
        flex-wrap: wrap;
    }

    .feature-item {
        width: 90px;
        padding: 8px 4px;
        font-size: 10px;
    }

    .feature-item i {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    /* Horizontal Scroll for Mat Colors */
    .color-options {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 15px;
        grid-template-columns: none !important;
        justify-content: flex-start;
    }

    .color-opt {
        flex: 0 0 auto;
        width: 100px;
        scroll-snap-align: center;
    }

    .color-thumb {
        width: 90px;
        height: 90px;
    }

    .color-options::-webkit-scrollbar {
        height: 6px;
    }

    .color-options::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 3px;
    }

    /* Edge Color Layout: 3 per row on mobile */
    .edge-color-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .edge-color-options .edge-opt {
        width: 100%;
    }

    /* Grids & Layouts */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .payment-options-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-option-card {
        min-height: auto;
    }

    .payment-option-card .card-content {
        flex-direction: row;
        text-align: left;
        padding: 12px 15px;
        align-items: center;
        gap: 12px;
        min-height: auto;
    }

    .payment-option-card .icon-wrapper {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }

    .payment-option-card .text-content {
        flex: 1;
        align-items: flex-start;
        gap: 2px;
    }

    .payment-option-card .option-title {
        font-size: 0.9rem;
    }

    .payment-option-card .option-desc {
        font-size: 0.7rem;
    }

    .payment-option-card .option-desc.discount-text {
        flex-direction: row !important;
        gap: 6px !important;
        align-items: center;
    }

    .payment-option-card .option-desc.discount-text span {
        display: inline;
    }

    .payment-option-card .check-circle {
        width: 16px;
        height: 16px;
        top: 50% !important;
        right: 12px !important;
        transform: translateY(-50%) scale(0.5);
    }

    .payment-option-card input:checked+.card-content .check-circle {
        transform: translateY(-50%) scale(1);
    }

    /* Form & Configurator */
    .product-configurator {
        padding: 15px;
    }

    /* Countdown Timer Mobile */
    .countdown-container {
        padding: 15px;
        margin-bottom: 20px;
    }

    .urgent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 0.9rem;
    }

    .urgent-badge {
        font-size: 0.85rem;
    }

    .timer-box {
        margin-top: 10px;
        gap: 8px;
        width: 100%;
        justify-content: space-between;
    }

    .time-block {
        flex: 1;
    }

    .time-num {
        width: 100%;
        font-size: 1.3rem;
        padding: 10px 5px;
        min-width: auto;
    }

    .time-label {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    .time-separator {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    /* Form Inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        font-size: 16px !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        width: 100%;
    }

    /* Accessory Boards */
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-item {
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .board-item:last-child {
        border-bottom: none;
    }

    .item-visual img {
        height: 200px;
    }

    /* Sticky Bottom Bar */
    .sticky-bottom-bar {
        padding: 12px 0;
    }

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

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

    .sticky-title {
        display: none;
    }

    .sticky-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    /* Modals */
    .success-modal {
        width: 90%;
        padding: 25px;
    }

    .order-details-summary {
        padding: 15px;
    }

    /* Bank Info Wrap Fix */
    #bank-transfer-info {
        padding: 15px !important;
    }

    #bank-transfer-info>div {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #iban-text {
        font-size: 0.8rem !important;
        word-break: break-all;
    }
}

@media (max-width: 380px) {
    .color-options {
        gap: 10px;
        justify-content: space-between;
    }

    .color-thumb {
        width: 80px;
        height: 80px;
    }

    /* Further adjust for very small screens */
    .feature-item {
        width: 90px;
    }
}

/* Countdown CTA (Relocated) - Desktop Defaults */
@media (min-width: 769px) {
    .countdown-container {
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-left: 5px solid #d32f2f;
    }

    .urgent-header {
        margin-bottom: 12px;
        color: #333;
        font-weight: 600;
        font-size: 0.95rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
    }

    .urgent-badge {
        color: #d32f2f;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 1rem;
    }

    .timer-box {
        display: flex !important;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
    }

    .time-block {
        text-align: center;
    }

    .time-num {
        background: #000;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        padding: 10px 15px;
        border-radius: 8px;
        min-width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .time-label {
        color: #555;
        font-size: 0.8rem;
        margin-top: 5px;
        font-weight: 500;
    }

    .time-separator {
        font-size: 1.5rem;
        font-weight: 700;
        color: #333;
        margin-top: 5px;
    }

    /* Dark Mode Adjustments */
    .product-configurator .countdown-container {
        background: #222 !important;
        border-left: 5px solid #ff4444;
    }

    .product-configurator .urgent-header {
        color: #eee;
    }

    .product-configurator .time-num {
        background: #000 !important;
        color: #fff !important;
        border: 1px solid #444;
    }

    .product-configurator .time-label {
        color: #aaa;
    }

    .product-configurator .time-separator {
        color: #fff;
    }
}