@font-face { font-family: Bangkok; src: url('../../fonts/bangkok.ttf'); }
@font-face { font-family: Brush; src: url('../../fonts/brush.ttf'); }
@font-face { font-family: Century; src: url('../../fonts/centuryschoolbook.ttf'); }
@font-face { font-family: Cooper; src: url('../../fonts/cooper.ttf'); }
@font-face { font-family: Dom-Bold; src: url('../../fonts/dom.ttf'); }
@font-face { font-family: Erie; src: url('../../fonts/erie.ttf'); }
@font-face { font-family: Excelerate; src: url('../../fonts/excelerate.ttf'); }
@font-face { font-family: Freehand; src: url('../../fonts/freehand.ttf'); }
@font-face { font-family: Freeport; src: url('../../fonts/freeport.ttf'); }
@font-face { font-family: Garamond; src: url('../../fonts/garamond.otf'); }
@font-face { font-family: Serpentine; src: url('../../fonts/serpentine.ttf'); }
@font-face { font-family: Souvenir; src: url('../../fonts/souvenir.ttf'); }
@font-face { font-family: Switzerland; src: url('../../fonts/switzerland.ttf'); }
@font-face { font-family: Sylvan; src: url('../../fonts/sylvan.ttf'); }

:root {
    --blue: #271f73;
    --blue2: #3461ba;
    --black: #07070b;
    --white: #fff;
    --silver: #858585;
    --light: #f2f2f2;
    --card-dark: #111126;
    --shadow: 0 10px 28px rgba(0,0,0,.35);
    --radius: 15px;
    --topbar: 76px;
    --bottombar: 42px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    margin: 0;
    background: #0d0d18;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    padding-top: var(--topbar);
    padding-bottom: var(--bottombar);
}

a {
    color: #0d45a5;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top header */

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    box-shadow: 0 3px 10px rgba(0,0,0,.4);
}

.menu-button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.header-logo {
    height: 64px;
    width: auto;
    display: block;
}

/* Side navigation */

.site-sidebar {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    bottom: 0;
    width: 205px;
    overflow: auto;
    background: var(--blue);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: var(--shadow);
    padding: 8px;
}

.site-sidebar.open {
    transform: translateX(0);
}

.site-overlay {
    display: none;
    position: fixed;
    z-index: 70;
    inset: 0;
    background: rgba(0,0,0,.55);
}

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

.sidebar-close {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: var(--blue);
    font-size: 16px;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-card {
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    padding: 8px 6px;
    line-height: 1;
    background: rgba(255,255,255,.03);
}

.nav-card:hover,
.nav-card.active {
    background: var(--blue2);
}

.nav-card img {
    display: block;
    margin: 0 auto 4px;
    max-width: 105px;
    max-height: 72px;
    object-fit: contain;
}

.nav-card-home img {
    max-width: 170px;
    max-height: none;
}

.nav-card span {
    display: block;
    font-size: 13px;
    font-weight: bold;
}

/* Bottom utility nav */

.bottom-bar {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--bottombar);
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    box-shadow: 0 -3px 10px rgba(0,0,0,.35);
    padding: 6px 0;
}

.bottom-bar .view-cart-form {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    line-height: 0;
}

.bottom-bar .image-button {
    height: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 0;
    font-size: 0;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.bottom-bar .image-button img {
    display: block;
    width: 82px;
    height: 30px;
    max-width: none;
    max-height: 30px;
    object-fit: contain;
}

/* General layout */

.page-main {
    max-width: 3000px;
    margin: 0 auto;
    padding: 18px;
}

.panel-dark,
.panel-light {
    border-radius: var(--radius);
    border: 3px solid var(--silver);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.panel-dark {
    background: #111126 url('../../images/storebackdark.jpg') repeat;
    color: #fff;
}

.panel-light {
    background: #f6f6f6 url('../../images/storebacklight.jpg') repeat;
    color: #111;
}

.content-card {
    max-width: 1180px;
    margin: 18px auto;
    padding: 28px;
    text-align: center;
}

.content-card h1,
.page-intro h1 {
    margin-top: 0;
}

.content-card p {
    font-size: 18px;
}

/* Home page */

.home-main {
    padding: 0 0 24px;
}

.slideshow {
    position: relative;
    width: 100%;
    min-height: 340px;
    height: 40.3125vw;
    max-height: 720px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: none;
    background-size: cover;
    background-position: center;
}

.slide.active {
    display: block;
}

.featured-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 280px;
    min-height: 330px;
    padding: 18px;
    background: rgba(0,0,0,.62);
    border-bottom-right-radius: 15px;
    color: #fff;
    text-align: center;
}

.featured-card h2 {
    color: red;
    margin: 0 0 8px;
    font-size: 25px;
}

.featured-card a {
    color: inherit;
    text-decoration: none;
}

.featured-card img {
    max-height: 240px;
}

.home-lower {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.home-lower p {
    font-size: 18px;
}

.facebook-icon {
    width: 40px;
    vertical-align: middle;
    margin-left: 6px;
}

/* Store intro */

.store-main {
    color: #111;
}

.store-intro {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr);
    gap: 20px;
    align-items: center;
    margin: 10px auto 18px;
    padding: 18px;
    max-width: 1500px;
}

.store-intro-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.subheader-image {
    max-width: 240px;
    max-height: 240px;
    object-fit: contain;
}

.store-intro-copy h1 {
    margin: 0 0 8px;
    font-size: 26px;
}

.store-intro-copy p {
    margin: 0;
    font-size: 17px;
}

/* Product grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 16px;
    align-items: stretch;
    grid-auto-rows: auto;
}

.product-card {
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: visible;
}

.product-card-doublewide {
    grid-column: span 2;
}

.product-title {
    font-size: 20px;
    margin: 4px 0 12px;
}

.product-card .image-preview-button,
.image-preview-button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
    margin: 0 auto 8px;
    overflow: visible;
}

.product-card .product-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.product-description {
    max-width: 620px;
    margin: 8px auto;
    text-align: center;
}

.part-number {
    font-size: 18px;
    margin: 4px 0 8px;
}

/* Product thumbnails */

.product-image,
.product-image-vertical,
.product-image-horizontal,
.product-image-square,
.product-image-doublewide {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 260px);
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.product-image-vertical {
    max-width: min(100%, 210px);
    max-height: 235px;
}

.product-image-horizontal {
    max-width: min(100%, 275px);
    max-height: 180px;
}

.product-image-square {
    max-width: min(100%, 220px);
    max-height: 220px;
}

.product-image-doublewide {
    max-width: min(100%, 560px);
    max-height: 230px;
}

.product-layout-doublewide .image-preview-button {
    min-height: 190px;
}

.product-layout-live .product-body {
    flex: 1 1 auto;
}

.live-preview {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
}

/* Product options: attached colored tabs */

.product-card .product-options {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 10px 12px;
    width: 100%;
    max-width: 700px;
    margin: 6px auto 0;
}

.product-card .product-option {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: auto;
    min-width: 158px;
    max-width: 275px;
    margin: 0;
    text-align: left;
}

.product-card .product-option span {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: auto;
    max-width: calc(100% - 10px);
    margin: 0 0 -1px 8px;
    padding: 3px 10px 4px;
    background: var(--blue2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.38);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    text-align: left !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    white-space: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,.55);
    box-shadow: 0 -1px 3px rgba(0,0,0,.18);
}

.product-card .product-select,
.product-card .product-input {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 32px;
    border-radius: 8px;
    border: 1px solid #aaa;
    background: #fff;
    color: #111;
    padding: 5px 8px;
    font-size: 16px;
    line-height: 1.2;
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,.18),
        0 1px 3px rgba(0,0,0,.2);
}

.product-card .product-select {
    min-width: 158px;
    max-width: 245px;
}

.product-card .product-input {
    min-width: 175px;
    max-width: 275px;
}

.product-card .product-option[style*="collapse"],
.product-card .product-options select[hidden] {
    display: none !important;
}

.panel-light .product-option span {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.55);
}

/* Purchase row */

.product-purchase,
.product-card .product-purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.add-cart-form {
    margin: 0;
}

.add-cart-button {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.add-cart-button img {
    height: 38px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Misc pages */

.font-preload {
    visibility: collapse;
    height: 0;
    overflow: hidden;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    padding: 18px;
    text-align: center;
}

.service-card img {
    max-height: 225px;
    object-fit: contain;
}

.service-card h2 {
    font-size: 24px;
}

.page-intro {
    max-width: 1180px;
    margin: 18px auto;
    padding: 22px;
    text-align: center;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    border: 2px solid rgba(255,255,255,.25);
    aspect-ratio: 1 / 1;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .15s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-section {
    max-width: 1600px;
    margin: 0 auto 26px;
    padding: 18px;
}

.gallery-section h2 {
    text-transform: capitalize;
}

.lightbox-modal {
    position: fixed;
    z-index: 200;
    inset: 0;
    background: rgba(0,0,0,.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox-modal img {
    max-width: 95vw;
    max-height: 90vh;
}

.lightbox-modal button {
    position: absolute;
    top: 12px;
    right: 18px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 34px;
    width: 48px;
    height: 48px;
    line-height: 1;
    cursor: pointer;
}

/* Upload pages */

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.upload-box {
    padding: 18px;
}

.upload-box h2 {
    margin-top: 0;
}

.upload-form {
    display: grid;
    gap: 10px;
}

.upload-form input[type=file],
.upload-form input[type=password] {
    background: #fff;
    border: 1px solid #999;
    border-radius: 8px;
    padding: 10px;
    color: #111;
}

.button-primary {
    border: 0;
    border-radius: 9px;
    background: var(--blue2);
    color: #fff;
    padding: 11px 16px;
    font-weight: bold;
    cursor: pointer;
}

.notice {
    padding: 12px 16px;
    border-radius: 10px;
    margin: 12px auto;
    max-width: 900px;
}

.notice.ok {
    background: #e5ffe5;
    color: #064b06;
}

.notice.error {
    background: #ffe5e5;
    color: #6b0000;
}

.notice.warn {
    background: #fff8d7;
    color: #5a4100;
}

/* Desktop layout */

@media (min-width: 1100px) {
    body {
        padding-left: 205px;
    }

    .site-sidebar {
        transform: none;
    }

    .site-overlay,
    .sidebar-close,
    .menu-button {
        display: none !important;
    }

    .site-header {
        left: 205px;
    }

    .bottom-bar {
        left: 205px;
    }
}

@media (min-width: 901px) {
    .product-grid {
        grid-auto-flow: row;
    }

    .product-card-doublewide {
        grid-column: span 2;
    }
}

/* Tablet */

@media (max-width: 900px) {
    .store-intro {
        grid-template-columns: 1fr;
    }

    .product-card-doublewide {
        grid-column: span 1;
    }

    .product-image-doublewide {
        max-width: 100%;
        max-height: 220px;
    }

    .product-layout-doublewide .image-preview-button {
        min-height: 160px;
    }

    .featured-card {
        display: none;
    }

    .slideshow {
        height: auto;
        min-height: 0;
        padding-top: 40.3125%;
    }
}

/* Mobile */

@media (max-width: 560px) {
    :root {
        --topbar: 62px;
        --bottombar: 40px;
    }

    .header-logo {
        height: 50px;
    }

    .page-main {
        padding: 10px;
    }

    .bottom-bar {
        gap: 2px;
        padding: 6px 0;
    }

    .bottom-bar .view-cart-form,
    .bottom-bar .image-button {
        height: 28px;
        min-height: 28px;
    }

    .bottom-bar .image-button img {
        width: auto;
        height: 28px;
        max-height: 28px;
    }

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

    .product-card .image-preview-button {
        min-height: 130px;
    }

    .product-image,
    .product-image-vertical,
    .product-image-horizontal,
    .product-image-square,
    .product-image-doublewide {
        max-width: 100%;
        max-height: 170px;
    }

    .product-image-vertical {
        max-height: 200px;
    }

    .product-image-square {
        max-width: 180px;
        max-height: 180px;
    }

    .product-card .product-options {
        justify-content: stretch;
        gap: 9px;
    }

    .product-card .product-option {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .product-card .product-select,
    .product-card .product-input {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .store-intro-copy p,
    .content-card p {
        font-size: 16px;
    }
}

/* =========================================================
   DANCO SOFT EARTH-TONE VISUAL TUNE
   Paste at bottom of site.css
   ========================================================= */

:root {
    --blue: #4A4C37;          /* main nav / dark olive */
    --blue2: #99B8A8;         /* softer sage accent */
    --black: #171717;
    --white: #fff;
    --silver: #A38A6C;        /* warm tan borders */
    --light: #f4f1eb;
    --card-dark: #23241c;

    --accent-tan: #A38A6C;
    --accent-green: #A5B872;
    --accent-olive: #4A4C37;
    --accent-charcoal: #171717;
    --accent-sage: #99B8A8;

    --shadow: 0 8px 22px rgba(0,0,0,.28);
    --radius: 14px;
}

/* Overall comfort */

body {
    background: #171717;
    color: #f1eee7;
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.52;
    letter-spacing: .01em;
}

a {
    color: #d8e6c1;
}

a:hover {
    color: #ffffff;
}

/* Header / sidebar / bottom bar */

.site-header,
.site-sidebar,
.bottom-bar {
    background: linear-gradient(180deg, #4A4C37 0%, #343625 100%);
}

.site-header {
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.site-sidebar {
    border-right: 1px solid rgba(255,255,255,.08);
}

.nav-card {
    color: #f5f2ea;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.04);
}

.nav-card:hover,
.nav-card.active {
    background: rgba(165,184,114,.24);
    border-color: rgba(165,184,114,.55);
}

.nav-card span {
    font-size: 13px;
    letter-spacing: .02em;
}

/* Panels */

.panel-dark {
    background:
        linear-gradient(135deg, rgba(23,23,23,.94), rgba(54,56,39,.90)),
        url('../../images/storebackdark.jpg') repeat;
    color: #f4f1eb;
    border-color: rgba(163,138,108,.75);
}

.panel-light {
    background:
        linear-gradient(135deg, rgba(244,241,235,.96), rgba(225,228,211,.95)),
        url('../../images/storebacklight.jpg') repeat;
    color: #25251e;
    border-color: rgba(163,138,108,.65);
}

.content-card,
.page-intro,
.store-intro,
.product-card,
.service-card,
.gallery-section,
.upload-box {
    box-shadow: 0 7px 20px rgba(0,0,0,.24);
}

/* Headings */

.content-card h1,
.page-intro h1,
.store-intro-copy h1,
.product-title,
.service-card h2,
.gallery-section h2 {
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    font-weight: 650;
    letter-spacing: .015em;
}

.content-card h1,
.page-intro h1,
.store-intro-copy h1 {
    color: #fff8e8;
    font-size: clamp(24px, 2.1vw, 34px);
}

.panel-light h1,
.panel-light h2,
.panel-light .product-title {
    color: #343625;
}

.content-card p,
.store-intro-copy p,
.page-intro p,
.product-description {
    font-size: 16.5px;
    line-height: 1.55;
}

/* Store intro */

.store-intro {
    border-color: rgba(163,138,108,.6);
}

.store-intro-copy p {
    color: #f0eadf;
}

.panel-light .store-intro-copy p {
    color: #343625;
}

/* Product cards */

.product-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
        rgba(23,23,23,.72);
    border-color: rgba(163,138,108,.58);
    border-width: 2px;
}

.panel-light .product-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.75), rgba(232,231,219,.88));
    border-color: rgba(74,76,55,.35);
}

.product-title {
    color: #fff3d8;
    font-size: 19px;
    line-height: 1.25;
}

.panel-light .product-title {
    color: #333521;
}

.product-description {
    color: #e7e1d7;
}

.panel-light .product-description {
    color: #333;
}

.part-number {
    color: #d8e6c1;
    font-size: 16px;
    font-weight: 600;
}

.panel-light .part-number {
    color: #4A4C37;
}

/* Product option tabs attached to fields */

.product-card .product-option span {
    background: linear-gradient(180deg, #A5B872 0%, #849556 100%);
    color: #171717;
    border-color: rgba(255,255,255,.38);
    text-shadow: none;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px 5px;
    border-radius: 9px 9px 0 0;
}

.product-card .product-select,
.product-card .product-input {
    background: #f7f5ef;
    color: #171717;
    border: 1px solid rgba(74,76,55,.55);
    border-radius: 9px;
    font-size: 15.5px;
    min-height: 34px;
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,.14),
        0 1px 3px rgba(0,0,0,.18);
}

.product-card .product-select:focus,
.product-card .product-input:focus {
    outline: 2px solid rgba(153,184,168,.75);
    outline-offset: 1px;
    border-color: #99B8A8;
}

/* Product images */

.product-card .image-preview-button {
    background: rgba(255,255,255,.035);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.055);
    padding: 8px;
}

.panel-light .product-card .image-preview-button {
    background: rgba(255,255,255,.42);
    border-color: rgba(74,76,55,.14);
}

/* Price / cart */

.product-price {
    color: #A5B872;
    font-size: 23px;
    font-weight: 750;
}

.panel-light .product-price {
    color: #4A4C37;
}

.add-cart-button img {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}

/* Buttons */

.button-primary {
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%);
    color: #171717;
    border: 1px solid rgba(255,255,255,.25);
    font-size: 15.5px;
}

.button-primary:hover {
    background: linear-gradient(180deg, #b7ca82 0%, #91a560 100%);
}

/* Upload / form pages */

.upload-form input[type=file],
.upload-form input[type=password] {
    background: #f7f5ef;
    color: #171717;
    border-color: rgba(74,76,55,.45);
}

/* Gallery */

.gallery-card {
    border-color: rgba(163,138,108,.5);
    background: #171717;
}

.gallery-card:hover {
    border-color: rgba(165,184,114,.85);
}

/* Softer text selection */

::selection {
    background: #A5B872;
    color: #171717;
}

/* Mobile readability */

@media (max-width: 560px) {
    body {
        font-size: 15.5px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-card .product-option span {
        font-size: 13.5px;
    }

    .product-card .product-select,
    .product-card .product-input {
        font-size: 15px;
    }
}


/* =========================================================
   Product Card Purchase Area — CSS Text Add-to-Cart Buttons
   ========================================================= */

.panel-light a {
    color: #4a4c37;
}

.product-card .product-purchase {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.product-card .product-purchase::before {
    content: none !important;
    display: none !important;
}

.product-card .product-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(165,184,114,.16);
    border: 1px solid rgba(165,184,114,.36);
    color: #dcebbd;
    font-size: 17px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}

.panel-light .product-card .product-price {
    background: rgba(74,76,55,.10);
    border-color: rgba(74,76,55,.24);
    color: #3d402d;
}

.product-card .add-cart-form {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.product-card .add-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0;
    padding: 6px 15px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%);
    color: #171717;
    font: inherit;
    font-size: 14.5px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .015em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        0 4px 10px rgba(0,0,0,.22);
    transition:
        transform .12s ease,
        box-shadow .12s ease,
        filter .12s ease,
        background .12s ease;
}

.product-card .add-cart-button::before {
    content: "Add to Cart";
}

.product-card .add-cart-button-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.product-card .add-cart-button img {
    display: none !important;
}

.product-card .add-cart-button:hover,
.product-card .add-cart-button:focus-visible {
    background: linear-gradient(180deg, #b7ca82 0%, #91a560 100%);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.42),
        0 6px 14px rgba(0,0,0,.28);
}

.product-card .add-cart-button:focus-visible {
    outline: 2px solid rgba(216,230,193,.9);
    outline-offset: 2px;
}

.product-card .add-cart-button:active {
    transform: translateY(0);
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,.22),
        0 2px 6px rgba(0,0,0,.22);
}

.panel-light .product-card .add-cart-button {
    border-color: rgba(74,76,55,.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.46),
        0 3px 8px rgba(0,0,0,.16);
}

@media (max-width: 560px) {
    .product-card .product-purchase {
        gap: 8px;
    }

    .product-card .product-price {
        min-height: 29px;
        padding: 5px 10px;
        font-size: 16px;
    }

    .product-card .add-cart-button {
        min-height: 30px;
        padding: 6px 12px;
        font-size: 13.5px;
    }
}

/* ==========================================================
   Fleet Landing Page
   Uses the shared site header, left menu, and bottom utility bar.
   ========================================================== */

.fleet-landing-page {
    background: #171717;
    overflow-x: hidden;
}

.fleet-main {
    position: relative;
    min-height: calc(100vh - var(--topbar) - var(--bottombar));
    height: calc(100vh - var(--topbar) - var(--bottombar));
    overflow: hidden;
    background: #171717;
}

.fleet-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #171717;
}

.fleet-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    animation: fleetLandingFade 30s infinite;
}

.fleet-bg-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23,23,23,.88), rgba(23,23,23,.46), rgba(23,23,23,.74)),
        linear-gradient(0deg, rgba(23,23,23,.55), rgba(23,23,23,.08));
}

.fleet-bg-fallback {
    opacity: 1;
    background: linear-gradient(135deg, #171717, #4A4C37, #99B8A8);
}

@keyframes fleetLandingFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    27% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

.fleet-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: calc(100vh - var(--topbar) - var(--bottombar));
    height: calc(100vh - var(--topbar) - var(--bottombar));
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(660px, 790px);
    gap: clamp(20px, 3vw, 52px);
    align-items: center;
    justify-content: space-between;
    padding: clamp(18px, 2.6vw, 38px);
}

.fleet-hero-copy {
    max-width: 640px;
    color: #f6f2ea;
    text-shadow: 0 4px 22px rgba(0,0,0,.62);
}

.fleet-kicker {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(165,184,114,.94);
    color: #171717;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.fleet-hero-copy h1 {
    margin: 0 0 16px;
    max-width: 650px;
    font-size: clamp(2.6rem, 4.7vw, 5.25rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.fleet-hero-copy p {
    max-width: 590px;
    margin: 0;
    color: rgba(246,242,234,.94);
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.55;
}

.fleet-form-card {
    justify-self: end;
    width: min(790px, 100%);
    max-height: calc(100vh - var(--topbar) - var(--bottombar) - 34px);
    overflow: auto;
    padding: clamp(16px, 1.4vw, 22px);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(246,242,234,.97), rgba(232,231,219,.96));
    border: 2px solid rgba(163,138,108,.62);
    box-shadow: 0 20px 48px rgba(0,0,0,.38);
    backdrop-filter: blur(4px);
}

.fleet-form-card h2 {
    margin: 0 0 4px;
    color: #343625;
    font-size: clamp(1.28rem, 1.55vw, 1.65rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.fleet-form-intro {
    margin: 0 0 10px;
    color: rgba(23,23,23,.72);
    font-size: .91rem;
    line-height: 1.35;
}

.fleet-form {
    display: grid;
    gap: 8px;
}

.fleet-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fleet-field,
.fleet-upload-field {
    min-width: 0;
}

.fleet-field label,
.fleet-upload-field label {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0 0 -1px 7px;
    padding: 4px 10px 5px;
    border: 1px solid rgba(255,255,255,.42);
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(rgba(165,184,114,.94));
    color: #424431;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: .01em;
    box-shadow: 0 -1px 3px rgba(0,0,0,.16);
}

.fleet-field input,
.fleet-field textarea,
.fleet-upload-field input[type="file"] {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 35px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(74,76,55,.48);
    border-radius: 9px;
    background: #f7f5ef;
    color: #171717;
    font: inherit;
    font-size: .94rem;
    outline: none;
    box-shadow:
        inset 0 1px 2px rgba(0,0,0,.14),
        0 1px 3px rgba(0,0,0,.14);
}

.fleet-field input:focus,
.fleet-field textarea:focus,
.fleet-upload-field input[type="file"]:focus {
    border-color: #99B8A8;
    outline: 2px solid rgba(153,184,168,.55);
    outline-offset: 1px;
}

.fleet-field textarea {
    min-height: 72px;
    resize: vertical;
}

.fleet-upload-field input[type="file"] {
    background: rgba(153,184,168,.18);
    border-style: dashed;
    padding: 7px 9px;
}

.fleet-upload-field small {
    display: block;
    margin: 4px 2px 0;
    color: rgba(23,23,23,.62);
    font-size: .76rem;
    line-height: 1.25;
}

.fleet-submit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.fleet-submit-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4A4C37, #171717);
    color: #f6f2ea;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(23,23,23,.25);
    white-space: nowrap;
}

.fleet-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(23,23,23,.30);
}

.fleet-submit-row p {
    margin: 0;
    color: rgba(23,23,23,.62);
    font-size: .82rem;
    line-height: 1.3;
}

.fleet-status {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.35;
}

.fleet-status.success {
    background: rgba(165,184,114,.36);
    color: #4A4C37;
}

.fleet-status.error {
    background: rgba(163,138,108,.28);
    color: #6c3425;
}

.fleet-honeypot {
    display: none;
}

@media (max-height: 820px) and (min-width: 1101px) {
    .fleet-main,
    .fleet-hero {
        height: auto;
        min-height: calc(100vh - var(--topbar) - var(--bottombar));
        overflow: visible;
    }

    .fleet-form-card {
        max-height: none;
    }

    .fleet-field textarea {
        min-height: 58px;
    }
}

@media (max-width: 1250px) {
    .fleet-hero {
        grid-template-columns: minmax(260px, .8fr) minmax(610px, 720px);
        gap: 24px;
    }

    .fleet-hero-copy h1 {
        font-size: clamp(2.25rem, 4.3vw, 4.5rem);
    }
}

@media (max-width: 1000px) {
    .fleet-main {
        height: auto;
        min-height: calc(100vh - var(--topbar) - var(--bottombar));
        overflow: visible;
    }

    .fleet-hero {
        height: auto;
        min-height: calc(100vh - var(--topbar) - var(--bottombar));
        grid-template-columns: 1fr;
        align-items: start;
        padding: 24px 16px 82px;
    }

    .fleet-form-card {
        justify-self: stretch;
        max-height: none;
        width: 100%;
    }

    .fleet-hero-copy {
        max-width: 760px;
    }
}

@media (max-width: 680px) {
    .fleet-form-row,
    .fleet-form-row-uploads {
        grid-template-columns: 1fr;
    }

    .fleet-submit-row {
        display: block;
    }

    .fleet-submit-button {
        width: 100%;
        margin-bottom: 8px;
    }

    .fleet-form-card {
        padding: 16px;
        border-radius: 18px;
    }
}


/* ==========================================================
   Bottom Utility Bar + Floating Quote Flyout
   Corrected 2026-05-21
   - Bottom bar uses rounded CSS text buttons from inc/layout.php.
   - Quote flyout is fixed bottom-right, overlaying the bottom bar.
   - Panel expands upward instead of pushing page content down.
   ========================================================== */

.bottom-bar {
    gap: 8px !important;
    min-height: var(--bottombar) !important;
    height: var(--bottombar) !important;
    padding: 5px 168px 5px 10px !important;
    overflow: visible;
}

.bottom-bar .view-cart-form {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.bottom-utility-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%);
    color: #171717 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .01em;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 9px rgba(0,0,0,.22);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}

.bottom-utility-button:hover,
.bottom-utility-button:focus-visible {
    background: linear-gradient(180deg, #b7ca82 0%, #91a560 100%);
    color: #171717 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 13px rgba(0,0,0,.28);
}

.bottom-utility-button:active {
    transform: translateY(0);
}

/* Shared quote form layout for embedded page use and flyout use */
.fleet-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
}

.fleet-field,
.fleet-upload-field {
    min-width: 0;
}

.fleet-field--wide {
    grid-column: span 2;
}

.fleet-field--full {
    grid-column: 1 / -1;
}

.fleet-form-card--flyout {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 18px;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    backdrop-filter: none;
}

.fleet-form-card--flyout .fleet-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fleet-form-card--flyout .fleet-field--wide,
.fleet-form-card--flyout .fleet-field--full {
    grid-column: 1 / -1;
}

/* Floating Get a Quote widget */
.fleet-quote-widget {
    position: fixed !important;
    z-index: 180 !important;
    right: 14px !important;
    bottom: 5px !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-end !important;
    gap: 10px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

.fleet-quote-fab,
.fleet-quote-panel {
    pointer-events: auto;
}

.fleet-quote-fab {
    min-height: 32px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    padding: 7px 16px;
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%);
    color: #171717;
    box-shadow: 0 7px 18px rgba(0,0,0,.38);
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .02em;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.fleet-quote-fab:hover,
.fleet-quote-fab:focus-visible {
    background: linear-gradient(180deg, #b7ca82 0%, #91a560 100%);
    transform: translateY(-1px);
}

.fleet-quote-panel {
    position: relative !important;
    width: min(660px, calc(100vw - 28px));
    max-height: calc(100vh - var(--topbar) - var(--bottombar) - 24px);
    overflow: auto;
    border-radius: 22px;
    border: 2px solid rgba(163,138,108,.72);
    background: linear-gradient(135deg, rgba(246,242,234,.98), rgba(232,231,219,.98));
    box-shadow: 0 22px 58px rgba(0,0,0,.44);
    color: #171717;
}

.fleet-quote-close {
    position: absolute;
    z-index: 3;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(74,76,55,.12);
    color: #343625;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.fleet-quote-close:hover,
.fleet-quote-close:focus-visible {
    background: rgba(74,76,55,.22);
}

.fleet-quote-panel[hidden] {
    display: none !important;
}

@media (max-width: 1250px) {
    .fleet-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fleet-field--wide,
    .fleet-field--full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .bottom-bar {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-right: 145px !important;
        scrollbar-width: none;
    }

    .bottom-bar::-webkit-scrollbar {
        display: none;
    }

    .bottom-utility-button {
        min-height: 29px;
        padding: 6px 11px;
        font-size: 13px;
    }

    .fleet-quote-widget {
        right: 8px !important;
        bottom: 5px !important;
        left: auto !important;
    }

    .fleet-quote-fab {
        min-height: 30px;
        padding: 7px 13px;
        font-size: 13px;
    }

    .fleet-quote-panel {
        width: calc(100vw - 18px);
        max-height: calc(100vh - var(--topbar) - var(--bottombar) - 20px);
    }
}

@media (max-width: 680px) {
    .fleet-form,
    .fleet-form-card--flyout .fleet-form {
        grid-template-columns: 1fr;
    }

    .fleet-field--wide,
    .fleet-field--full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .bottom-bar {
        padding-right: 132px !important;
        gap: 5px !important;
    }

    .bottom-utility-button {
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* ==========================================================
   HARD FIX — bottom bar text buttons + quote flyout fallback
   Added to override both old image-button markup and new text markup.
   ========================================================== */

.bottom-bar {
    z-index: 160 !important;
    gap: 8px !important;
    min-height: var(--bottombar) !important;
    height: var(--bottombar) !important;
    padding: 5px 168px 5px 10px !important;
    overflow: visible !important;
}

.bottom-bar .view-cart-form {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.bottom-utility-button,
.bottom-bar .image-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 30px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%) !important;
    color: #171717 !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 9px rgba(0,0,0,.22) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.bottom-utility-button:hover,
.bottom-utility-button:focus-visible,
.bottom-bar .image-button:hover,
.bottom-bar .image-button:focus-visible {
    background: linear-gradient(180deg, #b7ca82 0%, #91a560 100%) !important;
    color: #171717 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 13px rgba(0,0,0,.28) !important;
}

/* If an old cached layout still outputs image buttons, turn them into text buttons anyway. */
.bottom-bar .image-button img {
    display: none !important;
}

.bottom-bar .view-cart-form .image-button::before {
    content: "View Cart" !important;
}

.bottom-bar a.image-button[href*="contact"]::before,
.bottom-bar a.image-button[href*="contact-us"]::before {
    content: "Contact" !important;
}

.bottom-bar a.image-button[href*="faq"]::before {
    content: "Install Help" !important;
}

.bottom-bar a.image-button[href*="gallery"]::before {
    content: "Gallery" !important;
}

/* Quote flyout: force fixed bottom-right behavior even if earlier rules disagree. */
.fleet-quote-widget {
    position: fixed !important;
    z-index: 300 !important;
    right: 14px !important;
    bottom: 5px !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.fleet-quote-fab,
.fleet-quote-panel {
    pointer-events: auto !important;
}

.fleet-quote-fab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 7px 16px !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #A5B872 0%, #7f914f 100%) !important;
    color: #171717 !important;
    box-shadow: 0 7px 18px rgba(0,0,0,.38) !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.fleet-quote-panel {
    position: relative !important;
    display: block;
    width: min(660px, calc(100vw - 28px)) !important;
    max-height: calc(100vh - var(--topbar) - var(--bottombar) - 24px) !important;
    overflow: auto !important;
    margin: 0 !important;
    border-radius: 22px !important;
    border: 2px solid rgba(163,138,108,.72) !important;
    background: linear-gradient(135deg, rgba(246,242,234,.98), rgba(232,231,219,.98)) !important;
    box-shadow: 0 22px 58px rgba(0,0,0,.44) !important;
    color: #171717 !important;
}

.fleet-quote-panel[hidden] {
    display: none !important;
}

.fleet-quote-close {
    position: absolute !important;
    z-index: 3 !important;
    top: 8px !important;
    right: 10px !important;
}

@media (max-width: 760px) {
    .bottom-bar {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-right: 145px !important;
        scrollbar-width: none !important;
    }

    .fleet-quote-widget {
        right: 8px !important;
        bottom: 5px !important;
        left: auto !important;
    }

    .fleet-quote-panel {
        width: calc(100vw - 18px) !important;
        max-height: calc(100vh - var(--topbar) - var(--bottombar) - 20px) !important;
    }
}
