/* QuizBAY storefront v19. Shared checkout/download/policy styles remain in style.css. */
.storefront{--bg:#f5f7f5;--text:#16353d;--muted:#516972;--line:#dce5e1;--accent:#126d62;color:var(--text);font-family:"Pretendard","Noto Sans KR","Malgun Gothic",Arial,sans-serif;line-height:1.65}
.storefront .topbar{padding:17px 28px;background:#fffdf9;border-bottom:1px solid #e0e8e2;position:relative}
.header-inner{max-width:1192px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:22px}
.storefront .brand{margin:0;gap:13px;text-decoration:none;color:#143c43}.brand-mark{width:54px;height:54px;flex-shrink:0;filter:drop-shadow(0 3px 4px #173c4310)}
.storefront .brand h1{font-family:"Trebuchet MS",Arial,sans-serif;font-size:32px;letter-spacing:-1.4px;line-height:1.1;margin:0 0 5px;font-weight:800}.brand h1>span{color:#168571}.brand h1>small{font-family:"Malgun Gothic",sans-serif;font-size:12px;letter-spacing:0;margin-left:11px;font-weight:700;vertical-align:middle;color:#55776f}.storefront .brand p{font-size:12px;color:#6a7e7c;letter-spacing:.25px}.header-nav a{font-size:14px;color:#173c43;text-decoration:none;font-weight:700}.header-nav span{margin-left:14px}
.storefront main{max-width:1248px;padding:0 28px 44px}.storefront .hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:56px;padding:38px 0 30px}.eyebrow{font-size:12px;letter-spacing:1.2px;color:#2b796b;font-weight:800}.hero-copy h2{font-size:38px!important;letter-spacing:-1.6px!important;line-height:1.35!important;margin:15px 0!important;font-weight:800;word-break:keep-all}.hero-copy em{font-style:normal;color:#147b68}.storefront .hero-copy p{font-size:15px;line-height:1.85;margin:0;color:#526973}
.quick-prices{background:#fffdf9;border:1px solid #d8e5df;border-radius:20px;padding:19px 21px;box-shadow:0 8px 28px #123c4305}.quick-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px;font-size:14px}.quick-heading span{font-size:11px;color:#5a7278}.quick-prices button{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:14px;align-items:center;border-radius:0;background:none;border-top:1px solid #e6ece6;width:100%;padding:13px 0;text-align:left;color:#1d3c42;font-size:14px}.quick-prices button:hover{color:#087763}.quick-prices button strong{font-size:21px;letter-spacing:-.6px}.quick-prices button small{font-size:11px;font-weight:400;display:block;margin-left:19px;color:#57717a}.type-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:10px}.type-dot.general{background:#168a75}.type-dot.writing{background:#4875b7}.type-dot.premium{background:#c59437}
.storefront .release-banner{padding:11px 16px;flex-direction:row;gap:12px;align-items:center;font-size:12px;border-radius:9px;margin-bottom:26px;background:#ebf2ef;border:0;color:#496861}.storefront .release-banner span{font-size:12px}.storefront .filter-card{padding:24px;border-radius:18px;margin-bottom:19px;scroll-margin-top:18px;box-shadow:0 3px 0 #1d3c4203}.storefront .section-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.storefront .section-head h3{font-size:24px;margin:4px 0;color:#193e45;letter-spacing:-.8px}.storefront .section-head p{font-size:14px;margin:0;color:#617780}.reset-button{font-size:12px;background:transparent;color:#5a747b;font-weight:500;padding:6px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.scope-options{display:grid;grid-template-columns:1fr 1fr 1.25fr 1fr;gap:9px;margin:22px 0 20px}.scope-options button{padding:13px 12px;background:#f5f8f6;border:1px solid #e1e9e4;color:#48646d;border-radius:10px;line-height:1.45;transition:background .15s,border-color .15s}.scope-options button strong{display:block;font-size:16px}.scope-options button span{font-size:11px;font-weight:400}.scope-options button[aria-pressed=true]{background:#143c43;border-color:#143c43;color:#fff}.scope-options button:hover:not([aria-pressed=true]){background:#eaf5ed;border-color:#accaba}.storefront .filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.storefront .filters label{color:#33545c;font-weight:700;font-size:12px;gap:7px}.storefront .filters select{font-size:15px;padding:12px 13px;border-color:#d4e0dc;color:#29434d;min-height:48px}.scope-note{font-size:13px;color:#587178;line-height:1.7;margin:16px 0 0}
.result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 20px}.result-heading>span{font-size:12px;color:#6b7d80}.storefront .result-count{margin:0;font-size:14px;color:#244a51;font-weight:700}.storefront .product-grid{display:block}.catalog-group{margin-bottom:35px}.group-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 2px 13px;padding:0 0 12px;border-bottom:1px solid #dce5e0}.group-heading h3{font-size:21px;margin:0;font-weight:800;letter-spacing:-.5px}.group-heading h3 span{font-weight:500}.group-heading p{font-size:12px;margin:0;color:#5c7378}.product-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.storefront .product{min-height:0;padding:23px 22px 20px;border-radius:15px;border:1px solid #dbe6e0;background:#fff;overflow:visible;border-top:4px solid var(--kind-color)}.kind-general{--kind-color:#178572;--kind-soft:#edf7f1}.kind-writing{--kind-color:#5078b0;--kind-soft:#eef3fb}.kind-premium{--kind-color:#bd8b2f;--kind-soft:#faf4e7}.storefront .product-top{gap:8px}.storefront .tag{font-size:11px;background:var(--kind-soft);color:#3b575d;border-radius:5px;padding:3px 7px;max-width:100%}.pack-code{font-size:9px;letter-spacing:1px;color:#789090;font-weight:700}.storefront .product h4{font-size:24px;letter-spacing:-.7px;margin:15px 0 7px;color:#203d45}.product-pitch{font-size:14px;color:#5b727a;line-height:1.75;margin:0;min-height:49px;word-break:keep-all}.price-block{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:10px;margin:17px 0 13px}.storefront .price{font-size:30px;letter-spacing:-1px;line-height:1.2;color:#183c43;padding:0;margin:0}.price-block>span{font-size:10px;color:#5e7379}.included-line{font-size:13px;font-weight:700;color:var(--kind-color);margin:0 0 13px}
.product-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;background:#e3ebe6;border:1px solid #e3ebe6;border-radius:10px;overflow:hidden}.product-stats>div{background:#f8faf8;padding:11px 13px}.product-stats dt{font-size:11px;color:#6b7e80;margin:0 0 2px}.product-stats dd{margin:0;font-size:23px;line-height:1.3;letter-spacing:-.5px;font-weight:750}.product-stats small{font-size:12px;font-weight:500;margin-left:5px;color:#557079}.file-summary{font-size:13px;line-height:1.8;color:#62767b;margin:14px 0}.file-summary strong{color:#3b585f;font-size:12px;font-weight:600}.product-details{border-top:1px solid #e4ebe7;padding-top:14px;margin-top:auto;font-size:13px;color:#4c6971}.product-details summary{cursor:pointer;list-style-position:inside;font-size:12px;font-weight:700;color:#49646d;line-height:1.6}.product-details ul{padding-left:18px;margin:14px 0;line-height:1.8}.product-details li{margin:0 0 9px}.product-details p{padding:10px 12px;background:#f4f7f5;border-radius:8px;font-size:12px;line-height:1.8}.storefront .actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.storefront .actions button{padding:12px 7px;font-size:12px;border-radius:8px;white-space:nowrap;min-height:46px}.storefront .buy{background:#173f46;color:white}.storefront .buy:hover{background:#126d62}.storefront .sample{color:#355b62;border-color:#ccded5;background:#fff}.storefront .sample:hover{background:#f2f9f5}.empty-products{padding:35px;background:white;border:1px solid #dce5df;border-radius:14px;text-align:center}.empty-products p{color:#5d737a;font-size:14px}.storefront .legal-note{background:#f0f4f0;border:0;border-radius:13px;padding:23px}.storefront .legal-note p{font-size:13px;line-height:1.85;margin:8px 0 0;color:#566d75}.storefront .legal-note a{color:#235d55}.storefront .business-footer{background:#16363f;margin-top:0}.storefront button:focus-visible,.storefront a:focus-visible,.storefront select:focus-visible{outline:3px solid #20a084;outline-offset:4px}.storefront .order-box b{font-size:15px}.storefront #orderPrice{font-size:22px;color:#126d62}.storefront .micro{font-size:12px;color:#687c84}.storefront .close{line-height:1.2}
@media(max-width:1050px){.storefront .hero{gap:26px}.hero-copy h2{font-size:31px!important}.product-row{gap:12px}.storefront .product{padding:20px 16px}.product-pitch{font-size:13px;min-height:68px}.storefront .product h4{font-size:22px}}
@media(max-width:820px){.storefront main{padding:0 20px 32px}.storefront .topbar{padding:14px 20px}.storefront .hero{grid-template-columns:1fr;gap:22px;padding:27px 0 22px}.hero-copy h2{font-size:32px!important}.quick-prices{padding:15px 20px}.quick-prices button small{display:inline;margin-left:9px}.storefront .release-banner{align-items:flex-start;gap:3px;flex-direction:column}.product-row{grid-template-columns:1fr}.storefront .product{padding:24px}.product-pitch{min-height:0;font-size:15px}.storefront .product h4{font-size:26px}.storefront .actions button{font-size:14px}.storefront .filters{grid-template-columns:repeat(3,minmax(0,1fr))}.product-stats>div{padding:13px 15px}.result-heading{align-items:flex-start;flex-direction:column;gap:3px}.storefront .filter-card{padding:20px}.storefront .section-head h3{font-size:22px}.storefront .section-head p{font-size:13px}}
@media(max-width:520px){.brand-mark{width:44px;height:44px}.storefront .brand{gap:10px}.storefront .brand h1{font-size:27px}.brand h1>small{font-size:10px;margin-left:7px}.storefront .brand p{font-size:10px}.header-nav a{font-size:11px}.header-nav span{display:none}.header-inner{gap:8px}.storefront main{padding:0 16px 28px}.storefront .topbar{padding:14px 16px}.hero-copy h2{font-size:28px!important;letter-spacing:-1px!important}.storefront .hero-copy p{font-size:13px}.quick-prices button{font-size:14px;gap:9px}.quick-prices button small{display:block;font-size:11px;margin-left:19px}.quick-prices button strong{font-size:21px}.quick-heading span{font-size:10px}.scope-options{grid-template-columns:1fr 1fr;margin:18px 0;gap:8px}.scope-options button{padding:12px}.scope-options button strong{font-size:15px}.storefront .filters{grid-template-columns:1fr;gap:12px}.storefront .filters label{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;font-size:12px}.storefront .filters select{font-size:14px;min-height:46px;padding:10px 9px}.storefront .section-head{align-items:flex-start;gap:7px}.storefront .section-head h3{font-size:20px}.storefront .section-head .eyebrow{font-size:10px}.reset-button{font-size:10px;padding-top:7px}.storefront .section-head p{font-size:12px}.scope-note{font-size:12px;line-height:1.85}.storefront .filter-card{padding:19px 16px}.storefront .product{padding:22px}.storefront .price{font-size:32px}.price-block>span{font-size:11px}.product-details summary{font-size:13px}.group-heading h3{font-size:20px}.storefront .legal-note{padding:19px}.storefront .checkout-card{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){.storefront *{scroll-behavior:auto!important;transition:none!important}}

.storefront button,.storefront select{font-family:inherit}

/* Keep account and product navigation distinct at every viewport width. */
.header-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 28px}
.header-nav a{display:inline-flex;align-items:center;min-height:40px;padding:4px 6px;white-space:nowrap}
@media(max-width:640px){.header-inner{flex-wrap:wrap}.header-nav{gap:8px 16px;margin-left:auto}.header-nav a{font-size:13px}}
@media(max-width:420px){.header-nav{width:100%;justify-content:flex-start;gap:8px 20px}.header-nav a{min-height:36px}}

/* All published unit choices retain the same purchase button format. */
.scope-options{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:520px){.scope-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.unit-selection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.unit-selection-heading small{font-size:12px;font-weight:400;margin-left:8px;color:#587178}.scope-options button:disabled{opacity:.45;cursor:default}.scope-options{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:12px}@media(max-width:760px){.scope-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.scope-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Match score highlights to the headline and increase subtitle prominence. */
.hero-copy h2 em{font-weight:800}.storefront .hero-copy .hero-tagline{font-size:28px;line-height:1.4;margin:18px 0 14px;font-weight:800;color:#143c43;letter-spacing:-.7px}.hero-tagline strong,.hero-tagline em{font-weight:800}.hero-tagline em{color:#147b68;font-style:normal}@media(max-width:520px){.storefront .hero-copy .hero-tagline{font-size:23px;margin:14px 0 12px}}

/* Make unit scope and exam quantities readable at a glance. */
.storefront .product-top{flex-wrap:wrap}.storefront .tag{font-size:18px;font-weight:800;line-height:1.4;padding:7px 11px;color:#183c43}.group-heading{flex-wrap:wrap}.group-heading p{font-size:20px;font-weight:800;color:#183c43}.product-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.product-stats dt{font-size:15px;font-weight:700;color:#36565e;margin-bottom:5px}.product-stats dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;font-size:30px;font-weight:800;color:#183c43}.product-stats small{font-size:15px;font-weight:700;margin-left:0;color:#36565e}.file-summary{font-size:15px;color:#36565e}.file-summary strong{font-size:15px;font-weight:700}.included-line{font-size:15px}.price-block>span{font-size:12px}@media(max-width:520px){.storefront .tag{font-size:17px}.group-heading p{font-size:18px}.product-stats dd{font-size:28px}.product-stats dt,.product-stats small{font-size:14px}.file-summary,.file-summary strong{font-size:14px}}

/* Keep score highlights full-size; supporting words are exactly 2px smaller. */
.hero-copy h2{--hero-support-size:36px}.hero-copy .hero-tagline{--hero-support-size:26px}.hero-copy .hero-smaller{font-size:var(--hero-support-size)}.hero-copy .hero-orange,.hero-tagline .hero-orange{color:#bd8b2f;font-weight:800;font-style:normal}@media(max-width:1050px){.hero-copy h2{--hero-support-size:29px}}@media(max-width:820px){.hero-copy h2{--hero-support-size:30px}}@media(max-width:520px){.hero-copy h2{--hero-support-size:26px}.hero-copy .hero-tagline{--hero-support-size:21px}}

/* Restore only the hero slogan appearance from before the two styling updates. */
.storefront .hero-copy .hero-tagline{font-size:15px;line-height:1.85;margin:0;color:#526973;font-weight:400;letter-spacing:normal}.hero-tagline strong{font-weight:700}@media(max-width:520px){.storefront .hero-copy .hero-tagline{font-size:13px;margin:0}}

/* Increase only the subtitle by 2px and emphasize the grade. */
.storefront .hero-copy .hero-tagline{font-size:17px;font-weight:400}.hero-tagline strong{font-weight:800}@media(max-width:520px){.storefront .hero-copy .hero-tagline{font-size:15px}}

/* Simplify the hero and enlarge the subtitle another 2px. */
.hero-copy h2,.hero-copy h2 em{font-weight:400}.storefront .hero-copy .hero-tagline{font-size:19px}@media(max-width:520px){.storefront .hero-copy .hero-tagline{font-size:17px}}

.cart-card{margin:32px auto;padding:28px;border:1px solid #dce4df;border-radius:20px;background:#fff;max-width:1180px;scroll-margin-top:90px}.cart-card h3{font-size:24px;margin:0 0 16px}.cart-card ul{list-style:none;padding:0}.cart-card li{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #edf0ed}.cart-card li span{display:block;margin-top:6px;color:#315440}.cart-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px}.cart-summary strong{font-size:26px;margin-right:auto}.cart-card .primary{padding:14px 22px;border:0;border-radius:12px;background:#1c543e;color:#fff;font-weight:700}.cart-card button:disabled{opacity:.5}.cart-empty,#cartStatus{color:#54665c}@media(max-width:600px){.cart-card{padding:20px;margin:24px 12px}.cart-summary button{width:100%}}

/* Compact catalogue with expandable per-product information. */
.pack-guide{max-width:1180px;margin:20px auto;color:#42616a;line-height:1.8;padding:16px 20px;background:#eaf1ed;border-radius:12px}.pack-guide small{display:block}.textbook-chooser{padding:30px;background:white;border:1px solid #dce4df;border-radius:18px}.textbook-chooser>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.textbook-button{display:flex;justify-content:space-between;gap:12px;padding:22px;background:#f5f9f6;border:1px solid #bfd2c8;border-radius:12px;font:inherit;font-weight:700;color:#183c43}.textbook-button span{font-size:14px;font-weight:400}.storefront .product-grid{display:block}.compact-unit{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;align-items:start;margin:12px 0;padding:18px 20px;background:white;border:1px solid #dce4df;border-radius:15px}.unit-heading h3{margin:2px 0 8px;font-size:23px}.unit-heading span{font-size:13px;color:#526973}.unit-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.storefront .compact-product{padding:12px 14px;border-radius:10px;min-height:0;box-shadow:none}.compact-buy{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.compact-buy>strong{font-size:16px}.compact-price{margin-left:auto;font-size:18px;font-weight:800}.compact-buy .buy{width:100%;padding:9px;border:0;border-radius:8px;background:#183c43;color:white;font:inherit;font-weight:700}.compact-details{font-size:13px;line-height:1.7;margin-top:10px}.compact-details summary{cursor:pointer;color:#42616a}.compact-details .sample{padding:9px;border:1px solid #bfd2c8;background:white;border-radius:8px;width:100%}.cart-dock{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);width:min(700px,calc(100% - 32px));box-sizing:border-box;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-radius:14px;background:#183c43;color:white;box-shadow:0 7px 25px #183c4333}.cart-dock[hidden]{display:none}.cart-dock a{color:white;font-weight:700;white-space:nowrap}.storefront{padding-bottom:90px}.compact-unit,.textbook-chooser{scroll-margin-top:100px}@media(max-width:850px){.compact-unit{grid-template-columns:1fr}.unit-heading{display:flex;align-items:center;gap:12px}.unit-heading h3{margin:0}.compact-price{font-size:16px}}@media(max-width:560px){.textbook-chooser>div{grid-template-columns:1fr}.textbook-chooser{padding:20px}.unit-options{grid-template-columns:1fr}.storefront .compact-product{padding:10px 12px}.compact-buy{flex-wrap:nowrap}.compact-buy .buy{width:auto;margin-left:8px;padding:8px 14px}.compact-price{margin-left:auto}.compact-unit{padding:15px;gap:12px}.compact-details{margin-top:5px}.cart-dock{font-size:14px;padding:14px}.pack-guide{margin:14px 12px}}

.scope-options[hidden],.unit-selection-heading[hidden]{display:none!important}

.compact-counts{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 10px;background:#f3f7f5;border-radius:7px;color:#42616a;font-size:13px}.compact-counts strong{color:#183c43;font-size:15px;margin-left:4px}.compact-counts small{font-size:inherit}

.purchase-notice-consent{margin-top:20px;padding:16px;border:1px solid #cbdcd6;border-radius:10px;background:white;align-items:flex-start}.purchase-notice-consent input{width:20px;height:20px;flex-shrink:0}#purchaseNoticeStatus{color:#9b4026;font-weight:700}

.school-price-note{margin:12px 0 0;padding-top:12px;border-top:1px solid #e6ece6;font-size:12px;line-height:1.8;color:#57717a}.school-price-note strong{color:#1d3c42;font-weight:600}

.quick-prices button .school-counts{display:flex;flex-wrap:wrap;gap:5px 7px;margin-top:6px}.school-counts>span{display:inline-block;padding:3px 7px;border-radius:6px;background:#eef4f1;color:#42665e;font-size:10px;line-height:1.5;font-weight:500}.school-counts>span+span{background:#eef4f1;color:#42665e}

.storefront .hero{grid-template-columns:.9fr 1fr 1fr;gap:22px}.quick-row{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:14px;align-items:center;border-top:1px solid #e6ece6;padding:13px 0;color:#1d3c42;font-size:14px}.quick-row strong{font-size:21px;letter-spacing:-.6px}.quick-row small{font-size:11px;font-weight:400;display:block;margin-left:19px;color:#57717a}.quick-row .combined-count{font-size:17px}.quick-heading b{font-size:16px}.quick-heading span{font-size:10px}.quick-prices{min-width:0}@media(max-width:1050px){.storefront .hero{grid-template-columns:1fr 1fr;gap:20px}.hero-copy{grid-column:1 / -1}}@media(max-width:620px){.storefront .hero{grid-template-columns:1fr}.hero-copy{grid-column:auto}}

/* Matching dimensions and typography for the two school pricing cards. */
.quick-prices{height:300px;align-self:stretch;display:grid;grid-template-rows:30px repeat(3,minmax(0,1fr))}.quick-prices .quick-heading{margin:0;align-self:start}.quick-prices button,.quick-prices .quick-row{height:100%;min-width:0;margin:0;padding:13px 0;line-height:1.65;font-family:inherit;font-size:14px;font-weight:700;box-sizing:border-box}.quick-prices button small,.quick-prices .quick-row small{display:block;margin-left:19px;font-size:11px;font-weight:400;line-height:1.65}.quick-prices button strong,.quick-prices .quick-row strong{font-size:21px;line-height:1.65;font-weight:700}

.brand-lockup{display:flex;flex-direction:column;gap:4px}.brand-complete{display:block;width:242px;height:auto;max-width:100%;object-fit:contain}.storefront .brand-lockup p{margin:0;padding-left:70px;font-size:11px}@media(max-width:520px){.brand-complete{width:190px}.storefront .brand-lockup p{padding-left:55px;font-size:10px}.header-inner{flex-wrap:wrap}}

/* Final matching school cards and selected complete brand lockup. */
.quick-prices{height:300px;grid-template-rows:30px repeat(3,minmax(0,1fr));padding:19px 21px}.quick-prices .quick-heading b{font-family:inherit;font-size:16px;font-weight:700;line-height:1.65}.quick-prices .quick-heading span{font-family:inherit;font-size:10px;font-weight:400;line-height:1.65}.quick-prices button,.quick-prices .quick-row{font-family:inherit;font-size:14px;font-weight:700;line-height:1.65;gap:14px}.quick-prices button small,.quick-prices .quick-row small{font-family:inherit;font-size:11px;font-weight:400;line-height:1.65;margin-left:19px}.quick-prices button strong,.quick-prices .quick-row strong{font-family:inherit;font-size:21px;font-weight:700;line-height:1.65}.brand-complete{width:300px;height:auto}@media(max-width:520px){.brand-complete{width:230px}}

.brand-complete{mix-blend-mode:multiply}

/* Clear composition labels and touch-friendly catalog filters */
.general-format-note{display:inline;font-size:11px;font-weight:500;font-style:normal;color:#526b65;white-space:normal;line-height:1.6}
.product-format-note{display:block;font-size:11px;font-weight:500;color:#526b65;line-height:1.5;margin-top:4px}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px;background:#f5f8f7;border:1px solid #dfe8e4;border-radius:18px}
.filter-group{min-width:0;margin:0;padding:0;border:0}.filter-group legend{padding:0;margin-bottom:9px;color:#405c53;font-size:12px;font-weight:700}.filter-types{grid-column:1/-1}.filter-options{display:flex;flex-wrap:wrap;gap:8px}.filter-options button{min-height:44px;padding:10px 16px;border:1px solid #d6e2dc;border-radius:12px;background:#fff;color:#496057;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.filter-options button:hover{border-color:#618e7a;background:#edf5f0}.filter-options button[aria-pressed="true"]{background:#173f31;border-color:#173f31;color:#fff;box-shadow:0 3px 8px #173f3117}.filter-options button:focus-visible{outline:3px solid #97bca8;outline-offset:3px}
@media(max-width:600px){.filters{grid-template-columns:1fr;padding:16px;gap:18px}.filter-types{grid-column:auto}.filter-options{gap:7px}.filter-options button{padding:10px 12px}.general-format-note{font-size:10px}.quick-prices button>span:first-child,.quick-row>span:first-child{min-width:0}}
/* Simple selection to checkout */
.compact-product.is-selected{border-color:#245c44;background:#f1f8f3;box-shadow:0 0 0 2px #245c4414}.compact-product .buy[aria-pressed="true"]{background:#dbeee2;color:#174631;border-color:#9dc2ac}.sample-link{border:0;background:transparent;color:#4e7162;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:10px 0;cursor:pointer;min-height:40px}.cart-dock{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:16px 22px;box-shadow:0 -5px 28px #163f311a}.cart-dock[hidden]{display:none!important}.cart-dock>div{display:grid;gap:4px}.cart-dock small{color:#607a6e;font-size:11px}.cart-dock strong{font-size:19px}.cart-dock .primary{min-height:48px;padding:12px 26px;border-radius:12px}.cart-dock p{flex-basis:100%;margin:0;font-size:12px;color:#496456}.cart-dock p:empty{display:none}.cart-dock p button{background:transparent;border:0;color:#174b32;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer;min-height:36px}.checkout-card{max-width:730px}.checkout-lead{color:#61766d;font-size:13px;margin-top:-8px}.checkout-item-list{border:1px solid #dce6e0;border-radius:14px;overflow:hidden;margin:20px 0 12px}.checkout-item-list>div{display:flex;justify-content:space-between;gap:14px;padding:13px 16px;font-size:13px;border-bottom:1px solid #e6ece8}.checkout-item-list>div:last-child{border:0}.checkout-item-list strong{white-space:nowrap}.checkout-card .order-box>div:first-child,.checkout-card .order-box>div:nth-child(2){display:none}.checkout-card .order-box{margin-top:0}.checkout-card .order-box>div:last-child{font-size:18px}.checkout-login{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#f0f6f2;border-radius:14px;margin:16px 0}.checkout-login[hidden],.buyer-fields[hidden]{display:none!important}.checkout-login p{font-size:12px;color:#667b6f;margin:6px 0 0}.checkout-login .primary{min-height:44px;font-size:12px;white-space:nowrap}.payment-options{border:0;padding:0;margin:22px 0 0;display:flex;gap:8px;flex-wrap:wrap}.payment-options legend{font-size:13px;font-weight:700;margin-bottom:9px}.payment-options label{position:relative;flex:1;min-width:120px;cursor:pointer}.payment-options input{position:absolute;width:1px;height:1px;opacity:0}.payment-options span{display:block;text-align:center;border:1px solid #dce5df;background:#fff;padding:14px 10px;border-radius:11px;font-size:13px}.payment-options input:checked+span{border-color:#235b42;background:#eaf4ee;color:#174b32;box-shadow:inset 0 0 0 1px #235b42;font-weight:700}.payment-options input:focus-visible+span{outline:3px solid #8cb89d;outline-offset:3px}.checkout-consents{border:1px solid #dae5de;border-radius:14px;margin-top:18px;overflow:hidden}.agree-all{padding:16px!important;background:#f3f8f4;margin:0!important}.agree-all small{display:block;color:#677d70;margin-top:4px}.consent-details{padding:0 16px}.consent-details>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:14px 0;font-size:13px;color:#4f6d5e;min-height:44px}.consent-details .agreement-box{border:0;padding:0}.checkout-status{font-size:12px;line-height:1.6;color:#557061;padding:12px 14px;background:#f4f7f5;border-radius:10px}.checkout-actions{position:sticky;bottom:-24px;background:#fff;padding:14px 0 20px;margin-bottom:-10px;border-top:1px solid #edf0ed;z-index:2}.checkout-actions .primary{flex:1;min-height:50px}.checkout-actions .secondary{min-height:50px}.checkout-card .check-row input{flex-shrink:0;width:19px;height:19px;accent-color:#235b42}.checkout-card details[open] summary{border-bottom:1px solid #e4ece6}.checkout-card .bundle-notice{font-size:12px;line-height:1.7}
@media(max-width:600px){.cart-dock{left:10px;right:10px;bottom:10px;padding:14px 16px;gap:8px 10px;border-radius:16px}.cart-dock strong{font-size:16px}.cart-dock .primary{padding:12px 18px}.cart-dock p{font-size:11px}.checkout-card{padding:20px!important;border-radius:18px;max-height:93vh}.checkout-login{align-items:flex-start;flex-direction:column;gap:12px}.checkout-login .primary{width:100%}.payment-options{gap:6px}.payment-options label{min-width:85px}.payment-options span{font-size:12px;padding:14px 7px}.checkout-item-list>div{font-size:12px;padding:12px}.checkout-actions{bottom:-20px}.checkout-card .buyer-fields{grid-template-columns:1fr}.checkout-lead{line-height:1.7}}
.cart-dock{background:#fff;color:#173f31;border:1px solid #d6e4da}.cart-dock .primary{background:#173f31;color:#fff}.cart-dock p button{padding:6px 10px;border:1px solid #b4cdbd;border-radius:8px;background:#edf5ef}body:has(.cart-dock:not([hidden])){padding-bottom:160px}
@media(max-width:600px){.cart-dock{transform:none;width:auto}}
.checkout-card h3{margin-top:4px;margin-bottom:16px}.checkout-card .checkout-lead{margin-bottom:10px}.checkout-card .checkout-item-list{margin-top:14px}.checkout-card .order-box{padding:14px 16px}.checkout-card .checkout-login{padding:14px 16px;margin:12px 0}.checkout-card .payment-options{margin-top:16px}.checkout-card .bundle-notice{padding:10px 12px;margin:10px 0}.checkout-card #orderOverlap{padding:0;background:transparent;margin:8px 0;color:#5e7469}.checkout-card .checkout-consents{margin-top:12px}

/* Middle-school grades first; high-school grades on a separate row. */
#gradeFilter{display:grid;grid-template-columns:repeat(3,max-content);justify-content:start;gap:8px}
#gradeFilter button[data-value^="grade|중"]{grid-row:1}
#gradeFilter button[data-value^="grade|고"]{grid-row:2}


/* General-only storefront layout */
.storefront .hero {grid-template-columns:minmax(220px,.78fr) minmax(0,2.22fr);gap:24px}
.school-prices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.storefront .school-price {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;
  min-height:174px;padding:19px 16px;border:1px solid #d8e5df;border-radius:18px;
  background:#fffdf9;box-shadow:0 8px 28px #123c4305;color:#183c43;text-align:left;font:inherit;
}
.storefront .school-price:hover {border-color:#2b796b;background:#f7fbf8}
.school-price .school-name {font-weight:800;font-size:17px}
.school-price .school-kind {color:#37665f;font-size:13px;font-weight:700}
.school-price .school-amount {font-size:28px;letter-spacing:-.045em;line-height:1.25;margin:10px 0 6px}
.school-price .school-count {color:#4a646a;font-size:13px;line-height:1.5;word-break:keep-all}
@media(max-width:980px){.storefront .hero{grid-template-columns:1fr;gap:18px}}
@media(max-width:550px){
  .school-prices{grid-template-columns:1fr;gap:9px}
  .storefront .school-price{min-height:0;padding:13px 15px}
  .school-price .school-amount{font-size:24px;margin:5px 0 3px}
}
.storefront .school-price {min-height:280px;justify-content:flex-start;border:2px solid var(--school-color)}
.storefront .school-price:hover,.storefront .school-price[aria-pressed=true]{border-color:var(--school-color);background:#f7fbf8}
.school-price[data-school="초"]{--school-color:#168a75}
.school-price[data-school="중"]{--school-color:#4875b7}
.school-price[data-school="고"]{--school-color:#c59437}
.school-composition {display:grid;width:100%;margin-top:12px;padding-top:10px;border-top:1px solid #d8e5df;gap:5px}
.composition-heading{font-size:13px;font-weight:800;color:#183c43}
.composition-counts{display:grid;gap:2px;font-size:13px;color:#324f55}
.composition-note{font-size:11px;color:#526973;line-height:1.5;word-break:keep-all;margin-top:2px}

@media(max-width:980px){.hero-copy{grid-column:auto}}

/* Separate grade and textbook choices into equal-width groups. */
.storefront #products .filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
.storefront #products .filter-group:not([hidden]) {
  padding: 10px 14px 14px;
  border: 1px solid #dfe8e4;
  border-radius: 12px;
  background: #f5f8f7;
}
#gradeFilter, #publisherFilter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
}
#gradeFilter button, #publisherFilter button {
  width: 100%;
  min-width: 0;
  padding-inline: 8px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .storefront #products .filters { grid-template-columns: minmax(0, 1fr); }
}

.unit-heading .unit-reading-count{display:block;margin-top:4px}

.unit-heading:has(.unit-reading-count){display:block}
.unit-heading:has(.unit-reading-count) span{font-weight:700;color:#173b40}
.unit-heading:has(.unit-reading-count) h3{margin-bottom:8px}
.unit-reading-count > span{white-space:nowrap}
@media(min-width:851px){.compact-unit:has(.unit-reading-count){grid-template-columns:215px minmax(0,1fr)}}
#accountNav .nav-logout,.quizbay-tab-signed-in #accountNav .nav-login{display:none}
.quizbay-tab-signed-in #accountNav .nav-logout{display:inline}

