/* ===== JustForPetStore B2B module ===== */
.petbw-reseller-form {
    max-width: 720px;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.petbw-reseller-form .petbw-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.petbw-reseller-form .petbw-row > label {
    flex: 1 1 240px;
}
.petbw-reseller-form label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 0.25rem 0.35rem;
    color: #1f2933;
}
/* Keep label text and required asterisk on one line; force inputs/controls to the next row */
.petbw-reseller-form label input,
.petbw-reseller-form label select,
.petbw-reseller-form label textarea,
.petbw-reseller-form label .petbw-file,
.petbw-reseller-form label small {
    width: 100%;
}
.petbw-reseller-form .req { color: #d64545; }
.petbw-reseller-form input,
.petbw-reseller-form select,
.petbw-reseller-form textarea {
    padding: 0.7rem 0.8rem;
    border: 1px solid #d3d9e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.petbw-reseller-form input:focus,
.petbw-reseller-form select:focus,
.petbw-reseller-form textarea:focus {
    outline: none;
    border-color: #2f6df6;
    box-shadow: 0 0 0 3px rgba(47,109,246,0.15);
}
.petbw-reseller-form small { font-weight: 400; color: #67727e; }
.petbw-reseller-form .petbw-btn {
    align-self: flex-start;
    background: #2f6df6;
    color: #fff;
    border: none;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.petbw-reseller-form .petbw-btn:hover { background: #1f57d6; }
.petbw-success {
    background: #e8f7ee;
    border: 1px solid #7bd6a3;
    color: #176b41;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    max-width: 720px;
}
.petbw-error {
    background: #fdecec;
    border: 1px solid #f0a3a3;
    color: #a32626;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    max-width: 720px;
}
.petbw-notice {
    background: #eef3ff;
    border: 1px solid #b9ccff;
    color: #244;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    max-width: 720px;
}

/* Custom file upload control (English-only; hides native browser text) */
.petbw-file {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}
.petbw-file-btn {
    background: #2f6df6;
    color: #fff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
}
.petbw-file-btn:hover { background: #1f57d6; }
.petbw-file-name {
    color: #67727e;
    font-size: 0.9rem;
}
.petbw-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    opacity: 0;
}

/* ===== Nav CTA (Get a Quote) — small blue pill =====
   Compact filled pill that still aligns with the nav text height. */
.petbw-nav-cta > a,
.petbw-nav-cta {
    background: #2f6df6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.08em 0.7em !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
}
.petbw-nav-cta > a:hover { background: #1f57d6 !important; }
/* Blocksy puts the class on the <li>; style its <a> */
.primary-navigation li.petbw-nav-cta > a,
header li.petbw-nav-cta > a,
.menu li.petbw-nav-cta > a {
    background: #2f6df6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.08em 0.7em !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
}
/* Keep the <li> from adding extra height that makes the pill look tall */
.primary-navigation li.petbw-nav-cta,
header li.petbw-nav-cta,
.menu li.petbw-nav-cta {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
}

/* ===== Header utility top bar (US wholesale style) ===== */
.petbw-top-bar {
    background: #142c26;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.petbw-top-bar .ct-container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 15px);
}
.petbw-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 1rem;
}
.petbw-top-bar-left {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.petbw-top-bar-right {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}
.petbw-top-bar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}
.petbw-top-bar a:hover {
    color: #fff;
}
.petbw-top-cart {
    position: relative;
}
.petbw-top-cart svg {
    width: 16px;
    height: 16px;
}
.petbw-top-cart .petbw-cart-count {
    background: #2f6df6;
    color: #fff;
    border-radius: 999px;
    padding: 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 1.25rem;
    text-align: center;
    line-height: 1.25rem;
}
.petbw-top-divider {
    opacity: 0.4;
}
.petbw-top-register {
    font-weight: 600;
    color: #fff !important;
}
/* ===== Sticky utility top bar + sticky nav (cart & login stay visible on scroll) =====
   Top bar height = inner min-height 34px + 1px border = 35px. Header sticks just below it. */
.petbw-top-bar{
    position:sticky !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1001 !important;
    width:100% !important;
    box-shadow:0 1px 0 rgba(0,0,0,0.18);
}
header#header.ct-header,
.ct-header{
    position:sticky !important;
    top:35px !important;
    left:0 !important;
    right:0 !important;
    z-index:1000 !important;
    width:100% !important;
}
@media (max-width: 768px) {
    .petbw-top-bar-left {
        display: none;
    }
    .petbw-top-bar-inner {
        justify-content: flex-end;
    }
    .petbw-top-label {
        display: none;
    }
}
/* CTA on the WooCommerce login screen — funnels new users to the single
   Become-a-Reseller registration flow. */
.petbw-login-cta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pb-line, #e6e6e6);
    font-size: 0.92rem;
    text-align: center;
}
.petbw-login-cta a {
    color: #2f6df6;
    font-weight: 600;
    text-decoration: none;
}

/* cache-bust 2026-07-26v2 — force new LiteSpeed combined CSS hash so sticky top-bar loads fresh */

/* Cart count badge in header */
.petbw-header-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
}
.petbw-header-cart .petbw-cart-count {
    background: #2f6df6;
    color: #fff;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 1.4rem;
    text-align: center;
}

/* Add side whitespace on the Become a Reseller page */
.page-id-7435 .elementor-212,
.post-7435 .elementor-212,
.page-id-7435 .elementor-212 .e-con-inner,
.post-7435 .elementor-212 .e-con-inner {
    padding-left: clamp(1.5rem, 8vw, 6rem) !important;
    padding-right: clamp(1.5rem, 8vw, 6rem) !important;
}
/* Center the content column so it isn't flush to either edge on wide screens */
.page-id-7435 .elementor-212 .e-con-inner,
.post-7435 .elementor-212 .e-con-inner {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 768px) {
    .page-id-7435 .elementor-212,
    .post-7435 .elementor-212,
    .page-id-7435 .elementor-212 .e-con-inner,
    .post-7435 .elementor-212 .e-con-inner {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
