/*
============================================================
BOOK STORE — EXACT EXTRACTED ACTIVE CSS
============================================================
Generated from the 17 active style.textContent blocks in
assets/js/views/book-store.js.

Phase 1A intentionally preserves:
- Source order
- Duplicate selectors
- Existing media queries
- Existing !important declarations
- Existing cascade behavior

No visual cleanup or redesign has been applied yet.
============================================================
*/

/* =========================================================
   EXTRACTED ACTIVE BLOCK 01
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-page {
            display: grid;
            gap: 18px;
        }

        .book-store-page * {
            box-sizing: border-box;
        }

        .book-store-hero {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            padding: 24px;
            border-radius: 24px;
            background:
                radial-gradient(circle at top left, rgba(212,169,90,.24), transparent 32%),
                linear-gradient(135deg, #1F3A2E, #2D5043);
            color: #fff;
            box-shadow: 0 18px 42px rgba(31,58,46,.16);
        }

        .book-store-hero span {
            color: #D4A95A;
            font-weight: 900;
        }

        .book-store-hero h2 {
            margin: 6px 0;
            font-size: 1.8rem;
        }

        .book-store-hero p {
            margin: 0;
            color: rgba(255,255,255,.78);
        }

        .book-store-account-note {
            min-height: 44px;
            padding: 11px 16px;
            border: 1px solid rgba(255,255,255,.20);
            border-radius: 999px;
            background: rgba(255,255,255,.10);
            color: #fff;
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .book-store-cart-toggle {
            border: 0;
            border-radius: 16px;
            background: linear-gradient(135deg, #D4A95A, #B8893A);
            color: #1F3A2E;
            padding: 13px 17px;
            font-weight: 900;
            cursor: pointer;
        }

        .book-store-cart-toggle strong {
            display: inline-grid;
            place-items: center;
            min-width: 25px;
            height: 25px;
            border-radius: 999px;
            background: #1F3A2E;
            color: #D4A95A;
            margin-inline-start: 6px;
        }

        .book-store-info-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .book-store-info-card,
        .book-store-info-loading {
            background: #fff;
            border: 1px solid rgba(31,58,46,.08);
            border-radius: 20px;
            padding: 14px;
            box-shadow: 0 10px 24px rgba(31,58,46,.05);
        }

        .book-store-info-card {
            display: grid;
            gap: 5px;
        }

        .book-store-info-card span {
            color: #B8893A;
            font-weight: 900;
            font-size: .9rem;
        }

        .book-store-info-card strong {
            color: #1F3A2E;
            font-size: .92rem;
        }

        .book-store-info-card small {
            color: #6B6255;
            font-weight: 800;
        }

        .book-store-payment-lines strong,
        .book-store-info-card .copy-line {
            display: grid;
            grid-template-columns: auto minmax(120px, 1fr) auto;
            gap: 8px;
            align-items: center;
        }

        .book-store-payment-lines strong b {
            color: #1F3A2E;
            font-weight: 900;
        }

        .book-store-payment-lines strong em,
        .book-store-info-card .copy-line em {
            direction: ltr;
            text-align: left;
            font-style: normal;
            color: #1F3A2E;
            font-weight: 900;
            background: #FAF6EC;
            border-radius: 10px;
            padding: 4px 8px;
        }

        .book-store-payment-lines strong button,
        .book-store-info-card .copy-line button,
        .book-payment-box button {
            border: 0;
            border-radius: 10px;
            background: #1F3A2E;
            color: #fff;
            padding: 6px 9px;
            font-weight: 900;
            cursor: pointer;
            font-family: inherit;
            white-space: nowrap;
            font-size: .78rem;
            line-height: 1.2;
        }

        .book-store-copy-btn-fix {
            display: none;
        }

        .book-payment-box div {
            grid-template-columns: 1fr auto auto;
            align-items: center;
            gap: 8px;
        }

        .book-payment-box button {
            padding: 5px 8px;
            font-size: .78rem;
        }

        .book-store-filters {
            display: grid;
            grid-template-columns: 1.4fr .9fr .9fr auto auto auto;
            gap: 10px;
            background: #fff;
            padding: 16px;
            border-radius: 22px;
            border: 1px solid rgba(31,58,46,.08);
            box-shadow: 0 12px 28px rgba(31,58,46,.06);
        }

        .book-store-filters input,
        .book-store-filters select,
        .book-checkout input,
        .book-checkout textarea,
        .book-checkout select {
            width: 100%;
            border: 1px solid rgba(31,58,46,.12);
            border-radius: 14px;
            padding: 12px 13px;
            font-family: inherit;
            outline: 0;
            background: #fff;
            color: #1A1815;
        }

        .book-store-filters button,
        .book-checkout-actions button,
        .book-product-foot button,
        .book-success-actions button,
        .book-success-actions a {
            border: 0;
            border-radius: 14px;
            padding: 11px 14px;
            font-weight: 900;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            font-family: inherit;
        }

        .book-store-filters button,
        .book-checkout-actions button,
        .book-product-foot button,
        .book-success-actions button,
        .book-success-actions a {
            background: #1F3A2E;
            color: #fff;
        }

        .book-store-check {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: #FAF6EC;
            border-radius: 14px;
            padding: 8px 12px;
            font-weight: 900;
            color: #1F3A2E;
        }

        .book-store-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 360px;
            gap: 18px;
            align-items: start;
        }

        .book-store-grade-note {
            background: #fff;
            border-radius: 18px;
            padding: 12px 14px;
            margin-bottom: 14px;
            color: #1F3A2E;
            border: 1px solid rgba(31,58,46,.08);
        }

        .book-store-grade-note strong {
            color: #B8893A;
        }

        .book-store-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(230px, 270px));
            justify-content: start;
            gap: 18px;
        }

        .book-product-card {
            background: #fff;
            border-radius: 22px;
            overflow: hidden;
            border: 1px solid rgba(31,58,46,.08);
            box-shadow: 0 14px 34px rgba(31,58,46,.07);
        }

        .book-product-cover {
            position: relative;
            aspect-ratio: 210 / 297;
            background: linear-gradient(135deg, #F5F1E8, #EFE7D2);
        }

        .book-product-cover img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .book-product-placeholder {
            height: 100%;
            display: grid;
            place-items: center;
            font-size: 3rem;
        }

        .book-product-cover span {
            position: absolute;
            top: 10px;
            right: 10px;
            border-radius: 999px;
            padding: 6px 10px;
            font-size: .78rem;
            font-weight: 900;
        }

        .book-product-cover span.ok {
            background: #E8F8EE;
            color: #1F7A45;
        }

        .book-product-cover span.off {
            background: #FFF0EC;
            color: #B22222;
        }

        .book-product-body {
            padding: 14px;
        }

        .book-product-body h3 {
            margin: 0 0 7px;
            color: #1F3A2E;
            line-height: 1.35;
        }

        .book-product-body p {
            margin: 0 0 10px;
            min-height: 44px;
            color: #6B6255;
            font-size: .9rem;
            line-height: 1.6;
        }

        .book-product-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 12px;
        }

        .book-product-tags span {
            background: #FAF6EC;
            color: #1F3A2E;
            border-radius: 999px;
            padding: 6px 9px;
            font-size: .75rem;
            font-weight: 900;
        }

        .book-product-foot {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 10px;
        }

        .book-price-box {
            background: #FAF6EC;
            border-radius: 14px;
            padding: 8px 10px;
        }

        .book-product-foot strong {
            display: block;
            color: #1F3A2E;
            font-size: 1.15rem;
        }

        .book-product-foot small {
            color: #6B6255;
            font-size: .75rem;
        }

        .book-product-foot button:disabled {
            opacity: .45;
            cursor: not-allowed;
        }

        .book-cart-panel {
            position: sticky;
            top: 18px;
            background: #fff;
            border-radius: 24px;
            padding: 16px;
            border: 1px solid rgba(31,58,46,.08);
            box-shadow: 0 16px 34px rgba(31,58,46,.08);
        }

        .book-cart-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .book-cart-head span {
            color: #B8893A;
            font-weight: 900;
        }

        .book-cart-head h3 {
            margin: 4px 0 0;
            color: #1F3A2E;
        }

        .book-cart-head-actions {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .book-cart-head-actions button {
            border: 0;
            border-radius: 10px;
            background: #FFF0EC;
            color: #B22222;
            padding: 7px 9px;
            font-weight: 900;
            cursor: pointer;
            font-family: inherit;
        }

        .book-cart-head > strong,
        .book-cart-head-actions > strong {
            display: grid;
            place-items: center;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: #1F3A2E;
            color: #D4A95A;
        }

        .book-cart-items {
            display: grid;
            gap: 10px;
            max-height: 300px;
            overflow: auto;
            padding-inline-end: 3px;
        }

        .book-cart-item {
            display: grid;
            grid-template-columns: 54px 1fr;
            gap: 10px;
            align-items: center;
            background: #FAF6EC;
            border-radius: 16px;
            padding: 9px;
        }

        .book-cart-mini-cover {
            aspect-ratio: 210 / 297;
            background: #EFE7D2;
            border-radius: 10px;
            overflow: hidden;
            display: grid;
            place-items: center;
        }

        .book-cart-mini-cover img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .book-cart-item strong {
            display: block;
            color: #1F3A2E;
            font-size: .9rem;
        }

        .book-cart-item small {
            color: #6B6255;
        }

        .book-cart-qty {
            display: flex;
            gap: 5px;
            align-items: center;
            margin-top: 6px;
        }

        .book-cart-qty button {
            border: 0;
            border-radius: 8px;
            background: #fff;
            color: #1F3A2E;
            font-weight: 900;
            padding: 5px 8px;
            cursor: pointer;
        }

        .book-cart-summary {
            display: grid;
            gap: 8px;
            margin: 14px 0;
            padding: 12px;
            border-radius: 16px;
            background: #F5F1E8;
        }

        .book-cart-summary div {
            display: flex;
            justify-content: space-between;
            color: #1F3A2E;
        }

        .book-cart-summary .total {
            border-top: 1px solid rgba(31,58,46,.12);
            padding-top: 8px;
            font-weight: 900;
        }

        .book-cart-note {
            background: #FFF8E6;
            color: #8A6A2A;
            border: 1px solid rgba(184,137,58,.15);
            border-radius: 14px;
            padding: 10px;
            margin-bottom: 12px;
            font-size: .84rem;
            font-weight: 900;
            line-height: 1.7;
        }

        .book-checkout {
            display: grid;
            gap: 9px;
        }

        .book-checkout h4 {
            margin: 4px 0;
            color: #1F3A2E;
        }

        .book-checkout label {
            display: grid;
            gap: 5px;
            font-size: .82rem;
            font-weight: 900;
            color: #1F3A2E;
        }

        .book-shipping-help {
            display: block;
            color: #8A6A2A;
            background: #FAF6EC;
            border-radius: 10px;
            padding: 7px 9px;
            line-height: 1.6;
            font-size: .78rem;
        }

        .book-checkout-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .book-store-other-grades {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 14px;
            background: #fff;
            border: 1px solid rgba(31,58,46,.08);
            border-radius: 22px;
            padding: 16px;
            box-shadow: 0 12px 28px rgba(31,58,46,.06);
        }

        .book-store-other-grades strong {
            display: block;
            color: #1F3A2E;
            margin-bottom: 4px;
        }

        .book-store-other-grades p {
            margin: 0;
            color: #6B6255;
            line-height: 1.7;
        }

        .book-store-other-grades button {
            border: 0;
            border-radius: 14px;
            padding: 12px 16px;
            background: linear-gradient(135deg, #D4A95A, #B8893A);
            color: #1F3A2E;
            font-weight: 900;
            cursor: pointer;
            font-family: inherit;
            white-space: nowrap;
        }

        .book-store-empty,
        .book-store-loading,
        .book-store-error,
        .book-cart-empty {
            background: #fff;
            border-radius: 22px;
            padding: 28px;
            text-align: center;
            color: #1F3A2E;
            border: 1px solid rgba(31,58,46,.08);
        }

        .book-store-error,
        .book-store-notice.error {
            background: #FFF0EC;
            color: #B22222;
        }

        .book-store-notice {
            padding: 13px 16px;
            border-radius: 16px;
            font-weight: 900;
            background: #E8F8EE;
            color: #1F7A45;
        }

        .book-order-success {
            text-align: center;
            display: grid;
            gap: 12px;
        }

        .success-icon {
            font-size: 2.4rem;
        }

        .book-order-success h3 {
            margin: 0;
            color: #1F3A2E;
        }

        .book-order-success > strong {
            color: #B8893A;
            font-size: 1.2rem;
        }

        .book-payment-box {
            display: grid;
            gap: 8px;
            background: #FAF6EC;
            border-radius: 18px;
            padding: 12px;
            text-align: right;
        }

        .book-payment-box div {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            color: #1F3A2E;
        }

        .book-order-note {
            color: #6B6255;
            line-height: 1.7;
        }

        .book-success-actions {
            display: grid;
            gap: 8px;
        }

        @media (max-width: 1100px) {
            .book-store-layout {
                grid-template-columns: 1fr;
            }

            .book-cart-panel {
                position: static;
            }
        }

        @media (max-width: 720px) {
            .book-store-info-strip {
                grid-template-columns: 1fr;
            }

            .book-store-payment-lines strong,
            .book-store-info-card .copy-line {
                grid-template-columns: 1fr auto;
            }

            .book-store-payment-lines strong b,
            .book-store-info-card .copy-line b {
                grid-column: 1 / -1;
            }

            .book-store-payment-lines strong button,
            .book-store-info-card .copy-line button {
                font-size: .74rem;
                padding: 6px 8px;
            }

            .book-store-hero,
            .book-store-other-grades {
                align-items: stretch;
                flex-direction: column;
                padding: 18px;
            }

            .book-store-info-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .book-store-info-card,
        .book-store-info-loading {
            background: #fff;
            border: 1px solid rgba(31,58,46,.08);
            border-radius: 20px;
            padding: 14px;
            box-shadow: 0 10px 24px rgba(31,58,46,.05);
        }

        .book-store-info-card {
            display: grid;
            gap: 5px;
        }

        .book-store-info-card span {
            color: #B8893A;
            font-weight: 900;
            font-size: .9rem;
        }

        .book-store-info-card strong {
            color: #1F3A2E;
            font-size: .92rem;
        }

        .book-store-info-card small {
            color: #6B6255;
            font-weight: 800;
        }

        .book-store-payment-lines strong,
        .book-store-info-card .copy-line {
            display: grid;
            grid-template-columns: auto minmax(120px, 1fr) auto;
            gap: 8px;
            align-items: center;
        }

        .book-store-payment-lines strong b {
            color: #1F3A2E;
            font-weight: 900;
        }

        .book-store-payment-lines strong em,
        .book-store-info-card .copy-line em {
            direction: ltr;
            text-align: left;
            font-style: normal;
            color: #1F3A2E;
            font-weight: 900;
            background: #FAF6EC;
            border-radius: 10px;
            padding: 4px 8px;
        }

        .book-store-payment-lines strong button,
        .book-store-info-card .copy-line button,
        .book-payment-box button {
            border: 0;
            border-radius: 10px;
            background: #1F3A2E;
            color: #fff;
            padding: 6px 9px;
            font-weight: 900;
            cursor: pointer;
            font-family: inherit;
            white-space: nowrap;
            font-size: .78rem;
            line-height: 1.2;
        }

        .book-store-copy-btn-fix {
            display: none;
        }

        .book-payment-box div {
            grid-template-columns: 1fr auto auto;
            align-items: center;
            gap: 8px;
        }

        .book-payment-box button {
            padding: 5px 8px;
            font-size: .78rem;
        }

        .book-store-filters {
                grid-template-columns: 1fr;
            }

            .book-store-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
            }

            .book-product-body {
                padding: 11px;
            }

            .book-product-foot {
                align-items: stretch;
                flex-direction: column;
            }

            .book-product-foot button {
                width: 100%;
            }
        }

        @media (max-width: 420px) {
            .book-store-grid {
                grid-template-columns: 1fr;
            }

            .book-checkout-actions {
                grid-template-columns: 1fr;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 02
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        #calculateBookShipping {
            display: none !important;
        }

        .book-checkout-actions {
            display: grid !important;
            grid-template-columns: 1fr !important;
        }

        #submitBookOrder {
            width: 100% !important;
            min-height: 46px !important;
            border-radius: 16px !important;
            font-weight: 900 !important;
        }

        .final-shipping-summary {
            margin-top: 12px !important;
            order: 50;
        }

        .compact-shipping-note {
            margin: 8px 0 10px !important;
            font-size: .9rem !important;
            line-height: 1.6 !important;
            text-align: center !important;
        }

        @media (max-width: 720px) {
            .final-shipping-summary {
                margin-top: 10px !important;
                border-radius: 16px !important;
                padding: 10px !important;
            }

            .final-shipping-summary div {
                padding: 6px 0 !important;
            }

            .final-shipping-summary span {
                font-size: .78rem !important;
            }

            .final-shipping-summary strong {
                font-size: .9rem !important;
            }

            .final-shipping-summary .total strong {
                font-size: 1.05rem !important;
            }

            .compact-shipping-note {
                display: none !important;
            }

            #submitBookOrder {
                height: 46px !important;
                font-size: .92rem !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 03
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .final-submit-actions {
            width: 100% !important;
            display: grid !important;
            grid-template-columns: 1fr !important;
            margin-top: 10px !important;
        }

        .final-submit-actions #submitBookOrder {
            width: 100% !important;
            min-height: 48px !important;
            border-radius: 16px !important;
            background: #1F3A2E !important;
            color: #fff !important;
            font-weight: 900 !important;
            font-family: inherit !important;
            font-size: 1rem !important;
            border: 0 !important;
            cursor: pointer !important;
        }

        @media (max-width: 720px) {
            .final-submit-actions {
                margin-top: 8px !important;
            }

            .final-submit-actions #submitBookOrder {
                min-height: 46px !important;
                border-radius: 15px !important;
                font-size: .95rem !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 04
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        @media (min-width: 1100px) {
            .book-store-page .book-store-layout {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) 340px !important;
                gap: 18px !important;
                align-items: start !important;
                width: 100% !important;
            }

            .book-store-page #bookStoreContent {
                min-width: 0 !important;
                width: 100% !important;
            }

            .book-store-page #bookCartPanel {
                position: static !important;
                width: 340px !important;
                max-width: 340px !important;
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                align-self: start !important;
            }

            .book-store-page #bookCartPanel *,
            .book-store-page .book-cart-items,
            .book-store-page .book-checkout-form {
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
            }

            .student-books-native-layout {
                display: grid !important;
                gap: 18px !important;
                width: 100% !important;
            }

            .student-books-top-columns {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 18px !important;
                align-items: start !important;
            }

            .student-book-group {
                background: #fff !important;
                border: 1px solid rgba(31,58,46,.08) !important;
                border-radius: 24px !important;
                padding: 14px !important;
                box-shadow: 0 14px 34px rgba(31,58,46,.05) !important;
                min-width: 0 !important;
            }

            .student-book-group-title {
                background: #1F3A2E !important;
                color: #fff !important;
                border-radius: 16px !important;
                padding: 12px 14px !important;
                font-weight: 900 !important;
                text-align: center !important;
                margin-bottom: 12px !important;
                font-size: 1rem !important;
            }

            .student-book-group-list {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(115px, 1fr)) !important;
                gap: 12px !important;
                align-items: start !important;
            }

            .student-book-group.full .student-book-group-list {
                grid-template-columns: repeat(auto-fit, minmax(145px, 185px)) !important;
                justify-content: start !important;
            }

            .student-book-group-empty {
                grid-column: 1 / -1 !important;
                background: #FAF6EC !important;
                color: #8A6A2A !important;
                border-radius: 14px !important;
                padding: 14px !important;
                text-align: center !important;
                font-weight: 900 !important;
            }

            .book-store-page .book-product-card {
                width: 100% !important;
                max-width: none !important;
                min-width: 0 !important;
                border-radius: 18px !important;
                overflow: hidden !important;
            }

            .book-store-page .book-product-cover {
                width: 100% !important;
                aspect-ratio: 3 / 4.25 !important;
                height: auto !important;
                min-height: 0 !important;
                background-size: cover !important;
                background-position: center !important;
            }

            .book-store-page .book-product-cover img {
                width: 100% !important;
                aspect-ratio: 3 / 4.25 !important;
                height: auto !important;
                object-fit: cover !important;
            }

            .book-store-page .book-product-body {
                padding: 8px !important;
            }

            .book-store-page .book-product-body h3 {
                font-size: .82rem !important;
                line-height: 1.3 !important;
                min-height: 2.55em !important;
            }

            .book-store-page .book-product-body p {
                display: none !important;
            }

            .book-store-page .book-product-tags {
                gap: 5px !important;
            }

            .book-store-page .book-product-tags span {
                font-size: .56rem !important;
                padding: 4px 5px !important;
            }

            .book-store-page .book-price-box {
                padding: 7px !important;
                border-radius: 12px !important;
            }

            .book-store-page .book-price-box strong {
                font-size: .9rem !important;
            }

            .book-store-page [data-add-book] {
                height: 36px !important;
                min-height: 36px !important;
                border-radius: 12px !important;
                font-size: .70rem !important;
            }
        }

        @media (min-width: 721px) and (max-width: 1099px) {
            .book-store-page .book-store-layout {
                grid-template-columns: 1fr !important;
            }

            .book-store-page #bookCartPanel {
                position: static !important;
                width: 100% !important;
                max-width: none !important;
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
            }

            .student-books-top-columns {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 14px !important;
            }

            .student-book-group-list {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 10px !important;
            }
        }

        @media (max-width: 720px) {
            .student-books-native-layout {
                display: grid !important;
                gap: 12px !important;
            }

            .student-books-top-columns {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 8px !important;
            }

            .student-book-group {
                background: #fff !important;
                border-radius: 18px !important;
                padding: 8px !important;
            }

            .student-book-group-title {
                background: #1F3A2E !important;
                color: #fff !important;
                border-radius: 13px !important;
                padding: 9px 7px !important;
                font-size: .78rem !important;
                text-align: center !important;
                font-weight: 900 !important;
                margin-bottom: 8px !important;
            }

            .student-book-group-list {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 8px !important;
            }

            .student-book-group.full .student-book-group-list {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 05
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        @media (max-width: 720px) {
            .book-store-page {
                padding-inline: 8px !important;
                overflow-x: hidden !important;
            }

            /* تصغير الهيرو */
            .book-store-hero {
                padding: 14px 12px !important;
                border-radius: 20px !important;
                min-height: 0 !important;
                margin-bottom: 8px !important;
                display: grid !important;
                gap: 10px !important;
                text-align: center !important;
            }

            .book-store-hero span {
                font-size: .78rem !important;
                line-height: 1.1 !important;
            }

            .book-store-hero h2,
            .book-store-hero h1 {
                font-size: 1.45rem !important;
                line-height: 1.2 !important;
                margin: 0 !important;
            }

            .book-store-hero p {
                font-size: .76rem !important;
                line-height: 1.45 !important;
                margin: 0 auto !important;
                max-width: 95% !important;
            }

            .book-store-cart-toggle {
                height: 42px !important;
                border-radius: 15px !important;
                font-size: .92rem !important;
                width: 100% !important;
                padding: 0 12px !important;
            }

            /* إصلاح الكروت الثلاثة على الموبايل فقط */
            .book-store-info-strip {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
                gap: 7px !important;
                margin: 8px 0 10px !important;
            }

            .book-store-info-card,
            .book-store-info-card.uab-mobile-store-info-fixed {
                height: 74px !important;
                min-height: 74px !important;
                max-height: 74px !important;
                border-radius: 15px !important;
                padding: 7px 5px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                text-align: center !important;
                gap: 5px !important;
                overflow: hidden !important;
                min-width: 0 !important;
            }

            .book-store-info-card *,
            .book-store-info-card.uab-mobile-store-info-fixed * {
                writing-mode: horizontal-tb !important;
                text-orientation: mixed !important;
                word-break: normal !important;
                overflow-wrap: normal !important;
                box-sizing: border-box !important;
            }

            .book-store-info-card strong,
            .book-store-info-card.uab-mobile-store-info-fixed strong {
                display: block !important;
                width: 100% !important;
                color: #B8893A !important;
                font-size: .68rem !important;
                line-height: 1.1 !important;
                font-weight: 900 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                margin: 0 !important;
            }

            .book-store-info-card span,
            .book-store-info-card.uab-mobile-store-info-fixed span {
                display: -webkit-box !important;
                -webkit-line-clamp: 2 !important;
                -webkit-box-orient: vertical !important;
                width: 100% !important;
                color: #1F3A2E !important;
                font-size: .58rem !important;
                line-height: 1.25 !important;
                font-weight: 900 !important;
                white-space: normal !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                margin: 0 !important;
            }

            .uab-mobile-store-phone {
                direction: ltr !important;
                unicode-bidi: plaintext !important;
                display: block !important;
                white-space: nowrap !important;
                font-size: .62rem !important;
                letter-spacing: 0 !important;
            }

            .book-store-info-card b,
            .book-store-info-card em,
            .book-store-info-card button,
            .book-store-info-card small {
                display: none !important;
            }

            /* تصغير وتنظيم البحث على الموبايل */
            .book-store-filters {
                display: grid !important;
                grid-template-columns: 1fr 1fr 62px !important;
                gap: 7px !important;
                padding: 9px !important;
                border-radius: 18px !important;
                margin: 8px 0 10px !important;
                align-items: center !important;
            }

            #bookStoreType {
                grid-column: 1 / 2 !important;
                grid-row: 1 !important;
            }

            #bookStoreDivision {
                grid-column: 2 / 3 !important;
                grid-row: 1 !important;
            }

            #bookStoreSearch {
                grid-column: 1 / 3 !important;
                grid-row: 2 !important;
            }

            #applyBookStoreFilters {
                grid-column: 3 / 4 !important;
                grid-row: 1 / 3 !important;
                background: #1F3A2E !important;
                color: #fff !important;
                font-weight: 900 !important;
            }

            #bookStoreType,
            #bookStoreDivision,
            #bookStoreSearch,
            #applyBookStoreFilters {
                height: 40px !important;
                min-height: 40px !important;
                border-radius: 13px !important;
                min-width: 0 !important;
                font-size: .72rem !important;
                padding: 0 8px !important;
            }

            #bookStoreSearch {
                font-size: .78rem !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 06
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-page .book-product-cover > span.ok,
        .book-store-page .book-product-cover > span.off {
            display: none !important;
        }

        .book-store-page .book-product-cover .book-grade-ribbon {
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            left: auto !important;
            max-width: calc(100% - 20px) !important;
            background: rgba(255,255,255,.92) !important;
            color: #1F3A2E !important;
            border: 1px solid rgba(31,58,46,.08) !important;
            border-radius: 999px !important;
            padding: 5px 8px !important;
            font-size: .68rem !important;
            font-weight: 900 !important;
            line-height: 1.2 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            box-shadow: 0 8px 18px rgba(31,58,46,.08) !important;
            z-index: 3 !important;
        }

        .book-store-page .book-price-box small {
            display: none !important;
        }

        @media (max-width: 720px) {
            .book-store-page .book-product-cover .book-grade-ribbon {
                top: 7px !important;
                right: 7px !important;
                max-width: calc(100% - 14px) !important;
                font-size: .54rem !important;
                padding: 4px 6px !important;
            }

            .book-store-hero p {
                display: none !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 07
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        @media (max-width: 720px) {
            .book-store-page .book-store-hero {
                width: 100% !important;
                min-height: 0 !important;
                padding: 18px 16px !important;
                margin: 10px 0 12px !important;
                border-radius: 22px !important;
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 10px !important;
                text-align: center !important;
                align-items: center !important;
                justify-items: center !important;
                overflow: hidden !important;
            }

            .book-store-page .book-store-hero > * {
                max-width: 100% !important;
            }

            .book-store-page .book-store-hero span,
            .book-store-page .book-store-hero .eyebrow {
                font-size: .78rem !important;
                line-height: 1.2 !important;
                margin: 0 !important;
                color: #D6AA4B !important;
                font-weight: 900 !important;
            }

            .book-store-page .book-store-hero h1,
            .book-store-page .book-store-hero h2 {
                font-size: 1.75rem !important;
                line-height: 1.15 !important;
                margin: 0 !important;
                letter-spacing: -.5px !important;
                text-align: center !important;
                white-space: normal !important;
            }

            .book-store-page .book-store-hero p {
                display: none !important;
            }

            .book-store-page .book-store-cart-toggle,
            .book-store-page .book-store-hero button,
            .book-store-page .book-store-hero .cart-button {
                width: min(100%, 270px) !important;
                height: 48px !important;
                min-height: 48px !important;
                border-radius: 16px !important;
                padding: 0 14px !important;
                margin: 4px auto 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 8px !important;
                font-size: 1rem !important;
                font-weight: 900 !important;
                white-space: nowrap !important;
            }

            .book-store-page .book-store-cart-toggle .cart-count,
            .book-store-page .book-store-hero .cart-count {
                width: 30px !important;
                height: 30px !important;
                min-width: 30px !important;
                border-radius: 999px !important;
                display: inline-grid !important;
                place-items: center !important;
                font-size: .9rem !important;
                line-height: 1 !important;
            }

            .book-store-page .book-store-info-strip {
                margin-top: 10px !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 08
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        /*
          شاشة واسعة جدًا:
          الكتب + السلة جنب بعض
          كل عمود يعرض 3 كتب قدر الإمكان
        */
        @media (min-width: 1450px) {
            .book-store-page .book-store-layout {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) 340px !important;
                gap: 18px !important;
                align-items: start !important;
                width: 100% !important;
            }

            .book-store-page #bookStoreContent {
                grid-column: 1 !important;
                min-width: 0 !important;
                width: 100% !important;
            }

            .book-store-page #bookCartPanel {
                grid-column: 2 !important;
                position: static !important;
                width: 340px !important;
                max-width: 340px !important;
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                align-self: start !important;
            }

            .book-store-page #bookCartPanel *,
            .book-store-page .book-cart-items,
            .book-store-page .book-checkout-form {
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
            }

            .book-store-page .student-books-top-columns {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 18px !important;
                align-items: start !important;
            }

            .book-store-page .student-book-group-list {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(115px, 1fr)) !important;
                gap: 12px !important;
            }

            .book-store-page .student-book-group.full .student-book-group-list {
                grid-template-columns: repeat(auto-fit, minmax(145px, 185px)) !important;
                justify-content: start !important;
            }
        }

        /*
          لاب صغير / شاشة متوسطة:
          ممنوع السلة تضغط الكتب
          السلة تنزل تحت منطقة الكتب
          كل عمود يعرض كتابين فقط
        */
        @media (min-width: 900px) and (max-width: 1449px) {
            .book-store-page .book-store-layout {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 18px !important;
                width: 100% !important;
                align-items: start !important;
            }

            .book-store-page #bookStoreContent {
                grid-column: 1 !important;
                width: 100% !important;
                min-width: 0 !important;
            }

            .book-store-page #bookCartPanel {
                grid-column: 1 !important;
                position: static !important;
                width: 100% !important;
                max-width: none !important;
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                align-self: start !important;
                margin-top: 12px !important;
            }

            .book-store-page #bookCartPanel *,
            .book-store-page .book-cart-items,
            .book-store-page .book-checkout-form {
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
            }

            .book-store-page .student-books-native-layout {
                display: grid !important;
                gap: 18px !important;
                width: 100% !important;
            }

            .book-store-page .student-books-top-columns {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 18px !important;
                align-items: start !important;
                width: 100% !important;
            }

            .book-store-page .student-book-group {
                min-width: 0 !important;
                width: 100% !important;
            }

            .book-store-page .student-book-group-list {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(135px, 1fr)) !important;
                gap: 12px !important;
                align-items: start !important;
            }

            .book-store-page .student-book-group.full .student-book-group-list {
                grid-template-columns: repeat(auto-fit, minmax(150px, 190px)) !important;
                justify-content: start !important;
            }

            .book-store-page .book-product-card {
                width: 100% !important;
                min-width: 0 !important;
                max-width: none !important;
            }
        }

        /*
          أقل من 900:
          نترك قواعد الموبايل/التابلت الحالية هي المسيطرة
          فقط نضمن عدم ظهور سكرول داخلي في السلة
        */
        @media (max-width: 899px) {
            .book-store-page #bookCartPanel {
                max-height: none !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 09
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-page .book-price-box,
        .book-store-page .book-product-price,
        .book-store-page .book-product-foot .book-price-box {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            min-height: 52px !important;
            padding: 8px 10px !important;
            white-space: nowrap !important;
            overflow: hidden !important;
        }

        .book-store-page .book-price-box strong,
        .book-store-page .book-product-price strong,
        .book-store-page .book-product-foot .book-price-box strong {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
            direction: rtl !important;
            unicode-bidi: plaintext !important;
            font-size: 1.05rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            width: auto !important;
            max-width: 100% !important;
        }

        .book-store-page .book-price-box small,
        .book-store-page .book-product-price small {
            display: none !important;
        }

        @media (max-width: 720px) {
            .book-store-page .book-price-box,
            .book-store-page .book-product-price,
            .book-store-page .book-product-foot .book-price-box {
                min-height: 44px !important;
                padding: 7px 8px !important;
            }

            .book-store-page .book-price-box strong,
            .book-store-page .book-product-price strong,
            .book-store-page .book-product-foot .book-price-box strong {
                font-size: .9rem !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 10
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        /*
          Student book card:
          سعر أوضح + زر سلة أصغر
        */

        .book-store-page .book-product-foot {
            display: grid !important;
            grid-template-columns: minmax(70px, 1fr) 54px !important;
            gap: 7px !important;
            align-items: stretch !important;
        }

        .book-store-page .book-price-box {
            min-height: 52px !important;
            height: 52px !important;
            padding: 7px 8px !important;
            border-radius: 14px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            white-space: nowrap !important;
            overflow: hidden !important;
        }

        .book-store-page .book-price-box strong {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 4px !important;
            white-space: nowrap !important;
            direction: rtl !important;
            unicode-bidi: plaintext !important;
            font-size: 1rem !important;
            line-height: 1 !important;
            font-weight: 950 !important;
            letter-spacing: 0 !important;
        }

        .book-store-page .book-price-box small {
            display: none !important;
        }

        .book-store-page .book-product-foot button,
        .book-store-page [data-add-book] {
            width: 54px !important;
            min-width: 54px !important;
            max-width: 54px !important;
            height: 52px !important;
            min-height: 52px !important;
            padding: 0 !important;
            border-radius: 14px !important;
            font-size: .68rem !important;
            line-height: 1.1 !important;
            font-weight: 900 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            white-space: normal !important;
            overflow: hidden !important;
        }

        @media (min-width: 1100px) {
            .book-store-page .book-product-foot {
                grid-template-columns: minmax(76px, 1fr) 48px !important;
                gap: 6px !important;
            }

            .book-store-page .book-price-box {
                height: 50px !important;
                min-height: 50px !important;
            }

            .book-store-page .book-price-box strong {
                font-size: .98rem !important;
            }

            .book-store-page .book-product-foot button,
            .book-store-page [data-add-book] {
                width: 48px !important;
                min-width: 48px !important;
                max-width: 48px !important;
                height: 50px !important;
                min-height: 50px !important;
                font-size: .62rem !important;
            }
        }

        @media (max-width: 720px) {
            .book-store-page .book-product-foot {
                grid-template-columns: minmax(68px, 1fr) 48px !important;
                gap: 6px !important;
            }

            .book-store-page .book-price-box {
                height: 48px !important;
                min-height: 48px !important;
                border-radius: 13px !important;
            }

            .book-store-page .book-price-box strong {
                font-size: .88rem !important;
            }

            .book-store-page .book-product-foot button,
            .book-store-page [data-add-book] {
                width: 48px !important;
                min-width: 48px !important;
                max-width: 48px !important;
                height: 48px !important;
                min-height: 48px !important;
                border-radius: 13px !important;
                font-size: .58rem !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 11
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        /*
          Laptop/Desktop only
          تصغير بسيط لكارت السعر عشان زر السلة يدخل جوه مساحة الكتاب
          بدون لمس الموبايل
        */
        @media (min-width: 900px) {
            .book-store-page .book-product-foot {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) 44px !important;
                gap: 5px !important;
                align-items: stretch !important;
                width: 100% !important;
            }

            .book-store-page .book-price-box {
                width: 100% !important;
                min-width: 0 !important;
                max-width: 100% !important;
                height: 46px !important;
                min-height: 46px !important;
                padding: 6px 7px !important;
                border-radius: 13px !important;
                overflow: hidden !important;
            }

            .book-store-page .book-price-box strong {
                font-size: .92rem !important;
                line-height: 1 !important;
                white-space: nowrap !important;
                letter-spacing: 0 !important;
            }

            .book-store-page .book-product-foot button,
            .book-store-page [data-add-book] {
                width: 44px !important;
                min-width: 44px !important;
                max-width: 44px !important;
                height: 46px !important;
                min-height: 46px !important;
                padding: 0 !important;
                border-radius: 13px !important;
                font-size: 0 !important;
                overflow: hidden !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .book-store-page .book-product-foot button::before,
            .book-store-page [data-add-book]::before {
                content: "🛒" !important;
                font-size: .95rem !important;
                line-height: 1 !important;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 12
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-checkout-validation {
            background: #FFF0EC;
            color: #A33622;
            border: 1px solid rgba(163,54,34,.16);
            border-radius: 14px;
            padding: 10px 12px;
            font-weight: 900;
            line-height: 1.6;
            margin-bottom: 10px;
            text-align: center;
        }

        .book-checkout-validation[hidden] {
            display: none !important;
        }

        #bookGovernorate {
            cursor: pointer;
        }

        .book-checkout label:has(#bookRecipientName)::after {
            content: 'مطلوب اسم ثلاثي لتسهيل تسليم الشحنة';
            color: #8A6A2A;
            font-size: .74rem;
            font-weight: 800;
            margin-top: -4px;
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 13
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-page .book-store-guest-note {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
            background: #FFF8E6;
            color: #1F3A2E;
            border: 1px solid rgba(184,137,58,.18);
            border-radius: 18px;
            padding: 12px 14px;
            font-weight: 900;
            line-height: 1.7;
        }

        .book-store-page .book-store-guest-note strong {
            color: #B8893A;
            white-space: nowrap;
        }

        .book-store-page .book-store-guest-note span {
            color: #4E4638;
            font-size: .9rem;
        }

        @media (max-width: 720px) {
            .book-store-page .book-store-guest-note {
                display: grid;
                gap: 5px;
                text-align: center;
            }

            .book-store-page .book-store-guest-note strong {
                white-space: normal;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 14
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-public-page {
            max-width: 1240px;
            margin: 0 auto;
            padding: 18px;
        }

        .book-store-public-page .book-store-layout {
            grid-template-columns: 1fr !important;
        }

        .book-store-public-page #bookCartPanel,
        .book-store-public-page .book-cart-panel {
            display: none !important;
        }

        .book-store-public-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .book-store-public-actions a {
            text-decoration: none;
            border-radius: 14px;
            padding: 11px 15px;
            font-weight: 900;
            background: #D4A95A;
            color: #1F3A2E;
        }

        .book-store-public-actions a:first-child {
            background: #fff;
            color: #1F3A2E;
        }

        .book-store-login-prompt {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: grid;
            place-items: center;
            padding: 18px;
            background: rgba(9,20,16,.58);
            backdrop-filter: blur(4px);
        }

        .book-store-login-card {
            position: relative;
            width: min(460px, 96vw);
            background: #fff;
            border-radius: 26px;
            padding: 26px;
            text-align: center;
            box-shadow: 0 24px 70px rgba(0,0,0,.22);
            border: 1px solid rgba(212,169,90,.24);
        }

        .book-store-login-close {
            position: absolute;
            top: 12px;
            left: 12px;
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 999px;
            background: #FAF6EC;
            color: #1F3A2E;
            font-size: 1.4rem;
            cursor: pointer;
        }

        .book-store-login-icon {
            width: 62px;
            height: 62px;
            border-radius: 22px;
            display: grid;
            place-items: center;
            margin: 0 auto 12px;
            background: #1F3A2E;
            color: #D4A95A;
            font-size: 1.8rem;
        }

        .book-store-login-card h3 {
            margin: 0 0 8px;
            color: #1F3A2E;
            font-size: 1.35rem;
        }

        .book-store-login-card p {
            margin: 0;
            color: #6B6255;
            line-height: 1.8;
            font-weight: 800;
        }

        .book-store-login-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 18px;
        }

        .book-store-login-actions a {
            text-decoration: none;
            border-radius: 15px;
            padding: 12px;
            font-weight: 900;
            background: #1F3A2E;
            color: #fff;
        }

        .book-store-login-actions a:last-child {
            background: #D4A95A;
            color: #1F3A2E;
        }

        @media (max-width: 720px) {
            .book-store-public-page {
                padding: 10px;
            }

            .book-store-public-actions,
            .book-store-login-actions {
                display: grid;
                grid-template-columns: 1fr;
            }
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 15
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-public-page .book-store-guest-note {
            display: none !important;
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 16
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-public-page .book-store-guest-note {
            display: none !important;
        }
    

/* =========================================================
   EXTRACTED ACTIVE BLOCK 17
   Source: assets/js/views/book-store.js
   Phase: BOOK_STORE_CSS_EXTRACTION_PHASE1A
   Do not consolidate during Phase 1A.
========================================================= */

        .book-store-login-card p {
            max-width: 360px;
            margin: 0 auto !important;
            line-height: 1.75 !important;
            font-size: .98rem !important;
            font-weight: 850 !important;
            color: #5F574B !important;
        }

        .book-store-login-card h3 {
            margin-bottom: 10px !important;
        }


        .book-proof-upload-btn {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            border: 0;
            border-radius: 14px;
            padding: 11px 14px;
            background: #D4A95A;
            color: #1F3A2E;
            font-family: inherit;
            font-weight: 950;
            cursor: pointer;
            text-decoration: none;
        }



        /* UAB_BOOK_STORE_PROOF_NOTICE_V1 */
        .book-store-proof-notice {
            position: fixed;
            top: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 999999;
            min-width: min(460px, calc(100vw - 32px));
            display: grid;
            gap: 4px;
            padding: 14px 18px;
            border-radius: 18px;
            background: #F0FFF5;
            border: 1px solid rgba(16, 185, 129, .25);
            box-shadow: 0 24px 70px rgba(0,0,0,.18);
            color: #14532D;
            font-weight: 900;
            text-align: center;
            direction: rtl;
        }

        .book-store-proof-notice.error {
            background: #FFF1F0;
            border-color: rgba(180, 35, 24, .25);
            color: #8A1C14;
        }

        .book-store-proof-notice strong {
            font-size: .95rem;
        }

        .book-store-proof-notice span {
            font-size: .86rem;
            line-height: 1.7;
        }

/* BOOK_STORE_LAYOUT_CONSOLIDATION_PHASE3E3C4A_START */
.book-store-page,
.book-store-page * { box-sizing: border-box; }

.book-store-page,
.book-store-layout,
.book-store-content,
.student-books-native-layout,
.student-books-top-columns,
.student-book-group,
.student-book-group-list,
.book-product-card,
.book-product-body {
    min-width: 0;
    max-width: 100%;
}

.book-store-page {
    width: 100%;
    overflow-x: clip;
}

.book-store-page .book-store-layout {
    display: grid;
    width: 100%;
    min-width: 0;
    align-items: start;
    gap: 18px;
}

.book-store-page.book-store-has-cart .book-store-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
}

.book-store-page.book-store-no-cart .book-store-layout,
.book-store-page.book-store-public-page .book-store-layout {
    grid-template-columns: minmax(0, 1fr);
}

.book-store-page.book-store-no-cart .book-store-content,
.book-store-page.book-store-public-page .book-store-content {
    grid-column: 1 / -1;
}

.book-store-page #bookCartPanel,
.book-store-page .book-cart-panel {
    width: 100%;
    max-width: 370px;
    min-width: 0;
    justify-self: stretch;
}

.book-store-page .student-books-native-layout {
    display: grid;
    gap: 18px;
    width: 100%;
}

.book-store-page .student-books-top-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    direction: rtl;
    align-items: start;
    gap: 16px;
    width: 100%;
}

.book-store-page .student-book-group {
    width: 100%;
    min-width: 0;
    align-self: start;
    overflow: hidden;
}

.book-store-page .student-book-group.explanation { grid-column: 1; }
.book-store-page .student-book-group.exercises { grid-column: 2; }

.book-store-page .student-book-group.full {
    width: 100%;
}

.book-store-page .student-book-group-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: stretch;
    justify-content: start;
    direction: rtl;
    gap: 11px;
    width: 100%;
}

.book-store-page .student-book-group.full .student-book-group-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 220px));
}

.book-store-page .book-product-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
}

.book-store-page .book-product-cover {
    width: 100%;
    overflow: hidden;
}

.book-store-page .book-product-body h3,
.book-store-page .book-product-body p,
.book-store-page .book-product-tags,
.book-store-page .book-product-foot,
.book-store-page .book-price-box {
    min-width: 0;
    max-width: 100%;
}

.book-store-page .book-product-body h3,
.book-store-page .book-product-body p {
    overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
    .book-store-page.book-store-has-cart .book-store-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
        gap: 14px;
    }

    .book-store-page #bookCartPanel,
    .book-store-page .book-cart-panel {
        max-width: 340px;
    }

    .book-store-page .student-book-group-list {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}

@media (max-width: 960px) {
    .book-store-page.book-store-has-cart .book-store-layout,
    .book-store-page.book-store-no-cart .book-store-layout,
    .book-store-page.book-store-public-page .book-store-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .book-store-page #bookCartPanel,
    .book-store-page .book-cart-panel {
        width: 100%;
        max-width: none;
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .book-store-page { padding-inline: 6px; }

    .book-store-page .book-store-layout,
    .book-store-page .student-books-native-layout {
        gap: 12px;
    }

    .book-store-page .student-books-top-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .book-store-page .student-book-group.explanation,
    .book-store-page .student-book-group.exercises {
        grid-column: 1;
    }

    .book-store-page .student-book-group-list,
    .book-store-page .student-book-group.full .student-book-group-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .book-store-page .book-product-body { padding-inline: 7px; }
    .book-store-page .book-product-body h3 { font-size: .8rem; }
    .book-store-page .book-product-body p {
        font-size: .64rem;
        line-height: 1.45;
    }

    .book-store-page .book-product-tags span { font-size: .55rem; }

    .book-store-page .book-product-foot {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 5px;
    }

    .book-store-page [data-add-book] {
        width: 44px;
        min-width: 44px;
    }
}

@media (max-width: 390px) {
    .book-store-page { padding-inline: 4px; }

    .book-store-page .student-book-group-list,
    .book-store-page .student-book-group.full .student-book-group-list {
        gap: 5px;
    }

    .book-store-page .student-book-group { padding-inline: 6px; }
    .book-store-page .book-product-body { padding-inline: 5px; }

    .book-store-page .book-product-tags span:nth-child(n + 3) {
        display: none;
    }
}
/* BOOK_STORE_LAYOUT_CONSOLIDATION_PHASE3E3C4A_END */

/* BOOK_STORE_MOBILE_TWO_SECTIONS_PHASE3E3C4A2_START */
@media (max-width: 720px) {
    .book-store-page .student-books-top-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        direction: rtl;
        align-items: start;
        gap: 7px;
        width: 100%;
    }

    .book-store-page .student-book-group.explanation {
        grid-column: 1;
    }

    .book-store-page .student-book-group.exercises {
        grid-column: 2;
    }

    .book-store-page .student-books-top-columns > .student-book-group {
        min-width: 0;
        width: 100%;
        padding-inline: 5px;
    }

    .book-store-page .student-books-top-columns .student-book-group-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .book-store-page .student-book-group.final-review .student-book-group-list,
    .book-store-page .student-book-group.other .student-book-group-list,
    .book-store-page .student-book-group.full .student-book-group-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .book-store-page .student-books-top-columns .student-book-group-title {
        min-width: 0;
        padding-inline: 6px;
        font-size: .82rem;
        white-space: nowrap;
    }

    .book-store-page .student-books-top-columns .book-product-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .book-store-page .student-books-top-columns .book-product-body {
        padding-inline: 6px;
    }

    .book-store-page .student-books-top-columns .book-product-body h3 {
        font-size: .75rem;
        line-height: 1.35;
    }

    .book-store-page .student-books-top-columns .book-product-body p {
        font-size: .61rem;
        line-height: 1.45;
    }

    .book-store-page .student-books-top-columns .book-product-tags {
        gap: 3px;
    }

    .book-store-page .student-books-top-columns .book-product-tags span {
        padding-inline: 5px;
        font-size: .52rem;
    }

    .book-store-page .student-books-top-columns .book-product-foot {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 4px;
    }

    .book-store-page .student-books-top-columns [data-add-book] {
        width: 42px;
        min-width: 42px;
        padding-inline: 3px;
        font-size: .58rem;
    }
}

@media (max-width: 390px) {
    .book-store-page .student-books-top-columns {
        gap: 5px;
    }

    .book-store-page .student-books-top-columns > .student-book-group {
        padding-inline: 4px;
    }

    .book-store-page .student-books-top-columns .student-book-group-list {
        gap: 5px;
    }

    .book-store-page .student-books-top-columns .book-product-body {
        padding-inline: 4px;
    }

    .book-store-page .student-books-top-columns .book-product-tags span:nth-child(n + 3) {
        display: none;
    }
}
/* BOOK_STORE_MOBILE_TWO_SECTIONS_PHASE3E3C4A2_END */

/* BOOK_STORE_MOBILE_DENSITY_GRADE_TOGGLE_PHASE3E3C4C_START */

.book-store-grade-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 12px;
}

.book-store-grade-switch-card {
    min-width: 0;
    min-height: 74px;
    border: 1px solid rgba(31, 58, 46, .10);
    border-radius: 18px;
    padding: 12px 10px;
    background: #fff;
    color: #1f3a2e;
    box-shadow: 0 8px 22px rgba(31, 58, 46, .05);
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.book-store-grade-switch-card strong,
.book-store-grade-switch-card small {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.book-store-grade-switch-card strong {
    font-size: .92rem;
    line-height: 1.35;
    font-weight: 900;
}

.book-store-grade-switch-card small {
    margin-top: 4px;
    color: #746b5d;
    font-size: .68rem;
    line-height: 1.4;
    font-weight: 700;
}

.book-store-grade-switch-card.is-active {
    border-color: #1f3a2e;
    background: #1f3a2e;
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 58, 46, .17);
}

.book-store-grade-switch-card.is-active small {
    color: rgba(255, 255, 255, .78);
}

.book-store-grade-switch-card:active {
    transform: scale(.985);
}

@media (max-width: 720px) {
    .book-store-page {
        gap: 7px !important;
    }

    .book-store-page .book-store-hero {
        margin: 4px 0 3px !important;
    }

    .book-store-page .book-store-info-strip {
        margin: 0 0 3px !important;
    }

    .book-store-page .book-store-info-grid,
    .book-store-page .book-store-info-strip {
        gap: 7px !important;
    }

    .book-store-page .book-store-filters {
        margin: 3px 0 4px !important;
    }

    .book-store-page .book-store-layout {
        gap: 7px !important;
    }

    .book-store-page .book-store-content {
        margin-top: 0 !important;
    }

    .book-store-page .book-store-grade-switch {
        gap: 7px;
        margin: 0 0 7px;
    }

    .book-store-page .book-store-grade-switch-card {
        min-height: 62px;
        border-radius: 15px;
        padding: 9px 7px;
    }

    .book-store-page .book-store-grade-switch-card strong {
        font-size: .76rem;
        line-height: 1.3;
    }

    .book-store-page .book-store-grade-switch-card small {
        margin-top: 3px;
        font-size: .58rem;
        line-height: 1.3;
    }

    .book-store-page .student-books-native-layout {
        gap: 8px;
    }
}

@media (max-width: 390px) {
    .book-store-page {
        gap: 5px !important;
    }

    .book-store-page .book-store-hero {
        margin-bottom: 2px !important;
    }

    .book-store-page .book-store-info-strip,
    .book-store-page .book-store-filters {
        margin-bottom: 3px !important;
    }

    .book-store-page .book-store-grade-switch {
        gap: 5px;
        margin-bottom: 6px;
    }

    .book-store-page .book-store-grade-switch-card {
        min-height: 58px;
        padding: 8px 5px;
    }
}

/* BOOK_STORE_MOBILE_DENSITY_GRADE_TOGGLE_PHASE3E3C4C_END */

/* BOOK_STORE_PARENT_GRADE_EXPERIENCE_PHASE3E3C4D_START */

.book-store-parent-scope-card {
    display: grid;
    gap: 4px;
    width: 100%;
    margin: 0 0 12px;
    padding: 13px 15px;
    border: 1px solid rgba(31, 58, 46, .10);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(31, 58, 46, .98), rgba(45, 80, 67, .96));
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 58, 46, .13);
    text-align: right;
}

.book-store-parent-scope-card strong {
    font-size: .98rem;
    line-height: 1.35;
    font-weight: 950;
}

.book-store-parent-scope-card small {
    color: rgba(255, 255, 255, .76);
    font-size: .74rem;
    line-height: 1.45;
    font-weight: 700;
}

.book-store-parent-filters {
    grid-template-columns: 1.25fr .9fr .85fr .85fr auto !important;
}

@media (max-width: 720px) {
    .book-store-page .book-store-parent-filters {
        grid-template-columns: 1fr 1fr 62px !important;
    }

    .book-store-page .book-store-parent-filters #bookStoreSearch {
        grid-column: 1 / -1;
    }

    .book-store-page .book-store-parent-filters #bookStoreGrade {
        grid-column: 1 / 2;
    }

    .book-store-page .book-store-parent-filters #bookStoreType {
        grid-column: 2 / 3;
    }

    .book-store-page .book-store-parent-filters #bookStoreDivision {
        grid-column: 1 / 3;
    }

    .book-store-page .book-store-parent-filters #applyBookStoreFilters {
        grid-column: 3 / 4;
        grid-row: 2 / 4;
        min-height: 100%;
    }

    .book-store-page .book-store-parent-scope-card {
        margin-bottom: 7px;
        padding: 10px 12px;
        border-radius: 15px;
        text-align: center;
    }

    .book-store-page .book-store-parent-scope-card strong {
        font-size: .82rem;
    }

    .book-store-page .book-store-parent-scope-card small {
        font-size: .62rem;
    }
}

/* BOOK_STORE_PARENT_GRADE_EXPERIENCE_PHASE3E3C4D_END */

/* BOOK_STORE_PARENT_LINKED_GRADE_TABS_PHASE3E3C4E_START */

.book-store-parent-grade-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 12px;
}

.book-store-parent-grade-tab {
    min-width: 0;
    min-height: 58px;
    border: 1px solid rgba(31, 58, 46, .11);
    border-radius: 17px;
    padding: 11px 9px;
    background: #fff;
    color: #1f3a2e;
    box-shadow: 0 8px 21px rgba(31, 58, 46, .05);
    font-family: inherit;
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
}

.book-store-parent-grade-tab.is-active {
    border-color: #1f3a2e;
    background: #1f3a2e;
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 58, 46, .17);
}

@media (max-width: 720px) {
    .book-store-page .book-store-parent-filters {
        grid-template-columns: 1fr 1fr 62px !important;
    }

    .book-store-page .book-store-parent-filters #bookStoreSearch {
        grid-column: 1 / -1;
    }

    .book-store-page .book-store-parent-filters #bookStoreType {
        grid-column: 1 / 2;
    }

    .book-store-page .book-store-parent-filters #bookStoreDivision {
        grid-column: 2 / 3;
    }

    .book-store-page .book-store-parent-filters #applyBookStoreFilters {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
        min-height: 100%;
    }

    .book-store-page .book-store-parent-grade-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 7px;
    }

    .book-store-page .book-store-parent-grade-tab {
        min-height: 52px;
        border-radius: 14px;
        padding: 8px 5px;
        font-size: .68rem;
    }

    .book-store-page .book-store-parent-scope-card,
    .book-store-page .book-store-parent-filters #bookStoreGrade {
        display: none !important;
    }
}

/* BOOK_STORE_PARENT_LINKED_GRADE_TABS_PHASE3E3C4E_END */
