/* BuySignLetters.com homepage — static redesign matching design mockup */
.bsl, .bsl * { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bsl-red-1: #e80b1e;
    --bsl-red-2: #c90110;
    --bsl-navy: #0b1f3d;
    --bsl-navy-2: #143064;
    --bsl-navy-3: #1b3566;
    --bsl-text: #2c3b52;
    --bsl-muted: #617693;
    --bsl-blue: #0b62ef;
    --bsl-line: #d6deea;
    --bsl-panel: #f4f5f9;
    --bsl-trust: #f2f5f8;
    --bsl-nav: #434851;
}

html, body { background: #ffffff; }

body {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: var(--bsl-text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

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

.bsl {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

/* shared header/trust on standard inner pages: align with 1200px content column.
   overflow must stay visible so the nav dropdowns are not clipped by .bsl */
.bsl-chrome { overflow: visible; }

/* ===== top announcement bar ===== */
.bsl-topbar {
    height: 32px;
    background: linear-gradient(180deg, #e30b1f 0%, #cd0212 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 0 0;
    font-size: 11px;
}
.bsl-topbar-left { display: flex; align-items: center; gap: 9px; margin-left: 168px; }
.bsl-topbar .bsl-ic-truck { width: 34px; height: 19px; fill: #fff; flex: none; }
.bsl-truck-win { fill: #cd0212; }
.bsl-topbar-strong { font-size: 14px; font-weight: 700; letter-spacing: .3px; }
.bsl-topbar-sub { opacity: .92; }
.bsl-topbar-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.bsl-topbar-right a { color: #fff; }
.bsl-topbar-right a:hover { text-decoration: underline; }
.bsl-sep { opacity: .65; font-style: normal; }

/* ===== header ===== */
.bsl-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 24px 0 40px;
}
.bsl-logo { display: block; flex: none; line-height: 0; }
.bsl-logo img { width: 240px; height: 80px; display: block; }
.bsl-search {
    display: flex;
    align-items: center;
    margin-left: 6px;
    flex: 1;
    max-width: 800px;
    height: 40px;
}
.bsl-search input {
    flex: 1;
    height: 50px;
    border: 1px solid var(--bsl-line);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 13px;
    color: #2c3b52;
    outline: none;
    margin-left:50px;
}
.bsl-search input::placeholder { color: #8090a4; }
.bsl-search input:focus { border-color: #9fb3cf; }
.bsl-search button {
    width: 54px;
    height: 50px;
    margin-left: 10px;
    border: 0;
    border-radius: 6px;
    background: var(--bsl-red-1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.bsl-search button svg { width: 22px; height: 22px; }

.bsl-order-status, .bsl-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bsl-navy-2);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.bsl-order-status svg { width: 30px; height: 26px; color: #18325c; }
.bsl-order-status { margin-left: 40px; }
.bsl-cart { margin-left: 40px; }
.bsl-cart-ic { position: relative; display: block; width: 30px; height: 26px; }
.bsl-cart-ic svg { width: 30px; height: 26px; color: #18325c; }
.bsl-cart-badge {
    position: absolute;
    top: -7px; right: -8px;
    min-width: 17px; height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--bsl-red-1);
    color: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

/* ===== main nav ===== */
.bsl-nav {
    height: 37px;
    background: var(--bsl-nav);
    display: flex;
    align-items: center;
    padding-left: 62px;
}
.bsl-nav a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 23px;
    height: 37px;
    line-height: 37px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.bsl-nav a i {
    border-right: 1.6px solid rgba(255,255,255,.85);
    border-bottom: 1.6px solid rgba(255,255,255,.85);
    width: 6px; height: 6px;
    transform: rotate(45deg) translateY(-2px);
}
.bsl-nav a:hover { background: rgba(255,255,255,.08); }

/* ===== main nav dropdowns ===== */
.bsl-nav-item { position: relative; display: inline-flex; height: 37px; }
.bsl-nav-item > a { position: relative; z-index: 1; }
.bsl-sub {
    display: none;
    position: absolute;
    top: 37px;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e2e6ee;
    border-top: 3px solid var(--bsl-navy-2);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 10px 24px rgba(11, 31, 61, .15);
    padding: 6px 0;
    z-index: 1000;
}
.bsl-sub a {
    color: #33415c;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    height: auto;
    padding: 8px 18px;
    display: block;
    white-space: normal;
}
.bsl-sub a:hover { background: #f2f5fa; color: var(--bsl-navy-2); }
.bsl-nav-item:hover .bsl-sub,
.bsl-nav-item:focus-within .bsl-sub { display: block; }
.bsl-nav-item:hover > a { background: rgba(255,255,255,.08); }
.bsl-nav-item:hover > a i,
.bsl-nav-item:focus-within > a i { transform: rotate(225deg) translateY(-2px); }

/* ===== hero ===== */
.bsl-hero { position: relative; line-height: 0; }
.bsl-hero img { width: 100%; height: auto; object-fit: fill; display: block; }
.bsl-hero-hot { position: absolute; display: block; }
/* new banner has a single "Upload Your Logo" button at the lower-left */
.bsl-hot-upload { left: 4.3%; top: 73.2%; width: 20.7%; height: 10.9%; }
.bsl-hero-hot:hover { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; border-radius: 6px; }

/* ===== quick order configurator ===== */
.bsl-config {
    background: var(--bsl-panel);
    margin: 0 25px;
    padding: 2px 24px 8px;
}
.bsl-fields {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.05fr 1.15fr .8fr 1.7fr;
    gap: 12px;
}
/* the AJAX panel, its form and its field wrapper flatten into the same
   6-column grid, so Material and the product attributes stay on one row */
.bsl-qo-panel,
#bsl-qo-form,
.bsl-qo-attr-fields {
    display: contents;
}
.bsl-qo-loading {
    grid-column: 2 / -1;
    color: var(--bsl-muted);
    font-size: 13px;
}
.bsl-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #20395f;
    margin-bottom: 7px;
}
.bsl-field select,
.bsl-field input {
    width: 100%;
    height: 32px;
    border: 1px solid #d3dbe5;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #33455e;
    padding: 0 9px;
    outline: none;
}
.bsl-field select:disabled,
.bsl-field input:disabled {
    background: #f1f3f6;
    color: #8d99aa;
    cursor: not-allowed;
}
.bsl-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23475b7a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 26px;
    cursor: pointer;
}
.bsl-fonts-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--bsl-blue);
    font-size: 12px;
    font-weight: 700;
}
.bsl-fonts-link i { font-style: normal; margin-left: 3px; }
.bsl-fonts-link:hover { text-decoration: underline; }

.bsl-config-body {
    /*full-width row beneath the flattened 6-column field grid*/
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    margin-top: 12px;
    gap: 25px;
}
.bsl-preview {
    border: 1px solid #dfe4eb;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}
.bsl-preview img { width: 820px; max-width: 100%; height: auto; display: block; }
.bsl-price-col { width: 208px; flex: none; }
.bsl-from { font-size: 12px; color: var(--bsl-muted); margin-bottom: 1px; }
.bsl-price { color: var(--bsl-navy-3); margin-bottom: 13px; white-space: nowrap; }
.bsl-amount { font-size: 34px; font-weight: 800; color: #0d2356; }
.bsl-per { font-size: 12px; color: var(--bsl-muted); margin-left: 4px; }
.bsl .bsl-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 208px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #e90a1d 0%, #d80416 100%);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(180, 10, 25, .25);
}
.bsl-add-cart svg { width: 25px; height: 25px; }
.bsl .bsl-add-cart:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}
.bsl .bsl-add-cart:disabled:hover { filter: none; }
.bsl .bsl-add-cart:hover,
.bsl .bsl-add-cart:focus { color: #fff; filter: brightness(1.05); }

/* live total (letter count x per-letter price) */
.bsl-qo-total {
    margin: -5px 0 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: #20395f;
    white-space: nowrap;
}
.bsl-qo-total [data-total-amount] { color: #0d2356; }
.bsl-qo-total [data-total-count] { font-weight: 600; color: var(--bsl-muted); margin-left: 2px; }
.bsl a.bsl-quote-link {
    display: inline-block;
    margin-top: 11px;
    color: var(--bsl-blue);
    font-size: 12.5px;
    font-weight: 700;
}
.bsl-quote-link i { font-style: normal; margin-left: 2px; }
.bsl a.bsl-quote-link:hover { color: var(--bsl-blue); text-decoration: underline; }

/* ===== category cards ===== */
.bsl-cats { margin: 9px 25px 0; }
.bsl-row { display: grid; gap: 10px; }
.bsl-row-5 { grid-template-columns: repeat(5, 1fr); }
.bsl-row-7 { grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 6px; }
.bsl-row-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 6px; }
.bsl-row-7 .bsl-card-label { font-size: 11px; padding: 12px 8px 13px; }
.bsl-row-6 .bsl-card-label { font-size: 12px; }
.bsl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 42, 77, .08);
}
.bsl-card-img { line-height: 0; }
.bsl-card-img img { width: 100%; display: block; }
.bsl-row-5 .bsl-card-img img { height: 113px; object-fit: cover; }
.bsl-row-7 .bsl-card-img img { height: 98px; object-fit: cover; }
.bsl-row-6 .bsl-card-img img { height: 90px; object-fit: cover; }
.bsl-card-label {
    padding: 10px 13px 11px;
    color: var(--bsl-navy-3);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.28;
}
.bsl-card-label i { font-style: normal; margin-left: 5px; color: var(--bsl-navy-3); }
.bsl-card:hover {
    border-color: #cfd8e4;
    box-shadow: 0 4px 12px rgba(16, 42, 77, .14);
}

/* dynamic homepage products grid */
.bsl-row-products {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.bsl-row-products .bsl-card-img img { height: 130px; object-fit: cover; }
.bsl-row-products .bsl-card-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}
@media (max-width: 1200px) {
    .bsl-row-products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .bsl-row-products { grid-template-columns: repeat(2, 1fr); }
    .bsl-row-products .bsl-card-img img { height: 160px; }
}

/* ===== sign supplies ===== */
.bsl-supplies {
    margin: 4px 25px 0;
    background: var(--bsl-panel);
    border-radius: 10px;
    display: flex;
    padding: 10px 14px 9px 20px;
}
.bsl-supplies-info { width: 214px; flex: none; }
.bsl-supplies-info h2 {
    font-size: 27px;
    font-weight: 800;
    color: var(--bsl-navy-2);
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: nowrap;
}
.bsl-supplies-info p {
    font-size: 12.5px;
    color: var(--bsl-muted);
    line-height: 1.32;
    margin-bottom: 7px;
}
.bsl a.bsl-supplies-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 186px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(180deg, #e90a1d 0%, #d80416 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.bsl-supplies-btn i { font-style: normal; font-size: 16px; }
.bsl a.bsl-supplies-btn:hover { color: #fff; filter: brightness(1.05); }

.bsl-supplies-items {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    align-items: start;
    margin-left: 6px;
}
.bsl-sup {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}
.bsl-sup img {
    width: 100%;
    height: 64px;
    object-fit: contain;
    display: block;
}
.bsl-sup span {
    margin-top: 4px;
    color: var(--bsl-navy-3);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}
.bsl-sup:hover span { text-decoration: underline; }

/* ===== trust bar ===== */
.bsl-trust {
    margin-top: 4px;
    background: var(--bsl-trust);
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px 8px 42px;
}
.bsl-trust-item { display: flex; align-items: center; gap: 14px; }
.bsl-trust-item img { flex: none; }
.bsl-trust-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #17356b;
    line-height: 1.25;
}
.bsl-trust-item em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: #5f7592;
    line-height: 1.35;
    margin-top: 2px;
}
.bsl-trust-gemini img { display: block; width: 180px; height: 90px; object-fit: contain; }

/* AJAX cart notifications — parity with the _Notifications partial used on inner pages */
.bar-notification-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    color: #fff;
    opacity: .95;
}
.bar-notification {
    position: relative;
    display: none;
    padding: 15px 44px 15px 16px;
    font-size: 14px;
    line-height: 1.5;
}
.bar-notification p.content { margin: 0; }
.bar-notification p.content a { color: #fff; text-decoration: underline; }
.bar-notification.success { background-color: #4bb07a; }
.bar-notification.error { background-color: #d9534f; }
.bar-notification.warning { background-color: #f39c12; }
.bar-notification .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
    cursor: pointer;
}
.bar-notification .close::after {
    content: '\00d7';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    line-height: 1;
}
/* overlay shown while an AJAX cart request is in flight */
.ajax-loading-block-window {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 4px solid rgba(0, 0, 0, .15);
    border-top-color: #17356b;
    border-radius: 50%;
    animation: bsl-spin .8s linear infinite;
}
@keyframes bsl-spin { to { transform: rotate(360deg); } }
