/* =============================================================
   BeagleBuddy Colombia — Pages Stylesheet
   Styles for dynamic subpages (page.php)
   ============================================================= */

/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: flex;
    gap: 2px;
    background: var(--cream-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-right: 8px;
}
.lang-btn {
    padding: 6px 10px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.lang-btn.active {
    background: var(--terracotta);
    color: var(--white);
}
.lang-btn:hover:not(.active) {
    background: var(--border);
}

/* ---------- Page Hero ---------- */
.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    margin-top: var(--header-h);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,.8), rgba(74,103,65,.6));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0;
}
.page-hero--simple {
    min-height: 200px;
    background: linear-gradient(135deg, var(--black) 0%, #2D3436 100%);
}
.page-hero--simple::before { display: none; }

/* ---------- Page Content ---------- */
.page-content {
    padding: 60px 0 80px;
}
.page-content .container {
    max-width: 900px;
}

/* Page sections */
.page-section {
    margin-bottom: 48px;
}
.page-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.page-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
}
.page-section p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.02rem;
}
.page-section .highlight {
    background: var(--sage-bg);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--sage);
    font-style: italic;
    color: var(--sage);
    font-size: 1.05rem;
}
.text-center { text-align: center; }
.text-center .page-section h2::after { left: 50%; transform: translateX(-50%); }

/* ---------- Collections Grid ---------- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.collection-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.collection-card-image {
    height: 220px;
    overflow: hidden;
}
.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.collection-card:hover .collection-card-image img {
    transform: scale(1.08);
}
.collection-card-body {
    padding: 20px;
}
.collection-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 8px;
}
.collection-card-body p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.btn-collection {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--terracotta);
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
}
.btn-collection:hover {
    color: var(--terracotta-h);
    gap: 8px;
}

/* ---------- Distributor Cards ---------- */
.distributor-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 32px;
}
.distributor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}
.distributor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.distributor-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sage-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: var(--sage);
}
.distributor-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 10px;
}
.distributor-card p {
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sage-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    color: var(--sage);
}
.contact-info-card h3 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 6px;
}
.contact-info-card p {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.5;
}
.contact-info-card a {
    color: var(--terracotta);
    font-weight: 600;
}

/* ---------- Contact Form ---------- */
.contact-form-section {
    margin-top: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.contact-form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 20px;
}
.contact-page-form .form-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-page-form .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}
.contact-page-form .form-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-page-form .form-field input:not([type="checkbox"]),
.contact-page-form .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color var(--transition);
}
.contact-page-form .form-field input:focus,
.contact-page-form .form-field textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}
.contact-page-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.contact-page-form .btn:hover {
    background: var(--terracotta-h);
}

/* ---------- About Story (Quiénes Somos) ---------- */
.about-story {
    max-width: 780px;
    margin: 0 auto;
}

/* Opening */
.story-opening {
    text-align: center;
    margin-bottom: 48px;
}
.opening-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf2f0, #fce8e4);
    color: var(--terracotta);
    margin-bottom: 20px;
    animation: pulse-soft 3s ease-in-out infinite;
}
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.story-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.story-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Story Body */
.story-body {
    position: relative;
}

/* Chapters */
.story-chapter {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
}
.chapter-accent {
    flex-shrink: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--sage), var(--sage-bg));
}
.chapter-accent.accent-warm {
    background: linear-gradient(180deg, var(--terracotta), #fce8e4);
}
.chapter-accent.accent-sage {
    background: linear-gradient(180deg, #4a6741, #dce8d8);
}
.chapter-accent.accent-terracotta {
    background: linear-gradient(180deg, #8b4513, #f0d9c8);
}
.chapter-content {
    flex: 1;
}
.chapter-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.chapter-content p {
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: 1.02rem;
}
.chapter-content p:last-child {
    margin-bottom: 0;
}

/* Highlight Box */
.story-highlight-box {
    background: linear-gradient(135deg, #f7faf5, #eef4ea);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin: 40px 0;
    position: relative;
    border: 1px solid #dce8d8;
}
.story-highlight-box .highlight-icon {
    position: absolute;
    top: -16px;
    left: 32px;
    font-size: 28px;
    background: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.story-highlight-box p {
    color: var(--sage);
    font-size: 1.12rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Vision Box */
.story-vision-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin: 40px 0;
}
.story-vision-box p {
    color: rgba(255,255,255,.92);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}
.story-vision-box strong {
    color: var(--white);
}

/* Promise Section */
.story-promise {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
}
.promise-decoration {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}
.promise-decoration span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: .5;
}
.promise-decoration span:nth-child(2) {
    opacity: .8;
    width: 10px;
    height: 10px;
}
.promise-decoration span:nth-child(3) {
    opacity: .5;
}
.story-promise blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    color: var(--black);
    line-height: 1.6;
    margin: 0 auto 36px;
    max-width: 560px;
    border: none;
    padding: 0;
}
.story-promise blockquote strong {
    color: var(--terracotta);
}
.promise-end {
    font-style: italic;
    margin-top: 12px;
    color: var(--text-muted) !important;
    font-size: 1.05rem !important;
}

/* Firma */
.story-firma {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.story-firma img {
    max-width: 220px;
    height: auto;
    opacity: .85;
    transition: opacity .3s;
}
.story-firma img:hover {
    opacity: 1;
}
.firma-caption {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 8px;
}
.firma-role {
    font-size: .88rem;
    color: var(--text-muted);
    letter-spacing: .03em;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-hero { min-height: 160px; margin-top: 60px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-content { padding: 28px 0 40px; }
    .page-content .container { padding: 0 16px; }
    .contact-page-form .form-grid.cols-2 { grid-template-columns: 1fr; }
    .contact-form-section { padding: 20px 14px; }
    .distributor-cta-grid { grid-template-columns: 1fr; }

    /* About Story responsive */
    .story-opening { margin-bottom: 32px; }
    .opening-icon { width: 64px; height: 64px; }
    .opening-icon svg { width: 36px; height: 36px; }
    .story-chapter { gap: 16px; }
    .story-highlight-box { padding: 28px 20px; }
    .story-highlight-box .highlight-icon { left: 20px; }
    .story-vision-box { padding: 28px 24px; }
    .story-promise blockquote { font-size: 1.2rem; }
    .story-firma img { max-width: 180px; }

    /* Page sections text */
    .page-section h2 { font-size: 1.4rem; }
    .page-section p { font-size: .92rem; }

    /* Footer on pages */
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* =============================================================
   Paw Prints Background (Contact Page)
   ============================================================= */
.paw-prints-bg {
    position: relative;
}
.paw-prints-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .04;
    pointer-events: none;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23C67B4B'%3E%3Cellipse cx='18' cy='26' rx='5' ry='6'/%3E%3Cellipse cx='42' cy='26' rx='5' ry='6'/%3E%3Cellipse cx='12' cy='14' rx='4' ry='5' transform='rotate(-15 12 14)'/%3E%3Cellipse cx='48' cy='14' rx='4' ry='5' transform='rotate(15 48 14)'/%3E%3Cellipse cx='10' cy='40' rx='3.5' ry='4.5' transform='rotate(-20 10 40)'/%3E%3Cellipse cx='50' cy='40' rx='3.5' ry='4.5' transform='rotate(20 50 40)'/%3E%3Cellipse cx='30' cy='42' rx='10' ry='8'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
    z-index: 0;
}
.paw-prints-bg > * {
    position: relative;
    z-index: 1;
}

/* =============================================================
   Distributor Page — Tabs Design
   ============================================================= */
.dist-page {
    max-width: 1100px;
    margin: 0 auto;
}
.dist-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}
.dist-tab {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    color: var(--text-muted);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}
.dist-tab:hover {
    color: var(--terracotta);
}
.dist-tab.active {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
}
.dist-tab i {
    margin-right: 8px;
}
.dist-tab-content {
    display: none;
    animation: fadeIn .3s ease;
}
.dist-tab-content.active {
    display: block;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Distributor Products Grid */
.dist-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.dist-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.dist-product-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-3px);
}
.dist-product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.dist-product-card .dist-product-info {
    padding: 18px;
}
.dist-product-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--black);
}
.dist-product-card .dist-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 10px;
}
.dist-product-card .btn-dist-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--sage);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}
.dist-product-card .btn-dist-cart:hover {
    background: var(--sage-light);
}

/* Distributor Store Lock Overlay */
.dist-store-wrapper {
    position: relative;
}
.dist-grid-locked {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}
.dist-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(2px);
    transition: opacity .6s ease, transform .6s ease;
}
.dist-lock-overlay.unlocking {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}
.dist-lock-card {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}
.dist-lock-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--terracotta);
    border: 2px solid var(--border);
}
.dist-lock-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 8px;
}
.dist-lock-card p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}
.dist-lock-card small {
    display: block;
    margin-top: 16px;
    font-size: .8rem;
    color: var(--text-muted);
}
.dist-lock-form {
    margin: 0 auto;
    max-width: 360px;
}
.dist-lock-input-row {
    display: flex;
    gap: 0;
}
.dist-lock-input-row input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-right: none;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s;
}
.dist-lock-input-row input:focus {
    border-color: var(--terracotta);
}
.dist-lock-input-row button {
    padding: 12px 20px;
    background: var(--terracotta);
    color: var(--white);
    border: 2px solid var(--terracotta);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}
.dist-lock-input-row button:hover {
    background: #b56a3a;
    border-color: #b56a3a;
}
.dist-lock-input-row button:disabled {
    opacity: .7;
    cursor: wait;
}
.dist-lock-msg {
    min-height: 22px;
    margin-top: 8px;
    font-size: .85rem;
    color: var(--text-muted);
    text-align: center;
}
.dist-lock-msg.error {
    color: #C0392B;
    font-weight: 500;
}
/* Verified badge */
.dist-verified-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    background: #D4EDDA;
    color: #155724;
    font-size: .9rem;
    border: 1px solid #c3e6cb;
}
.dist-verified-badge i {
    font-size: 1.1rem;
}
.dist-verified-badge button {
    margin-left: auto;
    background: none;
    border: none;
    color: #155724;
    cursor: pointer;
    font-size: .95rem;
    opacity: .7;
    transition: opacity .2s;
    padding: 2px 6px;
}
.dist-verified-badge button:hover {
    opacity: 1;
}

/* Distributor Application Form */
.dist-apply-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 36px;
}
.dist-apply-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 8px;
}
.dist-apply-form p.form-desc {
    color: var(--text-muted);
    font-size: .92rem;
    margin-bottom: 24px;
    line-height: 1.6;
}
.dist-apply-form .form-group {
    margin-bottom: 16px;
}
.dist-apply-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.dist-apply-form input:not([type="checkbox"]),
.dist-apply-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color var(--transition);
}
.dist-apply-form input:focus,
.dist-apply-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}
.dist-apply-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.dist-apply-form .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.dist-apply-form .btn-submit:hover {
    background: var(--terracotta-h);
}

/* Distributor Hero with background */
.dist-hero-bg {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 0;
}
.dist-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(147, 85, 42), rgba(198,123,75,.6));
}
.dist-hero-bg > * {
    position: relative;
    z-index: 1;
}
.dist-hero-bg h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    margin-bottom: 8px;
}
.dist-hero-bg p {
    color: rgba(255,255,255,.9);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =============================================================
   Dynamic Form Renderer (data-bb-form)
   ============================================================= */
.bb-form {
    max-width: 600px;
    margin: 0 auto;
}
.bb-form .bb-form-group {
    margin-bottom: 16px;
}
.bb-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.bb-form input[type="text"],
.bb-form input[type="email"],
.bb-form input[type="tel"],
.bb-form input[type="number"],
.bb-form select,
.bb-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color var(--transition);
}
.bb-form input:focus,
.bb-form select:focus,
.bb-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}
.bb-form .bb-radio-group,
.bb-form .bb-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.bb-form .bb-radio-group label,
.bb-form .bb-checkbox-group label {
    font-weight: 400;
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.bb-form .bb-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}
.bb-form .bb-form-submit:hover {
    background: var(--terracotta-h);
}
.bb-form .bb-form-success {
    background: #D4EDDA;
    color: #155724;
    padding: 16px 20px;
    font-weight: 500;
    text-align: center;
}
.bb-form .bb-form-error {
    background: #F8D7DA;
    color: #721C24;
    padding: 12px 16px;
    font-size: .9rem;
    margin-bottom: 12px;
}

/* T&C checkboxes */
#contactTC,
#distTC,
.bb-tc-check {
    width: 26px !important;
    min-width: 26px;
    height: 16px;
}

@media (max-width: 768px) {
    .dist-tabs { flex-direction: column; }
    .dist-tab { border-bottom: none; border-left: 3px solid transparent; text-align: left; }
    .dist-tab.active { border-left-color: var(--terracotta); border-bottom-color: transparent; }
    .dist-apply-form { padding: 24px 18px; }
    .dist-apply-form .form-row-2 { grid-template-columns: 1fr; }
    .dist-products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .dist-product-card img { height: 180px; }
}
