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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Shabnam, Arial, sans-serif;
    background: #eef1f5;
    color: #1f2937;
    line-height: 1.8;
}
h1,h2{
    font-family: Pinar, Arial, sans-serif;
}
.d-none{
    display: none !important;
}
button,
input {
    font: inherit;
}

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

img {
    display: block;
    max-width: 100%;
}
.text-center{
    text-align: center;
}
.theme-radio {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}

.site {
    --primary: #F33C3C;
    --primary-dark: #D92D2D;
    --primary-soft: #FFE7E7;

    --header: #222222;

    --background: #F8F8F8;

    --surface: #FFFFFF;

    --surface-alt: #F5F5F5;

    --text: #222222;

    --muted: #6B7280;

    --border: #E5E7EB;

    --success: #16A34A;

    --warning: #F59E0B;

    --sheet-bg: var(--header);
    --sheet-text: #ffffff;
    --sheet-border: rgba(255, 255, 255, .12);
    --sheet-item-bg: rgba(255, 255, 255, .05);
    --sheet-item-hover: rgba(255, 255, 255, .10);

    min-height: 100vh;
    color: var(--text);
    background: var(--background);

    transition: background-color .2s ease,
    color .2s ease;
    --section-gap : 65px 0;
}

#theme-red-new:checked ~ .site {

    --primary: #F33C3C;
    --primary-dark: #D92D2D;
    --primary-soft: #FFE7E7;

    --header: #222222;

    --background: #F8F8F8;

    --surface: #FFFFFF;

    --surface-alt: #F5F5F5;

    --text: #222222;

    --muted: #6B7280;

    --border: #E5E7EB;

    --success: #16A34A;

    --warning: #F59E0B;

    --sheet-bg: #222222;
    --sheet-text: #ffffff;
    --sheet-border: rgba(255, 255, 255, .12);
    --sheet-item-bg: rgba(255, 255, 255, .05);
    --sheet-item-hover: rgba(255, 255, 255, .10);

}

.color-option.red-new {

    background: #F33C3C;

}

#theme-red:checked ~ .site {
    --primary: #ef4444;
    --primary-dark: #c92f2f;
    --primary-soft: #fee2e2;
    --header: #1f2937;
}

#theme-blue:checked ~ .site {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #dbeafe;
    --header: #172554;
}

#theme-green:checked ~ .site {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-soft: #dcfce7;
    --header: #14532d;
}

#theme-orange:checked ~ .site {
    --primary: #ea580c;
    --primary-dark: #c2410c;
    --primary-soft: #ffedd5;
    --header: #431407;
}

#theme-purple:checked ~ .site {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-soft: #ede9fe;
    --header: #2e1065;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    padding: 7px 0;
    color: #ffffff;
    background: var(--primary);
    font-size: 0.82rem;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: var(--header);
    border-bottom: 4px solid var(--primary);
}

.navbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size:24px;
    font-weight: 900;
    white-space: nowrap;
    font-family: Pinar, Arial, sans-serif;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    font-size: 1.08rem;
    place-items: center;
    color: #ffffff;
    background: var(--primary);
    border: 5px solid #ffffff;
    border-radius: 50%;
    outline: 3px solid var(--primary);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.navigation a:hover {
    color: var(--primary);
}

.color-picker {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.1);
}

.color-picker-title {
    margin-left: 3px;
    color: #e5e7eb;
    font-size: 0.75rem;
}

.color-option {
    width: 24px;
    height: 24px;
    display: block;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.color-option:hover {
    border-color: #ffffff;
}

.color-option.red {
    background: #ef4444;
}

.color-option.blue {
    background: #2563eb;
}

.color-option.green {
    background: #16a34a;
}

.color-option.orange {
    background: #ea580c;
}

.color-option.purple {
    background: #7c3aed;
}

#theme-red:checked ~ .site label[for="theme-red"],
#theme-red-new:checked ~ .site label[for="theme-red-new"],
#theme-blue:checked ~ .site label[for="theme-blue"],
#theme-green:checked ~ .site label[for="theme-green"],
#theme-orange:checked ~ .site label[for="theme-orange"],
#theme-purple:checked ~ .site label[for="theme-purple"] {
    border-color: #ffffff;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.hero {
    padding: 65px 0;
    color: #ffffff;
    background: var(--header);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 50px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    color: #ffffff;
    background: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.35;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 650px;
    margin-top: 18px;
    color: #cbd5e1;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 21px;
    border: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 800;
}

.button-primary {
    color: #ffffff;
    background: var(--primary);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-outline {
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
}

.button-outline:hover {
    color: var(--header);
    background: #ffffff;
}

.hero-graphic {
    min-height: 300px;
    display: grid;
    place-items: center;
    background: var(--primary);
}

.large-wheel {
    width: 225px;
    height: 225px;
    position: relative;
    display: grid;
    place-items: center;
    background: #111827;
    border: 20px solid #080b10;
    border-radius: 50%;
    outline: 8px solid #374151;
}

.large-wheel::before {
    content: "";
    width: 126px;
    height: 126px;
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent 44%,
        #d1d5db 44%,
        #d1d5db 56%,
        transparent 56%
    ),
    linear-gradient(
        0deg,
        transparent 44%,
        #d1d5db 44%,
        #d1d5db 56%,
        transparent 56%
    );
    border: 13px solid #d1d5db;
    border-radius: 50%;
    transform: rotate(45deg);
}

.large-wheel::after {
    content: "RM";
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--primary);
    border: 5px solid #f3f4f6;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
}

.section {
    padding: var(--section-gap);
}

.section-white {
    background: var(--surface);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-label {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 4vw, 2.3rem);
    line-height: 1.5;
}

.section-heading p {
    margin-top: 6px;
    color: var(--muted);
}

.text-link {
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

.categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 21px;
    background: var(--surface);
    border: 2px solid var(--border);
}

.category-card:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.category-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 1.76rem;
    font-weight: 900;
}

.category-card:hover .category-icon {
    color: var(--primary);
    background: #ffffff;
}

.category-card h3 {
    margin-top: 18px;
    font-size: 1.08rem;
}

.category-card p {
    color: var(--muted);
    font-size: 0.8rem;
    height: 72px;
    text-align: justify;
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.category-arrow {
    display: inline-block;
    margin-top: 7px;
    color: var(--primary);
    font-weight: 900;
    font-size: 12px;
}

.category-card:hover .category-arrow {
    color: #ffffff;
}

.product-group {
    padding-top: 35px;
    margin-bottom: 25px;
}

.product-group:first-of-type {
    padding-top: 0;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.group-title::before {
    content: "";
    width: 8px;
    height: 31px;
    background: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--border);
}

.product-card:hover {
    border-color: var(--primary);
}

.product-visual{

    height:225px;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:var(--surface-alt);

    border-bottom:2px solid var(--border);

}

.product-visual img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

    transition:.3s;

}

.product-card:hover .product-visual img{

    transform:scale(1.05);

}

.product-label {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    color: #ffffff;
    background: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
}

.product-label.available {
    background: var(--success);
}

.product-label.limited {
    background: var(--warning);
}

.wheel {
    width: 150px;
    height: 150px;
    position: relative;
    display: grid;
    place-items: center;
    background: #111827;
    border: 14px solid #080b10;
    border-radius: 50%;
    outline: 5px solid #4b5563;
}

.wheel::before {
    content: "";
    width: 88px;
    height: 88px;
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent 43%,
        #9ca3af 43%,
        #9ca3af 57%,
        transparent 57%
    ),
    linear-gradient(
        0deg,
        transparent 43%,
        #9ca3af 43%,
        #9ca3af 57%,
        transparent 57%
    );
    border: 10px solid #9ca3af;
    border-radius: 50%;
    transform: rotate(45deg);
}

.wheel::after {
    content: "";
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
    background: var(--primary);
    border: 5px solid #d1d5db;
    border-radius: 50%;
}

.wheel.gold::before {
    border-color: #d6a72c;
    background: linear-gradient(
        90deg,
        transparent 43%,
        #d6a72c 43%,
        #d6a72c 57%,
        transparent 57%
    ),
    linear-gradient(
        0deg,
        transparent 43%,
        #d6a72c 43%,
        #d6a72c 57%,
        transparent 57%
    );
}

.wheel.silver::before {
    border-color: #d1d5db;
    background: linear-gradient(
        90deg,
        transparent 43%,
        #d1d5db 43%,
        #d1d5db 57%,
        transparent 57%
    ),
    linear-gradient(
        0deg,
        transparent 43%,
        #d1d5db 43%,
        #d1d5db 57%,
        transparent 57%
    );
}

.wheel.dark::before {
    border-color: #4b5563;
    background: linear-gradient(
        90deg,
        transparent 43%,
        #4b5563 43%,
        #4b5563 57%,
        transparent 57%
    ),
    linear-gradient(
        0deg,
        transparent 43%,
        #4b5563 43%,
        #4b5563 57%,
        transparent 57%
    );
}

.tire {
    width: 150px;
    height: 150px;
    position: relative;
    display: grid;
    place-items: center;
    background: #111827;
    border: 30px solid #05070a;
    border-radius: 50%;
    outline: 5px dashed #4b5563;
}

.tire::after {
    content: "";
    width: 52px;
    height: 52px;
    background: #cbd5e1;
    border: 8px solid #6b7280;
    border-radius: 50%;
}

.product-body {
    padding: 17px;
}

.product-brand {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
}

.product-title {
    min-height: 54px;
    margin-top: 3px;
    font-size: 1rem;
    line-height: 1.7;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 13px 0;
    height: 107px;
}

.product-specs span {
    padding: 6px 8px;
    color: var(--muted);
    background: var(--surface-alt);
    font-size: 0.72rem;
}

.product-specs strong {
    color: var(--text);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
}

.price {
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 900;
}

.inquiry-button {
    padding: 7px 11px;
    color: #ffffff;
    background: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
}

.inquiry-button:hover {
    background: var(--primary-dark);
}

.banner {
    color: #ffffff;
    background: var(--primary);
}

.banner-content {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.banner h2 {
    font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.banner p {
    max-width: 720px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.83);
}

.banner .button {
    flex: 0 0 auto;
    color: var(--primary);
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.contact-card {
    padding: 23px;
    background: var(--surface);
    border-top: 5px solid var(--primary);
}

.contact-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}
.contact-card div {
    direction: ltr;
    text-align: right;
    font-size: 1rem;
    font-weight: bold;
}

.footer {
    padding: 8px 0;
    color: #cbd5e1;
    text-align: center;
    background: var(--header);
    border-top: 4px solid var(--primary);
    font-size: 0.82rem;
}

@media (max-width: 1020px) {
    .navigation {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr 0.7fr;
    }

    .categories,
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .topbar {
        display: none;
    }

    .navbar {
        min-height: 68px;
    }

    .color-picker-title {
        display: none;
    }

    .color-option {
        width: 21px;
        height: 21px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-graphic {
        min-height: 260px;
    }

    .categories,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner-content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 35px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .brand {
        font-size: 24px !important;
        font-family: Pinar, Arial, sans-serif;
    }

    .brand-icon {
        width: 39px;
        height: 39px;
        font-size: 0.78rem;
    }

    .color-picker {
        gap: 6px;
        padding: 6px;
    }

    .color-option {
        width: 19px;
        height: 19px;
        border-width: 2px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-graphic {
        min-height: 235px;
    }

    .large-wheel {
        width: 175px;
        height: 175px;
    }

    .large-wheel::before {
        width: 95px;
        height: 95px;
    }

    .section {
        padding: 48px 0;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .categories,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card {
        min-height: 145px;
    }

    .product-visual {
        height: 245px;
    }

    .product-title {
        min-height: auto;
    }
}
