/* =====================================================================
   HBR Shop – Modern e-commerce redesign (giữ nhận diện HBR)
   Dùng chung cho: /sach, chi tiết sách, /cart/index, /order/complete, /order/track
   Scope dưới .hbr-shop để không ảnh hưởng các trang khác.
   ===================================================================== */
.hbr-shop {
    --navy: #00285a;
    --navy-dark: #0f2a51;
    --navy-soft: #2c6ab8;
    --red: #a61a1f;
    --red-dark: #7c1317;
    --ink: #1f2a37;
    --muted: #6b7280;
    --line: #e6eaf0;
    --bg: #f5f7fa;
    --card: #ffffff;
    --ok: #16a34a;
    --warn: #d97706;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 6px 24px rgba(15, 42, 81, .08);
    --shadow-hover: 0 16px 40px rgba(15, 42, 81, .16);
    --grad-navy: linear-gradient(135deg, #2c6ab8 0%, #00285a 100%);
    --grad-red: linear-gradient(90deg, #cf2027 0%, #7c1317 100%);
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-family-Inter-Regular, "Inter", system-ui, sans-serif);
}

.hbr-shop *,
.hbr-shop *::before,
.hbr-shop *::after { box-sizing: border-box; }

/* ---------- Hero / breadcrumb ---------- */
.hbr-hero {
    position: relative;
    background: var(--grad-navy);
    color: #fff;
    padding: 40px 0 46px;
    overflow: hidden;
}
.hbr-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
}
.hbr-hero .container { position: relative; z-index: 1; }
.hbr-hero__title {
    font-family: var(--font-family-Inter-Bold, "Inter", sans-serif);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0;
    letter-spacing: .3px;
}
.hbr-hero__sub { margin: 8px 0 0; opacity: .85; font-size: 1rem; }
.hbr-breadcrumb {
    font-size: .9rem;
    margin-top: 14px;
}
.hbr-breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.hbr-breadcrumb a:hover { color: #fff; }
.hbr-breadcrumb .breadcrumb,
.hbr-breadcrumb nav { margin: 0; padding: 0; background: transparent; }
.hbr-breadcrumb .breadcrumb-item,
.hbr-breadcrumb li { color: rgba(255, 255, 255, .9); }

/* ---------- Banner title: giảm cỡ chữ cho hợp (override common.css 128px) ---------- */
.hbr-shop .banner p,
.hbr-shop .banner p.title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1.15;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    padding: 0 16px;
    margin: 0;
}

/* ---------- Breadcrumb bar (dưới banner ảnh) ---------- */
.hbr-breadbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    font-size: .9rem;
}
.hbr-breadbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hbr-breadbar__crumb { flex: 1; min-width: 0; }
.hbr-breadbar .breadcrumb,
.hbr-breadbar nav { margin: 0; padding: 0; background: transparent; }
.hbr-breadbar a { color: var(--navy-soft); text-decoration: none; }
.hbr-breadbar a:hover { color: var(--navy); }

/* ---------- Section + container helpers ---------- */
.hbr-shop .hbr-wrap { padding: 34px 0 56px; }
.hbr-section-title {
    font-family: var(--font-family-Inter-Bold, "Inter", sans-serif);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0 0 18px;
    position: relative;
    padding-left: 14px;
}
.hbr-section-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 22px;
    border-radius: 4px;
    background: var(--grad-red);
}

/* ---------- Buttons ---------- */
.hbr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 11px 20px;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
}
.hbr-btn:active { transform: translateY(1px); }
.hbr-btn--primary { background: var(--grad-red); color: #fff; }
.hbr-btn--primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(166, 26, 31, .3); }
.hbr-btn--navy { background: var(--grad-navy); color: #fff; }
.hbr-btn--navy:hover { color: #fff; box-shadow: 0 10px 24px rgba(0, 40, 90, .28); }
.hbr-btn--ghost {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--line);
}
.hbr-btn--ghost:hover { border-color: var(--navy-soft); color: var(--navy); }
.hbr-btn--block { width: 100%; }
.hbr-btn--lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- Price block + sale badge ---------- */
.hbr-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hbr-price__now {
    font-family: var(--font-family-Barlow-Bold, "Inter", sans-serif);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--red);
}
.hbr-price__old {
    font-size: .95rem;
    color: var(--muted);
    text-decoration: line-through;
}
.hbr-badge-sale {
    display: inline-block;
    background: var(--grad-red);
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    padding: 3px 8px;
    border-radius: 7px;
}

/* =====================================================================
   1) DANH SÁCH SÁCH  (.hbr-shop--listing)  +  carousel "sách liên quan"
   ===================================================================== */
.hbr-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}
.hbr-toolbar__count { color: var(--muted); font-size: .92rem; }
.hbr-toolbar__count b { color: var(--navy); }
.hbr-toolbar__controls { display: flex; gap: 10px; flex-wrap: wrap; }
.hbr-field {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 9px 13px;
    font-size: .92rem;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hbr-field:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(44, 106, 184, .12); }
.hbr-search { display: flex; }
.hbr-search .hbr-field { border-radius: 10px 0 0 10px; min-width: 200px; }
.hbr-search button {
    border: 0;
    background: var(--grad-navy);
    color: #fff;
    padding: 0 16px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

/* chips danh mục */
.hbr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hbr-chip {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}
.hbr-chip:hover { border-color: var(--navy-soft); color: var(--navy); }
.hbr-chip.is-active { background: var(--grad-navy); color: #fff; border-color: transparent; }

/* grid + card */
.hbr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.hbr-book-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
}
.hbr-book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.hbr-book-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #eef2f7;
    overflow: hidden;
}
.hbr-book-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform .35s ease;
}
.hbr-book-card:hover .hbr-book-card__media img { transform: scale(1.05); }
.hbr-book-card__media .hbr-badge-sale { position: absolute; top: 10px; left: 10px; }
.hbr-book-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hbr-book-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.hbr-book-card__title a { color: var(--navy); text-decoration: none; }
.hbr-book-card__title a:hover { color: var(--navy-soft); }
.hbr-book-card__author { font-size: .82rem; color: var(--muted); margin: 0; }
.hbr-book-card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.hbr-book-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hbr-book-card__actions .hbr-btn { padding: 10px 8px; font-size: .85rem; }

/* empty state */
.hbr-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--card);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.hbr-empty__icon { font-size: 3rem; color: #cbd5e1; margin-bottom: 12px; }
.hbr-empty h4 { color: var(--navy); font-weight: 700; }
.hbr-empty p { color: var(--muted); margin-bottom: 18px; }

/* pagination */
.hbr-shop .pagination { gap: 6px; }
.hbr-shop .pagination .page-link,
.hbr-shop .pagination span,
.hbr-shop .pagination a {
    border-radius: 9px !important;
    border: 1px solid var(--line);
    color: var(--navy);
    min-width: 40px;
    text-align: center;
}
.hbr-shop .pagination .active .page-link,
.hbr-shop .pagination .active span {
    background: var(--grad-navy);
    border-color: transparent;
    color: #fff;
}

/* =====================================================================
   2) CHI TIẾT SÁCH  (.hbr-shop--detail)
   ===================================================================== */
.hbr-pd {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 36px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.hbr-pd__gallery { position: sticky; top: 90px; align-self: start; }
.hbr-pd__main {
    background: #eef2f7;
    border-radius: var(--radius-sm);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hbr-pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.hbr-pd__thumbs { margin-top: 14px; }
.hbr-pd__thumbs .owl-item img,
.hbr-pd__thumbs img {
    border: 1.5px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    background: #fff;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    padding: 6px;
}
.hbr-pd__title {
    font-family: var(--font-family-Inter-Bold, "Inter", sans-serif);
    font-weight: 800;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 12px;
}
.hbr-pd__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.hbr-pd__meta b { color: var(--ink); }
.hbr-pd__pricebox {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 20px;
}
.hbr-pd__pricebox .hbr-price__now { font-size: 1.9rem; }
.hbr-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.hbr-qty button {
    border: 0;
    background: #fff;
    width: 40px; height: 42px;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
}
.hbr-qty button:hover { background: var(--bg); }
.hbr-qty input {
    width: 54px; height: 42px;
    border: 0;
    border-left: 1.5px solid var(--line);
    border-right: 1.5px solid var(--line);
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}
.hbr-qty input::-webkit-outer-spin-button,
.hbr-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hbr-pd__buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.hbr-pd__buy .hbr-qty-row { display: flex; align-items: center; gap: 10px; }
.hbr-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.hbr-trust__item { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.hbr-trust__item i { color: var(--ok); font-size: 1.1rem; }
.hbr-author {
    margin-top: 22px;
    background: linear-gradient(180deg, #eef5ff, #ffffff);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
}
.hbr-author h4 { color: var(--navy); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; margin: 0 0 10px; }
.hbr-author p { color: var(--ink); font-size: .92rem; margin: 0; }

.hbr-pd-detail {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    margin-top: 26px;
}
.hbr-pd-detail .hbr-pd-detail__body { line-height: 1.75; color: var(--ink); }
.hbr-pd-detail .hbr-pd-detail__body img { max-width: 100%; height: auto; border-radius: 8px; }

/* sticky buy bar (mobile) */
.hbr-buybar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1030;
    display: none;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 42, 81, .12);
}
.hbr-buybar .hbr-btn { flex: 1; }

/* =====================================================================
   3) GIỎ HÀNG  (.hbr-shop--cart)
   ===================================================================== */
.hbr-cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.hbr-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hbr-card__head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    color: var(--navy);
    font-size: 1.05rem;
}
.hbr-card__body { padding: 18px 20px; }

/* cart line (giữ table.table-hover để shop.js tính toán) */
.hbr-cart table.table-hover { margin: 0; }
.hbr-cart table.table-hover > :not(caption) > * > * { background: transparent; }
.hbr-cart-line td { vertical-align: middle !important; border-color: var(--line) !important; padding: 14px 8px; }
.hbr-cart-thumb {
    width: 76px; height: 96px;
    object-fit: contain;
    background: #eef2f7;
    border-radius: 9px;
    padding: 6px;
}
.hbr-cart-line__name { font-weight: 700; color: var(--navy); text-decoration: none; }
.hbr-cart-line__name:hover { color: var(--navy-soft); }
.hbr-cart-line .price, .hbr-cart-line .amount { font-weight: 700; color: var(--ink); white-space: nowrap; }
.hbr-cart-line .amount { color: var(--red); }
.hbr-del {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    background: #fff;
    transition: all .15s ease;
}
.hbr-del:hover { color: var(--red); border-color: var(--red); background: #fff5f5; }
.hbr-del::before { content: "\f2ed"; font-family: "Font Awesome 5 Free"; font-weight: 900; }

/* quantity stepper trong cart */
.hbr-cart-line .quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}
.hbr-cart-line .quantity button {
    border: 0; background: #fff; width: 34px; height: 38px; cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
.hbr-cart-line .quantity button img { width: 12px; height: 12px; }
.hbr-cart-line .quantity button:hover { background: var(--bg); }
.hbr-cart-line .quantity input {
    width: 46px; height: 38px; text-align: center; border: 0;
    border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
    font-weight: 700;
}

/* summary + form (sticky) */
.hbr-summary { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.hbr-summary__rows { width: 100%; }
.hbr-summary__rows tr td { padding: 7px 0; border: 0; }
.hbr-summary__rows tr td:last-child { text-align: right; font-weight: 700; }
.hbr-summary__total td { padding-top: 12px !important; border-top: 1px dashed var(--line) !important; font-size: 1.05rem; }
.hbr-summary__total .total-plus-fee-ship { color: var(--red); font-size: 1.4rem; }
.hbr-summary__words { color: var(--navy-soft); font-style: italic; font-size: .82rem; }

.hbr-pay { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.hbr-pay__opt {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
}
.hbr-pay__opt:has(input:checked) { border-color: var(--navy-soft); background: #f3f8ff; }

.hbr-form-group { margin-bottom: 14px; }
.hbr-form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.hbr-input {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: .92rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    background: #fff;
}
.hbr-input:focus { border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(44, 106, 184, .12); }
.hbr-input.border-danger { border-color: #dc3545 !important; }
.hbr-help { font-size: .78rem; color: var(--muted); }

/* =====================================================================
   4-5) ĐƠN HÀNG: complete + track  (.hbr-shop--order)
   ===================================================================== */
.hbr-success {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 40px 24px 32px;
}
.hbr-success__check {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eafaf0;
    display: flex; align-items: center; justify-content: center;
}
.hbr-success__check i { font-size: 2.4rem; color: var(--ok); }
.hbr-success h2 { color: var(--navy); font-weight: 800; }
.hbr-success__code {
    display: inline-block;
    margin: 10px 0;
    background: var(--grad-navy);
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 1.05rem;
}
.hbr-success p { color: var(--muted); max-width: 620px; margin: 8px auto; }

/* track form */
.hbr-track-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    max-width: 560px;
    margin: 0 auto 26px;
    text-align: center;
}
.hbr-track-form h3 { color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.hbr-track-form .hbr-search { max-width: 420px; margin: 0 auto; }
.hbr-track-form .hbr-field { flex: 1; }

/* timeline trạng thái */
.hbr-timeline {
    display: flex;
    position: relative;
    margin: 8px 0 6px;
    counter-reset: step;
}
.hbr-timeline::before {
    content: "";
    position: absolute;
    top: 19px; left: 0; right: 0;
    height: 3px;
    background: var(--line);
    z-index: 0;
}
.hbr-timeline__step { flex: 1; text-align: center; position: relative; z-index: 1; }
.hbr-timeline__dot {
    width: 40px; height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--line);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.hbr-timeline__label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.hbr-timeline__step.is-done .hbr-timeline__dot { border-color: var(--ok); color: var(--ok); }
.hbr-timeline__step.is-active .hbr-timeline__dot { background: var(--grad-navy); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(0, 40, 90, .25); }
.hbr-timeline__step.is-active .hbr-timeline__label { color: var(--navy); }
.hbr-timeline__step.is-reject .hbr-timeline__dot { background: var(--red); border-color: transparent; color: #fff; }
.hbr-timeline__step.is-reject .hbr-timeline__label { color: var(--red); }

/* order detail card */
.hbr-order-detail { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.hbr-odtable { width: 100%; }
.hbr-odtable th { text-align: left; font-size: .82rem; color: var(--muted); font-weight: 600; padding: 0 8px 10px; border-bottom: 1px solid var(--line); }
.hbr-odtable td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hbr-odtable .hbr-cart-thumb { width: 56px; height: 72px; }
.hbr-odtable__name { font-weight: 600; color: var(--navy); text-decoration: none; }
.hbr-od-info dt { color: var(--muted); font-size: .82rem; font-weight: 600; margin-top: 12px; }
.hbr-od-info dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.hbr-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
}
.hbr-status-badge.s-pending { background: #fff4e5; color: var(--warn); }
.hbr-status-badge.s-confirmed { background: #e8f1ff; color: var(--navy-soft); }
.hbr-status-badge.s-delivery { background: #eef6ff; color: #2563eb; }
.hbr-status-badge.s-success { background: #eafaf0; color: var(--ok); }
.hbr-status-badge.s-reject { background: #fdecec; color: var(--red); }

/* ---------- Icon giỏ hàng + badge số lượng (trên breadbar) ---------- */
.hbr-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--navy);
    text-decoration: none;
    transition: all .15s ease;
}
.hbr-cart-btn:hover { border-color: var(--navy-soft); color: var(--navy); box-shadow: var(--shadow); }
.hbr-cart-btn i { font-size: 1.15rem; }
.hbr-cart-btn .shopping-cart-items {
    position: absolute;
    top: -7px; right: -7px;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--grad-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    display: none;
}
.hbr-cart-btn.has-items .shopping-cart-items { display: block; }
.hbr-cart-btn.is-bump { animation: hbrBump .35s ease; }
@keyframes hbrBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199px) {
    .hbr-grid { grid-template-columns: repeat(3, 1fr); }
    .hbr-pd { grid-template-columns: 380px 1fr; gap: 26px; }
}
@media (max-width: 991px) {
    .hbr-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hbr-pd { grid-template-columns: 1fr; }
    .hbr-pd__gallery { position: static; max-width: 420px; margin: 0 auto; }
    .hbr-cart-grid { grid-template-columns: 1fr; }
    .hbr-summary { position: static; }
    .hbr-order-detail { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .hbr-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hbr-hero { padding: 28px 0 32px; }
    .hbr-book-card__actions { grid-template-columns: 1fr; }
    .hbr-book-card__media img { padding: 8px; }
    .hbr-buybar { display: flex; }
    .hbr-shop--detail { padding-bottom: 76px; }
    .hbr-pd__buy .hbr-btn--block-mb { display: none; }
    .hbr-timeline__label { font-size: .72rem; }
    .hbr-toolbar { flex-direction: column; align-items: stretch; }
    .hbr-search .hbr-field { min-width: 0; }
}
