:root{--navy:#122b42;--navy2:#173d59;--blue:#186ca0;--muted:#667887;--line:#e1e9ee;--bg:#f5f8fa;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#172b3a;font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}.shell{max-width:1300px;margin:auto;padding:0 28px}.topbar{background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;color:var(--navy);letter-spacing:.05em}.brand-mark{display:grid;place-items:center;background:var(--navy);color:#fff;border-radius:10px;font-size:27px;font-weight:900;width:46px;height:46px}.brand strong{display:block;font-size:17px}.brand small{font-size:10px;letter-spacing:.22em}.topbar nav{display:flex;gap:24px;font-size:14px;font-weight:650}.topbar nav a:hover{color:var(--blue)}.hero{margin-top:28px;border-radius:20px;min-height:290px;background:linear-gradient(115deg,#10283d,#205777);color:white;padding:48px 55px;display:flex;justify-content:space-between;align-items:center;gap:25px;overflow:hidden}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#2479a8}.hero .eyebrow{color:#91d6f8}.hero h1{font-size:clamp(32px,4vw,53px);margin:11px 0}.hero p{font-size:16px;line-height:1.7;max-width:580px;color:#d8e6ed}.hero-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.hero-tags span{border:1px solid #6389a0;border-radius:30px;padding:8px 12px;font-size:12px}.hero-emblem{min-width:230px;text-align:center;border:2px solid #547f9a;border-radius:20px;padding:32px 20px;letter-spacing:.18em;font-size:17px}.hero-emblem strong{display:block;font-size:27px}.hero-emblem small{display:block;margin-top:14px;font-size:9px;color:#bdd4df}.catalogue{padding:49px 0 70px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-title h2{font-size:32px;margin:7px 0}.section-title p{color:var(--muted);margin:0}.count{border:1px solid var(--line);background:#fff;border-radius:40px;padding:9px 14px;font-size:13px;white-space:nowrap}.toolbar{display:flex;align-items:end;gap:15px;margin-bottom:23px}.search-wrap{flex:1;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 16px;height:49px}.search-wrap span{font-size:27px;color:#748a9a}.search-wrap input{border:0;outline:0;width:100%;font-size:14px;padding:12px;background:transparent}.toolbar form{min-width:270px}.toolbar form label{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.toolbar select{width:100%;height:49px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 12px;color:var(--navy);font-weight:650}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 3px 15px #143b4d08;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #143b4d16}.photo-wrap{height:340px;position:relative;background:#f2f6f8;display:flex;align-items:center;justify-content:center}.photo-wrap img{width:100%;height:100%;object-fit:contain;padding:16px}.photo-wrap.missing-photo:after{content:'Photo unavailable';color:#8798a4;font-size:13px}.photo-placeholder{color:#8798a4;font-size:13px}.discount{position:absolute;top:14px;left:14px;background:#e9f4fc;color:#126391;padding:7px 10px;border-radius:6px;font-size:11px;font-weight:800}.card-body{padding:22px}.product-type{font-size:10px;letter-spacing:.1em;color:#6b8797;font-weight:800}.card-body h3{font-size:20px;margin:8px 0 4px;min-height:25px}.model{font-size:12px;color:var(--muted);margin:0 0 20px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:17px;flex-wrap:wrap}.price{font-size:23px;font-weight:800;color:var(--navy)}.old-price{font-size:12px;text-decoration:line-through;color:#8a99a2}.stock{font-size:11px;font-weight:700;border-radius:20px;padding:6px 8px}.in-stock{color:#197248;background:#eaf7f0}.out-stock{color:#b44d41;background:#fff0ed}.details{display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:white;padding:13px 16px;border-radius:9px;font-size:13px;font-weight:750}.details:hover{background:var(--blue)}.empty{text-align:center;padding:55px;color:var(--muted)}footer{background:#112b40;color:#c6d5df;padding:28px 0;font-size:12px}footer .shell{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}@media(max-width:960px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-emblem{display:none}}@media(max-width:620px){.shell{padding:0 16px}.topbar-inner{min-height:70px}.brand strong{font-size:12px}.brand-mark{width:38px;height:38px}.topbar nav{gap:10px;font-size:11px}.topbar nav a:first-child{display:none}.hero{margin-top:15px;padding:30px 24px;min-height:250px}.hero p{font-size:14px}.catalogue{padding-top:35px}.section-title{align-items:start}.section-title h2{font-size:25px}.section-title p{font-size:13px}.toolbar{display:block}.toolbar form{margin-top:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-wrap{height:250px}.photo-wrap img{padding:7px}.card-body{padding:13px}.card-body h3{font-size:15px}.price{font-size:17px}.product-type{font-size:8px}.stock{font-size:9px}.details{font-size:11px;padding:11px 9px}}

/* ==========================================
   GILMAN PRODUCT DETAILS POP-UP
   ========================================== */

.product-modal[hidden] {
    display: none !important;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 38, 0.76);
}

.modal-window {
    position: relative;
    width: min(1150px, 100%);
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,.3);
    padding: 35px;
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #eaf0f4;
    color: var(--navy);
    font-size: 25px;
    cursor: pointer;
}

.modal-close:hover {
    background: #d5e3eb;
}

.modal-close:focus-visible,
.details:focus-visible,
.quantity-controls button:focus-visible,
.modal-add-cart:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* Product details layout */

.gilman-product-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 35px;
    clear: both;
}

.product-detail-images {
    min-width: 0;
}

.detail-main-image,
.detail-diagram {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f7f9fa;
    padding: 15px;
    margin-bottom: 20px;
}

.detail-diagram {
    max-height: 300px;
}

.product-detail-info {
    min-width: 0;
}

.product-detail-info h2 {
    color: var(--navy);
    font-size: 29px;
    margin: 0 0 8px;
}

.product-detail-info h3 {
    color: var(--navy2);
    font-size: 18px;
    margin: 20px 0 12px;
}

.detail-description {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

/* Working parameters */

.detail-specifications {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.detail-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.detail-spec-row:last-child {
    border-bottom: 0;
}

.detail-spec-row:nth-child(even) {
    background: #f5f8fa;
}

.detail-spec-row strong {
    color: var(--navy);
}

.detail-spec-row span {
    text-align: right;
    color: #405666;
}

/* Stock and pricing */

.detail-stock {
    margin-top: 20px;
}

.detail-stock .in-stock,
.detail-stock .out-stock {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.detail-pricing {
    margin: 20px 0;
}

.detail-pricing .old-price {
    font-size: 15px;
    margin-bottom: 5px;
}

.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
}

/* Quantity selection */

.detail-quantity label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.quantity-controls button {
    width: 42px;
    height: 42px;
    background: #edf3f6;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
}

.quantity-controls input {
    width: 85px;
    height: 42px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 16px;
}

/* Total and Add to Cart */

.detail-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 22px 0;
    padding: 16px;
    border-radius: 10px;
    background: #edf4f8;
    color: var(--navy);
    font-size: 19px;
}

.modal-add-cart {
    width: 100%;
    padding: 16px;
    background: var(--navy);
    color: white;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
}

.modal-add-cart:hover:not(:disabled) {
    background: var(--blue);
}

.modal-add-cart:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Mobile layout */

@media (max-width: 750px) {
    .product-modal {
        padding: 8px;
    }

    .modal-window {
        width: 100%;
        max-height: 96vh;
        max-height: 96dvh;
        padding: 16px;
        border-radius: 12px;
    }

    .gilman-product-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-main-image {
        max-height: 300px;
    }

    .detail-diagram {
        max-height: 220px;
    }

    .product-detail-info h2 {
        font-size: 23px;
    }

    .detail-spec-row {
        font-size: 12px;
        gap: 10px;
    }

    .detail-price {
        font-size: 27px;
    }
}

/* ==========================================
   ADD TO CART CONFIRMATION POP-UP
   ========================================== */

.cart-confirmation[hidden] {
    display: none !important;
}

.cart-confirmation:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-confirmation-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 40, 0.65);
}

.cart-confirmation-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 35px 30px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cart-confirmation-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e5f5eb;
    color: #16803c;
    font-size: 36px;
    font-weight: bold;
}

.cart-confirmation-box h2 {
    margin: 0 0 12px;
    color: #102b43;
    font-size: 26px;
}

.cart-confirmation-box p {
    margin: 0 0 25px;
    color: #526273;
    font-size: 15px;
    line-height: 1.6;
}

.cart-checkout-link {
    display: block;
    padding: 14px 18px;
    background: #102b43;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.cart-checkout-link:hover {
    background: #17466b;
    color: #ffffff;
}

.continue-shopping {
    display: block;
    width: 100%;
    padding: 13px 18px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: #ffffff;
    color: #102b43;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.continue-shopping:hover {
    background: #f0f4f7;
}

@media (max-width: 480px) {
    .cart-confirmation-box {
        padding: 28px 20px;
    }
}


/* ==========================================
   SHOPPING CART NAVIGATION BADGE
   ========================================== */

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.cart-count:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    border-radius: 20px;
    background: #176b9b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.cart-count[hidden] {
    display: none !important;
}


/* Shopping cart quantity badge */
#cartCount {
    background-color: #1673a8 !important;
    color: white !important;
    border-radius: 999px;
    font-weight: 700;
}

/* Red when cart contains products */
#cartCount:not([hidden]):not(:empty) {
    background-color: #dc2626 !important;
}


/* Larger View Cart quantity badge */
#cartCount {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    box-sizing: border-box;
}


/* Keep navigation visible while scrolling */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}


/* PRODUCT CARD SHOPPING CONTROLS */

.product-card .card-add-cart {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-top: 12px;
    background: #0878b9;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-card .card-add-cart:hover:not(:disabled) {
    background: #075b8c;
}

.product-card .card-add-cart:disabled {
    background: #aab5bf;
    cursor: not-allowed;
}

.product-card .card-total-row {
    margin-top: 10px;
    font-size: 15px;
    color: #102d45;
}

.product-card .card-total {
    font-weight: 700;
}

.product-card .details {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    text-align: center;
    box-sizing: border-box;
}


/* PRODUCT CARD QUANTITY CONTROLS */

.product-card .card-qty-minus,
.product-card .card-qty-plus {
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #eaf3f9;
    color: #102d45;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
}

.product-card .card-qty-minus:hover:not(:disabled),
.product-card .card-qty-plus:hover:not(:disabled) {
    background: #d4e9f6;
}

.product-card .card-qty-minus:disabled,
.product-card .card-qty-plus:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-card .card-qty-input {
    width: 58px;
    height: 36px;
    box-sizing: border-box;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
}


/* LARGER, ALIGNED QUANTITY CONTROLS */

.product-card .card-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.product-card .card-quantity-controls button {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #eaf3f9;
    color: #102d45;
    cursor: pointer;
}

.product-card .card-quantity-controls input {
    width: 60px;
    height: 38px;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
}

.product-card .card-quantity-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Units Sold indicator */
.units-sold {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 600;
    color: #37658a;
    letter-spacing: 0.2px;
}

/* Optional accessory bundle notice */
.bundle-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin: 12px 0 20px;
    background: #edf5fb;
    border: 1px solid #d5e5f2;
    border-left: 4px solid #1479b8;
    border-radius: 8px;
    color: #173a56;
}

.bundle-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bundle-notice strong {
    font-size: 14px;
    font-weight: 700;
}

.bundle-notice p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #526b7e;
}

/* Accessory bundle notice inside Product Details */
.detail-bundle-notice {
    background: #edf5fb;
    border: 1px solid #d5e5f2;
    border-left: 3px solid #1479b8;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 14px 0 18px;
}

.detail-bundle-notice .bundle-notice-heading {
    color: #173a56;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.detail-bundle-notice p {
    color: #526b7e;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* Single-column product cards on mobile */
@media screen and (max-width: 600px) {
    .grid {
        display: grid;
        grid-template-columns: 100%;
    }
}

/* Expandable product description */
.detail-description-expand {
    margin: 14px 0 20px;
    padding: 12px 15px;
    background: #f0f6fa;
    border: 1px solid #d8e5ee;
    border-radius: 9px;
}

.detail-description-expand summary {
    color: #12314a;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.detail-description-expand[open] summary {
    margin-bottom: 12px;
}

.detail-description-expand .detail-description {
    color: #526779;
    font-size: 14px;
    line-height: 1.7;
}


/* Mobile header improvements */
@media (max-width: 620px) {
    .topbar-inner {
        gap: 8px;
    }

    .brand {
        gap: 7px;
        min-width: 0;
    }

    .brand strong {
        font-size: 11px;
        line-height: 1.2;
    }

    .brand small {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .topbar nav {
        gap: 8px;
        flex-shrink: 0;
    }

    .topbar nav a:not(.nav-cart) {
        display: none;
    }
}


/* Official Gilman logo in catalogue header */
.brand-mark {
    background: transparent;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* Display circular Gilman logo from existing banner */
.brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: white;
    display: block;
}

.brand-mark img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: initial;
    padding: 0;
    display: block;
}

@media (max-width: 620px) {
    .brand-mark {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* Improve company name readability */
.brand small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 620px) {
    .brand small {
        font-size: 11px;
        letter-spacing: 0.04em;
    }
}


/* ==========================================
   GILMAN PRODUCT SHARING MENU
   ========================================== */

.share-modal[hidden] {
    display: none !important;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 45, 0.65);
}

.share-window {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    color: var(--navy);
}

.share-window h3 {
    margin: 0 35px 8px 0;
    font-size: 22px;
}

#shareProductName {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.share-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #f5f8fa;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer;
}


.share-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.share-options a,
.share-options button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #f5f8fa;
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.share-options a:hover,
.share-options button:hover {
    background: #eaf4fc;
    border-color: var(--blue);
}

.share-link-row {
    display: flex;
    gap: 8px;
}

#shareProductUrl {
    flex: 1;
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    background: #f5f8fa;
}

#shareCopyLink {
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--navy);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

#shareCopyLink:hover {
    background: var(--blue);
}

#shareCopyStatus {
    margin: 10px 0 0;
    min-height: 18px;
    font-size: 13px;
    color: #15803d;
}

@media (max-width: 480px) {
    .share-window {
        padding: 22px 18px;
    }
}


/* ==========================================
   PRODUCT CARD SHARE BUTTON
   ========================================== */

.product-card .share-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 9px;
    padding: 11px 16px;
    background: #edf5fa;
    color: var(--navy);
    border: 1px solid #c9dce9;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.product-card .share-product:hover {
    background: #dceefa;
    border-color: var(--blue);
}

.product-card .share-product:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}


/* Mobile product card button alignment */
@media (max-width: 768px) {
    .product-card .share-product {
        display: flex;
        width: 100%;
        flex: 0 0 100%;
        clear: both;
        box-sizing: border-box;
        margin: 9px 0 0;
    }

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


/* ==========================================
   SHARE COMPLETE CATALOGUE BUTTON
   ========================================== */

.catalogue-share-bar {
    display: flex;
    justify-content: flex-end;
    margin: 14px 0 20px;
}

.share-catalogue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #edf5fa;
    color: #12324a;
    border: 1px solid #c9dce9;
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.share-catalogue-btn:hover {
    background: #dceefa;
    border-color: #1681c4;
}

.share-catalogue-btn:focus-visible {
    outline: 3px solid #1681c4;
    outline-offset: 2px;
}

/* Mobile layout */
@media (max-width: 768px) {
    .catalogue-share-bar {
        justify-content: stretch;
    }

    .share-catalogue-btn {
        width: 100%;
    }
}

/* ==========================================
   COMPACT CATALOGUE MASTHEAD
   Desktop and Mobile
   ========================================== */

.hero {
    min-height: 0;
    margin-top: 14px;
    padding: 24px 32px;
    gap: 16px;
}

.hero h1 {
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    margin: 8px 0;
}

.hero p {
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.hero-tags {
    gap: 8px;
    margin-top: 10px;
}

.hero-tags span {
    padding: 5px 10px;
    font-size: 11px;
}

.hero-emblem {
    width: 170px;
    min-width: 170px;
    padding: 14px;
}

/* Reduce spacing before products */
.catalogue {
    padding-top: 22px;
}

/* Android and other mobile devices */
@media (max-width: 768px) {

    .hero {
        min-height: 0;
        margin-top: 10px;
        padding: 20px;
        gap: 8px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.45;
    }

    .hero-tags {
        display: none;
    }

    .hero-emblem {
        display: none;
    }

    .catalogue {
        padding-top: 18px;
    }
}

/* ==========================================
   MOBILE CATALOGUE - SHOW PRODUCTS SOONER
   ========================================== */

@media (max-width: 768px) {

    .hero {
        padding: 14px 18px;
        margin-top: 8px;
        border-radius: 14px;
    }

    .hero .eyebrow {
        font-size: 10px;
        margin: 0 0 5px;
    }

    .hero h1 {
        font-size: 23px;
        line-height: 1.15;
        margin: 4px 0;
    }

    .hero p {
        font-size: 12px;
        line-height: 1.35;
        margin: 5px 0 0;
    }

    .catalogue {
        padding-top: 12px;
    }

    .section-title {
        margin-bottom: 10px;
    }

    .section-title h2 {
        font-size: 24px;
        margin: 3px 0;
    }

    .section-title p {
        display: none;
    }

    .toolbar {
        margin-bottom: 8px;
    }

    .catalogue-share-bar {
        margin: 8px 0;
    }

    .share-catalogue-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .bundle-notice {
        padding: 9px 12px;
        margin-bottom: 10px;
    }

    .bundle-notice p {
        display: none;
    }
}


/* ==========================================
   QUICK PRODUCT THUMBNAIL NAVIGATION
   ========================================== */

.quick-products {
    margin: 12px 0 20px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dce6ed;
    border-radius: 14px;
}

.quick-products-heading {
    margin-bottom: 12px;
}

.quick-products-heading h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #122b42;
}

.quick-products-heading p {
    margin: 0;
    font-size: 13px;
    color: #667887;
}

.quick-products-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.quick-product-item {
    flex: 0 0 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f5f8fa;
    border: 1px solid #dce6ed;
    border-radius: 10px;
    color: #122b42;
    font-family: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    transition: 0.2s;
}

.quick-product-item img {
    width: 100%;
    height: 105px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 7px;
}

.quick-product-item span {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.quick-product-item:hover {
    border-color: #186ca0;
    background: #eaf4fc;
    transform: translateY(-2px);
}

.quick-product-item:focus-visible {
    outline: 3px solid #186ca0;
    outline-offset: 2px;
}

/* Android and smaller screens */
@media (max-width: 768px) {

    .quick-products {
        margin: 10px 0 16px;
        padding: 12px;
    }

    .quick-products-heading h3 {
        font-size: 16px;
    }

    .quick-product-item {
        flex-basis: 105px;
        padding: 7px;
    }

    .quick-product-item img {
        height: 85px;
    }

    .quick-product-item span {
        font-size: 11px;
    }
}


/* ======================================
   QUICK PRODUCT THUMBNAIL PRICES
   ====================================== */

.quick-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.quick-product-item .quick-product-price {
    display: block;
    margin-top: 2px;
    color: #0876b5;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .quick-product-item .quick-product-price {
        font-size: 13px;
    }
}

/* Compact quick product thumbnails */
.quick-product-item {
    min-height: 0;
    height: auto;
    padding-bottom: 12px;
}

/* More compact product thumbnail cards */

.quick-product-item {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 8px 10px !important;
    justify-content: flex-start;
    gap: 4px;
}

.quick-product-item img {
    margin-bottom: 0;
}

.quick-products-list {
    align-items: start;
}

/* =====================================
   MOBILE QUICK PRODUCT THUMBNAILS
   ===================================== */

@media (max-width: 768px) {

    .quick-products {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .quick-products-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 4px 2px 10px;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .quick-product-item {
        flex: 0 0 138px !important;
        width: 138px !important;
        min-width: 138px !important;
        max-width: 138px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 8px !important;
        box-sizing: border-box;
        scroll-snap-align: start;
    }

    .quick-product-item img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 110px !important;
        object-fit: contain;
    }

    .quick-product-item span {
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
    }

    .quick-product-item .quick-product-price {
        font-size: 12px;
        white-space: nowrap;
    }
}
