:root {
    --license-plate-accent: var(--primary-color, #28B1E0);
    --license-plate-accent-strong: color-mix(in srgb, var(--license-plate-accent) 82%, #000000 18%);
    --license-plate-accent-soft: color-mix(in srgb, var(--license-plate-accent) 10%, #ffffff 90%);
    --license-plate-ink: #222222;
    --license-plate-muted: #6f6f77;
    --license-plate-border: #efe6dc;
    --license-plate-shadow: 0 18px 45px rgba(31, 20, 10, 0.08);
}

.product-item.license-plate-product-item {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--license-plate-border);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, var(--license-plate-accent-soft) 100%);
    box-shadow: var(--license-plate-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item.license-plate-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(31, 20, 10, 0.12);
}

.product-item.license-plate-product-item .picture {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 12px;
    margin: 0;
    background: transparent;
}

.product-item.license-plate-product-item .picture::before {
    display: none;
}

.product-item.license-plate-product-item .picture > a,
.product-item.license-plate-product-item .picture .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient(circle at top, var(--license-plate-accent-soft) 0%, #ffffff 68%);
    transform: none;
}

.product-item.license-plate-product-item .picture .swiper,
.product-item.license-plate-product-item .picture .swiper-wrapper,
.product-item.license-plate-product-item .picture .swiper-slide {
    position: static;
    transform: none;
}

.product-item.license-plate-product-item .picture .swiper {
    width: 100%;
}

.product-item.license-plate-product-item .picture > a img,
.product-item.license-plate-product-item .picture .swiper-slide img {
    display: block;
    width: auto;
    max-width: 92% !important;
    max-height: 130px !important;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}

.product-item.license-plate-product-item .details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0 24px 24px;
}

.product-item.license-plate-product-item .product-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(1.35em * 2);
    margin: 0 0 12px;
    text-align: center;
}

.product-item.license-plate-product-item .product-title a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--license-plate-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-item.license-plate-product-item .description {
    display: -webkit-box;
    overflow: hidden;
    min-height: calc(1.7em * 2);
    margin: 0 0 16px;
    color: var(--license-plate-muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-item.license-plate-product-item .prices {
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: auto 0 16px;
}

.product-item.license-plate-product-item .prices .actual-price {
    color: var(--license-plate-accent);
    font-size: 30px;
    font-weight: 800;
}

.product-item.license-plate-product-item .prices .old-price {
    color: #b2a08e;
}

.product-item.license-plate-product-item .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-item.license-plate-product-item .buttons .button-2 {
    min-width: 140px;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: var(--license-plate-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(31, 20, 10, 0.16);
}

.product-item.license-plate-product-item .buttons .button-2:hover {
    background: var(--license-plate-accent-strong);
    color: #ffffff;
}

.license-plate-render {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 140px;
    overflow: hidden;
}

.license-plate-render--detail {
    min-height: 220px;
}

.license-plate-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 680px;
    height: 210px;
    transform-origin: center center;
}

.license-plate-render--card .license-plate-canvas {
    transform: scale(0.46);
}

.license-plate-render--detail .license-plate-canvas {
    transform: scale(0.78);
}

.license-plate-face {
    display: flex;
    width: 680px;
    min-width: 680px;
    height: 210px;
    overflow: hidden;
    border: 6px solid #111111;
    border-radius: 12px;
    background: #ffffff;
    direction: ltr;
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.14);
}

.license-plate-face__numbers,
.license-plate-face__letters {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.license-plate-face__numbers {
    flex: 1 1 auto;
    min-width: 250px;
    border-right: 5px solid #111111;
}

.license-plate-face__letters {
    width: 200px;
    min-width: 200px;
    border-right: 5px solid #111111;
}

.license-plate-face__strip {
    display: flex;
    flex: 0 0 85px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    background: #ffffff;
    color: #111111;
}

.license-plate-face__row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.license-plate-face__row--arabic {
    height: 50%;
    border-bottom: 4px solid #111111;
    color: #111111;
    font-weight: 900;
    line-height: 1;
}

.license-plate-face__numbers .license-plate-face__row--arabic {
    justify-content: space-around;
    padding: 0 18px;
    font-size: 80px;
}

.license-plate-face__row--english {
    height: 50%;
    color: #111111;
    font-weight: 900;
}

.license-plate-face__numbers .license-plate-face__row--english {
    justify-content: space-around;
    padding: 0 18px;
    font-size: 54px;
}

.license-plate-face__row--letters-ar {
    justify-content: space-around;
    padding: 0 10px;
    font-size: 56px;
}

.license-plate-face__row--letters-en {
    justify-content: space-around;
    padding: 0 18px;
    font-size: 38px;
}

.license-plate-face__emblem {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #2c9e5d 0 24%, transparent 26%),
        conic-gradient(from 0deg, #2c9e5d 0 10%, transparent 10% 20%, #2c9e5d 20% 30%, transparent 30% 40%, #2c9e5d 40% 50%, transparent 50% 60%, #2c9e5d 60% 70%, transparent 70% 80%, #2c9e5d 80% 90%, transparent 90% 100%);
    filter: grayscale(1) contrast(2);
}

.license-plate-face__country-ar {
    margin: 4px 0;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.license-plate-face__country-en {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 900;
    line-height: 0.9;
}

.license-plate-face__dot {
    width: 14px;
    height: 14px;
    margin-top: 8px;
    border-radius: 50%;
    background: #111111;
}

.license-plate-details-page .product-essential {
    align-items: flex-start;
    gap: 36px;
}

.license-plate-details-page .product-essential .gallery {
    width: 48%;
}

.license-plate-details-page .product-essential .overview {
    width: calc(52% - 36px);
}

.license-plate-details-page .picture-gallery {
    width: 100%;
}

.license-plate-details-page .picture-gallery > .picture,
.license-plate-details-page .gallery > .picture,
.license-plate-details-page .picture-gallery > .picture-thumbs {
    display: none !important;
}

.license-plate-details-page .license-plate-details-visual-host {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    padding: 8px 0 0;
}

.license-plate-details-page .overview {
    padding-top: 8px;
}

.license-plate-details-page .overview .product-overview-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
}

.license-plate-details-page .overview .product-overview-left {
    flex: 1 1 280px;
}

.license-plate-details-page .overview .product-overview-right {
    flex: 0 1 400px;
    width: min(100%, 400px);
    margin-left: auto;
}

.license-plate-details-page .overview .product-overview-right .product-cart-wrapper {
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--license-plate-accent) 10%, #d9e0e7);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.license-plate-details-page .overview .product-overview-right .product-cart-wrapper > div {
    padding: 0;
}

.license-plate-details-page .overview .product-name h1 {
    color: var(--license-plate-ink);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.license-plate-details-page .overview .short-description {
    color: var(--license-plate-muted);
    font-size: 16px;
    line-height: 1.7;
}

.license-plate-details-page .overview .prices {
    padding-top: 18px;
    margin: 22px 0 24px;
    border-top: 1px solid #e6e6e6;
}

.license-plate-details-page .overview .prices .actual-price {
    color: var(--license-plate-ink);
    font-size: 22px;
    font-weight: 700;
}

.license-plate-details-page .overview-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 18px;
    margin: 22px 0 0;
    border-top: 1px solid color-mix(in srgb, var(--license-plate-accent) 10%, #e6e6e6);
}

.license-plate-details-page .overview-buttons div {
    display: flex;
    flex: 1 1 180px;
    width: auto;
    margin: 0;
}

.license-plate-details-page .overview-buttons div .button-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid color-mix(in srgb, var(--license-plate-accent) 22%, #cfd7df);
    border-radius: 16px;
    background: color-mix(in srgb, var(--license-plate-accent) 5%, #f7f8fa);
    color: var(--license-plate-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.license-plate-details-page .overview-buttons div .button-2:hover {
    border-color: var(--license-plate-accent);
    background: var(--license-plate-accent);
    color: #ffffff;
    transform: translateY(-1px);
}

.license-plate-details-page .overview-buttons div .button-2:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--license-plate-accent) 45%, #ffffff);
    outline-offset: 2px;
}

.license-plate-details-page .overview-buttons div .button-2::before {
    color: inherit;
}

.license-plate-details-page .share-post {
    margin-top: 12px;
}

.license-plate-details-page .bar-notification {
    z-index: 10001;
}

.license-plate-details-page .license-plate-render--detail {
    min-height: 0;
}

.license-plate-details-page .license-plate-render--detail .license-plate-canvas {
    transform: scale(0.68);
}

@media (max-width: 767px) {
    .product-item.license-plate-product-item .picture,
    .product-item.license-plate-product-item .details {
        padding-right: 18px;
        padding-left: 18px;
    }

    .product-item.license-plate-product-item .picture > a {
        min-height: 190px;
    }

    .product-item.license-plate-product-item .product-title,
    .product-item.license-plate-product-item .description {
        min-height: 0;
    }

    .product-item.license-plate-product-item .product-title a {
        font-size: 20px;
    }

    .product-item.license-plate-product-item .prices .actual-price {
        font-size: 24px;
    }

    .product-details-page.license-plate-details-page .product-essential .gallery,
    .product-details-page.license-plate-details-page .product-essential .overview {
        width: 100%;
    }

    .product-details-page.license-plate-details-page .overview .product-overview-wrapper {
        gap: 20px;
    }

    .product-details-page.license-plate-details-page .overview .product-overview-right {
        width: 100%;
    }

    .product-details-page.license-plate-details-page .overview .product-overview-right .product-cart-wrapper {
        padding: 18px;
        border-radius: 20px;
    }

    .product-details-page.license-plate-details-page .overview .product-name h1 {
        font-size: 36px;
    }

    .product-details-page.license-plate-details-page .overview .prices .actual-price {
        font-size: 22px;
    }

    .product-details-page.license-plate-details-page .overview-buttons div {
        flex-basis: calc(50% - 6px);
    }

    .license-plate-render--card .license-plate-canvas {
        transform: scale(0.4);
    }

    .license-plate-render--detail .license-plate-canvas {
        transform: scale(0.52);
    }
}

@media (max-width: 640px) {
    .product-details-page.license-plate-details-page .overview-buttons div {
        flex-basis: 100%;
    }
}
