:root {
    --color-main: #d9783d;
    --color-main-to: #c96a35;
    --color-text: #333;
    --bg-section: #e9e9e9;
    --bg-block: #d4d2d0;
    --btn-shadow: rgba(217, 120, 61, 0.4);
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-to) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    color: var(--bg-section);
    position: relative;
}

.model3d {
    float: right;
    max-width: 60%;
    margin-top: -2rem;
}

.model3d img {
    width: 100%;
}

.country-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 15px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.country-selector a {
    cursor: pointer;
    vertical-align: middle;
    line-height: 1em;
}

.brand {
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.brand img {
   vertical-align: middle;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 300;
}

.main-content {
    background: var(--bg-section);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--bg-block);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img,
.carousel-slide svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--bg-section);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--bg-section);
    transform: scale(1.2);
}

.carousel-arrow {
    display: none;
}


.no-touch .carousel-arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--bg-section);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.product-info {
    padding: 50px;
}

.product-title {
    font-size: 2.5em;
    color: var(--color-main);
    margin-bottom: 10px;
}

.product-scale {
    font-size: 1.3em;
    color: var(--color-main);
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 80px;
}

.feature {
    padding: 20px;
    background: var(--bg-block);
    border-radius: 10px;
    border-left: 4px solid var(--color-main);
    position: relative;
    cursor: pointer;
}

.feature h3 {
    color: var(--color-main);
    margin-bottom: 10px;
}

.description {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.specs {
    background: var(--bg-block);
    padding: 15px 30px 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.specs h3 {
    color: var(--color-main);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.specs ul {
    list-style: none;
    padding-left: 0;
}

.specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-block);
}

.specs li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    padding: 40px 0;
}

.price {
    font-size: 3em;
    color: var(--color-main);
    font-weight: bold;
    margin-bottom: 20px;
}

.where-to-buy {
    max-width: 600px;
    margin: 0 auto;
}

.where-to-buy-header {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-to) 100%);
    color: var(--bg-section);
    padding: 20px 40px;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--btn-shadow);
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.where-to-buy-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--btn-shadow);
}

.arrow {
    transition: transform 0.3s;
    font-size: 1.2em;
}

.arrow.open {
    transform: rotate(180deg);
}

.retailer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-block);
    border-radius: 20px;
    margin-top: 15px;
}

.retailer-panel.open {
    max-height: 500px;
}

.retailer-content {
    padding: 30px;
}

.retailer-info {
    text-align: left;
    line-height: 1.8;
}

.retailer-info h4 {
    color: var(--color-main);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.retailer-info p {
    margin-bottom: 10px;
}

.retailer-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: var(--color-main);
    color: var(--bg-section);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.retailer-link:hover {
    background: var(--color-main);
    transform: translateY(-2px);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-close {
    float: right;
    margin-top: -1rem;
    font-size: x-large;
    cursor: pointer;
}

.popup-content {
    background: var(--bg-section);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-content img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.popup-content h3 {
    color: var(--color-main);
    margin-bottom: 15px;
}

.popup-content p {
    line-height: 1.8;
    color: var(--color-text);
}

.popup-trigger {
    color: var(--color-main);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.popup-trigger:hover {
    color: var(--color-main);
}

.learnMore {
    color: #6d99d6;
    cursor: pointer;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.kit-resource {
    display: inline-block;
    padding: 10px;
    margin: 0 10px;
    background: var(--bg-section);
    border-radius: 10px;
    text-align: center;
    max-width: 40%;
}

.kit-resource a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

footer {
    text-align: center;
    color: var(--bg-section);
    padding: 20px;
    opacity: 0.9;
}

@media (orientation: portrait) {
    header {
        padding: 40px 0; 
    }
    .product-info {
        padding: 30px 20px;
    }

    .product-title {
        font-size: 2em;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .brand {
        font-size: 1.5rem;
    }
    .features {
        margin: 40px 0;
    }

    .model3d {
        float: right;
        max-width: 100%;
    }
}
