/*
================================================
KERAMALL - Premium Modern Stylesheet
Redesigned to match LED-light landing aesthetic
================================================
*/

/* --- CSS Variables (Design Tokens) --- */
:root {
    --gold: #C9A66B;
    --gold-light: #E0C892;
    --gold-dark: #B08F50;
    --blue: #1E9CD7;
    --blue-dark: #1976D2;
    --orange: #E89B3C;
    --orange-dark: #D17F1A;
    --red: #d32f2f;
    --green: #2e7d32;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #888;
    --bg-white: #FFFFFF;
    --bg-cream: #FBF7EF;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border: #e7e7e7;
    --border-light: #f0f0f0;
}

/* --- Universal Box Sizing --- */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}


/* --- General & Body Styles --- */
body {
    font-family: 'BPG Arial', 'FiraGO', 'Noto Sans Georgian', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #efefef;
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background-color: var(--bg-white);
}


/* --- Features Header (Dark Premium Style) --- */
.features-header {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 28px 20px 24px;
    color: #ffffff;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    border-radius: 0;
    text-shadow: none;
}

.feature-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.feature-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: 1.5px solid rgba(224, 200, 146, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(201, 166, 107, 0.35);
}

.feature-icon-circle svg {
    width: 26px;
    height: 26px;
}

.feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.feature-sub {
    font-size: 11px;
    color: var(--gold-light);
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 480px) {
    .features-header {
        padding: 22px 10px 18px;
        gap: 4px;
    }
    .feature-icon-circle {
        width: 48px;
        height: 48px;
    }
    .feature-icon-circle svg {
        width: 22px;
        height: 22px;
    }
    .feature-title {
        font-size: 13px;
    }
    .feature-sub {
        font-size: 10px;
    }
}


/* --- Footer --- */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 25px 20px;
    text-align: center;
    color: #ffffff;
    border-top: 3px solid var(--gold);
    margin-top: 0;
    border-radius: 0;
    text-shadow: none;
}

.site-footer h2 {
    color: var(--gold) !important;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.site-footer p {
    font-size: 14px;
    color: #d4d4d4;
    margin: 6px 0;
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.site-footer .copyright {
    font-size: 12px;
    margin-top: 15px;
    color: #999;
}


/* --- Main Product Layout --- */
.product-main-container {
    margin-top: 0;
    padding: 25px 20px;
}

.product-photo-section img,
.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: block;
}

.product-overview {
    padding: 0;
    background-color: transparent;
    text-align: left;
}


/* --- Product Title & Basic Info --- */
.product-overview h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 14px 0;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.alert {
    font-size: 14px;
    color: var(--red);
    font-weight: 600;
    background-color: #fef5f5;
    border-left: 3px solid var(--red);
    padding: 10px 14px;
    border-radius: 4px;
    margin: 0 0 12px 0;
}

.subheadline {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 12px 0;
    color: var(--text-secondary);
}

.stars {
    color: #FFB400;
    font-size: 17px;
    margin-right: 6px;
    letter-spacing: 1px;
}

.rating-value,
.review-count {
    color: var(--blue);
    font-weight: 700;
    margin-left: 5px;
}


/* --- Benefits List --- */
.benefits-list {
    list-style-type: none;
    padding: 0;
    margin: 18px 0;
    font-size: 14px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.55;
}

.benefits-list li::before {
    content: "✓";
    margin-right: 12px;
    color: var(--bg-white);
    background-color: var(--gold);
    font-weight: bold;
    font-size: 13px;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 2px 4px rgba(201, 166, 107, 0.3);
}

.benefits-list .icon {
    margin-right: 8px;
}

.benefits-list .icon + * {
    color: var(--text-primary);
    font-weight: 400;
}

.benefits-list .highlight {
    color: var(--green);
    font-weight: 700;
}


/* --- Purchase Options (Quantity, Color, Size) --- */
.options-section,
.size-section {
    text-align: left;
    padding: 20px 0;
}

.options-section h2,
.size-section h2 {
    font-size: 19px;
    color: var(--text-primary);
    margin-bottom: 22px;
    text-align: center;
    font-weight: 700;
    line-height: 1.4;
}

.options-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.option {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 18px 12px;
    flex: 1;
    max-width: 145px;
    text-align: center;
    background-color: var(--bg-white);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.option.active {
    border-color: var(--gold);
    background-color: var(--bg-cream);
    box-shadow: 0 4px 14px rgba(201, 166, 107, 0.25);
}

.recommended {
    border-color: var(--orange);
}
.best-value {
    border-color: var(--blue);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    font-size: 11px;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge.red {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.badge.blue {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.small-text {
    font-size: 0.8em;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}


/* --- Color Options --- */
.color-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.color-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex: 1;
    max-width: 180px;
    min-width: 0;
}

.color-image {
    width: 100%;
    height: auto;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: border 0.2s ease, transform 0.2s ease;
}

.color-btn:hover .color-image {
    transform: scale(1.03);
}

.color-btn.active .color-image {
    border-color: var(--gold);
}


/* --- Size Options --- */
.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.size-chart-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.size-chart-link:hover {
    text-decoration: underline;
    color: var(--gold);
}

.size-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.size-option {
    flex: 1;
    max-width: 80px;
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background-color: var(--bg-white);
    transition: all 0.25s ease;
}

.size-option:hover {
    border-color: var(--gold-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.size-option.active {
    border-color: var(--gold);
    background-color: var(--bg-cream);
    box-shadow: 0 4px 10px rgba(201, 166, 107, 0.25);
}


/* --- Pricing Section --- */
.pricing-section {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid var(--gold-light);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.pricing-section h2 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 18px 0 12px 0;
    font-weight: 700;
}

.regular-price {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 4px 0;
}

.regular-price span {
    text-decoration: line-through;
}

.discounted-price {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    margin: 6px 0 12px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.discounted-price strong {
    color: var(--red);
}

.discount-badge {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(232, 155, 60, 0.35);
}

.stock-info {
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.in-stock {
    color: var(--green);
    font-weight: 700;
}

#countdown {
    font-weight: 700;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

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


/* --- Order Form --- */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0;
}

.order-form label {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: -10px;
    font-weight: 600;
}

.order-form input[type="text"],
.order-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg-white);
    transition: all 0.2s ease;
    font-family: inherit;
}

.order-form input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.15);
}


/* --- Buttons (CTA) --- */
.order-button,
.my-custom-scroll-button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    margin: 12px auto;
    box-shadow: 0 6px 16px rgba(232, 155, 60, 0.35);
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.order-button:hover,
.my-custom-scroll-button:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, #B86A0F 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(232, 155, 60, 0.45);
}

.order-button:active,
.my-custom-scroll-button:active {
    transform: translateY(0);
}

.cart-icon {
    margin-right: 10px;
    font-size: 20px;
}


/* --- Money Back Section --- */
.money-back-section {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f5edd9 100%);
    padding: 18px;
    border-radius: 10px;
    margin-top: 22px;
    border: 1px solid var(--gold-light);
}

.badge-icon {
    width: 54px;
    height: auto;
    margin-right: 16px;
}

.money-back-content p {
    margin: 0;
}

.money-back-content p:first-child {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.money-back-content p:last-child {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}


/* --- Feature Section (Image Grid) --- */
.feature-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
}


/* --- Shipping Timer --- */
.shipping-timer {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 22px 0;
    color: #fff;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.shipping-timer p {
    margin: 0;
    line-height: 1.5;
}

#shippingCountdown {
    font-size: 24px;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    display: inline-block;
    margin: 0 4px;
}

.stock-remaining {
    color: var(--red);
    font-weight: 700;
    margin: 0 4px;
}


/* ===============================================
   Responsive Logic for Mobile vs Desktop
   =============================================== */

/* Default (Mobile) View: Hide the desktop-only images */
.desktop-features {
    display: none;
}


/* Tablet & Desktop Views */
@media (min-width: 800px) {
    .desktop-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }
    .mobile-features {
        display: none;
    }

    .product-main-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        padding: 30px 30px;
    }

    .product-image-column {
        flex: 1;
        position: sticky;
        top: 20px;
    }

    .product-details-column {
        flex: 1;
    }

    .product-overview h1 {
        font-size: 28px;
    }
}

/* Smaller screen adjustments */
@media (max-width: 799px) {
    .site-container {
        padding: 0;
    }
    .product-main-container {
        padding: 20px 14px;
    }
    .mobile-features {
        grid-template-columns: 1fr;
    }
    .product-overview h1 {
        font-size: 22px;
    }
    .options-container {
        flex-wrap: wrap;
    }
    .option {
        max-width: none;
        min-width: 90px;
    }
}


/* ===============================================
   STYLES FOR INFO SECTIONS
   =============================================== */
.info-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.info-section h1 {
    text-align: center;
    margin-top: 0;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--gold);
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.2px;
    position: relative;
}

.info-section h1::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold-dark);
}

#how-to-buy .benefits-list {
    counter-reset: steps-counter;
    list-style-type: none;
}

#how-to-buy .benefits-list li::before {
    counter-increment: steps-counter;
    content: counter(steps-counter);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    font-weight: 800;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(30, 156, 215, 0.3);
}


/* --- Hidden Sections (preserved from original) --- */
.size-section {
    display: none;
}

.form-group {
    display: none;
}


/* --- Watching count animation (subtle pulse for live feel) --- */
.watchingCount {
    display: inline-block;
}
