/* Global Variables and Base Styles */

:root {
    --pr-yellow: #FFC700;
    --pr-dark: #111111;
    --pr-gray: #666666;
    --pr-text-dark: #333333;
    --pr-white: #FFFFFF;
}

/* Override Bootstrap container width to 1425px */
@media (min-width: 992px) {
    .container {
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Cookie Script Overrides - Professional White/Yellow Theme */
div#cookiescript_injected, 
#cookiescript_injected {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-family: inherit !important;
    border-top: 1px solid #eeeeee !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1) !important;
    z-index: 999999 !important;
}

#cookiescript_injected #cookiescript_header {
    color: #000000 !important;
    font-weight: 700 !important;
}

#cookiescript_injected #cookiescript_text {
    color: #000000 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

#cookiescript_injected #cookiescript_description {
    color: #000000 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

#cookiescript_injected a#cookiescript_link,
#cookiescript_injected #cookiescript_readmore {
    color: var(--pr-yellow) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

#cookiescript_injected #cookiescript_accept,
button#cookiescript_accept {
    background-color: var(--pr-yellow) !important;
    color: #000000 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 12px 30px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

#cookiescript_injected #cookiescript_accept:hover {
    background-color: #FFD700 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 199, 0, 0.3) !important;
}

#cookiescript_injected #cookiescript_reject,
button#cookiescript_reject {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 12px 30px !important;
    border: 1px solid #000000 !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

#cookiescript_injected #cookiescript_reject:hover {
    background-color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

#cookiescript_injected #cookiescript_buttons {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL PLATE PREVIEW — same style on ALL pages
   520:110 ratio, yellow, UKNumberPlate font, black border
════════════════════════════════════════════════════════════════ */
@font-face {
    font-family: 'UKNumberPlate';
    src: url('../../UKNumberPlate.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.plate-univ {
    background: #FFD100;
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 520 / 110;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    color: #000000;
    font-family: 'UKNumberPlate', 'Charles Wright', Arial, sans-serif;
    font-size: clamp(24px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1;
    text-align: center;
    margin: 0 auto 16px auto;
    padding: 0;
    text-indent: 0;
}

/* PRIMO legal name bottom-center */
.plate-univ::after {
    content: 'PRIMO';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0;
    color: #000;
    opacity: 0.65;
    white-space: nowrap;
    line-height: 1;
}

/* BSAU label bottom-right */
.plate-univ::before {
    content: 'BSAU 145e';
    position: absolute;
    bottom: 3px;
    right: 8px;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0;
    color: #000;
    opacity: 0.65;
    white-space: nowrap;
    line-height: 1;
}

/* Scale PRIMO/BSAU down on mobile */
@media (max-width: 600px) {
    .plate-univ::after,
    .plate-univ::before {
        font-size: 7px;
    }
}

/* Override old .plate-preview on breakdown / style / offer pages */
.page-breakdown .plate-preview,
.page-style .plate-preview,
.page-offer .plate-preview {
    background: #FFD100 !important;
    background-image: none !important;
    border: 3px solid #000 !important;
    border-radius: 6px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 520 / 110 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-family: 'UKNumberPlate', 'Charles Wright', Arial, sans-serif !important;
    font-size: clamp(24px, 5vw, 56px) !important;
    font-weight: 700 !important;
    letter-spacing: 5px !important;
    line-height: 1 !important;
    color: #000 !important;
    margin: 0 auto 16px auto !important;
    text-indent: 0 !important;
    padding: 0 !important;
}

.page-breakdown .plate-preview span,
.page-style .plate-preview span,
.page-offer .plate-preview span {
    font-family: 'UKNumberPlate', 'Charles Wright', Arial, sans-serif !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    letter-spacing: 5px !important;
    color: #000 !important;
    position: relative !important;
    z-index: 2;
    line-height: 1 !important;
}
