/* ============================================================
   BARGAIN BOOK HUT — Pixel-Perfect CSS
   Exact colors from design:
     Orange accent:  #C95E1F
     Dark navy:      #283241
     Body text:      #1a1a1a / #3d3d3d
     Muted text:     #6b6b6b
     Light bg:       #f5f5f5
     White:          #ffffff
     Star gold:      #f5a623
     Green badge:    #2d4155 (dark blue-green for Bestseller badge)
============================================================ */

/* ── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.header__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header__logo-img {
    height: 40px;
    width: auto;
}
.header__logo-fallback {
    display: flex;
    align-items: center;
}
.header__logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #c95e1f;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1.1;
}
.header__logo-b {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}
.header__logo-bk {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.header__logo-hu {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Nav */
.header__nav {
    flex: 1;
}
.header__nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}
/*.header__nav-link {
    display: block;
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 400;
    color: #1a1a1a;
    white-space: nowrap;
    line-height: 60px;
    transition: color 0.2s;
}*/
.header__nav-link {
    display: block;
    padding: 0 14px;
    font-size: 0.83rem;
    font-weight: 400;
    color: #ffffff;
    white-space: nowrap;
    line-height: 60px;
    transition: color 0.2s;
}
.header__nav-link:hover {
    color: #c95e1f;
}



.sunburst {
    font-size: 0.7em;
}

/* Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.header__icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #FFF;
    transition: background 0.2s;
}
.header__icon-btn:hover {
    background: #f5f5f5;
}
.header__avatar {
    padding: 0;
    overflow: hidden;
}
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 6px;
}
.header__hamburger span {
    display: block;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: 0.3s;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
}
.breadcrumb__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    /*font-size: 0.78rem;
    color: #6b6b6b;*/
    font-weight: 400;
    font-size: 0.8125rem;
    color: #4a5b6e;
    line-height: 19.5px;
    word-wrap: break-word;
    font-family: "Red Hat Text", sans-serif;
}
.breadcrumb__nav a {
    color: #6b6b6b;
    transition: color 0.2s;
}
.breadcrumb__nav a:hover {
    color: #c95e1f;
}
.badge--outline-green .breadcrumb__nav span {
    color: #1a1a1a;
}
.breadcrumb__current {
    color: #1a1a1a;
    font-weight: 500;
    /*font-size: 0.8229rem; */

    font-size: 0.87rem;
}

/* ── PRODUCT SECTION ────────────────────────────────────────── */
.product {
    padding: 36px 0 40px;
    background: #fff;
}
.product__grid {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 64px;
    align-items: start;
}

/* ── GALLERY ─────────────────────────────────────────────────── */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 88px;
    align-self: start;
}

/* ── Main image + zoom panel wrapper ── */
.gallery__stage {
    position: relative;
}

/* ── Main image frame ── */
.gallery__main-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f1ec;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        0 8px 28px rgba(0, 0, 0, 0.09),
        0 24px 56px rgba(0, 0, 0, 0.07);
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

.gallery__main-wrap img#mainImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* inner glass sheen */
.gallery__main-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 45%
    );
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

/* ── Tracking box (the little square on the image) ── */
.gallery__track-box {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(1px);
    box-shadow:
        0 0 0 1px rgba(201, 94, 31, 0.5),
        0 4px 18px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.gallery__main-wrap.zoom-active .gallery__track-box {
    opacity: 1;
}

/* ── "Hover to zoom" hint pill ── */
.gallery__zoom-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.88);
    font-family: "Inter", sans-serif;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 8;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
    white-space: nowrap;
}
.gallery__main-wrap.zoom-active .gallery__zoom-hint {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
}

/* ── Zoom result panel (floats to the right) ── */
.gallery__zoom-panel {
    position: absolute;
    top: 0;
    left: calc(100% + 18px);
    width: 420px;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f1ec no-repeat center/cover;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 12px 40px rgba(0, 0, 0, 0.13),
        0 32px 72px rgba(0, 0, 0, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.96) translateX(-8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
}

.gallery__zoom-panel.is-visible {
    opacity: 1;
    transform: scale(1) translateX(0);
}

/* ── Thumbnails ── */
.gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 1px 4px;
}
.gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.gallery__thumb {
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: 110px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e8e8e8;
    background: #f4f1ec;
    padding: 0;
    cursor: pointer;
    scroll-snap-align: start;
    outline: none;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery__thumb:hover {
    border-color: rgba(201, 94, 31, 0.55);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(201, 94, 31, 0.18);
}
.gallery__thumb.is-active {
    border-color: #c95e1f;
    box-shadow:
        0 0 0 1.5px #c95e1f,
        0 6px 20px rgba(201, 94, 31, 0.22);
    transform: translateY(-2px);
}
.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}
.gallery__thumb:hover img {
    transform: scale(1.07);
}

/* ── Mobile: hide zoom panel, disable crosshair ── */
@media (max-width: 900px) {
    .gallery {
        position: static;
        gap: 12px;
    }
    .gallery__main-wrap {
        border-radius: 14px;
        cursor: default;
        aspect-ratio: 3 / 4;
    }
    .gallery__zoom-panel {
        display: none;
    }
    .gallery__track-box {
        display: none;
    }
    .gallery__zoom-hint {
        display: none;
    }
    .gallery__thumb {
        flex: 0 0 78px;
        max-width: 78px;
        border-radius: 10px;
    }
}
@media (max-width: 600px) {
    .gallery__main-wrap {
        border-radius: 12px;
    }
    .gallery__thumb {
        flex: 0 0 62px;
        max-width: 62px;
        border-radius: 8px;
    }
}



/* Product Info */
.pinfo__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.badge {
    border :1px solid #DBDBDB;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}


/* Orange filled pill */
.badge--orange {
    /*background: #c95e1f; */
    color: #2A3141;
}
/* Dark navy pill */
.badge--dark {
     /*background: #c95e1f; */
    color: #2A3141;
}
/* Outlined pill */
.badge--outline {
    border: 1.5px solid #c8c8c8;
    color: #4a5b6e;
    background: #fff;
}
/* Green-tinted outlined */
.badge--outline-green {
    border: 1.5px solid #8fa689;
    color: #1f3047;
   /* background: #c5d4bc;*/
}

.pinfo__title {
    /* font-family: "Fraunces", Georgia, serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 8px; */
    color: #1a2b3c;
    font-size: 40px;
    font-family: Piazzolla;
    font-weight: 400;
    line-height: 48.53px;
    word-wrap: break-word;
    
    
    
}

.pinfo__meta {
    font-size: 0.88rem;
    color: #4a5b6e;
    margin-bottom: 16px;
}
.pinfo__author-link {
    color: #c95e1f;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.pinfo__author-link:hover {
    border-color: #c95e1f;
}

/* Goodreads row */
.pinfo__goodreads {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #3d3d3d;
    margin-bottom: 24px;
}
.gr-stars {
    color: #f5a623;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.gr-half {
    opacity: 0.4;
}
.gr-score {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
}
.gr-on {
    color: #9a9a9a;
    font-size: 0.78rem;
}
.gr-logo {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #553b08;
    letter-spacing: -0.01em;
}
.gr-count {
    color: #9a9a9a;
    font-size: 0.78rem;
}

/* Price */
.pinfo__price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}
.pinfo__price {
    font-family: "Piazzolla";
    font-size: 2.4rem;
    font-weight: 700;
    color: #c95e1f;
    line-height: 1;
}
.pinfo__mrp {
    font-size: 1rem;
    color: #9a9a9a;
    text-decoration: line-through;
    font-weight: 400;
}
.pinfo__off-badge {
    background: #c95e1f;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    align-self: center;
}
.pinfo__savings {
    font-size: 0.78rem;
    color: #287243;
    margin-bottom: 16px;
    font-weight: 600;
}

/* Member strip */
.member-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background: #fdf6f0;
    border: 1.5px solid #e8c8a8;*/
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: #3d3d3d;
    margin-bottom: 24px;
    gap: 12px;
}
.member-strip strong {
    color: #c95e1f;
}
.member-strip__cta {
    color: #c95e1f;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.82rem;
    transition: opacity 0.2s;
}
.member-strip__cta:hover {
    opacity: 0.75;
}

/* Format tabs */
.pinfo__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #8a8a8a;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.format-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.format-tab {
    /*flex: 1;*/
    border: 1.5px solid #d8d8d8;
    border-radius: 6px;
    padding: 16px 12px;
    text-align: left;
    cursor: pointer;
    background: #fff;
    transition:
        border-color 0.2s,
        background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.format-tab__name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
   /* margin-bottom: 10px;*/
}
.format-tab__sub {
    font-size: 0.72rem;
    color: #8a8a8a;
}
.format-tab--active {
    /*border-color: #c95e1f;*/
    background: #F7ECE7;
}
.format-tab--active .format-tab__name {
   /* color: #c95e1f;*/
   color :#1A2B3C;
}


.format-tab--muted .format-tab__name {
    color: #ababab;
}
.format-tab--muted .format-tab__sub {
    color: #bbb;
}
.format-tab:hover:not(.format-tab--active) {
    border-color: #aaa;
}

/* Quantity + Add to Bag */
.buy-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #d8d8d8;
    border-radius: 6px;
    overflow: hidden;
}
.qty__btn {
    width: 38px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #3d3d3d;
    transition: background 0.15s;
}
.qty__btn:hover {
    background: #f5f5f5;
}
.qty__val {
    min-width: 36px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-bag {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #c95e1f;
    color: #fff;
    border-radius: 6px;
    height: 44px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        background 0.2s,
        transform 0.15s;
}
.btn-bag:hover {
    background: #a85210;
    transform: translateY(-1px);
}
.btn-bag:active {
    transform: none;
}

.btn-bookmark,
.btn-wish {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1.5px solid #d8d8d8;*/
    border-radius: 6px;
    color: #6b6b6b;
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
    flex-shrink: 0;
}
.btn-bookmark:hover {
    border-color: #c95e1f;
    color: #c95e1f;
    background: #fffbf7;
}
.btn-wish:hover {
    border-color: #e84393;
    color: #e84393;
    background: #fff0f6;
}
.btn-wish.is-wished {
    border-color: #e84393;
    color: #e84393;
}
.btn-wish.is-wished svg {
    fill: #e84393;
    stroke: #e84393;
}

.bulk-note {
    font-size: 0.78rem;
    color: #8a8a8a;
    margin-bottom: 20px;
}
.bulk-note strong {
    color: #4A5B6E;
}
.bulk-note a {
    color: #c95e1f;
    font-weight: 500;
    border-bottom: 1px dotted #c95e1f;
}

/* Delivery perks */
.perks {
    display: flex;
    gap: 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 16px 0;
    margin-bottom: 16px;
}
.perk {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    padding: 0 16px 0 0;
}
.perk + .perk {
    padding-left: 16px;
    border-left: 1px solid #ebebeb;
}
.perk__h {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}
.perk__s {
    font-size: 0.72rem;
    color: #A3A6AC;
    line-height: 1.3;
}

/* Extras */
.extras {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.extra-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f9f9f9;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 16px;
    flex: 1;
    min-width: 180px;
    cursor: pointer;
    text-align: left;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.extra-btn:hover {
    border-color: #c95e1f;
    background: #fffbf7;
}
.extra-btn strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
}
.extra-btn span {
    font-size: 0.72rem;
    color: #8a8a8a;
}
.extra-btn svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #6b6b6b;
}

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.about {
    padding: 64px 0;
    background: #fff;
    border-top: 1px solid #ebebeb;
}
.about__grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    align-items: start;
}
.about__label h4 {
    font-family: "Piazzolla";
    font-size: clamp(28px, 6vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    color: #1a1a1a;
    font-style: normal;
}
.about__body p {
   /* font-size: 0.92rem;
    line-height: 1.8;
    color: #3d3d3d;
    margin-bottom: 14px;*/

    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: #4A5B6E;
    margin-bottom: 14px;
    font-family: "Red Hat Text";
}
.dropcap {
    /*float: left;*/
    font-family: "Piazzolla";
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 0.78;
   /* margin-right: 6px;
    margin-top: 6px;*/
    color: #c95e1f;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.tag {
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #5a5a5a;
    background: #fff;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.tag:hover {
    border-color: #c95e1f;
    color: #c95e1f;
}

/* ── REVIEWS SECTION ────────────────────────────────────────── */
.reviews {
    background: #f5f5f5;
    padding: 64px 0;
}

.reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}
.reviews__title {
    font-family: "Piazzolla";
    font-size: 3rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.reviews__gr-word {
    /*font-style: italic; */
    color: #1a1a1a;
}
.reviews__sub {
    font-size: 0.8rem;
    color: #1B150E;
}
.reviews__all-link {
    font-family: "Red Hat Text";
    font-size: 1rem;
    font-weight: 600;
    color: #c95e1f;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.reviews__all-link:hover {
    opacity: 0.7;
}

.reviews__body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

/* Rating summary box */
.rsum {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 28px;
}
.rsum__big {
    font-family:"Piazzolla";
    font-size: 3.6rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1;
}
.rsum__big span {
    font-size: 1.4rem;
    color: #8a8a8a;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}
.rsum__stars {
    font-size: 1.3rem;
    color: #f5a623;
    margin: 6px 0 4px;
}
.rsum__count {
    font-size: 0.72rem;
    color: #8a8a8a;
    margin-bottom: 16px;
}

.rsum__bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.rbar {
    display: grid;
    grid-template-columns: 28px 1fr 36px;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: #6b6b6b;
}
.rbar__track {
    background: #ebebeb;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}
.rbar__fill {
    height: 100%;
    background: #f5a623;
    border-radius: 3px;
    transition: width 1s ease;
}

/* Review list */
.rlist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rcard {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px 24px;
    transition: box-shadow 0.2s;
}
.rcard:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.rcard__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.rcard__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}
.rcard__meta strong {
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
    font-family: "Red Hat Text";
}
.rcard__stars {
    font-size: 0.75rem;
    color: #f5a623;
    line-height: 1.2;
}
.rcard__date {
    font-size: 0.72rem;
    color: #9a9a9a;
}
.rcard__text {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #4A5B6E;
    font-style: italic;
    margin-bottom: 10px;
    font-family: Fraunces;

}
.rcard__footer {
    display: flex;
    gap: 16px;
    font-size: 0.72rem;
    color: #9a9a9a;
}

/* Mention box */
.mention-box {
    background: #fff;
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    padding: 20px 24px;
}
.mention-box__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #9a9a9a;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mention-box__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mention-box__tags span {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #3d3d3d;
    background: #f9f9f9;
    transition: background 0.2s;
}
.mention-box__tags span:hover {
    background: #fffbf7;
    border-color: #c95e1f;
}
.mention-box__tags strong {
    color: #c95e1f;
    font-weight: 600;
}

/* ── AUTHOR SECTION ─────────────────────────────────────────── */
.author {
    background: #c95e1f;
    padding: 72px 0 0;
    color: #fff;
}

.author__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: start;
    padding-bottom: 52px;
}

.author__photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.author__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #FFB485;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.author__name {
  /*  font-family: "Piazzolla";
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;*/
    
    font-family: "Piazzolla";
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}
.author__tagline {
    font-family: "Red Hat Text", serif;
    /*font-style: italic;*/
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.author__text {
    font-family: "Red Hat Text", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
}

.author__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 28px;
    padding-top: 20px;
}
.astat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 16px;
}
.astat__key {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFB485;
}
.astat__val {
  /*  font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    
   */ 
color: #FFF;
font-feature-settings: 'liga' off, 'clig' off;
/* Card Title 1 */
font-family: Piazzolla;
 font-size: 1.2rem;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 36px */
}




/* More by author */
.more-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}
.book-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 32px;
    scrollbar-width: none;
}
.book-scroll::-webkit-scrollbar {
    display: none;
}
.bk {
    flex-shrink: 0;
    width: 140px;
    cursor: pointer;
}
.bk img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    margin-bottom: 6px;
}
.bk:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.bk p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}
.bk p s {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

/* ── RECOMMENDATIONS ────────────────────────────────────────── */
.reco {
    background: #fff;
    padding: 72px 0;
}
.reco__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}
.reco__title {
    font-family: "Piazzolla", Georgia, serif;
    font-size: 3rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.reco__sub {
    font-size: 0.82rem;
    color: #8a8a8a;
}
.reco__browse {
    font-size: 0.82rem;
    font-weight: 600;
    color: #c95e1f;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.reco__browse:hover {
    opacity: 0.7;
}

/* Reco section — horizontal scroll carousel with fixed card size */
.reco__grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.reco__grid::-webkit-scrollbar {
    display: none;
}

.rbook {
    flex: 0 0 280px; /* fixed card width */
    width: 280px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition:
        box-shadow 0.25s,
        transform 0.25s;
    cursor: pointer;
    padding-bottom: 20px;
}
.rbook:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.13);
    transform: translateY(-5px);
}

.rbook__cover {
    overflow: hidden;
    flex-shrink: 0;
}
.rbook__cover img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.35s ease;
}
.rbook:hover .rbook__cover img {
    transform: scale(1.04);
}

.rbook__title {
    font-family: Piazzolla, Georgia, serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    padding: 14px 14px 4px;
    line-height: 1.35;
    flex: 1;
}
.rbook__author {
    font-size: 0.75rem;
    color: #8a8a8a;
    padding: 4px 14px 8px;
}
.rbook__price {
    font-size: 0.85rem;
    color: #8a8a8a;
    padding: 0 14px 10px;
}
.rbook__price strong {
    color: #c95e1f;
    font-weight: 700;
    margin-right: 6px;
    font-size: 1rem;
}
.rbook__price s {
    font-size: 0.82rem;
}
.rbook__btn {
   /* display: block;
    width: calc(100% - 28px);
    margin: 0 14px 14px;
    background: #c95e1f;
    color: #fff;
    border-radius: 8px;
    padding: 11px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
    border: none;
    cursor: pointer;*/
    
    
        width: 100%;
    padding: 9px 0;
    /* background: #fff; */
    color: #bc580a;
    font-family: "Red Hat Text", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid;
    cursor: pointer;
    letter-spacing: 0.02em;
    margin-top: auto;
    transition: background 0.18s, transform 0.14s;
}
.rbook__btn:hover {
    /*background: #a85210;*/
    
    background: #F7ECE7;
    transform: translateY(-1px);
}

/* ── CAN'T FIND ─────────────────────────────────────────────── */
.cant-find {
    background: #283241;
    padding: 48px 0;
    border-top: 1px solid #ebebeb;
    padding-bottom: 1px;
}
.cant-find__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 2px;
}
.cant-find__title {
    font-family: "Piazzolla", Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
}
.cant-find__sub {
    /* font-size: 0.85rem;
    color: #6b6b6b;
    max-width: 400px; */
    color: white;
    font-size: 1rem;
    font-family: Red Hat Text;
    font-weight: 400;
    line-height: 24px;
    max-width: 327px;
}
.cant-find__cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c95e1f;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.cant-find__cta:hover {
    opacity: 0.7;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: #283241;
    padding: 64px 0 0px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 280px repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer__logo-icon {
    flex-shrink: 0;
}
.footer__logo-name {
    /*font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff; */
    color: white;
    font-size: 32px;
    font-family: Piazzolla;
    font-weight: 400;
    line-height: 38.4px;
    word-wrap: break-word;
}

.footer__desc {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #8a9ab0;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 10px;
}
.footer__social-icon {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #232425;
    background: white;
    transition:
        background 0.2s,
        color 0.2s;
}
.footer__social-icon:hover {
    background: rgba(200, 100, 20, 0.3);
    color: #fff;
}

.footer__col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}
.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__col a {
    font-size: 0.82rem;
    color: #8a9ab0;
    transition: color 0.2s;
}
.footer__col a:hover {
    color: #fff;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .product__grid {
        grid-template-columns: 420px 1fr;
        gap: 48px;
    }
    /* reco is a scroll carousel - no grid override needed */
    .footer__grid {
        grid-template-columns: 220px repeat(3, 1fr);
        gap: 32px;
    }
    .author__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    .header__container {
        padding: 0 24px;
    }
    .header__nav {
        display: none;
    }
    .header__hamburger {
        display: flex;
    }

    .header__nav.is-open {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 199;
    }
    .header__nav.is-open .header__nav-list {
        flex-direction: column;
        padding: 8px 0;
    }
    .header__nav.is-open .header__nav-link {
        line-height: 1;
        padding: 14px 24px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.95rem;
    }

    .product__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reviews__body {
        grid-template-columns: 1fr;
    }
    .rsum {
        max-width: 320px;
    }

    .author__grid {
        grid-template-columns: 1fr;
    }
    .author__photo img {
        max-width: 260px;
        margin: 0 auto;
    }

    /* reco carousel shows all cards via scroll */

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .cant-find__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .product__grid,
    .about__grid {
        gap: 24px;
    }
    .pinfo__title {
        font-size: 1.9rem;
    }
    .format-tabs {
        flex-direction: column;
    }
    .buy-bar {
        flex-wrap: wrap;
    }
    .btn-bag {
        width: 100%;
    }
    .perks {
        flex-direction: column;
        gap: 12px;
    }
    .perk + .perk {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #ebebeb;
        padding-top: 12px;
    }
    /* reco carousel - mobile scrolls naturally */
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .author__stats {
        grid-template-columns: 1fr 1fr;
    }
    .reviews__title {
        font-size: 1.5rem;
    }
}

/* ── REAL LOGO SVG sizing ───────────────────────────────────── */
.header__logo-svg {
    display: flex;
    align-items: center;
}
.header__logo-svg svg {
    width: 44px;
    height: 42px;
    display: block;
}

/* Footer logo SVG */
.footer-svg-wrap {
    display: flex;
    align-items: center;
}
.footer-svg-wrap svg {
    width: 52px;
    height: 50px;
    display: block;
}

/* Avatar in header */
.header__avatar img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border: 2px solid #e8e8e8;
}

.quote {
    color: #c95e1f;
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
}




/* Bag Section */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 99998;
    transition: opacity 0.35s ease;
}

.cart-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 444px;
    height: 100%;
    z-index: 99999;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: transparent;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.cart-drawer.is-active {
    transform: translateX(0);
}

.cart-drawer__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cart-drawer__close-trigger {
    position: absolute;
    left: 12px;
    top: 16px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-color: #FAF7F5;
}

.cart-drawer__close-trigger svg {
    width: 24px;
    height: 24px;
}

.cart-drawer__content-flow {
    position: relative;
    z-index: 5;
    flex: 1;
    margin-left: 55px;
    padding: 33px 24px 140px 24px;
    background-color: #FAF7F5;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.cart-drawer__header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.cart-drawer__title-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cart-drawer__title {
    color: #1B150E;
    font-family: Piazzolla;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.cart-drawer__count {
    color: #1B150E;
    font-family: "Red Hat Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.cart-drawer__wishlist-btn {
    color: #E77E38;
    text-align: right;
    font-family: "Red Hat Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__coins-alert {
    display: flex;
    width: 100%;
    max-width: 352px;
    padding: 20px 12px;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #E9EAED;
    box-sizing: border-box;
    flex-shrink: 0;
}

.cart-drawer__coins-text {
    color: #1B150E;
    font-family: "Red Hat Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.cart-drawer__coins-apply {
    color: #E77E38;
    text-align: right;
    font-family: "Red Hat Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__items-container {
    margin-top: 19px;
    display: flex;
    width: 100%;
    max-width: 352px;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.cart-drawer__items-container::-webkit-scrollbar {
    width: 4px;
}

.cart-drawer__items-container::-webkit-scrollbar-thumb {
    background: #E5E0DB;
    border-radius: 4px;
}

.cart-drawer__item {
    display: flex;
    padding: 12px;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 12px;
    background: #FAF9F8;
    box-shadow: 4px 4px 6px 0 rgba(227, 225, 224, 0.70);
    gap: 12px;
    box-sizing: border-box;
}

.cart-drawer__item-cover {
    width: 76px;
    height: 104px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cart-drawer__item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer__item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-drawer__item-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.cart-drawer__item-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cart-drawer__item-title {
    color: #1B150E;
    font-family: Piazzolla, serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

.cart-drawer__item-author {
    color: #1B150E;
    font-family: "Red Hat Text", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    margin-top: 4px;
}

.cart-drawer__item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-drawer__qty-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-drawer__qty-lbl {
    color: #1B150E;
    font-family: "Red Hat Text", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.cart-drawer__qty-dropdown {
    border: none;
    background: transparent;
    color: #1B150E;
    font-family: "Red Hat Text", sans-serif;
    font-size: 12px;
    font-weight: 400;
    outline: none;
    cursor: pointer;
    padding-right: 4px;
    appearance: none;
}

.cart-drawer__item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
}

.cart-drawer__item-bottom-row {
    display: flex;
    align-items: center;
    margin-top: 12px;
    width: 100%;
}

.cart-drawer__item-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cart-drawer__price-current {
    color: #BC580A;
    font-family: "Red Hat Text", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__price-original {
    color: #636363;
    font-family: "Red Hat Text", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: line-through;
    line-height: 150%;
}

.cart-drawer__price-details {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 24px;
    flex-shrink: 0;
}

.cart-drawer__details-title {
    max-width: 160px;
    color: #1B150E;
    font-family: Piazzolla;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 11px;
}

.cart-drawer__price-row {
    display: flex;
    justify-content: space-between;
    font-family: "Red Hat Text", sans-serif;
    font-size: 14px;
    color: #1B150E;
    margin-bottom: 12px;
    gap: 32px;
}

.cart-drawer__price-row span {
    max-width: 160px;
    color: #1B150E;
    text-align: right;
    font-family: "Red Hat Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.cart-drawer__price-row span:first-child {
    text-align: left;
}

.cart-drawer__price-row span:last-child {
    text-align: right;
}

#summaryFinalTotal {
    color: #1B150E;
    text-align: right;
    font-family: "Red Hat Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__sticky-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: #FAF7F5;
    flex-shrink: 0;
}

.cart-drawer__savings-bar {
    display: flex;
    width: 100%;
    padding: 8px 24px;
    align-items: center;
    gap: 10px;
    background: #4E9D5E;
    color: #FFF;
    font-family: "Red Hat Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    box-sizing: border-box;
}

.cart-drawer__savings-bar span {
    color: #FFF;
    font-family: "Red Hat Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.cart-drawer__payable-info {
    display: flex;
    flex-direction: column;
}

.cart-drawer__final-amt {
    align-self: stretch;
    color: #1B150E;
    font-family: "Red Hat Text";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.cart-drawer__final-lbl {
    align-self: stretch;
    color: #1B150E;
    font-family: "Red Hat Text";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.cart-drawer__checkout {
    display: flex;
    width: 160px;
    height: 44px;
    padding: 16px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 8px;
    border-top: 1px solid rgba(99, 99, 99, 0.50);
    background: #BC580A;
    color: #FFFFFF;
    border-left: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
}

.cart-drawer__checkout:hover {
    background-color: #A34C08;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile Optimized)
   ========================================================================== */

/* --- Tablet Mode (Font sizes reduced perfectly) --- */
@media (max-width: 768px) {
    .cart-drawer {
        width: 380px;
    }

    .cart-drawer__close-trigger {
        left: 8px;
        top: 14px;
        width: 36px;
        min-height: 0;
        height: 36px;
    }

    .cart-drawer__close-trigger svg {
        width: 18px;
        height: 18px;
    }

    .cart-drawer__content-flow {
        margin-left: 44px;
        padding: 24px 16px 130px 16px;
    }

    .cart-drawer__title {
        font-size: 18px;
        /* Reduced from 20px */
    }

    .cart-drawer__count {
        font-size: 12px;
        /* Reduced from 14px */
    }

    .cart-drawer__wishlist-btn {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__coins-alert {
        padding: 12px 10px;
    }

    .cart-drawer__coins-text,
    .cart-drawer__coins-apply {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__items-container {
        gap: 14px;
        margin-top: 14px;
        max-width: 100%;
    }

    .cart-drawer__item {
        padding: 10px;
        gap: 10px;
    }

    .cart-drawer__item-cover {
        width: 64px;
        height: 88px;
    }

    .cart-drawer__item-title {
        font-size: 13px;
        /* Added control for item titles in tablet */
    }

    .cart-drawer__item-author {
        font-size: 11px;
        /* Added control for author subtext */
    }

    .cart-drawer__price-current {
        font-size: 16px;
        /* Reduced from 18px */
    }

    .cart-drawer__price-original {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__details-title {
        font-size: 16px;
        /* Reduced from 18px */
        margin-bottom: 8px;
    }

    .cart-drawer__price-row span {
        font-size: 12px;
        /* Controlled list item text size */
    }

    .cart-drawer__price-details {
        padding-top: 14px;
        padding-bottom: 16px;
    }

    .cart-drawer__savings-bar {
        padding: 6px 16px;
        font-size: 12px;
        /* Reduced from 13px */
    }

    .cart-drawer__savings-bar span {
        font-size: 12px;
        /* Reduced from 13px */
    }

    .cart-drawer__pay-row {
        padding: 10px 16px;
    }

    .cart-drawer__final-amt {
        font-size: 18px;
        /* Reduced from 20px */
    }

    .cart-drawer__final-lbl {
        font-size: 11px;
    }

    .cart-drawer__checkout {
        width: 130px;
        height: 38px;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* --- Tablet Mode (Font sizes reduced perfectly) --- */
@media (max-width: 768px) {
    .cart-drawer {
        width: 380px;
    }

    .cart-drawer__close-trigger {
        left: 8px;
        top: 14px;
        width: 36px;
        min-height: 0;
        height: 36px;
    }

    .cart-drawer__close-trigger svg {
        width: 18px;
        height: 18px;
    }

    .cart-drawer__content-flow {
        margin-left: 44px;
        padding: 24px 16px 130px 16px;
    }

    .cart-drawer__title {
        font-size: 18px;
        /* Reduced from 20px */
    }

    .cart-drawer__count {
        font-size: 12px;
        /* Reduced from 14px */
    }

    .cart-drawer__wishlist-btn {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__coins-alert {
        padding: 12px 10px;
    }

    .cart-drawer__coins-text,
    .cart-drawer__coins-apply {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__items-container {
        gap: 14px;
        margin-top: 14px;
        max-width: 100%;
    }

    .cart-drawer__item {
        padding: 10px;
        gap: 10px;
    }

    .cart-drawer__item-cover {
        width: 64px;
        height: 88px;
    }

    .cart-drawer__item-title {
        font-size: 13px;
        /* Added control for item titles in tablet */
    }

    .cart-drawer__item-author {
        font-size: 11px;
        /* Added control for author subtext */
    }

    .cart-drawer__price-current {
        font-size: 16px;
        /* Reduced from 18px */
    }

    .cart-drawer__price-original {
        font-size: 13px;
        /* Reduced from 14px */
    }

    .cart-drawer__details-title {
        font-size: 16px;
        /* Reduced from 18px */
        margin-bottom: 8px;
    }

    .cart-drawer__price-row span {
        font-size: 12px;
        /* Controlled list item text size */
    }

    .cart-drawer__price-details {
        padding-top: 14px;
        padding-bottom: 16px;
    }

    .cart-drawer__savings-bar {
        padding: 6px 16px;
        font-size: 12px;
        /* Reduced from 13px */
    }

    .cart-drawer__savings-bar span {
        font-size: 12px;
        /* Reduced from 13px */
    }

    .cart-drawer__pay-row {
        padding: 10px 16px;
    }

    .cart-drawer__final-amt {
        font-size: 18px;
        /* Reduced from 20px */
    }

    .cart-drawer__final-lbl {
        font-size: 11px;
    }

    .cart-drawer__checkout {
        width: 130px;
        height: 38px;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* --- Mobile Mode (Enhanced Padding & Center Alignment) --- */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }

    .cart-drawer__content-flow {
        margin-left: 0;
        padding: 64px 24px 135px 24px;
        align-items: center;
    }

    .cart-drawer__close-trigger {
        left: auto;
        right: 24px;
        top: 18px;
        width: 32px;
        height: 32px;
        background-color: transparent;
        z-index: 15;
    }

    .cart-drawer__close-trigger svg {
        width: 18px;
        height: 18px;
    }

    .cart-drawer__header-row {
        width: 100%;
        max-width: 352px;
        margin-bottom: 16px;
        padding-right: 0;
    }

    .cart-drawer__title {
        font-size: 18px;
    }

    .cart-drawer__count {
        font-size: 12px;
    }

    .cart-drawer__wishlist-btn {
        font-size: 13px;
    }

    .cart-drawer__coins-alert {
        width: 100%;
        max-width: 352px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .cart-drawer__coins-text,
    .cart-drawer__coins-apply {
        font-size: 13px;
    }

    .cart-drawer__items-container {
        width: 100%;
        max-width: 352px;
        gap: 14px;
        margin-top: 16px;
        padding-right: 2px;
        align-items: stretch;
    }

    .cart-drawer__item {
        padding: 12px;
        gap: 12px;
    }

    .cart-drawer__item-title {
        font-size: 13px;
    }

    .cart-drawer__item-author {
        font-size: 11px;
    }

    .cart-drawer__qty-lbl,
    .cart-drawer__qty-dropdown {
        font-size: 11px;
    }

    .cart-drawer__price-current {
        font-size: 16px;
    }

    .cart-drawer__price-original {
        font-size: 13px;
    }

    .cart-drawer__price-details {
        width: 100%;
        max-width: 352px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 18px;
        padding-bottom: 12px;
    }

    .cart-drawer__price-row {
        margin-bottom: 10px;
        gap: 16px;
    }

    .cart-drawer__price-row span {
        font-size: 13px;
    }

    .cart-drawer__sticky-footer {
        width: 100%;
    }

    .cart-drawer__savings-bar {
        padding: 8px 24px;
        font-size: 13px;
        justify-content: center;
    }

    .cart-drawer__savings-bar span {
        font-size: 13px;
    }

    .cart-drawer__pay-row {
        padding: 12px 24px;
    }

    .cart-drawer__final-amt {
        font-size: 20px;
    }

    .cart-drawer__final-lbl {
        font-size: 11px;
    }

    .cart-drawer__checkout {
        width: 140px;
        height: 40px;
        padding: 10px 16px;
        font-size: 14px;
    }
}


