/*
================================================
NEOGADGETS - Main Stylesheet (Dark Navy + Gold Theme)
================================================
*/

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

/* --- General & Body Styles --- */
body {
    font-family: 'Helvetica Neue', Arial, 'BPG Nino Mtavruli', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #060f1f 0%, #0a1729 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.5;
}

.site-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(180deg, #0a1729 0%, #0d1d36 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* --- Header & Footer --- */
header, .site-footer {
    background: linear-gradient(135deg, #0d1d36 0%, #122849 100%);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 208, 79, 0.25);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

header h2 {
    color: #ffd04f !important;
    margin: 0 0 8px 0;
    font-size: 24px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.site-footer {
    margin-top: 30px;
}

.site-footer h2 {
    color: #ffd04f !important;
    letter-spacing: 1.5px;
    margin: 0 0 10px 0;
}

header p, .site-footer p {
    font-size: 14px;
    color: #e6ecf5;
    margin: 5px 0;
}

.footer-link {
    color: #ffd04f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffe287;
    text-decoration: underline;
}

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


/* --- Main Product Layout --- */
.product-main-container {
    margin-top: 24px;
}

.product-photo-section img, .feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 208, 79, 0.15);
}

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

/* --- Product Sections --- */

.product-overview h1 {
    font-size: 22px;
    font-weight: bold;
    margin: 14px 0;
    color: #ffffff;
    line-height: 1.35;
}

.alert {
    font-size: 14px;
    color: #ffb74d;
    font-weight: bold;
    background: rgba(255, 152, 0, 0.08);
    border-left: 3px solid #ff9800;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 10px 0;
}

.subheadline {
    font-size: 15px;
    color: #c5cdd9;
    margin-top: 12px;
    line-height: 1.55;
}

.rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 14px 0;
    color: #c5cdd9;
}

.stars {
    color: #ffd04f;
    font-size: 16px;
    margin-right: 6px;
    text-shadow: 0 0 8px rgba(255, 208, 79, 0.4);
}

.rating-value, .review-count {
    color: #ffd04f;
    font-weight: bold;
    margin-left: 5px;
}

.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: #e6ecf5;
    font-weight: normal;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 208, 79, 0.12);
    border-radius: 8px;
    line-height: 1.5;
}

.benefits-list li::before {
    content: "✔";
    margin-right: 12px;
    color: #ffffff;
    background: #4caf50;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
}
.benefits-list .icon {
    margin-right: 10px;
    font-size: 18px;
}
.benefits-list .icon + * {
    color: #e6ecf5;
    font-weight: normal;
}
.benefits-list .highlight {
    color: #ffd04f;
    font-weight: bold;
}

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

.options-section h2, .size-section h2 {
    font-size: 18px;
    color: #ffd04f;
    margin-bottom: 18px;
    text-align: center;
    font-weight: bold;
}

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

.option {
    border: 2px solid rgba(255, 208, 79, 0.25);
    border-radius: 10px;
    padding: 16px 12px;
    flex: 1;
    max-width: 140px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.option:hover {
    border-color: rgba(255, 208, 79, 0.6);
    transform: translateY(-2px);
}

.option.active {
    border-color: #ffd04f;
    background: linear-gradient(135deg, rgba(255, 208, 79, 0.18) 0%, rgba(255, 152, 0, 0.12) 100%);
    box-shadow: 0 4px 16px rgba(255, 208, 79, 0.25);
}

.recommended { border-color: rgba(255, 87, 87, 0.55); }
.best-value { border-color: rgba(64, 156, 255, 0.55); }

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

.badge.red { background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%); }
.badge.blue { background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%); }

.small-text {
    font-size: 0.8em;
    color: #c5cdd9;
    display: block;
    margin-top: 4px;
}

.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;
}

.color-btn.active .color-image {
    border-color: #ffd04f;
    box-shadow: 0 4px 12px rgba(255, 208, 79, 0.35);
}


.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.size-chart-link {
    font-size: 14px;
    color: #c5cdd9;
    text-decoration: none;
}
.size-chart-link:hover {
    text-decoration: underline;
    color: #ffd04f;
}

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

.size-option {
    flex: 1;
    max-width: 80px;
    border: 2px solid rgba(255, 208, 79, 0.25);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    transition: all 0.3s ease;
}
.size-option:hover {
    box-shadow: 0 4px 12px rgba(255, 208, 79, 0.2);
    border-color: rgba(255, 208, 79, 0.6);
}
.size-option.active {
    border-color: #ffd04f;
    background: linear-gradient(135deg, rgba(255, 208, 79, 0.18) 0%, rgba(255, 152, 0, 0.12) 100%);
    color: #ffd04f;
}

/* --- Pricing, Timer & Order Form --- */
.pricing-section {
    padding: 22px;
    background: linear-gradient(135deg, #0d1d36 0%, #122849 100%);
    border: 1px solid rgba(255, 208, 79, 0.25);
    border-radius: 12px;
    margin-top: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    color: #ffffff;
}

.pricing-section h2 {
    color: #ffd04f;
    font-size: 18px;
    margin: 18px 0 10px 0;
}

.regular-price {
    color: #8a96aa;
    font-size: 16px;
}
.regular-price span { text-decoration: line-through; }

.discounted-price {
    font-size: 26px;
    color: #ffd04f;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 6px 0 12px 0;
    text-shadow: 0 2px 8px rgba(255, 208, 79, 0.25);
}
.discount-badge {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    margin-left: 12px;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.4);
}

.stock-info {
    font-size: 14px;
    margin: 12px 0;
    color: #c5cdd9;
    line-height: 1.6;
}
.in-stock {
    color: #66bb6a;
    font-weight: bold;
}
#countdown {
    font-weight: bold;
    color: #ff7043;
    background: rgba(255, 112, 67, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}
.delivery-date {
    font-weight: bold;
    color: #ffd04f;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}
.order-form label {
    font-size: 14px;
    color: #c5cdd9;
    margin-bottom: -10px;
    font-weight: 500;
}
.order-form input[type="text"],
.order-form input[type="tel"] {
    width: 100%;
    padding: 13px 14px;
    font-size: 16px;
    border: 1px solid rgba(255, 208, 79, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: all 0.2s ease;
}
.order-form input::placeholder {
    color: #8a96aa;
}
.order-form input:focus {
    border-color: #ffd04f;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 208, 79, 0.15);
}


/* --- Buttons (Consolidated) --- */
.order-button, .my-custom-scroll-button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    color: #1a1a1a;
    background: linear-gradient(135deg, #ffd04f 0%, #f5b942 50%, #e8a832 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    margin: 12px auto;
    box-shadow: 0 6px 18px rgba(255, 208, 79, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.3px;
}

.order-button:hover, .my-custom-scroll-button:hover {
    background: linear-gradient(135deg, #ffe287 0%, #ffd04f 50%, #f5b942 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 208, 79, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

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


/* --- Other Sections (Guarantees, Features, etc.) --- */
.money-back-section {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 208, 79, 0.1) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: 1px solid rgba(255, 208, 79, 0.3);
    padding: 18px;
    border-radius: 12px;
    margin-top: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    width: 56px;
    height: auto;
    margin-right: 16px;
    filter: drop-shadow(0 2px 6px rgba(255, 208, 79, 0.35));
}

.money-back-content p { margin: 0; color: #ffffff; }
.money-back-content p:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #ffd04f;
}
.money-back-content p:last-child {
    font-size: 14px;
    color: #c5cdd9;
    margin-top: 4px;
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
}

.shipping-timer {
    text-align: center;
    background: linear-gradient(135deg, #0d1d36 0%, #122849 100%);
    border: 1px solid rgba(255, 208, 79, 0.25);
    padding: 22px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    margin: 24px 0;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

#shippingCountdown {
    font-size: 22px;
    color: #ff7043;
    background: rgba(255, 112, 67, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    margin: 0 4px;
}

.stock-remaining {
    color: #ff7043;
    font-weight: bold;
    margin: 0 5px;
}


/* ===============================================
   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: 16px;
        margin-top: 20px;
    }
    .mobile-features {
        display: none;
    }

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

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

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

/* Smaller screen adjustments */
@media (max-width: 799px) {
    .site-container {
        padding: 12px;
    }
    .mobile-features {
        grid-template-columns: 1fr;
    }
    .product-overview h1 {
        font-size: 19px;
    }
    .discounted-price {
        font-size: 22px;
    }
}

/* ===============================================
   STYLES FOR INFO SECTIONS
   =============================================== */
.info-section {
    background: linear-gradient(135deg, #0d1d36 0%, #122849 100%);
    border: 1px solid rgba(255, 208, 79, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-top: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.info-section h1 {
    text-align: center;
    margin-top: 0;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 208, 79, 0.25);
    font-size: 22px;
    color: #ffd04f;
    letter-spacing: 0.3px;
}

#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, #ffd04f 0%, #e8a832 100%);
    color: #1a1a1a;
    font-weight: bold;
    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: 16px;
    box-shadow: 0 3px 8px rgba(255, 208, 79, 0.4);
}

/* HIDE THE SIZE SECTION (preserved from original) */
.size-section {
    display: none;
}
/* HIDE THE COLOR SELECTION SECTION (preserved from original) */
.form-group {
    display: none;
}
