.tesla17-theme {
    color: #f1eee4;
    color-scheme: dark;
    background-image: radial-gradient(ellipse at 50% 0, #142d22, transparent 60rem);
}
.tesla17-theme a:focus-visible,
.tesla17-theme button:focus-visible {
    outline: 2px solid #ffe098;
    outline-offset: 4px;
}
.tesla17-theme input:not([type="checkbox"]):not([type="radio"]),
.tesla17-theme select {
    color-scheme: dark;
}
.tesla17-main {
    width: min(100% - 48px, 1280px);
    margin: 32px auto 54px;
}
.tesla17-slider {
    overflow: hidden;
    border: 1px solid #6d5937;
    border-radius: 16px;
    background: #0a1e16;
}
.tesla17-hero, .tesla17-promo-slide {
    position: relative;
    display: block;
    min-height: clamp(285px, 39vw, 440px);
    overflow: hidden;
}
.tesla17-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #05130fe8 0%, #05130fc4 37%, #05130f24 73%);
    pointer-events: none;
}
.tesla17-hero-image, .tesla17-promo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}
.tesla17-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    align-content: center;
    min-height: inherit;
    max-width: 70%;
    padding: 34px clamp(22px, 5vw, 76px) 48px;
}
.tesla17-hero-copy :is(h1, h2) {
    margin: 0;
    color: #ffdb84;
    font: 750 clamp(34px, 7vw, 84px)/.98 Teko-SemiBold, system-ui, sans-serif;
    letter-spacing: .025em;
}
.tesla17-hero-copy p {
    margin: 10px 0 18px;
    color: #fff5dc;
    font-size: clamp(13px, 1.7vw, 18px);
}
.tesla17-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 23px;
    border: 1px solid #4d8264;
    border-radius: 24px;
    background: #173b2a;
    color: #fff4d7;
    font-weight: 700;
    text-align: center;
}
.tesla17-button:hover, .tesla17-button:focus {
    background: #20533c;
    color: white;
    text-decoration: none;
}
.tesla17-button-gold {
    background: linear-gradient(130deg, #f9dc90, #e7ad39);
    border-color: #ffdc80;
    color: #1e190f;
}
.tesla17-button-gold:hover, .tesla17-button-gold:focus {
    background: #ffe099;
    color: #1e190f;
}
.tesla17-slide-controls {
    position: absolute;
    z-index: 2;
    bottom: 7px;
    right: 20px;
    display: flex;
}
.tesla17-slide-controls button {
    position: relative;
    width: 27px;
    height: 32px;
    border: 0;
    background: transparent;
}
.tesla17-slide-controls button::after {
    position: absolute;
    inset: 12px 9px;
    border: 1px solid #f9d780;
    border-radius: 50%;
    content: "";
}
.tesla17-slide-controls button:hover::after,
.tesla17-slide-controls button:focus-visible::after { background: #f9d780; }
.tesla17-announcement {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 0;
    padding: 9px 14px;
    border-left: 3px solid #f0b74a;
    background: #142d22;
    color: #efdfb8;
}
.tesla17-announcement i { color: #f0b74a; }
.tesla17-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 24px;
}
.tesla17-actions a { width: min(160px, 50%); }
.tesla17-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-left: 3px solid #f0b74a;
    background: linear-gradient(90deg, #15392a, #0c1d17);
}
.tesla17-section-heading h2 {
    margin: 0;
    color: #ffe098;
    font-size: clamp(17px, 3vw, 22px);
    font-weight: 750;
}
.tesla17-section-heading a { color: #ffe098; }
.tesla17-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(117px, 1fr));
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.tesla17-category-grid a {
    display: grid;
    min-height: 112px;
    place-items: center;
    align-content: center;
    gap: 9px;
    border: 1px solid #3a5d49;
    border-radius: 10px;
    background: linear-gradient(135deg, #17412f, #101d17 75%);
    color: #f8ebcc;
    text-align: center;
}
.tesla17-category-grid a:hover {
    border-color: #d5ad5c;
    color: #ffe098;
    text-decoration: none;
}
.tesla17-category-grid img { object-fit: contain; }
.tesla17-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 18px 0 0;
}
.tesla17-promo-card {
    overflow: hidden;
    border: 1px solid #52634c;
    border-radius: 12px;
    background: #142d22;
    color: #fff1d3;
}
.tesla17-promo-card img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.tesla17-promo-card h2 { margin: 0; padding: 13px; font-size: 19px; }
.tesla17-promo-card:hover { color: #ffe098; }
.tesla17-promo-detail img { display: block; width: 100%; border-radius: 12px; }
.tesla17-promo-detail p { margin: 16px 0; }
@media (max-width: 850px) {
    .tesla17-main { width: calc(100% - 24px); margin-top: 64px; }
    .tesla17-hero, .tesla17-promo-slide { min-height: 235px; }
    .tesla17-hero-copy { max-width: 78%; }
    .tesla17-category-grid { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
    .tesla17-category-grid a { min-height: 92px; font-size: 12px; }
    .tesla17-category-grid img { width: 40px; height: 40px; }
}
.tesla17-desktop .tesla17-main { margin-top: 188px; }
.tesla17-mobile .tesla17-main { margin-top: 64px; }
.tesla17-desktop-logo { flex: 0 0 clamp(120px, 15vw, 210px); }
.tesla17-desktop-categories { flex-wrap: wrap; justify-content: flex-end; row-gap: 7px; }
.tesla17-desktop-categories .menu-opt { margin-left: clamp(8px, 1.5vw, 25px) !important; }
.tesla17-slide-controls button[aria-pressed="true"]::after { background: #f9d780; }
.tesla17-desktop-switch { align-self: center; color: #e3c78d; font-size: 12px; }
@media (max-width: 540px) {
    .tesla17-desktop .tesla17-main { margin-top: 252px; }
    .tesla17-actions { flex-wrap: wrap; }
    .tesla17-desktop-switch { width: 100%; text-align: center; }
}
