*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* Installable Berg Builds app button */
.install-app-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 14px 16px;
    border: 2px solid #1f4ea8;
    border-radius: 10px;
    background: #ffffff;
    color: #1f4ea8;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.install-app-button:hover,
.install-app-button:focus-visible {
    background: #eef3ff;
}

@media (display-mode: standalone) {
    .install-app-button {
        display: none;
    }
}

.app-install-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.65);
}

.app-install-help-card {
    position: relative;
    width: min(430px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px 24px 24px;
    border-radius: 22px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.35);
    text-align: left;
}

.app-install-help-card h2 {
    margin: 4px 0 10px;
    color: #1f4ea8;
    text-align: center;
}

.app-install-help-card > p {
    margin: 0 0 16px;
    line-height: 1.5;
    text-align: center;
}

.app-install-help-icon {
    font-size: 42px;
    text-align: center;
}

.app-install-help-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef3ff;
    color: #111827;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.app-install-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 26px;
}

.app-install-steps li {
    padding-left: 4px;
    line-height: 1.5;
}

.app-install-help-done {
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    background: #1f4ea8;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.app-install-help-done:hover,
.app-install-help-done:focus-visible {
    background: #163d85;
}

/* Product photos use a clean white frame so no color block shows around them. */
.product-photo-area,
.product-preview-card .product-photo-area,
.product-modal-photo-area {
    padding: 0;
    background: #ffffff !important;
}

.product-image,
.product-preview-card .product-image,
.product-modal-image {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    background: #ffffff;
    object-fit: contain;
}

/* Email updates signup */
.updates-section {
    padding: 76px 24px;
    background: #eaf2ff;
}

.updates-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: 42px;
    border: 1px solid #cbdcf7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(31, 78, 168, 0.1);
}

.updates-copy h2 {
    margin: 0 0 14px;
    text-align: left;
    font-size: 36px;
}

.updates-copy > p:last-child {
    color: #5b6472;
    font-size: 17px;
    line-height: 1.7;
}

.updates-form > label:first-of-type,
.updates-form legend {
    display: block;
    margin-bottom: 8px;
    color: #222222;
    font-size: 14px;
    font-weight: 700;
}

.updates-form-row {
    display: flex;
    gap: 10px;
}

.updates-form-row input {
    min-width: 0;
    flex: 1;
    padding: 14px 15px;
    border: 2px solid #d8dee8;
    border-radius: 10px;
    font-size: 16px;
}

.updates-form-row input:focus {
    outline: 3px solid rgba(31, 78, 168, 0.18);
    border-color: #1f4ea8;
}

.updates-form-row button {
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: #1f4ea8;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
}

.updates-form-row button:hover {
    background: #173d86;
}

.updates-form-row button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.updates-form fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 18px 0;
    padding: 0;
    border: 0;
}

.updates-form fieldset label,
.updates-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4f5968;
    font-size: 14px;
    line-height: 1.45;
}

.updates-form input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: #1f4ea8;
}

.updates-status {
    min-height: 22px;
    margin-top: 14px;
    color: #176437;
    font-size: 14px;
    font-weight: 700;
}

.updates-status.is-error {
    color: #a12626;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .updates-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 22px;
    }

    .updates-copy h2 {
        font-size: 30px;
    }

    .updates-form-row {
        flex-direction: column;
    }

    .updates-form-row button {
        width: 100%;
    }
}

body{
    background:#f7f7f7;
    color:#222;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo img {
    height: 180px;
    width: auto;
    display: block;
}



nav a{
    margin-left:25px;
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.hero{
    text-align:center;
    padding:90px 20px;
}

.hero h1{
    font-size:56px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    font-size:20px;
    color:#666;
}

.buttons{
    margin-top:35px;
}

.btn{
    display:inline-block;
    background:#1f4ea8;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    margin:10px;
    font-weight:bold;
}

.secondary{
    background:#333;
}

section{
    padding:70px 8%;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}



/* Price */

.price{
    font-size:28px;
    font-weight:bold;
    color:#1f4ea8;
    margin:15px 0;
}

/* Better Product Cards */




.card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 35px rgba(0,0,0,.18);
}




#contact a:hover {
    text-decoration: underline;
}
footer{
    text-align:center;
    padding:35px;
    background:#222;
    color:white;
}
.color-select{
    width:100%;
    padding:12px;
    margin:15px 0;
    border-radius:10px;
    border:2px solid #ddd;
    font-size:16px;
    cursor:pointer;
    background:white;
}

.color-select:focus{
    outline:none;
    border-color:#1f4ea8;
}
/* Product grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.card h3 {
    margin: 18px 0 12px;
}

.card > p {
    line-height: 1.6;
}


/* Product photo */

.product-photo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
    padding: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #dbeafe;
    transition: background-color 0.2s ease;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.18s ease;
}


/* Selected color label */

.selected-color-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 14px;
    font-size: 16px;
}

.selected-color-swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #2563eb;
}


/* Color circles */

.color-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 330px;
    margin: 0 auto 15px;
}

.color-choice {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #c7c7c7;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-choice:hover {
    transform: scale(1.12);
}

.color-choice.selected {
    transform: scale(1.12);
    box-shadow:
        0 0 0 3px #111827,
        0 0 0 6px #ffffff;
}

.color-choice.pink {
    background: #ff69b4;
}

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

.color-choice.red {
    background: #dc2626;
}

.color-choice.black {
    background: #18181b;
}

.color-choice.white {
    background: #ffffff;
    box-shadow: 0 0 0 2px #777777;
}

.color-choice.yellow {
    background: #facc15;
}

.color-choice.orange {
    background: #f97316;
}

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

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


/* Price and shipping */

.price {
    margin: 12px 0 8px;
    color: #1f4ea8;
    font-size: 28px;
    font-weight: bold;
}

.shipping {
    min-height: 44px;
    margin: 5px 0 18px;
    color: #666666;
    font-size: 14px;
}


/* Square Buy button */

.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 14px 18px;
    border-radius: 10px;
    background: #1f4ea8;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.buy-button:hover {
    background: #163d85;
}


/* Center the About section */




/* Responsive layout */

@media (max-width: 950px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 540px;
        margin: 0 auto;
    }
}
/* Spiral Cone two-color selector */

.spiral-selection-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
    margin: 20px 0;
}

.spiral-selection-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.spiral-color-group {
    margin: 18px 0;
}

.spiral-color-group .color-label {
    margin-bottom: 12px;
    font-weight: bold;
}

.spiral-color-choice {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #bfc3c9;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.spiral-color-choice:hover {
    transform: scale(1.12);
}

.spiral-color-choice.selected {
    transform: scale(1.12);
    box-shadow:
        0 0 0 3px #111827,
        0 0 0 6px #ffffff;
}

.spiral-color-choice.pink {
    background: #ff69b4;
}

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

.spiral-color-choice.red {
    background: #dc2626;
}

.spiral-color-choice.black {
    background: #18181b;
}

.spiral-color-choice.white {
    background: #ffffff;
    box-shadow: 0 0 0 2px #777777;
}

.spiral-color-choice.yellow {
    background: #facc15;
}

.spiral-color-choice.orange {
    background: #f97316;
}

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

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

#spiral-outside-swatch {
    background: #2563eb;
}

#spiral-inside-swatch {
    background: #ffffff;
}

.inside-default {
    border-color: #888888;
}
/* Add to Cart buttons */

.add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 14px 18px;

    border: none;
    border-radius: 10px;

    background: #1f4ea8;
    color: white;

    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.add-to-cart:hover {
    background: #163d85;
}


/* Navigation cart button */

.cart-nav-button {
    padding: 10px 16px;
    border: none;
    border-radius: 999px;

    background: #1f4ea8;
    color: white;

    cursor: pointer;
    font-weight: bold;
}

.cart-nav-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;
    margin-left: 6px;
    padding: 0 6px;

    border-radius: 999px;

    background: white;
    color: #1f4ea8;
}


/* Sliding cart */

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;

    width: min(440px, 92vw);
    height: 100%;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;

    background: white;
    box-shadow: -12px 0 36px rgba(0, 0, 0, 0.2);

    transform: translateX(105%);
    transition: transform 0.25s ease;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;

    display: none;

    background: rgba(0, 0, 0, 0.45);
}

.cart-overlay.open {
    display: block;
}

.cart-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.close-cart {
    border: none;
    background: transparent;

    cursor: pointer;
    font-size: 34px;
}

.cart-items {
    flex: 0 0 auto;
    overflow: visible;
    padding: 18px 22px;
}

body.cart-is-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.empty-cart {
    padding: 30px 10px;
    color: #666666;
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;

    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.cart-item h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.cart-item p {
    color: #666666;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 12px;
}

.quantity-controls button {
    min-width: 32px;
    min-height: 32px;

    border: 1px solid #dddddd;
    border-radius: 7px;

    background: white;
    cursor: pointer;
}

.quantity-controls .remove-item {
    width: auto;
    padding: 0 7px;

    border: none;
    color: #a71919;
    text-decoration: underline;
}

.cart-footer {
    flex: 0 0 auto;
    padding: 22px;
    border-top: 1px solid #eeeeee;
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-bottom: 16px;
    font-size: 20px;
}

.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 56px;
    padding: 15px 20px;

    border: none;
    border-radius: 10px;

    background: #111827;
    color: #ffffff;

    cursor: pointer;
    font-size: 17px;
    font-weight: bold;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.checkout-contact {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
}

.checkout-contact > label:first-child {
    font-weight: 800;
}

.checkout-contact input[type="email"] {
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    border: 1px solid #b9c7dc;
    border-radius: 10px;
    font: inherit;
}

.checkout-review-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkout-review-consent input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

.analytics-consent {
    position: fixed;
    z-index: 1900;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 760px;
    margin-inline: auto;
    padding: 1rem;
    border: 1px solid #c8d5e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(15, 34, 68, 0.24);
}

.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0.25rem 0 0; }
.analytics-consent-actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }

@media (max-width: 620px) {
    .analytics-consent {
        align-items: stretch;
        flex-direction: column;
        bottom: calc(18px + 54px + 12px + env(safe-area-inset-bottom));
    }
    .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

.checkout-button:hover {
    background: #000000;
    transform: translateY(-2px);
}

.checkout-button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.cart-message {
    min-height: 22px;
    margin-top: 12px;

    color: #666666;
    font-size: 14px;
    text-align: center;
}
html {
    scroll-behavior: smooth;
}

.about-section,
.contact-section {
    width: 100%;
    padding: 90px 24px;
    text-align: center;
}

.about-section {
    background: #f7f7f7;
}

.contact-section {
    background: #ffffff;
}

.section-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.section-content h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 36px;
}

.section-content p {
    max-width: 700px;
    margin: 0 auto 26px;
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 28px;

    border-radius: 10px;
    background: #1f4ea8;
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-email:hover {
    background: #163d85;
    transform: translateY(-2px);
    text-decoration: none;
}

.contact-address {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    font-size: 15px !important;
}
.email-backup {
    display: block;
    width: fit-content;
    margin: 16px auto 0;

    color: #555555;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
}

.email-backup:hover {
    color: #1f4ea8;
}
.contact-section {
    width: 100%;
    padding: 90px 24px;
    background: #ffffff;
    text-align: center;
}

.contact-section .section-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 18px;
    text-align: center;
    font-size: 36px;
}

.contact-section p {
    max-width: 650px;
    margin: 0 auto 24px;
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 28px;

    border-radius: 10px;
    background: #1f4ea8;
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-email:hover {
    background: #163d85;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.contact-address {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    font-size: 15px !important;
}

.contact-address a {
    color: #1f4ea8;
    font-weight: bold;
}
/* ===========================
   MOBILE HEADER FIX
   =========================== */

@media (max-width: 768px) {

    header{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 18px;
        padding: 18px;
    }

    .logo img{
        height: 110px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        gap:12px;
        width:100%;
    }

    nav a{
        margin:0;
        font-size:16px;
    }

    .cart-nav-button{
        margin:0;
        width:auto;
        white-space:nowrap;
    }

    .hero h1{
        font-size:40px;
    }

    .hero p{
        font-size:18px;
    }
}
/* ===========================
   SHIPPING & RETURNS
=========================== */

.shipping-section{
    padding:90px 24px;
    background:#f8fafc;
}

.policy-card{
    max-width:750px;
    margin:0 auto 30px;
    padding:30px;
    background:#ffffff;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    text-align:left;
}

.policy-card h3{
    color:#1f4ea8;
    margin-bottom:18px;
    font-size:26px;
}

.policy-card p{
    margin-bottom:18px;
    line-height:1.8;
    color:#555;
}

.policy-card a{
    color:#1f4ea8;
    font-weight:bold;
    text-decoration:none;
}

.policy-card a:hover{
    text-decoration:underline;
}
/* Fix color swatches */

.color-choice,
.spiral-color-choice {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;

    padding: 0;
    margin: 0;

    border: 3px solid #ffffff;
    border-radius: 50%;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
    overflow: hidden;

    box-shadow: 0 0 0 2px #c7c7c7;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

/* Do not change the color when hovering */

.color-choice:hover,
.spiral-color-choice:hover {
    background-color: inherit;
    transform: scale(1.12);
}

/* Ring around the selected color */

.color-choice.selected,
.spiral-color-choice.selected {
    transform: scale(1.12);

    box-shadow:
        0 0 0 3px #111827,
        0 0 0 6px #ffffff;
}
.color-choice.pink,
.spiral-color-choice.pink {
    background: #ff69b4;
}

.color-choice.purple,
.spiral-color-choice.purple {
    background: #7c3aed;
}

.color-choice.red,
.spiral-color-choice.red {
    background: #dc2626;
}

.color-choice.black,
.spiral-color-choice.black {
    background: #18181b;
}

.color-choice.white,
.spiral-color-choice.white {
    background: #ffffff;
    box-shadow: 0 0 0 2px #777777;
}

.color-choice.yellow,
.spiral-color-choice.yellow {
    background: #facc15;
}

.color-choice.orange,
.spiral-color-choice.orange {
    background: #f97316;
}

.color-choice.blue,
.spiral-color-choice.blue {
    background: #2563eb;
}

.color-choice.green,
.spiral-color-choice.green {
    background: #16a34a;
}
/* ===========================
   SIDE NAVIGATION MENU
=========================== */

/* Three-line menu button */

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 50px;
    height: 50px;
    padding: 10px;

    border: none;
    border-radius: 10px;

    background: #1f4ea8;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 3px;

    border-radius: 999px;
    background: #ffffff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* Dark background behind the menu */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1998;

    visibility: hidden;
    opacity: 0;

    background: rgba(0, 0, 0, 0.45);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.menu-overlay.open {
    visibility: visible;
    opacity: 1;
}


/* Sliding side menu */

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1999;

    display: flex;
    flex-direction: column;

    width: min(360px, 88vw);
    height: 100%;

    padding: 24px;

    background: #ffffff;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.2);

    transform: translateX(105%);
    transition: transform 0.25s ease;
}

.side-menu.open {
    transform: translateX(0);
}


/* Menu heading and close button */

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.side-menu-header h2 {
    margin: 0;
    font-size: 28px;
}

.menu-close-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: #f1f1f1;
    color: #222222;

    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.menu-close-button:hover {
    background: #e4e4e4;
}


/* Links inside the menu */

.side-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 24px;
}

.side-menu-links a {
    display: block;

    width: 100%;
    margin: 0;
    padding: 15px 16px;

    border-radius: 10px;

    color: #222222;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.side-menu-links a:hover {
    background: #eef3ff;
    color: #1f4ea8;
}


/* Cart button inside the menu */

.side-cart-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    padding: 14px 18px;

    border: none;
    border-radius: 10px;

    background: #1f4ea8;
    color: #ffffff;

    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.side-cart-button:hover {
    background: #163d85;
}

.side-cart-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 28px;
    padding: 0 7px;

    border-radius: 999px;

    background: #ffffff;
    color: #1f4ea8;
}
.header-actions{
    display:flex;
    align-items:center;
    gap:14px;
}
/* Stop the page behind the menu from scrolling */

body.menu-is-open {
    overflow: hidden;
}
/* ==========================================
   PRODUCT PAGE POPUP
========================================== */

.product-modal-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.65);

    opacity:0;
    visibility:hidden;

    transition:.25s;

    z-index:4000;
}

.product-modal-overlay.open{
    opacity:1;
    visibility:visible;
}

.product-modal{

    position:fixed;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%) scale(.94);

    width:min(1200px,95vw);
    max-height:90vh;

    overflow-y:auto;

    background:#fff;

    border-radius:24px;

    box-shadow:0 30px 80px rgba(0,0,0,.35);

    opacity:0;
    visibility:hidden;

    transition:.25s;

    z-index:4001;
}

.product-modal.open{

    opacity:1;
    visibility:visible;

    transform:translate(-50%,-50%) scale(1);

}

.product-modal-layout{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:50px;

    padding:40px;

}

.product-modal-photo-area{

    background:#f7f7f7;

    border-radius:22px;

    display:flex;

    justify-content:center;
    align-items:center;

    min-height:550px;

}

.product-modal-image{

    width:90%;
    max-height:500px;

    object-fit:contain;

    transition:.25s;

}

.product-modal-label{

    color:#1f4ea8;

    font-weight:bold;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:8px;

}

.product-modal h2{

    font-size:44px;

    margin-bottom:16px;

}

.product-modal-description{

    color:#666;

    font-size:18px;

    line-height:1.7;

    margin-bottom:30px;

}

.product-modal-price{

    font-size:40px;

    font-weight:bold;

    color:#111;

    margin:30px 0 15px;

}

.product-modal-shipping{

    color:#666;

    margin-bottom:25px;

}

.product-modal-cart-button{

    width:100%;

    padding:18px;

    border:none;

    border-radius:14px;

    background:#1f4ea8;

    color:#fff;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.2s;

}

.product-modal-cart-button:hover{

    background:#163d85;

}

.product-modal-extra{

    margin-top:45px;

    border-top:1px solid #ddd;

    padding-top:30px;

}

.product-modal-extra h3{

    margin-top:20px;

    margin-bottom:10px;

}

.product-modal-close{

    position:absolute;

    top:18px;
    right:22px;

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#eee;

    font-size:32px;

    cursor:pointer;

}

.product-modal-close:hover{

    background:#ddd;

}

@media(max-width:900px){

.product-modal-layout{

grid-template-columns:1fr;

}

.product-modal-photo-area{

min-height:320px;

}

.product-modal h2{

font-size:34px;

}

}
/* Product pop-up color choices */

.modal-color-section {
    margin: 24px 0;
}

.modal-color-label {
    margin-bottom: 14px;
    font-size: 17px;
}

.modal-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.spiral-preview-note {
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #f4f8ff;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.4;
}

.modal-color-choice {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;

    border: 3px solid #ffffff;
    border-radius: 50%;

    appearance: none;
    -webkit-appearance: none;

    box-shadow: 0 0 0 2px #bfc3c9;
    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.modal-color-choice:hover {
    transform: scale(1.1);
}

.modal-color-choice.selected {
    transform: scale(1.1);

    box-shadow:
        0 0 0 3px #111827,
        0 0 0 6px #ffffff;
}

body.product-modal-is-open {
    overflow: hidden;
}

.card {
    cursor: pointer;
}
/* Clean homepage product previews */

.product-preview-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    text-align: left;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.product-preview-card:focus-visible {
    outline: 3px solid #1f4ea8;
    outline-offset: 4px;
}

.product-preview-card .product-photo-area {
    height: 260px;
    border-radius: 0;
}

.product-preview-info {
    padding: 24px;
}

.product-preview-info h3 {
    margin: 10px 0;
    font-size: 24px;
}

.product-preview-info > p:not(.product-badge) {
    color: #666666;
    line-height: 1.6;
}

.product-badge {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 6px 11px;

    border-radius: 999px;
    background: #eef3ff;
    color: #1f4ea8;

    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.preview-price {
    color: #111827;
    font-size: 24px;
}

.view-product-text {
    color: #1f4ea8;
    font-weight: bold;
}

/* =====================================================
   BERG BUILDS FINAL POLISH — AUTHORITATIVE OVERRIDES
   ===================================================== */

:root {
    --brand-blue: #1f4ea8;
    --brand-blue-dark: #163d85;
    --ink: #111827;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: #e2e8f0;
}

.hero {
    padding: 72px 20px 56px;
}

.hero .buttons {
    margin-top: 28px;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(1120px, 100%);
    margin: 42px auto 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    text-align: left;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #eef3ff;
    color: var(--brand-blue);
    font-size: 22px;
    font-weight: 800;
}

.trust-badge strong,
.trust-badge small {
    display: block;
}

.trust-badge strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.25;
}

.trust-badge small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.products-section {
    padding-top: 58px;
    padding-bottom: 68px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compact-product-grid {
    align-items: start;
}

.product-preview-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    text-align: left;
}

.product-preview-card .product-photo-area {
    height: 260px;
    min-height: 260px;
    padding: 18px;
    border-radius: 0;
}

.product-preview-card .product-image {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}

.product-preview-info {
    display: block;
    padding: 16px 18px 17px;
}

.product-preview-info h3 {
    margin: 7px 0 6px;
    font-size: 21px;
}

.product-preview-info > p:not(.product-badge) {
    min-height: 44px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.product-badge {
    padding: 5px 9px;
    font-size: 11px;
}

.product-preview-bottom {
    margin-top: 11px;
}

.preview-price {
    font-size: 21px;
}

.view-product-text {
    font-size: 14px;
}

/* Shorter product popup while keeping the image easy to see. */
.product-modal {
    width: min(1080px, 94vw);
    max-height: 88vh;
}

.product-modal-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
    gap: 30px;
    padding: 28px;
}

.product-modal-photo-area {
    min-height: 350px;
    height: 350px;
    padding: 18px;
}

.product-modal-image {
    width: 88%;
    height: 100%;
    max-height: 315px;
    object-fit: contain;
}

.product-modal h2 {
    margin-bottom: 10px;
    font-size: 36px;
}

.product-modal-description {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.55;
}

.modal-color-section {
    margin: 16px 0;
}

.modal-color-label {
    margin-bottom: 10px;
}

.modal-color-options {
    gap: 11px;
}

.modal-color-choice {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
}

.product-modal-price {
    margin: 18px 0 8px;
    font-size: 34px;
}

.product-modal-shipping {
    margin-bottom: 14px;
}

.product-modal-cart-button {
    padding: 15px;
    font-size: 18px;
}

.product-modal-extra {
    margin-top: 20px;
    padding-top: 16px;
}

.product-modal-extra h3 {
    margin-top: 12px;
    margin-bottom: 5px;
}

.product-modal-extra p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.wide-section-content {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.reviews-section,
.faq-section {
    padding: 76px 24px;
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.review-info-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-soft);
}

.review-info-card h3 {
    margin: 10px 0;
    font-size: 23px;
}

.review-info-card p {
    color: var(--muted);
    line-height: 1.7;
}

.review-stars {
    color: #b7791f;
    letter-spacing: 0.12em;
}

.review-quote {
    height: 36px;
    color: var(--brand-blue);
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 0.8;
}

.review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 13px 20px;
    border-radius: 10px;
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.review-button:hover {
    background: var(--brand-blue-dark);
}

.review-form-card {
    grid-column: span 2;
}

.review-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.review-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.review-field {
    display: grid;
    gap: 7px;
}

.review-form label {
    color: var(--ink);
    font-weight: 700;
}

.review-form input[type="text"],
.review-form select,
.review-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.review-form textarea {
    min-height: 132px;
    resize: vertical;
}

.review-field small {
    color: var(--muted);
}

.review-permission {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.review-permission input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--brand-blue);
}

.review-form .review-button {
    width: fit-content;
    margin-top: 2px;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.review-form .review-button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.review-status {
    min-height: 1.5em;
    margin: 0;
    color: #176b3a !important;
    font-weight: 700;
}

.review-status.is-error {
    color: #a12622 !important;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--brand-blue-dark);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #f0b429;
    outline-offset: 3px;
}

.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px, 5vw, 64px);
}

.policy-logo img {
    display: block;
    width: min(210px, 48vw);
    height: auto;
}

.policy-main {
    padding: 64px 20px 80px;
    background: var(--surface-soft);
}

.policy-document {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(31, 78, 168, 0.08);
}

.policy-document h1 {
    margin: 6px 0 8px;
    color: var(--ink);
    font-size: clamp(36px, 6vw, 52px);
}

.policy-document h2 {
    margin: 32px 0 8px;
    color: var(--ink);
    font-size: 23px;
}

.policy-document p,
.policy-document li {
    color: var(--muted);
    line-height: 1.75;
}

.policy-document li + li {
    margin-top: 6px;
}

.policy-document a,
footer a {
    color: var(--brand-blue);
    font-weight: 700;
}

.policy-updated {
    margin-bottom: 28px;
    font-size: 14px;
}

@media (max-width: 560px) {
    .policy-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .policy-header .btn {
        width: 100%;
        text-align: center;
    }

    .policy-main {
        padding: 36px 14px 56px;
    }
}

.promotion-banner {
    position: relative;
    z-index: 1200;
    padding: 15px 52px 15px 18px;
    border-bottom: 3px solid #ffd166;
    background: linear-gradient(100deg, #123570, #1f5fc4 55%, #123570);
    color: #ffffff;
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 20px rgba(15, 34, 68, 0.22);
}

.promotion-banner::before {
    margin-right: 0.5rem;
    content: "🚚";
    font-size: 1.25em;
    vertical-align: -0.08em;
}

.promotion-banner a {
    display: inline-block;
    margin-left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #ffd166;
    color: #102c5e;
    font-weight: 800;
    text-decoration: none;
}

.promotion-banner a:hover,
.promotion-banner a:focus-visible {
    background: #ffffff;
    color: #102c5e;
}

.promotion-banner button {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 25px;
    transform: translateY(-50%);
}

.custom-order-section {
    padding: 76px 22px;
    background: var(--surface-soft);
}

.custom-order-card {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(30px, 6vw, 70px);
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(31, 78, 168, 0.08);
}

.custom-order-copy h2 {
    margin: 6px 0 14px;
    font-size: clamp(32px, 5vw, 46px);
}

.custom-order-copy p,
.custom-order-copy li {
    color: var(--muted);
    line-height: 1.7;
}

.custom-order-copy li + li {
    margin-top: 8px;
}

.custom-order-form {
    display: grid;
    gap: 16px;
}

.custom-order-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.custom-order-field {
    display: grid;
    gap: 7px;
}

.custom-order-field label,
.custom-order-form > label {
    color: var(--ink);
    font-weight: 700;
}

.custom-order-field label span {
    color: var(--muted);
    font-weight: 400;
}

.custom-order-field input,
.custom-order-field select,
.custom-order-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.contact-form { display: grid; gap: 16px; margin: 30px auto 0; padding: 26px; border: 1px solid #dfe6f0; border-radius: 20px; background: #f6f9fd; text-align: left; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: #25344c; font-weight: 750; }
.contact-form label span { color: #738096; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #bdc8d8; border-radius: 10px; background: #fff; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form button { min-height: 50px; border: 0; border-radius: 10px; background: #1f4ea8; color: #fff; cursor: pointer; font: inherit; font-weight: 800; }
.contact-form-status { min-height: 24px; margin: 0 !important; color: #17623c !important; font-size: 15px !important; }
@media (max-width: 600px) { .contact-form-row { grid-template-columns: 1fr; } }

.custom-order-field input[type="file"] {
    padding: 10px;
}

.custom-order-field textarea {
    min-height: 150px;
    resize: vertical;
}

.custom-order-field small {
    color: var(--muted);
}

.custom-order-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.custom-order-consent input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--brand-blue);
}

.custom-order-form > button {
    min-height: 50px;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--brand-blue);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.custom-order-form > button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.custom-order-status {
    min-height: 1.5em;
    margin: 0;
    color: #176b3a;
    font-weight: 700;
}

.custom-order-status.is-error {
    color: #a12622;
}

@media (max-width: 800px) {
    .custom-order-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .promotion-banner {
        padding-left: 14px;
        text-align: left;
    }

    .promotion-banner a {
        display: block;
        margin: 3px 0 0;
    }

    .custom-order-section {
        padding: 52px 12px;
    }

    .custom-order-row {
        grid-template-columns: 1fr;
    }
}

.manager-page {
    min-height: 100vh;
    background: var(--surface-soft);
}

.manager-main {
    padding: 48px 18px 80px;
}

.manager-card {
    width: min(880px, 100%);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(31, 78, 168, 0.1);
}

.manager-logo {
    width: min(220px, 60vw);
    height: auto;
    margin-bottom: 24px;
}

.manager-card h1 {
    margin: 6px 0 10px;
    font-size: clamp(34px, 6vw, 48px);
}

.manager-login {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.manager-login label {
    font-weight: 700;
}

.manager-login-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.manager-login input {
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
}

.manager-login button,
.manager-actions button,
.manager-secondary-button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.manager-login button,
.manager-publish-button {
    background: var(--brand-blue);
    color: #ffffff;
}

.manager-secondary-button {
    background: #e7edf8;
    color: var(--ink);
}

.manager-reject-button {
    background: #fce8e6;
    color: #8f1d18;
}

.manager-status {
    min-height: 1.5em;
    margin: 14px 0;
    font-weight: 700;
}

.manager-status.is-success {
    color: #176b3a;
}

.manager-status.is-error {
    color: #a12622;
}

.manager-dashboard {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.manager-promotion {
    margin-bottom: 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.manager-promotion form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.manager-promotion label {
    font-weight: 700;
}

.manager-promotion input[type="text"] {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
}

.manager-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.manager-toggle input {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-blue);
}

.manager-promotion-row {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
    gap: 12px;
}

.manager-promotion-row > div {
    display: grid;
    gap: 7px;
}

@media (max-width: 560px) {
    .manager-promotion-row {
        grid-template-columns: 1fr;
    }
}

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

.manager-review-list {
    display: grid;
    gap: 14px;
    margin: 14px 0 34px;
}

.manager-review {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.manager-review h3 {
    margin: 0 0 10px;
}

.manager-review blockquote {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.6;
}

.manager-review p,
.manager-empty {
    color: var(--muted);
}

.manager-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.manager-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
}

@media (max-width: 560px) {
    .manager-main {
        padding: 18px 10px 48px;
    }

    .manager-login-row {
        grid-template-columns: 1fr;
    }

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

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

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-list details {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.faq-list summary {
    padding: 18px 20px;
    cursor: pointer;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.faq-list details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .trust-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .product-modal-layout {
        grid-template-columns: 1fr;
    }

    .product-modal-photo-area {
        height: 285px;
        min-height: 285px;
    }

    .product-modal-image {
        max-height: 255px;
    }
}

@media (max-width: 700px) {
    .hero {
        padding-top: 48px;
    }

    .trust-badges,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-section,
    .faq-section {
        padding: 56px 18px;
    }

    .review-info-card {
        padding: 24px 20px;
    }

    .review-form-card {
        grid-column: auto;
    }

    .review-form-row {
        grid-template-columns: 1fr;
    }

    .review-form .review-button {
        width: 100%;
        min-height: 48px;
    }

    .trust-badge {
        min-height: 0;
    }

    .product-preview-card .product-photo-area {
        height: 235px;
        min-height: 235px;
    }

    .product-preview-info > p:not(.product-badge) {
        min-height: 0;
    }

    .product-modal {
        width: 96vw;
        max-height: 92vh;
        border-radius: 18px;
    }

    .product-modal-layout {
        padding: 20px;
    }

    .product-modal-photo-area {
        height: 240px;
        min-height: 240px;
    }

    .product-modal-image {
        max-height: 215px;
    }
}
/* ==========================================
   WHY CHOOSE BERG BUILDS
========================================== */

.why-section {
    padding: 85px 8%;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;

    width: 100%;
    max-width: 1100px;
    margin: 38px auto 0;
}

.why-card {
    padding: 28px 24px;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    background: #f8fafc;
    text-align: left;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.why-card:hover {
    transform: translateY(-5px);

    border-color: #bfd0f5;

    box-shadow:
        0 16px 34px
        rgba(31, 78, 168, 0.12);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 18px;

    border-radius: 14px;

    background: #eaf0ff;
    color: #1f4ea8;

    font-size: 24px;
    font-weight: bold;
}

.why-card h3 {
    margin-bottom: 12px;

    color: #1f2937;
    font-size: 21px;
}

.why-card p {
    margin: 0;

    color: #5f6672;
    line-height: 1.7;
}

@media (max-width: 900px) {

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

@media (max-width: 600px) {

    .why-section {
        padding: 65px 20px;
    }

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

    .why-card {
        padding: 24px 20px;
    }
}
/* ==========================================
   FLOATING MOBILE CART BUTTON
========================================== */

.floating-cart-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1800;

    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 54px;
    padding: 12px 16px;

    border: none;
    border-radius: 999px;

    background: #1f4ea8;
    color: #ffffff;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.24);

    cursor: pointer;

    font-size: 16px;
    font-weight: bold;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.floating-cart-button:hover {
    background: #163d85;
    transform: translateY(-2px);

    box-shadow:
        0 16px 34px
        rgba(0, 0, 0, 0.28);
}

.floating-cart-button:active {
    transform: translateY(0);
}

.floating-cart-icon {
    font-size: 19px;
    line-height: 1;
}

.floating-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;
    padding: 0 7px;

    border-radius: 999px;

    background: #ffffff;
    color: #1f4ea8;

    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 768px) {

    .floating-cart-button {
        display: inline-flex;
    }

    body.cart-is-open .floating-cart-button {
        opacity: 0;
        pointer-events: none;
    }
}

/* Final image overrides: keep every product frame white and photo-safe. */
.product-photo-area,
.product-preview-card .product-photo-area,
.product-modal-photo-area {
    padding: 0 !important;
    background: #ffffff !important;
}

.product-image,
.product-preview-card .product-image,
.product-modal-image {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    object-fit: contain !important;
}

/* Email signup popup */
.signup-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2400;
    background: rgba(11, 24, 47, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.signup-popup-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.signup-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2500;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 34px;
    overflow-y: auto;
    border: 1px solid #cbdcf7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 26px 75px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -46%) scale(0.96);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.signup-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.signup-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #edf3fc;
    color: #1f3558;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.signup-popup-close:hover {
    background: #dce8fa;
}

.signup-popup-copy {
    padding-right: 32px;
}

.signup-popup-copy h2 {
    margin: 0 0 10px;
    text-align: left;
    font-size: 30px;
}

.signup-popup-copy > p:last-child {
    margin-bottom: 22px;
    color: #5b6472;
    line-height: 1.55;
}

body.signup-popup-is-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .signup-popup {
        padding: 28px 20px 22px;
        border-radius: 18px;
    }

    .signup-popup-copy h2 {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .signup-popup,
    .signup-popup-overlay {
        transition: none;
    }
}

/* Shipping and local-pickup choices inside the cart */
.fulfillment-options {
    display: grid;
    gap: 9px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.fulfillment-options legend {
    margin-bottom: 9px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}
.pickup-schedule { margin: 0 0 18px; padding: 15px; border: 1px solid #cbd6e5; border-radius: 12px; background: #f5f8fd; }
.pickup-schedule legend { padding: 0 6px; color: #17233a; font-weight: 800; }
.pickup-schedule-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pickup-schedule label { display: grid; gap: 6px; color: #35445c; font-size: 13px; font-weight: 750; }
.pickup-schedule input, .pickup-schedule select { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #b9c6d7; border-radius: 9px; background: #fff; font: inherit; }
.pickup-schedule > small { display: block; margin-top: 10px; color: #657287; line-height: 1.45; }
@media (max-width: 520px) { .pickup-schedule-row { grid-template-columns: 1fr; } }

.fulfillment-option {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px;
    border: 2px solid #e1e6ee;
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
}

.fulfillment-option:has(input:checked) {
    border-color: #1f4ea8;
    background: #f2f6fd;
}

.fulfillment-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #1f4ea8;
}

.fulfillment-option span {
    display: grid;
    gap: 3px;
}

.fulfillment-option strong {
    color: #1b2432;
    font-size: 14px;
}

.fulfillment-option small {
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}

.cart-price-summary {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
}

.cart-price-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #5d6673;
    font-size: 14px;
}

.cart-price-summary .cart-total {
    margin: 4px 0 0;
    padding-top: 12px;
    border-top: 1px solid #dfe4eb;
    color: #111827;
    font-size: 20px;
}

/* Growth and trust sections */
.projects-section, .order-status-section, .referral-section { padding: 74px 22px; }
.projects-section { background: #f4f7fb; }
.order-status-section { background: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { padding: 26px; border: 1px solid #dfe7f2; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(28,56,99,.07); }
.project-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: #e9f0fb; color: #1f4ea8; font-size: 24px; }
.project-card h3 { margin: 0 0 10px; color: #14213d; }
.project-card p, .project-card dd { color: #586273; line-height: 1.55; }
.project-card dl { margin: 18px 0 0; }
.project-card dl div { padding: 9px 0; border-top: 1px solid #edf0f4; }
.project-card dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1f4ea8; }
.project-card dd { margin: 3px 0 0; }
.project-note, .status-help { margin: 24px auto 0; text-align: center; color: #596273; }
.status-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.status-timeline li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid #dfe7f2; border-radius: 16px; }
.status-timeline li > span { flex: 0 0 34px; display: grid; place-items: center; height: 34px; border-radius: 50%; background: #1f4ea8; color: #fff; font-weight: 800; }
.status-timeline strong, .status-timeline small { display: block; }
.status-timeline small { margin-top: 5px; color: #667085; line-height: 1.45; }
.quantity-guide { margin-top: 28px; padding: 22px; border-radius: 18px; background: #f3f7fd; }
.quantity-guide h3 { margin: 0 0 8px; }
.estimate-controls { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 16px; }
.estimate-controls label { font-weight: 750; color: #24324a; }
.estimate-controls select, .estimate-controls input { width: 100%; margin-top: 7px; padding: 11px; border: 1px solid #bbc7d8; border-radius: 10px; background: #fff; font: inherit; }
.estimate-result { margin: 16px 0 5px; font-weight: 800; color: #1f4ea8; }
.referral-section { background: #112a53; }
.referral-card { max-width: 980px; margin: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding: 34px; border-radius: 24px; background: #fff; }
.referral-card h2 { margin: 4px 0 10px; }
.referral-card p:not(.eyebrow) { max-width: 650px; color: #596273; line-height: 1.6; }
.referral-card img { border-radius: 16px; }
.referral-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.referral-actions .btn { border: 0; font: inherit; cursor: pointer; }
.referral-copy > small { display: block; max-width: 620px; color: #687386; line-height: 1.5; }
.referral-status { min-height: 22px; margin: 8px 0; color: #17623c !important; font-weight: 750; }
.popup-contact-fields { margin-bottom: 16px; padding: 14px; border-radius: 13px; background: #f4f7fb; }
.popup-contact-fields > p { margin: 0 0 12px; color: #526071; font-size: 13px; }
.popup-contact-fields label { display: grid; gap: 5px; color: #25344c; font-size: 13px; font-weight: 750; }
.popup-contact-fields label span { color: #728096; font-weight: 500; }
.popup-contact-fields input { width: 100%; padding: 10px 11px; border: 1px solid #bdc8d8; border-radius: 9px; background: #fff; font: inherit; }
.popup-contact-fields > label { margin-top: 10px; }
.popup-contact-fields > small { display: block; margin-top: 7px; color: #687386; line-height: 1.4; }
.popup-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Dedicated referral sharing experience */
.referral-page { background: #f4f7fb; }
.referral-hero { max-width: 1120px; margin: 46px auto 28px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 50px; align-items: center; padding: 58px; border-radius: 30px; background: linear-gradient(145deg,#fff 0%,#edf4ff 100%); box-shadow: 0 24px 70px rgba(17,42,83,.12); }
.referral-hero h1 { max-width: 700px; margin: 8px 0 16px; color: #112a53; font-size: clamp(40px,6vw,68px); line-height: 1.02; }
.referral-hero-copy > p:not(.eyebrow,.referral-status) { max-width: 660px; color: #526071; font-size: 18px; line-height: 1.65; }
.referral-personalizer { margin: 28px 0 18px; }
.referral-personalizer label { display: block; margin-bottom: 7px; color: #23344f; font-weight: 800; }
.referral-personalizer label span { color: #6e7d92; font-weight: 500; }
.referral-personalizer input { width: min(100%,520px); padding: 14px 15px; border: 2px solid #c4cfdf; border-radius: 12px; font: inherit; }
.referral-personalizer label:not(:first-child) { margin-top: 14px; }
.referral-create-button { margin-top: 18px; border: 0; cursor: pointer; font: inherit; }
.generated-referral { max-width: 520px; margin-top: 18px; padding: 16px; border: 2px solid #8eb1ea; border-radius: 14px; background: #fff; }
.generated-referral span, .generated-referral small { display: block; color: #647084; }
.generated-referral strong { display: block; margin: 5px 0; color: #1f4ea8; font-size: 24px; letter-spacing: 2px; }
.share-option.is-disabled, .share-grid button:disabled { cursor: not-allowed; opacity: .48; pointer-events: none; }
.checkout-contact > input { width: 100%; min-height: 44px; margin: 6px 0 13px; padding: 10px 12px; border: 1px solid #c9d2df; border-radius: 9px; font: inherit; }
.referral-personalizer small { display: block; margin-top: 7px; color: #6a7688; }
.share-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-grid button { font: inherit; cursor: pointer; }
.share-option { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; border: 1px solid #c6d1e0; border-radius: 999px; background: #fff; color: #1d3557; font-weight: 750; text-decoration: none; }
.share-option:hover { border-color: #1f4ea8; background: #f1f6fe; }
.referral-visual { position: relative; display: grid; place-items: center; padding: 30px; border-radius: 24px; background: #112a53; color: #fff; text-align: center; }
.referral-visual img { width: min(100%,260px); height: auto; margin: 25px 0 12px; border: 10px solid #fff; border-radius: 16px; background: #fff; }
.referral-reward { position: absolute; top: -24px; right: -18px; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #ffcf4a; color: #112a53; transform: rotate(7deg); box-shadow: 0 12px 28px rgba(40,48,60,.22); }
.referral-reward strong { font-size: 36px; line-height: 1; }
.referral-reward span { max-width: 78px; font-size: 12px; font-weight: 800; line-height: 1.05; }
.referral-how { max-width: 980px; margin: 0 auto; padding: 60px 24px 90px; text-align: center; }
.referral-how h2 { color: #112a53; font-size: 40px; }
.referral-how ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 30px 0; padding: 0; list-style: none; text-align: left; }
.referral-how li { display: flex; gap: 14px; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(17,42,83,.08); }
.referral-how li > span { flex: 0 0 36px; display: grid; place-items: center; height: 36px; border-radius: 50%; background: #1f4ea8; color: #fff; font-weight: 800; }
.referral-how li p { margin: 6px 0 0; color: #647084; line-height: 1.5; }
.referral-how details { margin: 28px auto; padding: 18px 22px; border-radius: 15px; background: #fff; text-align: left; }
.referral-how summary { cursor: pointer; color: #1f4ea8; font-weight: 800; }
footer a { color: inherit; }
.policy-document { max-width: 850px; margin: 0 auto; padding: 54px 24px 80px; color: #303b4d; line-height: 1.7; }
.policy-document h1 { color: #14213d; font-size: clamp(34px, 6vw, 52px); line-height: 1.08; }
.policy-document h2 { margin-top: 34px; color: #14213d; }
.policy-document li { margin: 9px 0; }

@media (max-width: 800px) {
  .project-grid, .status-timeline { grid-template-columns: 1fr 1fr; }
  .referral-card { grid-template-columns: 1fr; text-align: center; }
  .referral-card img { margin: auto; }
  .referral-actions { justify-content: center; }
  .referral-hero { margin: 20px 16px; grid-template-columns: 1fr; padding: 36px 24px; }
  .referral-visual { margin-top: 22px; }
  .referral-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .project-grid, .status-timeline, .estimate-controls { grid-template-columns: 1fr; }
  .projects-section, .order-status-section, .referral-section { padding: 54px 16px; }
  .popup-name-row { grid-template-columns: 1fr; }
  .share-grid > * { justify-content: center; width: 100%; }
  .referral-reward { right: -8px; }
}
