:root {
    --primary-blue: #003c86;
    --accent-orange: #ff7a00;
    --buy-green: #12ca03;
    --text-dark: #3a3b3c;
    --text-light: #7d7d7d;
    --bg-light: #f2f2f2;
    --border-color: #e8e8e8;
    --font-family: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.navbar {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo img {
    height: 40px;
}

.navbar-logo {
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.navbar-search {
    flex: 1;
    min-width: 250px;
    max-width: 600px;
    display: flex;
}

.navbar-search input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.navbar-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 15px;
    flex-wrap: wrap;
}

.navbar-actions a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
    padding: 12px 0;
    border-bottom: 2px solid var(--border-color);
}

.breadcrumbs a {
    color: var(--primary-blue);
    font-weight: 700;
    white-space: nowrap;
}

.breadcrumbs a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 1 1 50%;
    min-width: 300px;
    display: flex;
    gap: 20px;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}

.gallery-thumbnails div {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumbnails div:hover {
    border-color: var(--primary-blue);
}

.gallery-main-image {
    flex: 1;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.product-details {
    flex: 1 1 40%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-sku {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-pricing {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 13px;
}

.price-current-container {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.price-currency {
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 900;
    margin-right: 5px;
    padding-bottom: 6px;
}

.price-current {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-blue);
}

.price-installments {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.buy-button {
    background-color: var(--buy-green);
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.3s;
    width: 100%;
    margin-bottom: 20px;
}

.buy-button:hover {
    opacity: 0.85;
}

.product-info-section {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    background-color: #fff;
}

.info-title {
    font-size: 22px;
    font-weight: normal;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.info-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.info-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.info-content li {
    margin-bottom: 5px;
}

.description-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.description-images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.footer {
    background-color: var(--primary-blue);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.specs-list li {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0 !important;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li:nth-child(even) {
    background-color: var(--bg-light);
}

.specs-list li:nth-child(odd) {
    background-color: #ffffff;
}

.spec-label {
    flex: 0 0 40%;
    font-weight: 700;
    color: var(--text-dark);
}

.spec-value {
    flex: 1;
    color: var(--text-dark);
    line-height: 1.5;
}

.footer {
    background-color: #ffffff;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
}

.logo-column img {
    height: 45px;
    width: auto;
}

.payment-column img {
    max-width: 100%;
    width: 280px;
    height: auto;
}

.security-column .security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.security-badges img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 50px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

.logo-column img {
    height: 45px;
    width: auto;
    /* Optional: If your logo is dark, uncomment the line below to turn it white */
    /* filter: brightness(0) invert(1); */
}

.payment-column img,
.security-badges img {
    background-color: #ffffff;
    padding: 8px;
    border-radius: 6px;
}

.payment-column img {
    max-width: 100%;
    width: 280px;
    height: auto;
}

.security-column .security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.security-badges img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

input:disabled,
textarea:disabled {
    background-color: #ffffff !important;
    color: #333333 !important;
    opacity: 1 !important;
    border: 1px solid #ccc;
    cursor: default;
    -webkit-text-fill-color: #333333;
}

.navbar-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 22px;
    line-height: 1;
}

.stars::before {
    content: '★★★★★';
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffb400 var(--percent), #e8e8e8 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2px;
}

.gallery-thumbnails div.active {
    border-color: var(--primary-blue);
    border-width: 2px;
}

.gallery-main-image {
    flex: 1;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.15s ease-out;
    pointer-events: none;
}


@media (min-width: 993px) {
    .gallery-main-image {
        cursor: crosshair;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 15px;
    }

    .navbar-logo {
        margin-bottom: 10px;
        justify-content: center;
    }

    .navbar-search {
        display: none;
    }

    .navbar-actions {
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }

    .breadcrumbs {
        display: none;
    }

    .product-title {
        font-size: 24px;
    }

    .price-current {
        font-size: 30px;
    }

    .gallery-main-image {
        min-height: 250px;
    }

    .product-info-section {
        padding: 15px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .security-badges {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .specs-list li {
        flex-direction: column;
        gap: 5px;
        padding: 15px;
    }

    .spec-label {
        flex: auto;
    }
}

@media (max-width: 768px) {
.navbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 15px;
    }

    .navbar-logo {
        margin-bottom: 10px;
        justify-content: center;
    }

    .navbar-search {
        width: 100%;
        max-width: 100%;
    }

    .navbar-actions {
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }

    .breadcrumbs {
        display: none;
    }

    .product-title {
        font-size: 24px;
    }

    .price-current {
        font-size: 30px;
    }

    .gallery-main-image {
        min-height: 250px;
    }

    .product-info-section {
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .product-main {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery,
    .product-details {
        width: 100%;
        flex: none;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .gallery-thumbnails div {
        flex-shrink: 0;
    }

    .gallery-main-image {
        min-height: 350px;
        width: 100%;
    }
}