.row-cpd-builder-plate-mobile .editor-action-top-text {
    color: black;
    margin-bottom: 0px;
}

.h1-cpd-title {
    text-align: center;
    font-weight: 600;
    font-size: clamp(17px, 2.5vw, 27px);
}

.row-cpd-builder-plate-mobile .img-maintopusp {
    width: 100%;
}

.row-cpd-builder-plate-mobile .desk-view-top-text {
    margin-bottom: 30px;
}

.your-price-mobile-wrap .arrow-green-mobile {
    height: 80px;
    width: 40px;
    margin-top: -40px;
}

.your-price-mobile-wrap .computed-price {
    margin-left: 20px;
    font-size: 20px;
}

.your-price-mobile-wrap .btn-buy-now-mobile {
    background-color: #DE2D2C;
    /* padding: 16px; */
    padding: 14px;
    color: white;
    border-radius: 5px;
    float: right;
    /* max-width: 115px; */
    max-width: 135px;
    width: 100%;
    font-weight: 700;
    margin-top: 6px;
}

.mob-preview .img-3-year,
.img-33-off,
.img-wide-selection {
    max-height: 110px;
    max-width: 110px;
    width: 100%;
    height: 100%
}

.wrap-price-desktop-images {
    display: flex;
    margin-top: 20px;
}

/* .wrap-price-desktop-images .true-price {
    font-size: 25px;
    line-height: 2;
} */

.wrap-price-desktop-images .sdd-img-wrap img {
    height: auto;
}

.wrap-price-desktop-images .customer-reviews-img-wrap img {
    height: auto;
}

/* .v3-price-row button.bd-add-cart{
    width: 100% !important;
} */

#builder-actions #add-to-basket {
    border-radius: 7px !important;
    /* background-color: #27b523 !important; */
    /* background-color:  #1B5E20 !important; */
    margin-top: 30px;
    width: 100% !important;
    font-size: 2rem !important;
}

#pbregletter1::placeholder {
    text-align: center;
    width: 100%;
    display: block;
}

number1plate-embed #maincontent #builder-menu #builder-menu-internal {
    padding: 0;
}

number1plate-embed #builder-form {
    flex: 2;
}

number1plate-embed .nameplate-main-container #builder-actions {
    padding: 12px 0 0 0;
}

.builder {
    padding: 20px 0 !important;

}

.countdown-bar {
    padding: 0px 20px 20px;
}

.grid-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    /* two equal columns */
    gap: 2px;
    /* padding-left: 15px;
    padding-right: 15px; */
}

.grid-columns .img-wide-selection,
.img-33-off {
    max-height: 100px;
    max-width: 130px;
    width: 100%;
    height: 100%;

}

.grid-columns .img-3-year {
    max-height: 102px;
    max-width: 150px;
    width: 100%;
    height: 100%;

}



#pbregletter1::placeholder {
    font-size: 65px;
}

#pbregletter1 {
    /* height: 126px !important; */
    height: 100px !important;
    font-size: 75px !important;
    line-height: 2 !important;

}

#form_register_context_box .entries {
    height: 115px !important;
}

.pricing-wrapper{
    display: inline-grid;
    margin-right: 70px;
}

.desk-slashed-price{
    margin-bottom: -15px; 
}

.price{
    margin-bottom: -15px; 
    color: black;
    display: flex;
    padding-bottom: -70px;
}
.desk-green-off-wrap{
    font-size: 15px;
}

.true-price{
    font-weight:800; 
    margin-left: 8px;

}

.green-off{
    color: green;
    text-transform: none;
    font-weight: 100;
}

#maincontent #builder-menu #builder-menu-internal > div {
    max-width: none !important;
}

#builder-font {
  list-style: none;
}
:root {
  --seg-accent: #2e54a2;
  --seg-border: #d6d7db;
  --seg-text: #111;
  --seg-radius: 0.5rem;
  --seg-focus: color-mix(in srgb, var(--seg-accent) 30%, transparent);
}
#builder-font fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: auto; 
}
#builder-font .segmented {
  width: auto;
  /* width: clamp(290px, 100%, 565px); */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 2vw, 12px);
  border: 0;
  margin-bottom: 12px;
}

#builder-font .selectable{
    position: absolute !important;
}

#builder-font .segmented__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

#builder-font .segmented__option {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;

  padding-block: clamp(10px, 1.8vw, 14px);
  padding-inline: clamp(4px, 2.2vw, 20px);

  border: 4px solid var(--seg-border);
  border-radius: var(--seg-radius);
  background: #fff;
  color: var(--seg-text);

  font-weight: 700;
  font-size: 19px; 
  line-height: 1.1;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  text-transform: uppercase;
  letter-spacing: 0.02em;

  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}

#builder-font .segmented__option:hover {
  border-color: #c3c5cb;
}
#builder-font .segmented__option:active {
  filter: brightness(0.98);
}

#builder-font .segmented__input:checked + .segmented__option {
  background: var(--seg-accent);
  border-color: var(--seg-accent);
  color: #fff;
}

#builder-font .segmented__input:focus-visible + .segmented__option {
  outline: none;
  box-shadow: 0 0 0 3px var(--seg-focus);
}

#builder-font .segmented__input:disabled + .segmented__option {
  opacity: 0.4;
  cursor: not-allowed;
}

#builder-font .segmented label {
  margin-left: unset;
  margin-right: unset;
}


@media (max-width: 332px){

    .your-price-mobile-wrap .computed-price {
        font-size: 12px !important;
    }

}


@media (max-width: 360px){
     .your-price-mobile-wrap .arrow-green-mobile {
        height: 60px !important;
       width: 30px !important;
       /* margin-top: 10px !important; */
    }
        .your-price-mobile-wrap .computed-price {
        font-size: 12px !important;
    }
     .builder-menu-content .plate-size-title{
        font-size: 12.5px !important;    
    }
}

@media (max-width: 768px) {

    .pricing-wrapper{
        /* display: inline-grid; */
        margin-right: 0 !important;
        position: absolute;
        margin-top: 1px !important;
        margin-left: 15px;
    }
    .price{
        color: black !important;
        margin-bottom: -5px !important;
    }

    .desk-slashed-price{
        margin-bottom: -5px; 
    }

    .desk-slashed-price strong{
        font-size: 14px !important;
    }

    .green-off{
        margin-left: 0px !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
    }

    .true-price{
        font-size: 16px !important;
    }




    .four-text-style{
        margin-top: -15px !important;
    }
    .builder-menu-content .plate-size-title{
        font-size: .87rem !important;    
    }
    #pbregletter1::placeholder {
        font-size: 40px !important;
    }

    #pbregletter1 {
        height: 63px !important;
        font-size: 40px !important;
        /* line-height: 2 !important; */

    }

    #form_register_context_box .entries {
        height: 72px !important;
    }

    #maincontent #builder-menu #builder-menu-internal #builder-reg .entries {
        border: 5px solid #27b523 !important;
    }


    .your-price-mobile-wrap .arrow-green-mobile {
        height: 65px;
        margin-top: 0px !important;
    }

    .your-price-mobile-wrap .computed-price {
        font-size: 16px !important;
    }


}

  /* @media (min-width: 768px) {
   .bannerouter {
     margin-top: -30px !important;
   }

 } */

@media (min-width: 769px) {
    #form_register_context_box {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* @media (min-width: 769px) {


    #form_register_context_box {
        padding-left: 27px !important;
        padding-right: 27px !important;
    }
} */

@media (max-width: 1024px) {
    .desk-view-top-text {
        display: none;
    }
}

@media (max-width: 332px) {
    .your-price-mobile-wrap .btn-buy-now-mobile {
        padding: 12px !important;
        /* font-size: 12px; */
        font-size: 9.5px;
    }

}

@media (max-width: 309px) {
    .your-price-mobile-wrap .computed-price {
        font-size: 15px !important;
    }
}






@media (max-width: 801px) {

    .selected-custom-padding-for-mobile {
        padding: 15px !important;
    }

    /* .four-text-style {
        margin-top: 15px !important;
    } */
}

@media (max-width: 440px) {
    .h1-cpd-title {
        font-size: 14px !important;
    }
}


@media (max-width: 768px) {

    .desktop-view-select-plate-maker {
        display: none !important;
    }

    .mobile-view-select-plate-maker {
        display: block !important;
    }

    .is-drilldown .plate-row {
        /* padding: 0.3rem 1.5rem !important; */
        padding: unset !important;

    }




}

@media (max-width: 460px) {
    .v2-plate-layout-container select {
        font-size: 13px !important;
    }

}

@media (max-width: 369px) {
    .v2-plate-layout-container label strong {
        font-size: 12.5px !important;
        /* Change this to your desired size */
    }

}

@media (max-width: 375px) {
    .one-your-reg>.v2-plate-layout-container:first-of-type {
        max-width: 70px !important;
    }

    .img-3-year{
    height:100% !important;
   }

}

@media (max-width: 333px) {
    .one-your-reg>.v2-plate-layout-container:nth-of-type(2) {
        max-width: 105px !important;
    }
     .one-your-reg>.v2-plate-layout-container:first-of-type {
        max-width: 67px !important;
    }

}

@media (max-width: 1024px) {

    number1plate-embed .is-drilldown .plate-row {
        flex-direction: unset !important;

    }

}

@media (max-width: 332px) {
    .btn-buy-now-mobile {
        width: 90px !important;
    }
    .v2-plate-layout-container label strong {
        font-size: 11.5px !important;
    }
    label.segmented__option{
        font-size: 17px !important;
    }
}

@media (max-width: 282px) {
    .v2-plate-layout-container label strong {
        font-size: 11px !important;
    }
}



@media only screen and (min-width: 650px) and (max-width: 1024px) {
    .your-price-mobile-wrap .computed-price {
        position: relative;
        left: 30%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    #main-content #builder-menu h3 {
        font-size: unset !important;
    }

    .h1-cpd-title {
        font-size: 30px !important;
    }
}
#carplatesdirect-builder .size_background {
    margin-top: 26px !important;
}

/* CPD builder price block fix — keep "Sale Price: £X" on ONE line, clean spacing (2026-08-04) */
.pricing-wrapper .desk-slashed-price{ margin-bottom: 2px !important; }
.pricing-wrapper .price{ display: block !important; white-space: nowrap; font-size: 17px; line-height: 1.35; margin-bottom: 2px !important; padding-bottom: 0 !important; }
.pricing-wrapper .price .true-price{ font-size: 22px; font-weight: 800; margin-left: 6px; white-space: nowrap; }
.pricing-wrapper .desk-green-off-wrap{ margin-top: 2px; }

/* CPD-M1 (2026-08-11): the builder headline ($builder_title) lives in
   .desk-view-top-text inside #builder-plate-mobile - the DESKTOP right-hand
   column (plate preview + price + same-day-dispatch), which is display:none
   below 768px. So phones/tablets had no page heading at all, on all 20 landing
   pages. Unhiding that column would duplicate the preview and pricing, so
   instead we render a mobile-only heading above the reg entry. */
/* NOTE: combined.min.css sets "#carplatesdirect-builder h2{font-size:2.5rem}"
   (1,0,1). A bare .cpd-mob-title (0,1,0) loses to it, so the selectors below
   are ID-scoped (1,1,0) to win on specificity rather than using !important. */
#carplatesdirect-builder .cpd-mob-title { display: none; }
@media (max-width: 1024px) {
  #carplatesdirect-builder .cpd-mob-title {
    display: block;
    /* fits the heading on one line: available width / (chars * 0.66),
       floored at 14px (the two longest titles wrap rather than shrink further). */
    font-size: clamp(12px, calc((100vw - 40px) / var(--cpd-title-w, 20)), 23px);
    line-height: 1.25;
    font-weight: 700;
    color: #335ec1;
    text-align: center;
    margin: 0 0 12px;
    padding: 4px 10px 0;
  }
}

/* CPD-M2 (2026-08-11): green arrow pointing down at the ENTER REG box, matching
   the legacy www site. Anchored to #form_register_context_box (a stable
   full-width block) and positioned absolutely ABOVE it via bottom:100%, with
   pointer-events:none. It therefore creates no layout box - nothing shifts and
   nothing is pushed down. It occupies the 15px gutter left of the price block
   (form clips at x:10 with overflow:hidden; price text starts at x:25). */
/* #builder-actions is a FLEX ITEM with z-index:9999 and an opaque white
   background (z-index applies to flex items even at position:static), so it
   painted over the arrow. Matching 9999 - not exceeding it - is enough: this
   block comes later in the DOM, so equal z-index still paints it on top, and
   we stay below .skip-link (10000) and the cookie banner. Paint order only. */
#carplatesdirect-builder #form_register_context_box { position: relative; }
#carplatesdirect-builder .cpd-reg-arrow { display: none; }
@media (max-width: 1024px) {
  /* only needed where the arrow renders; leaves desktop paint order alone */
  #carplatesdirect-builder #form_register_context_box { z-index: 9999; }
  #carplatesdirect-builder .cpd-reg-arrow {
    display: block;
    position: absolute;
    left: 0;
    bottom: 100%;
    margin-bottom: 2px;
    width: 15px;
    height: 54px;
    pointer-events: none;
    z-index: 3;
  }
  #carplatesdirect-builder .cpd-reg-arrow svg { width: 100%; height: 100%; display: block; overflow: visible; }
}
@media (max-width: 360px) {
  #carplatesdirect-builder .cpd-reg-arrow { width: 13px; height: 46px; }
}

/* CPD-M3 (2026-08-11, rev3): mobile price block.
   - .price had margin-bottom:-5px, so "Save £X" overlapped the sale-price line.
   - .pricing-wrapper is position:absolute, so its height never pushes the flex
     row taller: any excess simply spills over the ENTER REG box below. On a real
     375pt iPhone that clipped "Save £2.50" entirely.
   Fix: EXPLICIT row heights so the block is a deterministic 48px regardless of
   inline font-size overrides in the markup (line-height alone was not enough -
   the 17px true-price kept inflating its line box).
   - Indented 20px for the green arrow. width is AUTO on this absolute box, so
     the explicit width + border-box is what stops padding widening it into the
     BUY NOW button. */
@media (max-width: 1024px) {
  #carplatesdirect-builder .pricing-wrapper {
    width: 172px; box-sizing: border-box; padding-left: 20px;
  }
  #carplatesdirect-builder .pricing-wrapper .desk-slashed-price {
    font-size: 12px !important; height: 15px; line-height: 15px !important; margin: 0 !important;
  }
  #carplatesdirect-builder .pricing-wrapper .desk-slashed-price strong {
    font-size: 12px !important; line-height: 15px !important;
  }
  #carplatesdirect-builder .pricing-wrapper .price {
    font-size: 13px !important; height: 19px; line-height: 19px !important; margin: 0 !important;
  }
  #carplatesdirect-builder .pricing-wrapper .price .true-price {
    font-size: 16px !important; line-height: 19px !important; margin-left: 5px;
  }
  #carplatesdirect-builder .pricing-wrapper .desk-green-off-wrap {
    font-size: 12px !important; height: 14px; line-height: 14px !important; margin: 0 !important;
  }
  #carplatesdirect-builder .pricing-wrapper .desk-green-off-wrap .green-off {
    font-size: 12px !important; line-height: 14px !important;
  }
  #carplatesdirect-builder .cpd-reg-arrow { width: 26px; height: 52px; }
}
@media (max-width: 360px) {
  #carplatesdirect-builder .cpd-reg-arrow { width: 22px; height: 46px; }
}

/* CPD-M4 (2026-08-11): 4.9 review block, third column of the desktop builder
   price row (price | same-day-dispatch | reviews), matching the legacy site.
   Lives inside #builder-plate-mobile, which is display:none below 768px, so it
   is desktop-only without needing its own media query. */
#carplatesdirect-builder .cpd-builder-reviews {
  margin-left: auto; flex-shrink: 0; max-width: 210px; text-align: center; color: #555;
}
#carplatesdirect-builder .cbr-head {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
#carplatesdirect-builder .cbr-score { font-size: 40px; font-weight: 800; line-height: 1; color: #555; }
#carplatesdirect-builder .cbr-outof { font-size: 13px; line-height: 1.15; text-align: left; color: #555; }
#carplatesdirect-builder .cbr-stars { width: 100%; max-width: 180px; height: auto; margin: 6px 0 4px; }
#carplatesdirect-builder .cbr-count { font-size: 12px; line-height: 1.3; color: #333; }
