/* =====================================================
   PACKS – bundleSelection redesign
   ===================================================== */

/* ---- font ---- */
.bsel-hero, .bsel-layout, .bsel-search-block,
.bsel-cart-panel, .bsel-catalog-grid {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   HERO
   ============================================================ */
.bsel-hero {
    background: transparent;
    border-bottom: 1px solid #d8eaf5;
    padding: 32px 0 14px;
    min-height: 0 !important;
}

.bsel-hero-title {
    color: #143a56;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.bsel-hero-sub {
    color: #555;
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   LAYOUT – 2 column
   ============================================================ */
.bsel-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 60px;
    align-items: start;
}

.bsel-sidebar {
    position: sticky;
    top: 20px;
}

/* ============================================================
   SEARCH BLOCK
   ============================================================ */
.bsel-search-block {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
    position: relative;
}

.bsel-search-label {
    font-size: 28px !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bsel-search-label i { display: none; }

.bsel-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bsel-search-icon {
    position: absolute;
    left: 18px;
    color: #5a8dab;
    font-size: 18px;
    pointer-events: none;
}

.bsel-search-input {
    width: 100%;
    height: 64px;
    border: 2px solid #2d688d;
    border-radius: 6px;
    font-size: 18px;
    padding: 0 48px 0 48px;
    outline: none;
    color: #143a56;
    background: #f5fafd;
    transition: border-color .2s, box-shadow .2s;
}

.bsel-search-input::placeholder { color: #99b5c8; }

.bsel-search-input:focus {
    border-color: #2f6d94;
    box-shadow: 0 0 0 3px rgba(47, 109, 148, 0.15);
    background: #fff;
}

.bsel-search-clear {
    position: absolute;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #e1eef7;
    color: #5a8dab;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s, color .15s;
}
.bsel-search-clear:hover { background: #2f6d94; color: #fff; }

/* ── live results dropdown ── */
.bsel-search-results {
    margin-top: 8px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bsel-search-result-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.bsel-search-result-item:last-child { border-bottom: none; }
.bsel-search-result-item:hover { background: #f8fbff; }
.bsel-search-result-item.is-selected { background: #f0faf2; }

.bsr-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.bsr-info {
    padding: 18px 22px;
}

.bsr-name {
    font-weight: 700;
    font-size: 20px;
    color: #000;
    line-height: 1.2;
}

.bsr-common {
    font-style: italic;
    font-size: 15px;
    color: #555;
    margin-top: 3px;
}

.bsr-crops {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}
.bsr-crops i { margin-right: 3px; }

.bsr-select-btn {
    margin-right: 16px;
    white-space: nowrap;
    border: 1.5px solid #2d688d;
    background: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #2d688d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .15s, color .15s;
}
.bsr-select-btn:hover { background: #2d688d; color: #fff; }
.is-selected .bsr-select-btn { background: #5dbb6b; border-color: #5dbb6b; color: #fff; }

.bsr-empty {
    padding: 22px 20px;
    color: #8dafca;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── below-search helpers ── */
.bsel-search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 16px;
    font-size: 14px;
    background: transparent;
    padding: 10px 0;
    border-radius: 0;
}

.bsel-no-find {
    color: #1a1a1a !important;
    font-size: 15px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    white-space: nowrap;
}
.bsel-no-find::before {
    content: '\00BF';
    margin-right: 2px;
}

.bsel-catalog-link {
    color: #2d688d !important;
    font-weight: 500;
    text-decoration: none !important;
    border: 1.5px solid #2d688d !important;
    border-radius: 999px;
    padding: 7px 18px;
    margin-left: 10px;
    font-size: 15px;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.bsel-catalog-link:hover,
.bsel-catalog-link:active {
    background: #2d688d !important;
    color: #fff !important;
    border-color: #2d688d !important;
}

.bsel-crop-filter {
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}
.bsel-crop-filter > span {
    color: #1a1a1a !important;
    font-weight: 700;
    font-size: 0 !important;
    margin-right: 6px;
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}
.bsel-crop-filter-label::before {
    content: 'Filtrar por Cultivo:';
    font-size: 15px !important;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.bsel-crop-tag {
    text-decoration: underline !important;
    color: #2d688d !important;
    font-weight: 500;
    font-size: 15px;
    padding: 2px 0;
    border-radius: 0;
    border: none;
    background: transparent;
    transition: color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.bsel-crop-tag + .bsel-crop-tag::before {
    content: '|';
    color: #999 !important;
    margin: 0 8px;
    font-weight: 400;
    text-decoration: none !important;
}
.bsel-crop-tag:hover,
.bsel-crop-tag.active {
    color: #1a4a60 !important;
    text-decoration: underline !important;
}

/* ============================================================
   CATALOG GRID
   ============================================================ */
.bsel-catalog-heading {
    font-size: 28px !important;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #000 !important;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0eef8;
}

.bsel-catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bsel-cat-card {
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}

.bsel-cat-card:hover {
    border-color: #ccc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.bsel-cat-card.is-selected {
    border-color: #50A569;
    background: #f5fcf5;
}

.bsel-cat-img-wrap { overflow: hidden; height: 140px; }
.bsel-cat-img-wrap img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.bsel-cat-card:hover .bsel-cat-img-wrap img { transform: scale(1.05); }

.bsel-cat-info {
    padding: 22px 28px;
}

.bsel-cat-name {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
    line-height: 1.25;
}

.bsel-cat-common {
    font-size: 18px;
    font-style: italic;
    color: #555;
}

.bsel-cat-crops {
    margin-top: 8px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.bsel-cat-crops i { margin-right: 3px; }

.bsel-cat-btn {
    margin: 0 24px;
    white-space: nowrap;
    border: 1.5px solid #555;
    background: #fff;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 20px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background .15s, color .15s;
    line-height: 1;
}
.bsel-cat-btn > i { display: none !important; }
.bsel-cat-btn:hover { background: #555; color: #fff; }
.is-selected .bsel-cat-btn {
    background: #5dbb6b;
    border-color: #5dbb6b;
    color: #fff;
}

/* ============================================================
   PAGE (single-column)
   ============================================================ */
.bsel-page {
    padding-top: 16px;
    padding-bottom: 60px;
}

/* ============================================================
   CART PANEL — full width, below search
   ============================================================ */
.bsel-cart-panel {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 34px;
}

.bsel-cart-panel-header {
    background: #fff;
    color: #000;
    padding: 19px 29px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: none;
}
.bsel-cart-panel-header i { font-size: 24px; }

.bsel-cart-body {
    padding: 22px 29px 19px;
}

/* — Slot row: horizontal — */
.bsel-slot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center;
}

/* Base pill */
.bsel-slot-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    min-height: 72px;
    padding: 14px 18px;
    border-radius: 14px;
    text-align: center;
    transition: all .2s;
    flex: 1 1 140px;
    max-width: 240px;
}

/* Filled pill — green solid like reference */
.bsel-slot-pill.filled {
    background: #50A569;
    border: 2px solid #50A569;
    border-radius: 18px;
    color: #fff;
    cursor: default;
    padding: 9px 12px;
}

/* Empty pill — white + dashed border */
.bsel-slot-pill.empty {
    background: #fff;
    border: 1.5px dashed #bbb;
    color: #aaa;
    border-radius: 14px;
}

/* Label: "Cupo 1:" (top line) */
.bsel-slot-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
    line-height: 1.3;
    opacity: .95;
}

/* Pest name (second line, filled only) */
.bsel-slot-pest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin-top: 1px;
    max-width: 100%;
    word-break: break-word;
    text-align: center;
}

/* × remove button — inline after name */
.bsel-slot-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: none;
    border: none;
    border-radius: 0;
    width: 16px;
    height: 16px;
    color: #fff;
    cursor: pointer;
    transition: opacity .15s;
    padding: 0;
    vertical-align: middle;
    line-height: 1;
}
.bsel-slot-remove i {
    display: none;
}
.bsel-slot-remove::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.bsel-slot-remove:hover {
    opacity: .7;
}

/* ---- footer bar: message + CTA side by side ---- */
.bsel-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 17px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.bsel-cart-msg {
    font-size: 23px;
    color: #000;
    margin: 0;
    flex: 1 1 auto;
    line-height: 1.5;
    font-weight: 600;
}
.bsel-cart-msg strong { color: #000; }

.bsel-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 14px 36px;
    border-radius: 30px;
    background: linear-gradient(135deg, #3d7ca3 0%, #2d688d 100%);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .2s, transform .15s;
}
.bsel-continue-btn:not(.disabled):hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff !important;
}
.bsel-continue-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
    background: #aaa;
}
.bsel-continue-btn i { font-size: 14px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.bundle-empty-state {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border: 2px solid #2f6d94;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(17,61,90,.16);
}

.bundle-empty-state h1 { margin-top: 0; color: #143a56; }

.bundle-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 48px;
    margin: 20px auto 0;
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3d7ca3 0%, #2d688d 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity .2s;
}
.bundle-cta:hover { opacity: .88; }
.bundle-cta.inline { margin-left: 0; }

/* ============================================================
   PACKS PAGE (bundleCard grid) – keep existing styles
   ============================================================ */
.bundle-hero {
    padding: 26px 0 34px;
    background: radial-gradient(circle at 50% -20%, #f4faff 0, #ffffff 65%);
}
.bundle-hero.compact { padding-bottom: 10px; }
.bundle-hero h1 {
    color: #1d4967;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.15;
    margin: 0;
    text-transform: uppercase;
}
.bundle-hero p { color: #436070; font-size: 18px; margin: 0; }

.bundle-card-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px 0 48px;
}

.bundle-plan-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(17,61,90,.16);
    display: flex;
    flex-direction: column;
    min-height: 422px;
    padding: 0 0 22px;
    overflow: hidden;
    position: relative;
}
.bundle-plan-card header {
    background: linear-gradient(180deg, #39779b 0%, #2d688d 100%);
    color: #fff;
    min-height: 66px;
    padding: 19px 12px 14px;
    position: relative;
    text-align: center;
}
.bundle-plan-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}
.bundle-badge, .bundle-saving {
    display: inline-block;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
}
.bundle-badge {
    background: #15952e;
    bottom: -18px;
    left: 50%;
    margin: 0;
    padding: 7px 14px;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 13px;
    z-index: 2;
}
.bundle-plan-card.recommended { border: 2px solid #2f6d94; padding-bottom: 20px; }
.bundle-plan-card.recommended header { padding-top: 17px; }
.bundle-price {
    font-size: 20px;
    color: #111;
    line-height: 1.1;
    padding: 34px 16px 8px;
    text-align: center;
}
.bundle-price strong { font-size: 36px; font-weight: 800; }
.bundle-price span { font-size: 18px; font-weight: 500; }
.bundle-saving {
    background: linear-gradient(180deg, #5ec06c 0%, #49ab58 100%);
    align-self: center;
    margin: 0 auto 10px;
    padding: 7px 15px;
    font-size: 14px;
}
.bundle-copy {
    margin: 15px 0 0;
    min-height: 102px;
    padding: 0 25px;
    font-size: 16px;
    line-height: 1.45;
    position: relative;
}
.bundle-copy:before { content: '\25E6'; left: 13px; position: absolute; }

.bundle-resume-link { padding-bottom: 12px; text-align: center; }
.bundle-resume-link a { font-size: 30px !important; }

.bundle-dashboard-group { margin: 0 auto 40px; max-width: 1100px; }
.portal-subscriptions-page .portal-subscriptions-lead,
.portal-subscriptions-page .portal-subscriptions-shop-cta { display: none; }
.portal-subscriptions-page .main-page-tittle { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; }
.bundle-dashboard-trial-pill { background: #2f6d94; border-radius: 999px; color: #fff; display: inline-block; font-size: 18px; font-weight: 500; padding: 9px 17px; vertical-align: middle; }
.bundle-dashboard-card { background: #fff; border: 2px solid #2b5c8f; border-radius: 14px; box-shadow: 0 8px 30px rgba(30, 70, 100, .18); margin-bottom: 28px; overflow: hidden; }
.bundle-dashboard-header { align-items: center; background: linear-gradient(135deg, #3a7aaa 0%, #2b5c8f 100%); color: #fff; display: flex; gap: 18px; justify-content: space-between; padding: 16px 20px; }
.bundle-dashboard-title { font-size: 26px; line-height: 1.2; }
.bundle-dashboard-title strong { font-weight: 800; }
.bundle-dashboard-status { background: rgba(255, 255, 255, .2); border-radius: 999px; font-size: 16px; font-weight: 500; padding: 8px 16px; white-space: nowrap; }
.bundle-dashboard-meta { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; padding: 14px 20px 10px; }
.bundle-dashboard-meta strong { color: #1d4967; font-size: 19px; }
.bundle-dashboard-meta span { color: #6f8798; font-size: 14px; }

/* Slots — horizontal 5-column grid */
.bundle-dashboard-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 8px 20px 20px; }

/* Individual pest card — flex column: image area + action area */
.bundle-dashboard-slot { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(30, 70, 100, .14); overflow: hidden; border: 1px solid #e2e8f0; }

/* Pest image — tall, fills the card width */
.bundle-dashboard-slot img { width: 100%; height: 180px; object-fit: cover; display: block; flex-shrink: 0; background: #f0f0f0; }

/* Green name overlay — anchored at bottom of IMAGE, not the card */
.bundle-dashboard-slot-name { position: absolute; bottom: 0; left: 0; right: 0; background: #4ca166; color: #fff; text-align: center; padding: 8px 6px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px; }
.bundle-dashboard-slot-name span { display: none !important; }
.bundle-dashboard-slot-name strong { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; }

/* Replace pest icon — top-right overlay on card */
.bundle-slot-replace-icon { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background-color: rgba(255, 255, 255, .85); border: 2px solid rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; text-decoration: none !important; transition: all .2s; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.bundle-slot-replace-icon::before { content: ''; display: block; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%232d688d' d='M129.9 292.5C143.2 199.5 223.3 128 320 128C373 128 421 149.5 455.8 184.2C456 184.4 456.2 184.6 456.4 184.8L464 192L416.1 192C398.4 192 384.1 206.3 384.1 224C384.1 241.7 398.4 256 416.1 256L544.1 256C561.8 256 576.1 241.7 576.1 224L576.1 96C576.1 78.3 561.8 64 544.1 64C526.4 64 512.1 78.3 512.1 96L512.1 149.4L500.8 138.7C454.5 92.6 390.5 64 320 64C191 64 84.3 159.4 66.6 283.5C64.1 301 76.2 317.2 93.7 319.7C111.2 322.2 127.4 310 129.9 292.6zM573.4 356.5C575.9 339 563.7 322.8 546.3 320.3C528.9 317.8 512.6 330 510.1 347.4C496.8 440.4 416.7 511.9 320 511.9C267 511.9 219 490.4 184.2 455.7C184 455.5 183.8 455.3 183.6 455.1L176 447.9L223.9 447.9C241.6 447.9 255.9 433.6 255.9 415.9C255.9 398.2 241.6 383.9 223.9 383.9L96 384C87.5 384 79.3 387.4 73.3 393.5C67.3 399.6 63.9 407.7 64 416.3L65 543.3C65.1 561 79.6 575.2 97.3 575C115 574.8 129.2 560.4 129 542.7L128.6 491.2L139.3 501.3C185.6 547.4 249.5 576 320 576C449 576 555.7 480.6 573.4 356.5z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center; }
.bundle-slot-replace-icon:hover { background-color: #2d688d; border-color: #2d688d; transform: scale(1.1); }
.bundle-slot-replace-icon:hover::before { filter: brightness(0) invert(1); }
.bundle-slot-replace-icon i { display: none !important; }

.bundle-slot-lock-icon { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background-color: rgba(200, 200, 200, .85); border: 2px solid rgba(0, 0, 0, .2); display: flex; align-items: center; justify-content: center; cursor: not-allowed; }
.bundle-slot-lock-icon i { color: #666; font-size: 14px; }

/* Pricing summary */
.bundle-dashboard-pricing { border-top: 1px solid #e8ecf0; margin: 0 16px; padding: 16px 0 12px; }
.bundle-pricing-grid { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 6px 0; }
.bundle-pricing-cell { display: flex; align-items: baseline; gap: 8px; flex: 1; }
.bundle-pricing-cell-left { justify-content: flex-start; }
.bundle-pricing-cell-right { justify-content: flex-end; text-align: right; }
.bundle-pricing-label { color: #1d3340; font-size: 15px; font-weight: 500; white-space: nowrap; }
.bundle-pricing-value { color: #1d3340; font-size: 15px; }
.bundle-pricing-value del { color: #888; margin-right: 4px; }
.bundle-pricing-bold { font-size: 18px; font-weight: 700; color: #1d3340; }
.bundle-pricing-badge { background: #4ca166; border-radius: 6px; color: #fff; display: inline-block; font-size: 15px; font-weight: 700; padding: 6px 14px; white-space: nowrap; }

/* Bottom note / alert box */
.bundle-dashboard-note { background: #eef7fc; border: 1px solid #b3d9ee; border-left: 4px solid #f0ad4e; border-radius: 8px; color: #1d3340; font-size: 14px; line-height: 1.5; margin: 16px 16px 12px; padding: 14px 16px 14px 40px; position: relative; }
.bundle-dashboard-note::before { content: '\26A0'; position: absolute; left: 14px; top: 14px; font-size: 18px; color: #f0ad4e; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .bsel-layout {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 991px) {
    .bsel-layout {
        grid-template-columns: 1fr;
    }
    .bsel-sidebar {
        position: static;
        order: -1;
    }
    .bundle-card-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .bsel-cat-card {
        grid-template-columns: 140px 1fr auto;
    }
    .bsel-cat-img-wrap { height: 110px; }
    .bsel-cat-img-wrap img { height: 110px; }
    .bsel-cat-info { padding: 18px 22px; }
    .bsel-cat-name { font-size: 22px; }
    .bsel-cat-common { font-size: 16px; }
    .bsel-cat-crops { font-size: 15px; }
    .bsel-cat-btn { padding: 12px 24px; font-size: 18px; margin: 0 18px; }
    .bsel-catalog-heading { font-size: 24px !important; }
    .bundle-dashboard-slots { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .bundle-dashboard-slot img { height: 140px; }
    .bundle-dashboard-slot-name { bottom: 40px; }
    .bundle-dashboard-slot-action { min-height: 40px; }
    .bundle-dashboard-slot-name strong { font-size: 12px; }

    /* Search meta — allow two-line wrap on tablet */
    .bsel-search-meta {
        flex-wrap: wrap;
        gap: 8px 14px;
    }
    .bsel-no-find {
        font-size: 14px !important;
        white-space: normal !important;
        flex-wrap: wrap;
        gap: 6px 0;
    }
    .bsel-catalog-link {
        font-size: 14px !important;
        padding: 6px 16px;
    }
    .bsel-crop-filter {
        width: 100%;
        flex-wrap: wrap;
    }
    .bsel-crop-filter-label::before {
        font-size: 14px !important;
    }
    .bsel-crop-tag {
        font-size: 14px !important;
    }
    .bsel-crop-tag + .bsel-crop-tag::before {
        margin: 0 6px;
    }
}

@media (max-width: 767px) {
    .bsel-hero-title { font-size: 22px; }
    .bsel-cat-card {
        grid-template-columns: 100px 1fr;
    }
    .bsel-cat-info { padding: 14px 16px; }
    .bsel-cat-name { font-size: 19px; }
    .bsel-cat-common { font-size: 14px; }
    .bsel-cat-crops { font-size: 14px; }
    .bsel-cat-btn {
        grid-column: 1 / -1;
        margin: 0 14px 14px;
        justify-content: center;
        padding: 10px 20px;
        font-size: 16px;
    }
    .bsel-cat-img-wrap { height: 80px; }
    .bsel-cat-img-wrap img { height: 80px; }

    /* Search meta — stack vertically on mobile */
    .bsel-search-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
    }
    .bsel-no-find {
        font-size: 13px !important;
        white-space: normal !important;
        flex-wrap: wrap;
        gap: 6px 0;
    }
    .bsel-catalog-link {
        margin-left: 0 !important;
        font-size: 13px !important;
        padding: 6px 14px;
    }
    .bsel-crop-filter {
        width: 100%;
        flex-wrap: wrap;
    }
    .bsel-crop-filter > span {
        font-size: 0 !important;
        margin-right: 4px;
    }
    .bsel-crop-filter-label::before {
        font-size: 13px !important;
    }
    .bsel-crop-tag {
        font-size: 13px !important;
        padding: 2px 0;
    }
    .bsel-crop-tag + .bsel-crop-tag::before {
        margin: 0 5px;
    }

    /* Search label */
    .bsel-search-label {
        font-size: 22px !important;
    }
    .bsel-catalog-heading { font-size: 22px !important; }

    /* Cart panel — scale down for mobile */
    .bsel-cart-panel-header {
        font-size: 20px;
        padding: 14px 18px;
    }
    .bsel-cart-panel-header i { font-size: 20px; }
    .bsel-cart-body {
        padding: 14px 16px 12px;
    }
    .bsel-slot-pill {
        min-width: 0;
        min-height: 60px;
        padding: 10px 14px;
        flex: 1 1 calc(50% - 10px);
        max-width: none;
        border-radius: 12px;
    }
    .bsel-slot-label { font-size: 13px; }
    .bsel-slot-pest { font-size: 14px; gap: 4px; }
    .bsel-cart-msg { font-size: 18px; }
    .bsel-continue-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .bsel-cart-footer {
        flex-direction: column;
        gap: 14px;
    }

    .bundle-hero h1 { font-size: 29px; }
    .bundle-resume-link a { font-size: 23px !important; }
    .bundle-card-grid { padding-left: 15px; padding-right: 15px; }
    .bundle-dashboard-header,
    .bundle-dashboard-meta { align-items: flex-start; flex-direction: column; }
    .bundle-dashboard-title { font-size: 20px !important; }
    .bundle-dashboard-slots { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 6px 14px 14px; }
    .bundle-dashboard-slot img { height: 130px; }
    .bundle-dashboard-slot-name { bottom: 38px; padding: 6px 4px; }
    .bundle-dashboard-slot-name strong { font-size: 11px; }
    .bundle-dashboard-slot-action { min-height: 38px; padding: 6px 4px; }
    .bundle-dashboard-replace { font-size: 12px; padding: 6px 12px; }
    .bundle-dashboard-pricing { margin: 0 12px; padding: 14px 0 10px; }
    .bundle-pricing-grid { gap: 14px; }
    .bundle-pricing-label { font-size: 14px !important; }
    .bundle-pricing-value { font-size: 14px !important; }
    .bundle-pricing-bold { font-size: 16px !important; }
    .bundle-pricing-badge { font-size: 13px !important; padding: 5px 10px; }
    .bundle-dashboard-note { margin: 12px; padding: 12px 12px 12px 36px; font-size: 13px !important; }
    .bundle-dashboard-note::before { left: 10px; top: 12px; font-size: 16px !important; }
    .bsel-slot-label strong,
    .bsel-slot-label span { font-size: 14px; }
}

@media (max-width: 480px) {
    .bsel-no-find {
        font-size: 12px !important;
    }
    .bsel-catalog-link {
        width: 100%;
        text-align: center;
        padding: 8px 12px;
    }
    .bundle-dashboard-slots { grid-template-columns: 1fr; gap: 12px; }
    .bundle-dashboard-slot img { height: 160px; }
    .bundle-dashboard-slot-name { bottom: 42px; }
    .bundle-dashboard-slot-action { min-height: 42px; }
    .bundle-dashboard-slot-name strong { font-size: 13px; }
    .bundle-dashboard-header { flex-direction: column; gap: 10px; padding: 14px 16px; }
    .bundle-dashboard-status { align-self: flex-start; }
    .bundle-pricing-grid { flex-direction: column; gap: 6px; }
    .bundle-pricing-cell-right { justify-content: flex-start; text-align: left; }
}

/* ============================================================
   RESPONSIVE – Portal Subscriptions page (overwrites above)
   ============================================================ */

/* ============================================================
   GLOBAL OVERRIDES – beat main-styles.css `a { color: #826718 !important }`
   ============================================================ */
.bsel-no-find,
.bsel-no-find * {
    color: #1a1a1a !important;
}
.bsel-no-find::before {
    color: #1a1a1a !important;
}
.bsel-catalog-link,
.bsel-catalog-link:visited {
    color: #2d688d !important;
    text-decoration: none !important;
}
.bsel-catalog-link:hover,
.bsel-catalog-link:active {
    background: #2d688d !important;
    color: #fff !important;
    border-color: #2d688d !important;
    text-decoration: none !important;
}
.bsel-crop-tag,
.bsel-crop-tag:hover,
.bsel-crop-tag:visited,
.bsel-crop-tag:active,
.bsel-crop-tag.active {
    color: #2d688d !important;
    text-decoration: underline !important;
}
.bsel-crop-tag:hover,
.bsel-crop-tag.active {
    color: #1a4a60 !important;
}
.bsel-crop-filter > span {
    color: #1a1a1a !important;
    font-size: 0 !important;
}
.bsel-crop-filter-label::before {
    font-size: 15px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}
.bsel-search-label {
    font-size: 28px !important;
}
.bsel-search-label i {
    display: none !important;
}
.bundle-dashboard-replace,
.bundle-dashboard-replace:visited,
.bundle-dashboard-replace:hover,
.bundle-dashboard-replace:active {
    color: #fff !important;
}

/* ============================================================
   SS2 MY DASHBOARD REDESIGN STYLES
   ============================================================ */
.portal-subscriptions-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #0b4c5f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-family: 'Oswald', 'Inter', sans-serif;
}

.bundle-slots-container {
    border: 1px solid #cce2f0;
    border-radius: 8px;
    padding: 14px;
    background: #f7fbfe;
    margin: 20px;
}

.bundle-dashboard-slots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.bundle-dashboard-slot {
    position: relative;
    flex: 0 1 calc(20% - 10px);
    min-width: 0;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30, 70, 100, 0.12);
    overflow: hidden;
    border: 1px solid #d2e4f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bundle-dashboard-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 70, 100, 0.18);
}

.bundle-dashboard-slot img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}

.bundle-dashboard-slot-name {
    background: #1ca369;
    color: #fff;
    text-align: center;
    padding: 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.bundle-dashboard-slot-name strong {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.25;
}

/* Header style override */
.bundle-dashboard-header {
    background: #0f5978 !important;
    padding: 16px 20px !important;
}

.bundle-dashboard-title {
    font-size: 26px !important;
    font-weight: 700;
    font-family: 'Oswald', 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
}

/* Pricing Grid Styles */
.bundle-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.bundle-pricing-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    color: #000;
    font-weight: 500;
    flex-wrap: wrap;
}

.bundle-pricing-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    color: #000;
    font-weight: 500;
}

.pricing-label {
    color: #000;
    font-weight: 500;
    font-size: 24px;
    white-space: nowrap;
}

.pricing-value-del del {
    color: #e53e3e;
    text-decoration: line-through;
    text-decoration-color: #e53e3e;
    margin-right: 4px;
    font-weight: 700;
    font-size: 24px;
    white-space: nowrap;
}

.pricing-value-math {
    color: #555;
    font-size: 22px;
    white-space: nowrap;
}

.pricing-label-bold {
    font-weight: 750;
    color: #000;
    font-size: 24px;
    white-space: nowrap;
}

.pricing-value-bold {
    font-weight: 850;
    color: #000;
    font-size: 26px;
    white-space: nowrap;
}

.pricing-badge-green {
    background-color: #1ca369;
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 750;
    font-size: 22px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Note style override */
.bundle-dashboard-note {
    background: #eef7fc !important;
    border: 1px solid #b3d9ee !important;
    border-left: 5px solid #f0ad4e !important;
    border-radius: 8px !important;
    color: #1d3340 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin: 20px !important;
    padding: 16px 20px 16px 50px !important;
    position: relative !important;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
}

.bundle-dashboard-note::before {
    content: '\26A0' !important;
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;
    font-size: 22px !important;
    color: #f0ad4e !important;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .portal-subscriptions-main-title {
        font-size: 26px;
    }
    .bundle-dashboard-title {
        font-size: 22px !important;
    }
    .bundle-pricing-left, .bundle-pricing-right, .pricing-label {
        font-size: 20px !important;
    }
    .pricing-value-del del {
        font-size: 20px !important;
    }
    .pricing-value-math {
        font-size: 18px !important;
    }
    .pricing-label-bold {
        font-size: 20px !important;
    }
    .pricing-value-bold {
        font-size: 22px !important;
    }
    .pricing-badge-green {
        font-size: 18px !important;
        padding: 6px 18px;
    }
    .bundle-dashboard-note {
        font-size: 16px !important;
        padding-left: 45px !important;
    }
    .bundle-dashboard-note::before {
        left: 15px !important;
        font-size: 19px !important;
        top: 12px !important;
    }
}

@media (max-width: 991px) {
    .portal-subscriptions-main-title {
        font-size: 29px;
    }
    .portal-subscriptions-page .main-page-tittle {
        margin-bottom: 6px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-top {
        padding: 10px 0 !important;
    }
    .portal-subscriptions-page .top-bar.portal-subscriptions-top {
        height: auto !important;
        min-height: 80px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-header-row {
        gap: 10px !important;
    }
    .bundle-dashboard-slots {
        flex-wrap: wrap;
        gap: 10px;
    }
    .bundle-dashboard-slot {
        flex: 0 1 calc(33.333% - 10px);
        max-width: 180px;
    }
    .bundle-pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }
    .bundle-pricing-left, .bundle-pricing-right {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        font-size: 18px;
    }
    .pricing-label, .pricing-value-del del, .pricing-value-math, .pricing-label-bold, .pricing-value-bold {
        font-size: 18px !important;
    }
    .pricing-badge-green {
        font-size: 16px !important;
        padding: 6px 16px;
    }
}

@media (max-width: 767px) {
    .portal-subscriptions-main-title {
        font-size: 23px;
    }
    .portal-subscriptions-page .main-page-tittle {
        margin-bottom: 4px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-top {
        padding: 8px 0 !important;
    }
    .portal-subscriptions-page .top-bar.portal-subscriptions-top {
        height: auto !important;
        min-height: 70px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-header-row {
        gap: 8px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-lead,
    .portal-subscriptions-page .portal-subscriptions-shop-cta {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    .bundle-dashboard-card {
        margin-bottom: 16px !important;
    }
    .bundle-dashboard-title {
        font-size: 22px !important;
    }
    .bundle-dashboard-slot {
        flex: 0 1 calc(50% - 10px);
        max-width: 160px;
    }
    .bundle-dashboard-pricing {
        margin: 0 12px !important;
        padding: 14px 0 10px !important;
    }
    .bundle-pricing-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .pricing-label, .pricing-value-del del, .pricing-value-math, .pricing-label-bold, .pricing-value-bold {
        font-size: 20px !important;
    }
    .pricing-badge-green {
        font-size: 18px !important;
        padding: 6px 16px;
    }
    .bundle-dashboard-note {
        font-size: 15px !important;
        padding-left: 36px !important;
    }
    .bundle-dashboard-note::before {
        left: 12px !important;
        font-size: 16px !important;
        top: 10px !important;
    }
}

@media (max-width: 480px) {
    .portal-subscriptions-main-title {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
    .portal-subscriptions-page .main-page-tittle {
        margin-bottom: 1px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-top {
        padding: 1px 0 !important;
        min-height: 0 !important;
    }
    .portal-subscriptions-page .top-bar.portal-subscriptions-top {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        height: auto !important;
        min-height: 50px !important;
    }
    .portal-subscriptions-page .fc-top-bar-main .table-cell {
        vertical-align: middle !important;
    }
    .portal-subscriptions-page .portal-subscriptions-header-row {
        gap: 2px !important;
    }
    .portal-subscriptions-page .portal-subscriptions-lead,
    .portal-subscriptions-page .portal-subscriptions-shop-cta {
        font-size: 12px !important;
        margin-bottom: 1px !important;
    }
    .bundle-dashboard-card {
        margin-bottom: 8px !important;
    }
    .bundle-dashboard-title {
        font-size: 18px !important;
    }
    .bundle-dashboard-slot {
        flex: 0 1 100%;
        max-width: 280px;
    }
    .bundle-dashboard-pricing {
        margin: 0 10px !important;
        padding: 12px 0 8px !important;
    }
    .bundle-pricing-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .pricing-label, .pricing-value-del del, .pricing-value-math, .pricing-label-bold, .pricing-value-bold {
        font-size: 18px !important;
    }
    .pricing-badge-green {
        font-size: 16px !important;
        padding: 5px 12px;
    }
    .bundle-pricing-right {
        align-self: flex-start;
    }
}

/* =====================================================
   CATALOG PAGINATION
   ===================================================== */
.bsel-pagination {
    padding: 24px 0 0;
}

.bsel-page-nav {
    display: flex;
    justify-content: center;
}

.bsel-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    align-items: center;
}

.bsel-page-item {
    display: inline-flex;
}

.bsel-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    background: #fff;
    color: #3c5a73;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.bsel-page-link:hover {
    background: #3b80a8;
    color: #fff;
    border-color: #3b80a8;
}

.bsel-page-item.active .bsel-page-link {
    background: #3b80a8;
    color: #fff !important;
    border-color: #3b80a8;
}

.bsel-page-item.disabled {
    pointer-events: none;
}

.bsel-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #999;
    font-size: 16px;
}

@media (max-width: 767px) {
    .bsel-page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
}

