@import url('https://fonts.googleapis.com/css2?family=Anek+Latin:wght@500;600;700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');
/* Textbookmantra newversion: presentation only. Existing forms and events are retained. */
body.tm-redesign{--primary:#aa4b22;--secondary:#253141;--primary-hover:#873a19;--primary-dark:#873a19;--rgba-primary-1:rgba(170,75,34,.1);--rgba-primary-2:rgba(170,75,34,.2);--tm-paper:#f8f1ec;--tm-line:#dfd2c8;--tm-ink:#151c25;--tm-muted:#606b76;background:var(--tm-paper);color:var(--tm-ink);font-family:'Hanken Grotesk',Arial,sans-serif;font-size:16px;line-height:1.55}
.tm-redesign h1,.tm-redesign h2,.tm-redesign h3,.tm-redesign h4,.tm-redesign h5,.tm-redesign h6{font-family:'Anek Latin','Hanken Grotesk',Arial,sans-serif;color:var(--tm-ink);letter-spacing:-.025em}
.tm-redesign .container{max-width:1160px}
.tm-redesign .page-content,.tm-redesign .page-wraper,.tm-redesign .bg-grey,.tm-redesign .page-content.bg-white{background:var(--tm-paper)!important}
.tm-redesign a{color:inherit}.tm-redesign a:hover{color:#aa4b22}
.tm-redesign a:focus-visible,.tm-redesign button:focus-visible,.tm-redesign input:focus-visible{outline:3px solid #b46840;outline-offset:3px}
.tm-redesign .site-header .top-header{background:#1d2734!important;color:#d6dce2!important;display:flex;align-items:center;justify-content:space-between;padding:7px max(20px,calc((100% - 1130px)/2))!important;gap:12px;font:500 10px/1.4 'Hanken Grotesk',Arial,sans-serif!important;letter-spacing:.055em!important;min-height:30px}
.tm-redesign .top-header .header-center,.tm-redesign .top-header .header-left,.tm-redesign .top-header .header-right{color:inherit!important;font:inherit!important;white-space:normal}
.tm-redesign .main-bar{background:#253141!important;border:0!important;box-shadow:0 3px 12px #17213216}
.tm-redesign .site-header .logo-header{width:195px!important;height:80px!important;margin:0!important;flex-shrink:0}
.tm-redesign .logo-header>a{display:flex!important;align-items:center;gap:10px;height:100%}
.tm-redesign .logo-header img{width:52px!important;height:56px!important;object-fit:contain;background:white;border-radius:10px;padding:3px}
.tm-brand-name{font-size:17px;line-height:1.1;font-weight:700;color:#fff;letter-spacing:-.6px;white-space:nowrap}
.tm-brand-name small{display:block;font-size:10px;font-weight:500;letter-spacing:1.3px;margin-top:5px;color:#b6c1cd;text-transform:uppercase}
.tm-redesign .header-nav .nav>li>a{color:#d1d9e1!important;font-family:inherit;font-size:13px;font-weight:600;padding:29px 10px!important}
.tm-redesign .header-nav .nav>li>a:hover{color:white!important;background:#354355}
.tm-redesign .extra-nav{height:80px!important;padding:18px 0!important}
.tm-redesign .extra-nav .btn{border-radius:30px!important;padding:10px 16px!important;min-height:42px;white-space:nowrap;width:auto!important;font-size:13px!important;box-shadow:none!important}
.tm-redesign .extra-nav .btn-success{background:#f8fafb!important;border-color:#f8fafb!important;color:#253141!important}
.tm-redesign .extra-nav .btn-info{background:transparent!important;border:1px solid #637284!important;color:white!important}
.tm-redesign .extra-nav .profile-dropdown>.nav-link{color:#fff!important}.tm-redesign #total_items svg{fill:#fff}
.tm-redesign .profile-dropdown .dropdown-menu{border:1px solid var(--tm-line);border-radius:16px;box-shadow:0 12px 30px #2531411a}
.tm-redesign .site-header .navbar-toggler.navicon{background:#3c4a5d!important;border-radius:10px!important;box-shadow:none!important}
.tm-redesign .btn-primary,.tm-redesign .btn-warning,.tm-redesign .btn-info,.tm-redesign .btn-success{background:#aa4b22;border-color:#aa4b22;color:#fff;border-radius:12px;font-family:inherit;font-weight:600;box-shadow:0 5px 12px #aa4b2215}
.tm-redesign .btn-primary:hover,.tm-redesign .btn-warning:hover{background:#873a19;border-color:#873a19;color:#fff}
.tm-redesign .btnhover:before,.tm-redesign .btnhover:after{background:#873a19}
.tm-redesign .text-primary{color:#aa4b22!important}
.tm-redesign .form-control,.tm-redesign select.form-control,.tm-redesign .bootstrap-select .dropdown-toggle{background:#fff;border:1px solid var(--tm-line);border-radius:11px;color:var(--tm-ink);font-family:inherit;min-height:46px;box-shadow:none}
.tm-redesign .form-control:focus{border-color:#aa4b22;box-shadow:0 0 0 3px #aa4b2212}
.tm-redesign .modal-content{border:1px solid var(--tm-line);border-radius:20px;box-shadow:0 20px 70px #18253630;background:#fff}
.tm-redesign .modal-header{background:#f8f1ec;border-bottom:1px solid var(--tm-line);border-radius:20px 20px 0 0;padding:20px 24px}
.tm-redesign .modal-body{padding:22px 24px}.tm-redesign .modal-title{font-size:26px}.tm-redesign .modal label{font-size:14px;font-weight:600}
.tm-redesign .modal .btn{min-height:44px}.tm-redesign .modal .container{padding-left:24px;padding-right:24px}
.tm-redesign .content-inner,.tm-redesign .content-inner-1{padding-top:40px;padding-bottom:45px}
.tm-redesign .dz-bnr-inr{background:#eee3d9!important;height:175px!important}.tm-redesign .dz-bnr-inr:before{display:none}.tm-redesign .dz-bnr-inr h1,.tm-redesign .dz-bnr-inr .breadcrumb-row a{color:#253141!important}
.tm-redesign .dz-shop-card.style-1,.tm-redesign .books-card.style-1,.tm-redesign .shop-account,.tm-redesign .shop-bx-title,.tm-redesign .widget{border-radius:16px}
.tm-redesign .dz-shop-card.style-1,.tm-redesign .books-card.style-1{background:#fff;border:1px solid var(--tm-line);box-shadow:0 2px 5px #25314106;overflow:hidden;transition:transform .18s,border-color .18s}
.tm-redesign .dz-shop-card.style-1:hover,.tm-redesign .books-card.style-1:hover{border-color:#b99077;transform:translateY(-3px);box-shadow:0 8px 20px #2531410c}
.tm-redesign .dz-shop-card .dz-media{background:#fff;padding:16px}.tm-redesign .dz-shop-card .dz-media img{object-fit:contain}
.tm-redesign .dz-shop-card .dz-content{padding:20px}.tm-redesign .book-grid-row{row-gap:22px;margin-top:24px}
.tm-redesign .dz-shop-card .title{font-size:20px}.tm-redesign .price-num{color:#253141!important;font-weight:700}
.tm-redesign .table{background:#fff;color:#253141;border-color:var(--tm-line)}.tm-redesign .table th{background:#eee4dc;color:#253141;font-weight:600}.tm-redesign .table td{vertical-align:middle;border-color:var(--tm-line)}
.tm-redesign .table-responsive{border:1px solid var(--tm-line);border-radius:14px}.tm-redesign .table-responsive .table{margin-bottom:0}
.tm-redesign .shop-form,.tm-redesign .shop-account,.tm-redesign .cart-totals{background:#fff;border:1px solid var(--tm-line);border-radius:16px;padding:24px}
.tm-redesign .site-footer{background:#253141!important;color:#d7dfe6;margin-top:38px}.tm-redesign .footer-bottom{background:#253141!important;border-top:1px solid #46515e;padding:20px 0!important}.tm-redesign .footer-bottom .copyright-text{color:#d4dce3!important;font-size:13px;margin:0}
.tm-redesign .footer-top{padding:45px 0 30px}.tm-redesign .site-footer .footer-title{color:#fff!important;font-size:17px}.tm-redesign .site-footer a,.tm-redesign .site-footer p{color:#d7dfe6}.tm-redesign .site-footer .widget{background:transparent;border:0;box-shadow:none}
.tm-home{max-width:1160px;padding:30px 15px 0;margin:auto}
.tm-notice{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(115deg,#253141,#36495f);color:#fff;border-radius:22px;padding:23px 26px;margin-bottom:42px}
.tm-notice strong{display:block;font-size:21px;font-family:'Anek Latin',Arial,sans-serif;font-weight:600;letter-spacing:-.3px}.tm-notice p{margin:3px 0 0;color:#cbd5df;font-size:14px}
.tm-notice .tm-notice-action{background:#fff;color:#253141;border:0;border-radius:13px;font-size:14px;font-weight:700;padding:14px 22px;white-space:nowrap;cursor:pointer}
.tm-hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:38px;align-items:start}
.tm-eyebrow{display:block;color:#aa4b22;font-size:11px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;margin:0 0 13px}
.tm-hero-title{font-size:46px!important;line-height:1.09!important;font-weight:700!important;margin:0 0 18px!important;max-width:650px}
.tm-intro{font-size:16px;color:#606b76;margin-bottom:25px;max-width:520px}
.tm-directory-label{font-size:15px;font-weight:700;display:block;margin-bottom:9px}
.tm-directory-search{display:flex;gap:10px;margin-bottom:12px}.tm-directory-search input{width:100%;min-width:0;border:1px solid #dfd2c8;background:white;border-radius:13px;padding:15px;font:inherit;font-size:15px;color:#253141}.tm-directory-search button{border:0;border-radius:13px;background:#aa4b22;color:#fff;padding:0 23px;font:600 15px 'Hanken Grotesk',Arial;box-shadow:0 5px 14px #aa4b2220;cursor:pointer}
.tm-count{font-size:13px;color:#606b76;margin:10px 0}.tm-school-list{background:#fff;border:1px solid #dfd2c8;border-radius:19px;overflow:hidden;box-shadow:0 2px 5px #25314105}
.tm-school{display:flex;gap:14px;align-items:center;padding:17px 18px;border-bottom:1px solid #dfd2c8;color:#17212c!important;text-decoration:none!important;min-height:85px}.tm-school:last-child{border-bottom:0}.tm-school:hover{background:#fcf8f5}.tm-school[hidden]{display:none}
.tm-school-logo{width:45px;height:48px;flex:0 0 45px;background:#f8f5f1;border:1px solid #eee5df;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#536579;font-size:18px;font-weight:700}.tm-school-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.tm-school-name{flex:1;min-width:0}.tm-school-name strong{display:block;font-size:14px;line-height:1.35;font-weight:700;text-transform:none}.tm-school-name small{display:block;font-size:12px;color:#6b7580;margin-top:4px}.tm-school-arrow{color:#718476;font-size:21px;flex-shrink:0}.tm-no-results{padding:20px;color:#606b76;margin:0}.tm-no-results[hidden]{display:none}
.tm-guide{background:#fff;border:1px solid #dfd2c8;border-radius:20px;overflow:hidden;box-shadow:0 3px 12px #25314104}.tm-guide-head{padding:26px 25px 22px;border-bottom:1px solid #dfd2c8}.tm-guide-head h2{font-size:27px;line-height:1.15;margin:8px 0 10px}.tm-guide-head p{font-size:14px;color:#606b76;margin:0}.tm-chip{display:inline-block;border-radius:20px;background:#e6f0eb;color:#356757;padding:5px 10px;font-size:11px;font-weight:700}
.tm-steps{list-style:none;padding:0;margin:0}.tm-steps li{display:flex;gap:15px;padding:21px 25px;border-bottom:1px solid #dfd2c8;align-items:start}.tm-step-number{width:35px;height:40px;flex-shrink:0;border-radius:7px;background:#eef0f2;color:#405169;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700}.tm-steps h3{font-size:19px;line-height:1.2;margin:0 0 5px}.tm-steps p{font-size:13px;color:#606b76;line-height:1.5;margin:0}.tm-guide-foot{padding:20px 25px;background:#fcf8f5;display:flex;gap:10px;align-items:center;font-size:13px;color:#586572}.tm-guide-foot svg{flex-shrink:0}
.tm-browse-note{padding:23px 2px;font-size:13px;color:#69747e}.tm-browse-note a{font-weight:700;color:#aa4b22;text-decoration:underline;text-underline-offset:3px}
.tm-campaigns{margin-top:25px;padding:18px;background:#fff;border:1px solid #dfd2c8;border-radius:18px}.tm-campaigns .tm-eyebrow{margin-bottom:10px}.tm-campaigns .main-slider{border-radius:11px;overflow:hidden}.tm-campaigns .main-swiper{position:relative;overflow:hidden}.tm-campaigns .swiper-slide img{width:100%;height:auto!important;aspect-ratio:2.75;object-fit:contain!important}.tm-campaigns .swiper-pagination-wrapper{position:relative;padding:0;bottom:auto}.tm-campaigns .swiper-pagination-five{position:relative;bottom:auto;padding-top:8px}.tm-campaigns .main-swiper-thumb{display:none}
.tm-information{margin:46px 0 5px;border-top:1px solid #dfd2c8;padding-top:30px}.tm-information h2{font-size:28px;margin-bottom:22px}.tm-information-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.tm-information-grid h3{font-size:20px;margin:0 0 9px}.tm-information-grid p{font-size:14px;color:#606b76;margin:0;line-height:1.65}
@media(min-width:992px){.tm-redesign .site-header .main-bar .container{display:flex;align-items:center;gap:16px}.tm-redesign .site-header .main-bar .container:after{display:none}.tm-redesign .site-header .header-nav{order:2;flex:1}.tm-redesign .site-header .extra-nav{order:3;flex-shrink:0;position:static;margin-left:auto}.tm-redesign .header-nav .logo-header{display:none!important}.tm-redesign .header-nav .nav{flex-wrap:nowrap}.tm-redesign .header-nav .nav>li>a{white-space:nowrap}.tm-redesign .navbar-toggler{display:none!important}}
@media(max-width:1199px) and (min-width:992px){.tm-redesign .site-header .logo-header{width:165px!important}.tm-brand-name{font-size:14px}.tm-redesign .header-nav .nav>li>a{padding-left:7px!important;padding-right:7px!important;font-size:12px}.tm-redesign .site-header .main-bar .container{gap:8px}.tm-redesign .extra-nav .btn{padding:10px 12px!important}}
@media(max-width:991px){.tm-redesign .site-header .top-header{flex-direction:row!important;justify-content:center;padding:6px 15px!important;font-size:9px!important}.tm-redesign .top-header .header-left,.tm-redesign .top-header .header-right{display:none}.tm-redesign .site-header .logo-header{width:190px!important;height:72px!important}.tm-redesign .extra-nav{height:72px!important;padding:14px 0!important;margin-right:8px!important}.tm-redesign .header-nav{background:#253141!important}.tm-redesign .header-nav .nav>li>a{padding:15px 20px!important}.tm-redesign .header-nav .logo-header{margin:18px 20px!important}.tm-redesign .extra-nav .navbar-nav{gap:9px!important}.tm-hero-grid{gap:25px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.tm-hero-title{font-size:37px!important}.tm-notice{margin-bottom:30px}.tm-home{padding-top:24px}.tm-guide-head,.tm-steps li{padding:20px}.tm-school{padding:15px 13px;gap:10px}}
@media(max-width:700px){.tm-hero-grid{grid-template-columns:1fr;gap:26px}.tm-home{padding:18px 18px 0}.tm-notice{border-radius:17px;padding:18px;gap:12px;margin-bottom:28px}.tm-notice strong{font-size:19px;line-height:1.2}.tm-notice p{font-size:12px;line-height:1.45;margin-top:7px}.tm-notice .tm-notice-action{font-size:12px;padding:12px 14px;border-radius:11px}.tm-hero-title{font-size:38px!important;max-width:480px}.tm-intro{font-size:15px}.tm-eyebrow{font-size:10px}.tm-school-name strong{font-size:13px}.tm-school-name small{font-size:11px}.tm-school{min-height:83px}.tm-school-logo{width:40px;flex-basis:40px;height:44px}.tm-information{margin-top:32px;padding-top:25px}.tm-information-grid{grid-template-columns:1fr;gap:23px}.tm-information h2{font-size:25px}.tm-redesign .site-header .main-bar .container{padding-left:14px;padding-right:14px}.tm-redesign .site-header .logo-header{width:150px!important;height:66px!important}.tm-redesign .logo-header img{width:40px!important;height:44px!important}.tm-brand-name{font-size:13px;letter-spacing:-.45px}.tm-brand-name small{font-size:8px;letter-spacing:.7px}.tm-redesign .extra-nav{height:66px!important;padding:13px 0!important;margin-right:5px!important}.tm-redesign .extra-nav .btn{font-size:11px!important;padding:9px 11px!important;min-height:38px}.tm-redesign .site-header .navbar-toggler.navicon{width:34px!important;height:36px!important;min-width:34px}.tm-redesign .navbar-toggler.navicon span{width:19px!important;height:2px!important}.tm-redesign .content-inner,.tm-redesign .content-inner-1{padding:25px 0}.tm-redesign .modal-dialog{margin:15px}.tm-redesign .table-responsive{font-size:13px}.tm-redesign .site-footer{margin-top:30px}}
@media(max-width:380px){.tm-redesign .site-header .logo-header{width:132px!important}.tm-brand-name{font-size:11px}.tm-redesign .logo-header>a{gap:6px}.tm-redesign .extra-nav .btn{padding:8px!important;font-size:10px!important}.tm-hero-title{font-size:33px!important}.tm-home{padding-left:14px;padding-right:14px}}
.tm-redesign .tm-campaigns .main-slider.style-1 .swiper-pagination-wrapper{position:relative;top:auto;left:auto;transform:none;bottom:auto;width:100%}
/* Inner pages retain original markup, form fields and control handlers. */
.tm-redesign .dz-bnr-inr .breadcrumb-row li,.tm-redesign .dz-bnr-inr .breadcrumb-row li:before{color:#65707b!important}
.tm-redesign .dz-bnr-inr h1{font-size:38px;letter-spacing:-1px}.tm-redesign .breadcrumb-row ul{background:transparent}
.tm-redesign .reccomend .row{row-gap:18px}.tm-redesign .reccomend h3{margin-bottom:26px;font-size:28px;text-transform:none!important}
.tm-redesign .reccomend .books-card.style-1{display:flex;align-items:center;padding:20px;gap:18px;height:100%;margin:0;text-align:left}
.tm-redesign .reccomend .books-card .dz-media{width:64px;min-width:64px;height:70px;margin:0;border-radius:10px;background:#f8f5f1;display:flex;align-items:center;justify-content:center}
.tm-redesign .reccomend .books-card .dz-media img{width:64px!important;height:64px!important;object-fit:contain;max-height:64px}
.tm-redesign .reccomend .books-card .content{padding:0;flex:1}.tm-redesign .reccomend .books-card .title{font-size:16px;line-height:1.4;margin:0}.tm-redesign .reccomend .row>div>a{display:block;height:100%}
.tm-redesign .book-grid-row .col-book{padding-bottom:0}.tm-redesign .book-grid-row .dz-shop-card{height:100%;margin:0}.tm-redesign .book-grid-row .dz-content{border-top:1px solid #eee4dc}
.tm-redesign .card{background:#fff;border:1px solid #dfd2c8!important;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px #25314106!important}
.tm-redesign .card .card-header{background:#253141!important;color:#fff!important;border:0;padding:18px 20px}.tm-redesign .card-header h5,.tm-redesign .card-header strong{color:#fff!important;font-size:18px}.tm-redesign .card-body{padding:22px}
.tm-redesign .card .card-footer{padding:18px 22px;background:white}.tm-redesign .shop-account.content-inner{border:0;background:transparent;padding:35px 0}
.tm-redesign .checkout-container{gap:26px}.tm-redesign .checkout-btn{background:#aa4b22!important;border:1px solid #aa4b22!important;border-radius:11px!important;padding:14px 18px;font-weight:700}
.tm-redesign .method-box,.tm-redesign .center-box,.tm-redesign .address-card{border:1px solid #dfd2c8;border-radius:12px;background:#fcf9f6;padding:16px}
.tm-redesign .address-toggle-btn{background:#f3e9e0!important;color:#873a19!important;border:1px solid #dfc6b5!important;border-radius:11px!important}
.tm-redesign .address-form-head{background:#f8f1ec!important}.tm-redesign .address-form-title{color:#253141!important}.tm-redesign .address-form-badge{background:#e6f0eb!important;color:#356757!important}
.tm-redesign .form-check-input:checked{background-color:#aa4b22;border-color:#aa4b22}.tm-redesign .quantity-input{max-width:85px;border-radius:9px!important}
.tm-redesign .check-tbl thead th{background:#eee4dc!important;color:#253141!important}.tm-redesign .check-tbl tbody td{padding:18px 14px}.tm-redesign .contact-area,.tm-redesign .contact-info{border-radius:18px}
@media(min-width:768px){.tm-redesign .reccomend .row>.col-md-4{width:50%}.tm-redesign .book-grid-row .col-book.style-1{width:25%}}
@media(max-width:767px){.tm-redesign .reccomend .row>.col-md-4{width:100%}.tm-redesign .book-grid-row .col-book.style-1{width:50%}.tm-redesign .reccomend .books-card.style-1{padding:16px}.tm-redesign .dz-bnr-inr{height:145px!important}.tm-redesign .dz-bnr-inr h1{font-size:30px}.tm-redesign .dz-shop-card .dz-content{padding:14px}.tm-redesign .book-grid-row{row-gap:15px}.tm-redesign .card-body{padding:17px}.tm-redesign .shop-account.content-inner{padding:24px 0}}
@media(prefers-reduced-motion:reduce){.tm-redesign *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Inner banner: let the heading and breadcrumb determine its height. */
body.tm-redesign .dz-bnr-inr{height:auto!important;min-height:170px;padding:32px 0!important}
body.tm-redesign .dz-bnr-inr .container{display:block;height:auto}
body.tm-redesign .dz-bnr-inr .dz-bnr-inr-entry{display:block;height:auto!important;min-height:0;text-align:center;padding:0}
body.tm-redesign .dz-bnr-inr h1{margin:0 0 14px;line-height:1.2;overflow-wrap:anywhere}
body.tm-redesign .dz-bnr-inr .breadcrumb-row{position:static!important;display:block!important;transform:none!important;inset:auto!important;width:auto;max-width:100%;margin:0}
body.tm-redesign .dz-bnr-inr .breadcrumb-row ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:6px 0;padding:0;margin:0;background:transparent}
body.tm-redesign .dz-bnr-inr .breadcrumb-row li{float:none;max-width:100%;margin:0;padding:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere;text-transform:none}
body.tm-redesign .dz-bnr-inr .breadcrumb-row .breadcrumb-item+.breadcrumb-item::before{float:none;position:static;padding:0 10px;line-height:inherit}
body.tm-redesign .dz-bnr-inr:after{display:none}
/* Only the original logo image; enlarge it without stretching. */
body.tm-redesign .site-header .logo-header{width:108px!important;height:86px!important}
body.tm-redesign .site-header .logo-header>a{justify-content:flex-start;gap:0}
body.tm-redesign .site-header .logo-header img{width:94px!important;height:74px!important;max-width:100%;object-fit:contain;padding:4px;border-radius:10px}
@media(max-width:991px){body.tm-redesign .site-header .logo-header{width:92px!important;height:76px!important}body.tm-redesign .site-header .logo-header img{width:82px!important;height:66px!important}}
@media(max-width:767px){body.tm-redesign .dz-bnr-inr{min-height:140px;padding:26px 0!important}body.tm-redesign .dz-bnr-inr h1{font-size:28px;margin-bottom:12px}body.tm-redesign .dz-bnr-inr .breadcrumb-row li{font-size:13px}}

/* Keep price and purchase controls inside each card, including on touch screens. */
body.tm-redesign .dz-shop-card.style-1{display:flex;flex-direction:column;padding:0!important;min-width:0}
body.tm-redesign .dz-shop-card.style-1 .dz-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:18px!important}
body.tm-redesign .dz-shop-card.style-1 .dz-content .title{margin:0 0 16px!important;line-height:1.4;overflow-wrap:anywhere}
body.tm-redesign .dz-shop-card.style-1 .dz-content .book-footer{position:static!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;display:flex;flex-direction:column;gap:12px;width:100%;padding:0!important;margin-top:auto;border-radius:0;background:transparent}
body.tm-redesign .dz-shop-card.style-1 .book-footer .price{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:0!important;max-width:100%;overflow-wrap:anywhere}
body.tm-redesign .dz-shop-card.style-1 .book-footer .btn{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;width:100%;max-width:100%;min-width:0;min-height:44px;padding:11px 10px!important;white-space:normal;font-size:14px;line-height:1.35;box-sizing:border-box}
body.tm-redesign .dz-shop-card.style-1 .book-footer .btn i{margin:0!important;flex-shrink:0}
body.tm-redesign .dz-shop-card.style-1 .dz-media{margin:0;padding:16px;flex-shrink:0}
body.tm-redesign .dz-shop-card.style-1 .dz-media img{width:100%;height:180px;object-fit:contain}
body.tm-redesign img.tm-placeholder{object-fit:contain!important;background:#f8f1ec;border-radius:9px}
body.tm-redesign .tm-school-logo img.tm-placeholder{border-radius:0}
@media(max-width:575px){body.tm-redesign .dz-shop-card.style-1 .dz-content{padding:12px!important}body.tm-redesign .dz-shop-card.style-1 .dz-media{padding:12px}body.tm-redesign .dz-shop-card.style-1 .dz-media img{height:150px}body.tm-redesign .dz-shop-card.style-1 .book-footer .btn{font-size:13px}body.tm-redesign .dz-shop-card.style-1 .book-footer .price .price-num{font-size:21px}}
/* Full homepage: school directory and actual set preview. */
.tm-redesign .tm-home{max-width:1160px;margin:auto;padding:28px 24px 75px}
.tm-redesign .tm-wide-banner{margin:0 0 28px;padding:0;border:0;border-radius:22px;overflow:hidden;background:#ead4bc}
.tm-redesign .tm-wide-banner .main-slider,.tm-redesign .tm-wide-banner .main-swiper{padding:0!important;margin:0!important;min-height:0!important}
.tm-redesign .tm-wide-banner .swiper-slide img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#f5e7da}
.tm-redesign .tm-wide-banner .swiper-pagination-wrapper{position:relative!important;bottom:auto!important;padding:8px!important;background:#fff}
.tm-redesign .tm-wide-banner .main-swiper-thumb{display:none}
.tm-redesign .tm-notice{margin-bottom:36px}
.tm-redesign .tm-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:36px;align-items:start}
.tm-redesign .tm-hero-title{font-size:38px;line-height:1.15;margin:12px 0 16px}
.tm-redesign .tm-school-list{max-height:370px;overflow:auto}
.tm-redesign .tm-hero-grid .tm-guide{margin-top:28px;background:transparent;border:0;box-shadow:none}
.tm-redesign .tm-guide-head{padding:0 0 16px;background:transparent;color:#253141}
.tm-redesign .tm-guide-head h2{color:#151c25;font-size:24px;margin:8px 0}
.tm-redesign .tm-guide-head p,.tm-redesign .tm-guide-head .tm-chip{display:none}
.tm-redesign .tm-steps{border:1px solid #e6ccbc;border-radius:18px;background:white;overflow:hidden;margin:0;padding:0}
.tm-redesign .tm-steps li{padding:17px 20px;border-bottom:1px solid #ecd8cb}
.tm-redesign .tm-steps li:last-child{border:0}
.tm-redesign .tm-steps h3{font-size:17px;margin:0 0 3px}
.tm-redesign .tm-steps p{font-size:13px;margin:0}
.tm-redesign .tm-guide-foot{padding:16px 0;font-size:13px}
.tm-redesign .tm-price-card{background:white;border:1px solid #e6ccbc;border-radius:20px;overflow:hidden;box-shadow:0 2px 5px #25314108}
.tm-redesign .tm-price-heading{padding:22px 20px}
.tm-redesign .tm-price-heading h2{font-size:21px;margin:10px 0 5px;line-height:1.25}
.tm-redesign .tm-price-heading p{font-size:13px;color:#606b76;margin:0 0 16px}
.tm-redesign .tm-set-total{display:block;font-size:38px;line-height:1.2;color:#14212c;letter-spacing:-1px;margin-bottom:7px}
.tm-redesign .tm-price-heading small{display:block;font-size:12px;color:#606b76}
.tm-redesign .tm-priced-books{margin:0;padding:0;list-style:none}
.tm-redesign .tm-priced-books li{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 18px;border-top:1px solid #ecd8cb}
.tm-redesign .tm-priced-books img{width:46px;height:64px;object-fit:contain;background:#f8f1ec;border-radius:4px}
.tm-redesign .tm-priced-books strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.tm-redesign .tm-priced-books small{display:block;font-size:12px;color:#606b76;margin-top:5px}
.tm-redesign .tm-item-price{font-size:14px;font-weight:700;white-space:nowrap}
.tm-redesign .tm-price-link{display:block;padding:20px;font-size:14px;font-weight:700;color:#aa4b22;border-top:1px solid #ecd8cb}
.tm-redesign .tm-information{margin-top:48px}
.tm-redesign .tm-information h2{font-size:22px}
.tm-redesign .tm-information h3{font-size:17px}
.tm-redesign .tm-information p{font-size:14px}
.tm-redesign .tm-contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}
.tm-redesign .tm-contact-cards article{background:white;border:1px solid #e6ccbc;border-radius:18px;padding:24px;box-shadow:0 2px 5px #25314108}
.tm-redesign .tm-contact-cards h2{font-size:21px;margin:10px 0}
.tm-redesign .tm-contact-cards p{font-size:14px;color:#606b76;line-height:1.6}
.tm-redesign .tm-contact-cards a{display:inline-block;border:1px solid #e6ccbc;border-radius:12px;padding:11px 16px;font-weight:700;font-size:13px}
.tm-redesign .site-footer{background:#e7cbb7!important;color:#253141!important}
.tm-redesign .site-footer .footer-top{background:transparent!important;padding-top:50px}
.tm-redesign .site-footer .footer-bottom{background:transparent!important;border-top:1px solid #cdb39f}
.tm-redesign .site-footer .footer-title,.tm-redesign .site-footer p,.tm-redesign .site-footer li,.tm-redesign .site-footer a{color:#253141!important}
.tm-redesign .dz-box .book-footer{position:static!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:16px;height:auto!important}
.tm-redesign .dz-box .book-footer .price{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:0!important}
.tm-redesign .dz-box .book-footer .totalAmount{width:150px;max-width:100%}
.tm-redesign .dz-box .book-footer .btn{white-space:normal;min-height:44px;max-width:100%}
@media(max-width:900px){.tm-redesign .tm-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.tm-redesign .tm-hero-title{font-size:31px}.tm-redesign .tm-priced-books li{grid-template-columns:40px minmax(0,1fr);gap:10px}.tm-redesign .tm-item-price{grid-column:2}.tm-redesign .tm-priced-books img{grid-row:span 2}}
@media(max-width:680px){.tm-redesign .tm-home{padding:18px 16px 45px}.tm-redesign .tm-hero-grid,.tm-redesign .tm-contact-cards{grid-template-columns:1fr}.tm-redesign .tm-hero-title{font-size:32px}.tm-redesign .tm-wide-banner{border-radius:14px;margin-bottom:20px}.tm-redesign .tm-priced-books li{grid-template-columns:46px minmax(0,1fr) auto}.tm-redesign .tm-item-price{grid-column:auto}.tm-redesign .tm-priced-books img{grid-row:auto}.tm-redesign .tm-information{margin-top:32px}.tm-redesign .tm-set-total{font-size:34px}}
@media(max-width:360px){.tm-redesign .tm-priced-books li{grid-template-columns:40px minmax(0,1fr)}.tm-redesign .tm-item-price{grid-column:2}.tm-redesign .tm-priced-books img{grid-row:span 2}}

.tm-redesign .site-footer .wow{visibility:visible!important;animation:none!important}.tm-redesign .site-footer .copyright-text{color:#253141!important}

/* Balanced directory and readable book preview — alignment revision. */
.tm-redesign .tm-directory-intro{margin:0 0 28px;max-width:880px}
.tm-redesign .tm-directory-intro .tm-hero-title{font-size:38px;margin:8px 0 12px;line-height:1.18}
.tm-redesign .tm-directory-intro .tm-intro{font-size:17px;line-height:1.6;margin:0;max-width:760px}
.tm-redesign .tm-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.tm-redesign .tm-school-list{max-height:none;overflow:visible}
.tm-redesign .tm-priced-books li{grid-template-columns:52px minmax(0,1fr) auto;gap:14px;padding:17px 20px}
.tm-redesign .tm-priced-books img{width:52px;height:70px;grid-row:auto}
.tm-redesign .tm-priced-books strong{font-size:17px;line-height:1.4}
.tm-redesign .tm-priced-books small{font-size:14px;margin-top:6px}
.tm-redesign .tm-item-price{font-size:18px;grid-column:auto}
.tm-redesign .tm-price-heading{padding:24px}
.tm-redesign .tm-price-heading h2{font-size:24px;line-height:1.25}
.tm-redesign .tm-price-heading p{font-size:15px;margin-bottom:14px}
.tm-redesign .tm-price-heading small{font-size:14px;line-height:1.5}
.tm-redesign .tm-set-total{font-size:44px}
.tm-redesign .tm-price-link{font-size:16px;padding:20px 24px}
.tm-redesign .tm-order-guide{margin:30px 0 0;border:0;background:transparent;box-shadow:none}
.tm-redesign .tm-order-guide .tm-guide-head{padding:0 0 14px}
.tm-redesign .tm-order-guide .tm-guide-head h2{margin:0;font-size:24px}
.tm-redesign .tm-order-guide .tm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-redesign .tm-order-guide .tm-steps li{border-bottom:0;border-right:1px solid #ecd8cb;padding:20px;align-items:start}
.tm-redesign .tm-order-guide .tm-steps li:last-child{border-right:0}
.tm-redesign .tm-order-guide .tm-guide-foot{padding:14px 0;background:transparent}
@media(max-width:900px){.tm-redesign .tm-hero-grid{gap:20px}.tm-redesign .tm-priced-books li{grid-template-columns:44px minmax(0,1fr);gap:8px 12px;padding:16px}.tm-redesign .tm-priced-books img{width:44px;height:60px;grid-row:span 2}.tm-redesign .tm-item-price{grid-column:2}.tm-redesign .tm-order-guide .tm-steps li{padding:16px}}
@media(max-width:680px){.tm-redesign .tm-hero-grid{grid-template-columns:1fr;gap:24px}.tm-redesign .tm-directory-intro .tm-hero-title{font-size:31px}.tm-redesign .tm-directory-intro .tm-intro{font-size:16px}.tm-redesign .tm-price-heading h2{font-size:22px}.tm-redesign .tm-set-total{font-size:40px}.tm-redesign .tm-order-guide .tm-steps{grid-template-columns:1fr}.tm-redesign .tm-order-guide .tm-steps li{border-right:0;border-bottom:1px solid #ecd8cb}.tm-redesign .tm-order-guide .tm-steps li:last-child{border-bottom:0}}

/* Compact typography and price preview, banner removed. */
.tm-redesign .tm-directory-intro{margin-bottom:22px}
.tm-redesign .tm-directory-intro .tm-hero-title{font-size:32px;line-height:1.2;margin:8px 0 10px;max-width:850px}
.tm-redesign .tm-directory-intro .tm-intro{font-size:16px;line-height:1.5}
.tm-redesign .tm-price-heading{padding:18px 20px}
.tm-redesign .tm-price-heading h2{font-size:20px;line-height:1.3;margin:8px 0 5px}
.tm-redesign .tm-price-heading p{font-size:14px;margin-bottom:10px}
.tm-redesign .tm-price-heading small{font-size:13px}
.tm-redesign .tm-set-total{font-size:36px;margin-bottom:5px}
.tm-redesign .tm-priced-books li{grid-template-columns:42px minmax(0,1fr) auto;gap:10px;padding:12px 18px}
.tm-redesign .tm-priced-books img{width:42px;height:54px;grid-row:auto}
.tm-redesign .tm-priced-books strong{font-size:15px;line-height:1.35}
.tm-redesign .tm-priced-books small{font-size:12px;margin-top:4px}
.tm-redesign .tm-item-price{font-size:16px;grid-column:auto}
.tm-redesign .tm-price-link{font-size:14px;padding:15px 20px}
.tm-redesign .tm-school-list{max-height:535px;overflow:auto}
@media(max-width:900px) and (min-width:681px){.tm-redesign .tm-priced-books li{grid-template-columns:38px minmax(0,1fr)}.tm-redesign .tm-priced-books img{width:38px;height:50px;grid-row:span 2}.tm-redesign .tm-item-price{grid-column:2}}
@media(max-width:680px){.tm-redesign .tm-directory-intro .tm-hero-title{font-size:27px}.tm-redesign .tm-directory-intro .tm-intro{font-size:15px}.tm-redesign .tm-price-heading h2{font-size:19px}.tm-redesign .tm-set-total{font-size:32px}.tm-redesign .tm-priced-books li{padding:12px 14px}.tm-redesign .tm-school-list{max-height:420px}}

.tm-redesign .tm-directory-intro .tm-hero-title{font-size:32px!important;line-height:1.2!important;margin:8px 0 10px!important}@media(max-width:680px){.tm-redesign .tm-directory-intro .tm-hero-title{font-size:27px!important}}

/* Footer matched to the dark header. */
.tm-redesign .site-footer{background:#253141!important;color:#e8edf2!important}
.tm-redesign .site-footer .footer-top,.tm-redesign .site-footer .footer-bottom{background:transparent!important}
.tm-redesign .site-footer .footer-bottom{border-top:1px solid #455263!important}
.tm-redesign .site-footer .footer-title,.tm-redesign .site-footer p,.tm-redesign .site-footer li,.tm-redesign .site-footer a,.tm-redesign .site-footer span,.tm-redesign .site-footer .copyright-text{color:#e8edf2!important}
.tm-redesign .site-footer .footer-title{color:#fff!important}
.tm-redesign .site-footer a:hover{color:#fff!important}
.tm-redesign .site-footer .dz-social-icon a{background:#3b4859!important;color:#f4f6f8!important;border-color:#526075!important}
/* Inner-page design: compact directory, class rows and order summary. */
.tm-redesign .tm-inner{padding:26px 0 65px;min-height:60vh}
.tm-redesign .tm-crumb{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#637080;margin-bottom:28px}
.tm-redesign .tm-inner h1{font-size:30px;line-height:1.25;margin:8px 0 14px}
.tm-redesign .tm-directory-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:start}
.tm-redesign .tm-directory-layout label{font-size:14px;font-weight:700;margin:10px 0}
.tm-redesign .tm-directory-layout input{border-radius:13px;height:48px;background:white}
.tm-redesign #tm-inner-count{font-size:13px;color:#606b76;margin:14px 0 28px}
.tm-redesign .tm-directory-layout aside h2{font-size:20px}
.tm-redesign .tm-instructions{padding-left:22px}.tm-redesign .tm-instructions li{padding:8px 0 10px 3px}.tm-redesign .tm-instructions strong,.tm-redesign .tm-instructions span{display:block}.tm-redesign .tm-instructions span{font-size:14px;color:#606b76}
.tm-redesign .tm-directory-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tm-redesign .tm-directory-card{display:grid;grid-template-columns:48px minmax(0,1fr) 12px;gap:14px;align-items:start;background:#fff;border:1px solid #dfd2c8;border-radius:18px;padding:20px;box-shadow:0 2px 5px #25314108}
.tm-redesign .tm-directory-card[hidden]{display:none!important}
.tm-redesign .tm-directory-card img{width:48px;height:56px;object-fit:contain;border-radius:8px;background:#f8f1ec}
.tm-redesign .tm-directory-card h2{font-size:17px;line-height:1.35;margin:0 0 10px;overflow-wrap:anywhere}
.tm-redesign .tm-directory-card p{font-size:13px;color:#606b76;margin:0}
.tm-redesign .tm-help-link{display:block;border:1px solid #dfd2c8;border-radius:12px;background:#fff;text-align:center;padding:15px;margin-top:22px;font-size:14px;font-weight:600}
.tm-redesign .tm-class-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:28px;align-items:start}
.tm-redesign .tm-class-layout h2{font-size:25px;line-height:1.3;margin:8px 0 12px}.tm-redesign .tm-class-layout p{color:#606b76;font-size:14px}
.tm-redesign .tm-class-list{border:1px solid #dfd2c8;border-radius:18px;overflow:hidden;background:white;margin-top:22px}
.tm-redesign .tm-class-row{display:grid;grid-template-columns:54px minmax(0,1fr) 20px;gap:16px;align-items:center;padding:17px 20px;border-bottom:1px solid #e8dbd1}.tm-redesign .tm-class-row:last-child{border:0}.tm-redesign .tm-class-row:hover,.tm-redesign .tm-directory-card:hover{background:#fcf8f4}
.tm-redesign .tm-class-row img{width:54px;height:62px;object-fit:contain;border-radius:6px}.tm-redesign .tm-class-row strong{display:block;font-size:17px}.tm-redesign .tm-class-row small{display:block;color:#606b76;font-size:13px;margin-top:5px}
.tm-redesign .tm-support-card{border:1px solid #dfd2c8;background:white;border-radius:18px;padding:24px;margin-top:8px}.tm-redesign .tm-support-card h2{font-size:20px}.tm-redesign .tm-support-card a{font-size:14px;font-weight:600}.tm-redesign .tm-empty{padding:24px}
.tm-redesign .tm-detail-heading{margin-bottom:28px}.tm-redesign .tm-detail-heading p{font-size:15px;color:#606b76}
.tm-redesign .tm-detail-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:32px;align-items:start}.tm-redesign .tm-detail-items{min-width:0}
.tm-redesign .tm-detail-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #dfd2c8}.tm-redesign .tm-detail-row:first-child{padding-top:0}.tm-redesign .tm-detail-row img{width:52px;height:70px;object-fit:contain;border-radius:5px;background:#efe3d9}.tm-redesign .tm-detail-row h2{font-size:16px;line-height:1.45;margin:0 0 5px}.tm-redesign .tm-detail-row p{font-size:13px;color:#606b76;margin:0}.tm-redesign .tm-detail-row strong{font-size:16px;white-space:nowrap}
.tm-redesign .tm-order-summary{border:1px solid #dfd2c8;border-radius:18px;background:white;padding:24px}.tm-redesign .tm-order-summary h2{font-size:24px;margin:10px 0}.tm-redesign .tm-order-summary label{font-size:13px;color:#606b76}.tm-redesign .tm-detail-total{display:flex;align-items:center;font-size:30px;font-weight:700;margin:6px 0 20px;gap:4px}.tm-redesign .tm-detail-total input{width:100%;min-width:0;border:0;background:transparent;font:inherit;color:#17222f;padding:0;height:auto;pointer-events:none}.tm-redesign .tm-order-summary .btn{width:100%;white-space:normal;padding:13px!important;min-height:48px}.tm-redesign .tm-order-summary p{font-size:13px;color:#606b76;line-height:1.5;margin:16px 0 0}.tm-redesign .tm-detail-help{padding:24px 0}.tm-redesign .tm-detail-help h2{font-size:18px}.tm-redesign .tm-detail-help p,.tm-redesign .tm-detail-help a{font-size:14px}
body.tm-redesign .dz-bnr-inr{background:transparent!important;border-bottom:1px solid #e6d9cf!important;padding:20px 0!important;min-height:0!important}.tm-redesign .dz-bnr-inr .dz-bnr-inr-entry{text-align:left!important;padding:0!important}.tm-redesign .dz-bnr-inr h1{font-size:28px!important;margin:0 0 10px!important}.tm-redesign .dz-bnr-inr .breadcrumb{justify-content:flex-start!important;margin:0!important;font-size:13px}
.tm-redesign .tm-catalog-grid{align-items:stretch}.tm-redesign .tm-catalog-grid>.col-book{display:flex;flex:0 0 25%;max-width:25%;padding:10px}.tm-redesign .tm-catalog-grid .dz-shop-card{width:100%;border:1px solid #dfd2c8;border-radius:18px;overflow:hidden;box-shadow:0 2px 5px #25314108}.tm-redesign .tm-catalog-grid .dz-content{text-align:left!important}.tm-redesign .tm-catalog-grid .dz-content h5{font-size:16px;line-height:1.4}.tm-redesign .tm-catalog-grid .book-footer .price{justify-content:flex-start!important}.tm-redesign .tm-catalog-grid .price-num{font-size:19px!important}.tm-redesign .tm-catalog-grid .book-footer .btn{background:#253141!important;border-color:#253141!important;border-radius:24px!important}
.tm-redesign #search_book{gap:8px;flex-wrap:wrap}.tm-redesign #search_book>div{min-width:90px}.tm-redesign #search_book .form-control{min-width:150px}
.tm-redesign .modal-content{border:1px solid #dfd2c8!important;border-radius:20px!important;box-shadow:0 14px 50px #15233326}.tm-redesign .modal-header{padding:22px 24px;border-bottom:1px solid #e6d9cf}.tm-redesign .modal-title{font-size:24px}.tm-redesign .modal-body{padding:24px}.tm-redesign .modal-body .form-control{border:1px solid #dfd2c8;border-radius:12px;min-height:46px}.tm-redesign .modal-body label{font-size:14px;font-weight:600}.tm-redesign .modal-body .btn{background:#253141!important;color:white!important;border-color:#253141!important;border-radius:12px!important;min-height:46px}
.tm-redesign .contact-wraper1{background:none!important;padding:32px 0 60px}.tm-redesign .contact-wraper1 .contact-info{background:white;border:1px solid #dfd2c8;border-radius:18px;padding:24px;height:auto}.tm-redesign .contact-wraper1 form{background:white;border:1px solid #dfd2c8;border-radius:18px;padding:24px}.tm-redesign .contact-wraper1 .form-control{border-radius:12px;border:1px solid #dfd2c8}.tm-redesign .about-style1{align-items:start!important}.tm-redesign .about-style1 .about-thumb{background:white;border:1px solid #dfd2c8;border-radius:18px;padding:20px}.tm-redesign .about-style1 p{font-size:16px;line-height:1.75}
@media(max-width:991px){.tm-redesign .tm-directory-layout{grid-template-columns:230px minmax(0,1fr);gap:22px}.tm-redesign .tm-directory-cards{grid-template-columns:1fr}.tm-redesign .tm-catalog-grid>.col-book{flex-basis:33.333%;max-width:33.333%}.tm-redesign .tm-class-layout,.tm-redesign .tm-detail-layout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px}.tm-redesign .tm-detail-row{grid-template-columns:44px minmax(0,1fr);gap:8px 12px}.tm-redesign .tm-detail-row img{grid-row:span 2;width:44px;height:60px}.tm-redesign .tm-detail-row>strong{grid-column:2}.tm-redesign .tm-order-summary{padding:18px}}
@media(max-width:680px){.tm-redesign .tm-directory-layout,.tm-redesign .tm-class-layout,.tm-redesign .tm-detail-layout{grid-template-columns:1fr}.tm-redesign .tm-directory-layout .tm-instructions{display:none}.tm-redesign .tm-directory-layout aside h2{display:none}.tm-redesign .tm-inner{padding:20px 0 40px}.tm-redesign .tm-inner h1{font-size:27px}.tm-redesign .tm-catalog-grid>.col-book{flex-basis:50%;max-width:50%;padding:6px}.tm-redesign .tm-class-layout h2{font-size:23px}.tm-redesign .tm-directory-card{padding:18px}.tm-redesign .tm-detail-layout>aside{grid-row:1}.tm-redesign .tm-detail-help{display:none}.tm-redesign .tm-detail-total{font-size:28px;margin-bottom:12px}.tm-redesign .tm-order-summary h2{font-size:21px}.tm-redesign #search_book{width:100%;justify-content:flex-start!important}.tm-redesign .col-xl-12>.d-flex:has(#search_book){flex-direction:column;align-items:stretch!important;gap:12px}.tm-redesign .contact-wraper1 form{margin-top:20px}}
@media(max-width:380px){.tm-redesign .tm-catalog-grid>.col-book{flex-basis:100%;max-width:100%}}

.tm-redesign .contact-wraper1 .contact-area1{border:1px solid #dfd2c8;border-radius:18px;background:white;padding:24px!important;margin:0!important;box-shadow:none}.tm-redesign .contact-wraper1 form{padding:0!important;border:0!important;margin-top:20px}.tm-redesign .contact-wraper1{padding:28px 0!important}.tm-redesign .map-iframe{height:240px!important;min-height:0!important;max-width:1130px;margin:0 auto 40px;border-radius:18px;overflow:hidden}.tm-redesign .map-iframe iframe{height:240px!important}.tm-redesign #modalLogin button[type=submit],.tm-redesign #modalRegister button[type=submit]{background:#253141!important;color:#fff!important;border-color:#253141!important;width:100%;border-radius:12px!important;padding:13px!important}@media(max-width:680px){.tm-redesign .contact-wraper1 .contact-area1{margin-top:20px!important}.tm-redesign .map-iframe{margin:0 15px 30px}}

.tm-redesign .tm-about-copy{font-size:17px;line-height:1.8;max-width:720px;margin:20px 0 28px}.tm-redesign .tm-about-copy p{font-size:inherit!important;line-height:inherit!important}.tm-redesign .tm-catalog-grid .dz-content h5{color:#253141!important}
/* Class book-set page: grouped item lists with existing set purchase action. */
.tm-redesign .tm-set-heading{margin:0 0 24px}.tm-redesign .tm-set-heading h2{font-size:26px;line-height:1.3;margin:8px 0}.tm-redesign .tm-set-heading p{font-size:14px;color:#596777;margin:0}
.tm-redesign .tm-set-block{margin-bottom:35px}.tm-redesign .tm-set-name{font-size:21px;margin-bottom:16px}
.tm-redesign .tm-set-notice{display:flex;gap:14px;align-items:center;background:#2d3c4e;color:#fff;padding:17px 20px;border-radius:16px;margin:0 0 24px}.tm-redesign .tm-set-notice>span{width:36px;height:36px;border-radius:50%;background:#ffffff12;display:grid;place-items:center;flex-shrink:0}.tm-redesign .tm-set-notice strong{font-size:15px}.tm-redesign .tm-set-notice p{margin:3px 0 0;font-size:13px;color:#d4dce5}
.tm-redesign .tm-set-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(290px,1fr);gap:28px;align-items:start}.tm-redesign .tm-set-main{min-width:0}.tm-redesign .tm-set-categories{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.tm-redesign .tm-set-categories a{flex:1;min-width:170px;display:flex;align-items:center;gap:12px;padding:15px;background:#fff;border:1px solid #e5cdbd;border-radius:12px}.tm-redesign .tm-set-categories strong,.tm-redesign .tm-item-group summary strong{display:block;font-size:15px;line-height:1.4}.tm-redesign .tm-set-categories small,.tm-redesign .tm-item-group summary small{display:block;font-size:12px;color:#637080;margin-top:3px}.tm-redesign .tm-category-icon{font-size:27px;line-height:1;flex-shrink:0}
.tm-redesign .tm-item-group{background:white;border:1px solid #e5cdbd;border-radius:16px;overflow:hidden;margin:0 0 16px;scroll-margin-top:140px}.tm-redesign .tm-item-group summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px 18px}.tm-redesign .tm-item-group summary::-webkit-details-marker{display:none}.tm-redesign .tm-collapse-icon{margin-left:auto;background:#f0f3f6;color:#657387;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}.tm-redesign .tm-item-group:not([open]) .tm-collapse-icon{transform:rotate(180deg)}
.tm-redesign .tm-set-item{display:grid;grid-template-columns:16px 46px minmax(0,1fr) auto;gap:12px;padding:13px 18px;align-items:start}.tm-redesign .tm-set-item:last-child{padding-bottom:20px}.tm-redesign .tm-included{margin-top:18px;color:#b8c2c9;background:#f0f2f3;border-radius:3px;font-size:12px;line-height:16px;text-align:center}.tm-redesign .tm-set-item img{width:46px;height:64px;object-fit:contain;border-radius:4px;background:#f8f1ec}.tm-redesign .tm-set-item h4{font-size:14px;font-weight:600;line-height:1.5;margin:2px 0 5px;overflow-wrap:anywhere}.tm-redesign .tm-set-item small{display:block;font-size:12px;color:#687789;line-height:1.5}.tm-redesign .tm-set-item-price{text-align:right;white-space:nowrap;padding-top:2px}.tm-redesign .tm-set-item-price strong{font-size:14px;font-weight:700}
.tm-redesign .tm-set-aside{position:sticky;top:120px}.tm-redesign .tm-set-summary{background:#fff;border:1px solid #e5cdbd;border-radius:16px;padding:20px;box-shadow:0 2px 6px #24314108}.tm-redesign .tm-set-summary h3{font-size:17px;line-height:1.45;margin:10px 0 18px}.tm-redesign .tm-set-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.tm-redesign .tm-set-summary-total strong{font-size:23px;line-height:1.3}.tm-redesign .tm-set-units{font-size:12px;color:#687789;margin:7px 0 0}.tm-redesign .tm-set-summary hr{margin:16px 0}.tm-redesign .tm-set-summary-note{font-size:13px;line-height:1.5;color:#596777;margin:0 0 15px}.tm-redesign .tm-set-add{display:block;width:100%;padding:13px!important;white-space:normal;font-size:14px!important;border-radius:12px!important}.tm-redesign .tm-set-related{display:flex;justify-content:space-between;gap:12px;padding:18px 2px;border-bottom:1px solid #dfd2c8;font-size:13px;font-weight:600}.tm-redesign .tm-set-empty{padding:24px;border:1px solid #dfd2c8;border-radius:16px;background:white}
@media(max-width:900px){.tm-redesign .tm-set-layout{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:20px}.tm-redesign .tm-set-item{grid-template-columns:14px 40px minmax(0,1fr);gap:8px 10px;padding:12px}.tm-redesign .tm-set-item img{width:40px;height:56px;grid-row:span 2}.tm-redesign .tm-set-item-price{grid-column:3;text-align:left}.tm-redesign .tm-included{grid-row:span 2}.tm-redesign .tm-set-heading h2{font-size:23px}}
@media(max-width:680px){.tm-redesign .tm-set-layout{grid-template-columns:1fr}.tm-redesign .tm-set-aside{position:static;grid-row:1}.tm-redesign .tm-set-summary{padding:18px}.tm-redesign .tm-set-related{padding:12px 2px}.tm-redesign .tm-set-notice{padding:15px}.tm-redesign .tm-set-categories a{min-width:130px;padding:12px;gap:8px}.tm-redesign .tm-category-icon{font-size:23px}.tm-redesign .tm-set-categories strong{font-size:13px}.tm-redesign .tm-set-heading h2{font-size:22px}.tm-redesign .tm-set-summary-total strong{font-size:22px}}

.tm-redesign .tm-bundle-note{font-size:14px;line-height:1.6;padding:14px 16px;background:#efe5dc;border-radius:12px;color:#485767;margin-bottom:16px}

/* Individual books: compact rows, existing search and per-item cart actions. */
.tm-redesign .tm-loose-search{margin:0 0 20px}.tm-redesign .tm-loose-search label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.tm-redesign .tm-loose-search-controls{display:flex;gap:8px;align-items:center}.tm-redesign .tm-loose-search-controls .form-control{min-width:0;flex:1;border-radius:10px;height:46px}.tm-redesign .tm-loose-search-controls .btn{padding:12px 18px;border-radius:10px;height:46px}.tm-redesign .tm-loose-reset{background:none;border:0;color:#a7441e;font-size:13px;padding:10px;cursor:pointer}
.tm-redesign .tm-loose-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto 108px;gap:14px;align-items:center;padding:16px 18px;border-top:1px solid #f0e5dd}.tm-redesign .tm-loose-item img{width:46px;height:62px;object-fit:contain;background:#f8f1ec;border-radius:4px}.tm-redesign .tm-loose-name h3{font-size:14px;line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere}.tm-redesign .tm-loose-name span{font-size:12px;color:#6a7686}.tm-redesign .tm-loose-price{font-size:15px;white-space:nowrap}.tm-redesign .tm-loose-add{font-size:12px!important;line-height:1.4!important;padding:11px 10px!important;border-radius:9px!important;white-space:nowrap;position:static!important;transform:none!important;margin:0!important}.tm-redesign .tm-loose-page .tm-set-summary-total strong{font-size:22px}
@media(max-width:1000px){.tm-redesign .tm-loose-item{grid-template-columns:42px minmax(0,1fr) auto;gap:8px 12px}.tm-redesign .tm-loose-item img{grid-row:span 2;width:42px;height:58px}.tm-redesign .tm-loose-name{grid-column:2/4}.tm-redesign .tm-loose-price{grid-column:2}.tm-redesign .tm-loose-add{grid-column:3}}
@media(max-width:680px){.tm-redesign .tm-loose-page .tm-set-aside{grid-row:auto;position:static}.tm-redesign .tm-loose-item{padding:14px 12px}.tm-redesign .tm-loose-search-controls{flex-wrap:wrap}.tm-redesign .tm-loose-search-controls .form-control{flex-basis:60%}.tm-redesign .tm-loose-search-controls .btn{padding:12px}.tm-redesign .tm-loose-name h3{font-size:14px}}

/* Narrow-phone contact wrapping and mobile-menu contrast. */
@media(max-width:680px){
.tm-redesign .contact-info .icon-content{min-width:0;overflow-wrap:anywhere;word-break:normal}
.tm-redesign .contact-info .icon-content p,.tm-redesign .site-footer .widget_getintuch li{overflow-wrap:anywhere}
.tm-redesign .header-nav .dz-social-icon a{background:#3b4859!important;color:#f4f6f8!important;border-color:#526075!important}
.tm-redesign .site-footer .container{padding-left:20px;padding-right:20px}
}
