:root {
  --sem-bg: #f7f3eb;
  --sem-surface: #fffdf8;
  --sem-ink: #14261f;
  --sem-muted: #66736d;
  --sem-accent: #d9683a;
  --sem-accent-dark: #b44e28;
  --sem-green: #234f3e;
  --sem-line: #ded8cc;
  --sem-soft: #eee8dc;
  --sem-shadow: 0 22px 60px rgba(28, 41, 34, .10);
}
* { box-sizing: border-box; }
body.semayat-storefront { margin: 0; background: var(--sem-bg); color: var(--sem-ink); font-family: Helvetica, Arial, sans-serif; overflow-x: hidden; }
.semayat-storefront a { color: inherit; text-decoration: none; transition: .22s ease; }
.store-container { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.store-announcement { background: var(--sem-ink); color: #fff; font-size: 13px; }
.announcement-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.announcement-inner i { margin-right: 8px; color: #f0b07c; }
.announcement-inner a { color: #fff; opacity: .9; }
.announcement-inner a:hover { opacity: 1; }
.store-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(222,216,204,.9); }
.header-main { min-height: 90px; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(380px, 1.5fr) auto; align-items: center; gap: 32px; }
.store-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50% 50% 44% 44%; display: grid; place-items: center; background: var(--sem-green); color: #fff; font: 700 24px/1 Georgia, serif; box-shadow: inset 0 -4px rgba(0,0,0,.08); }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { letter-spacing: .12em; font-size: 20px; line-height: 1; }
.brand-copy small { margin-top: 5px; font-size: 9px; letter-spacing: .12em; color: var(--sem-muted); white-space: nowrap; }
.store-search { height: 48px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; border: 1px solid var(--sem-line); border-radius: 999px; background: #fff; overflow: hidden; }
.store-search i { margin-left: 18px; color: var(--sem-muted); }
.store-search input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 14px; background: transparent; color: var(--sem-ink); font-size: 14px; }
.store-search button { height: 100%; border: 0; padding: 0 22px; background: var(--sem-green); color: #fff; font-weight: 700; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--sem-muted); }
.header-actions i { font-size: 18px; color: var(--sem-ink); }
.cart-count { position: absolute; top: -8px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--sem-accent); color: #fff; font-size: 9px; }
.store-menu-toggle { display: none; border: 0; background: transparent; font-size: 23px; color: var(--sem-ink); }
.store-nav { border-top: 1px solid #ebe5d9; }
.nav-inner { min-height: 48px; display: flex; align-items: center; gap: 32px; }
.nav-inner a { position: relative; font-size: 13px; font-weight: 700; color: #374840; }
.nav-inner a:after { content:""; position: absolute; left: 0; right: 100%; bottom: -15px; height: 2px; background: var(--sem-accent); transition: .2s ease; }
.nav-inner a:hover, .nav-inner a.active { color: var(--sem-accent-dark); }
.nav-inner a:hover:after, .nav-inner a.active:after { right: 0; }
.store-hero { position: relative; min-height: 690px; display: flex; align-items: center; background: radial-gradient(circle at 78% 27%, rgba(217,104,58,.17), transparent 28%), linear-gradient(115deg,#f7f1e5 0%,#f9f6ef 56%,#ece4d7 100%); overflow: hidden; }
.store-hero:before { content:""; position:absolute; width:420px; height:420px; border:1px solid rgba(35,79,62,.12); border-radius:50%; right:-160px; top:60px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; padding: 78px 0 84px; }
.eyebrow { display: inline-block; color: var(--sem-accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy h1 { max-width: 690px; margin: 20px 0 22px; font: 700 clamp(48px, 5.2vw, 82px)/.97 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--sem-green); font-weight: 400; }
.hero-copy > p { max-width: 620px; margin: 0; color: var(--sem-muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.btn-store { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.btn-primary-store { background: var(--sem-green); color: #fff !important; box-shadow: 0 12px 28px rgba(35,79,62,.22); }
.btn-primary-store:hover { transform: translateY(-2px); background: #173a2c; }
.btn-ghost-store { border: 1px solid #bdb6a8; color: var(--sem-ink); }
.btn-ghost-store:hover { background: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--sem-muted); font-size: 12px; }
.hero-trust i { margin-right: 6px; color: var(--sem-green); }
.hero-books { position: relative; height: 490px; perspective: 1200px; }
.hero-book { position: absolute; bottom: 80px; width: 220px; height: 335px; padding: 30px 24px; border-radius: 5px 13px 13px 5px; color: #fff; display: flex; flex-direction: column; box-shadow: 0 34px 55px rgba(17,28,23,.22); transform-origin: bottom center; border-left: 9px solid rgba(0,0,0,.12); }
.hero-book:after { content:""; position:absolute; right:7px; top:8px; bottom:8px; width:4px; border-radius:4px; background:rgba(255,255,255,.11); }
.hero-book .book-kicker { font-size: 10px; letter-spacing: .14em; font-weight: 700; opacity:.8; }
.hero-book strong { margin-top: 70px; font: 700 34px/1.02 Georgia,serif; }
.hero-book small { margin-top:auto; font-size:11px; letter-spacing:.05em; opacity:.78; }
.hero-book-one { left: 4%; z-index: 3; background: linear-gradient(155deg,#174334,#28644d); transform: rotate(-8deg) translateY(16px); }
.hero-book-two { left: 34%; z-index: 4; width: 235px; height: 360px; background: linear-gradient(155deg,#b9542d,#df7949); transform: rotate(3deg) translateY(-15px); }
.hero-book-three { left: 65%; z-index: 2; width: 205px; height: 315px; background: linear-gradient(155deg,#31445f,#526d94); transform: rotate(9deg) translateY(20px); }
.hero-books-base { position:absolute; left:1%; right:1%; bottom:54px; height:26px; background:linear-gradient(#a97749,#7b5030); border-radius:4px; box-shadow:0 14px 20px rgba(35,26,19,.2); }
.hero-books-base:after { content:""; position:absolute; left:12px; right:12px; bottom:-8px; height:8px; background:#4c3221; border-radius:0 0 4px 4px; }
.store-value-strip { background: var(--sem-green); color:#fff; }
.value-grid { min-height: 120px; display:grid; grid-template-columns:repeat(4,1fr); align-items:center; }
.value-grid > div { min-height:70px; padding:0 28px; display:flex; align-items:center; gap:16px; border-right:1px solid rgba(255,255,255,.14); }
.value-grid > div:first-child { padding-left:0; }
.value-grid > div:last-child { border-right:0; }
.value-grid i { font-size:24px; color:#f0b07c; }
.value-grid span { display:flex; flex-direction:column; }
.value-grid strong { font-size:13px; }
.value-grid small { margin-top:5px; font-size:11px; color:rgba(255,255,255,.65); }
.shelf-intro { padding: 100px 0 28px; }
.section-heading-row { display:grid; grid-template-columns:1.25fr .75fr; gap:70px; align-items:end; }
.section-heading-row h2 { margin:10px 0 0; max-width:780px; font:700 clamp(34px,4vw,54px)/1.05 Georgia,serif; letter-spacing:-.03em; }
.section-heading-row p { margin:0; color:var(--sem-muted); line-height:1.75; }
.section-heading-row.compact { align-items:center; }
.book-shelf-section { padding: 58px 0 40px; scroll-margin-top: 130px; }
.book-shelf-section + .book-shelf-section { border-top:1px solid rgba(222,216,204,.74); }
.shelf-header { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:25px; }
.shelf-title-wrap h3 { margin:8px 0 0; font:700 32px/1.05 Georgia,serif; }
.shelf-title-wrap p { margin:8px 0 0; color:var(--sem-muted); font-size:13px; }
.shelf-controls { display:flex; gap:8px; }
.shelf-controls button { width:38px; height:38px; border-radius:50%; border:1px solid var(--sem-line); background:var(--sem-surface); color:var(--sem-ink); cursor:pointer; }
.shelf-controls button:hover { background:var(--sem-green); color:#fff; border-color:var(--sem-green); }
.books-track-wrap { position:relative; padding: 4px 0 34px; }
.books-track { display:flex; gap:26px; overflow-x:auto; padding: 0 4px 26px; scroll-snap-type:x mandatory; scrollbar-width:none; }
.books-track::-webkit-scrollbar { display:none; }
.books-track-wrap:after { content:""; position:absolute; left:0; right:0; bottom:17px; height:20px; background:linear-gradient(#b68050,#8d5f36); border-radius:5px; box-shadow:0 7px 0 #5e3b23, 0 18px 30px rgba(57,36,21,.16); }
.book-card { flex:0 0 205px; scroll-snap-align:start; position:relative; z-index:1; }
.book-cover { position:relative; height:292px; padding:22px 18px; display:flex; flex-direction:column; color:#fff; border-radius:4px 10px 10px 4px; border-left:7px solid rgba(0,0,0,.13); box-shadow:0 16px 30px rgba(26,32,29,.18); overflow:hidden; transition:.25s ease; }
.book-card:hover .book-cover { transform:translateY(-8px) rotate(-.6deg); box-shadow:0 24px 38px rgba(26,32,29,.24); }
.book-cover:before { content:""; position:absolute; inset:0; background:linear-gradient(145deg,rgba(255,255,255,.08),transparent 48%,rgba(0,0,0,.08)); pointer-events:none; }
.book-cover .cover-label { position:relative; font-size:9px; letter-spacing:.12em; font-weight:800; opacity:.78; }
.book-cover .cover-title { position:relative; margin-top:42px; font:700 25px/1.03 Georgia,serif; letter-spacing:-.02em; }
.book-cover .cover-author { position:relative; margin-top:auto; font-size:10px; letter-spacing:.06em; text-transform:uppercase; opacity:.8; }
.book-cover.cover-1 { background:#315941; }
.book-cover.cover-2 { background:#b45b36; }
.book-cover.cover-3 { background:#344968; }
.book-cover.cover-4 { background:#75503b; }
.book-cover.cover-5 { background:#693e52; }
.book-cover.cover-6 { background:#8d7a3e; }
.book-cover.cover-7 { background:#355d63; }
.book-cover.cover-8 { background:#8c4a39; }
.book-meta { padding:16px 3px 0; }
.book-meta h4 { min-height:43px; margin:0; font:700 17px/1.28 Georgia,serif; }
.book-meta .book-author { margin:5px 0 0; color:var(--sem-muted); font-size:12px; }
.book-meta-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px; }
.book-price { font-weight:800; font-size:14px; }
.book-rating { color:#bd7b2c; font-size:10px; white-space:nowrap; }
.book-actions { display:flex; gap:7px; margin-top:12px; }
.book-actions button { height:35px; border:0; border-radius:999px; cursor:pointer; font-size:11px; font-weight:800; }
.add-bag { flex:1; background:var(--sem-ink); color:#fff; }
.add-bag:hover { background:var(--sem-green); }
.save-book { width:35px; background:transparent; border:1px solid var(--sem-line)!important; color:var(--sem-ink); }
.save-book.saved { background:var(--sem-accent)!important; color:#fff; border-color:var(--sem-accent)!important; }
.book-badge { position:absolute; top:12px; right:12px; z-index:2; background:#fff4e9; color:#9b4c2d; border-radius:999px; padding:6px 8px; font-size:8px; font-weight:900; letter-spacing:.08em; }
.publisher-feature { margin-top:70px; padding:110px 0; background:#e9e1d4; }
.publisher-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:80px; align-items:center; }
.publisher-image-wrap { position:relative; }
.publisher-image-wrap img { display:block; width:100%; min-height:510px; object-fit:cover; border-radius:18px; box-shadow:var(--sem-shadow); }
.publisher-stat { position:absolute; right:-28px; bottom:34px; width:min(360px,82%); padding:22px 24px; border-radius:12px; background:var(--sem-ink); color:#fff; box-shadow:0 18px 34px rgba(20,38,31,.25); }
.publisher-stat strong, .publisher-stat span { display:block; }
.publisher-stat strong { font:700 21px/1.2 Georgia,serif; }
.publisher-stat span { margin-top:6px; color:rgba(255,255,255,.7); font-size:12px; }
.publisher-copy h2 { margin:12px 0 18px; font:700 clamp(38px,4vw,58px)/1 Georgia,serif; letter-spacing:-.04em; }
.publisher-copy > p { color:var(--sem-muted); font-size:16px; line-height:1.8; }
.publisher-links { margin:30px 0; border-top:1px solid #cabfad; }
.publisher-links a { padding:18px 0; display:grid; grid-template-columns:34px 1fr; gap:12px; border-bottom:1px solid #cabfad; }
.publisher-links i { font-size:20px; color:var(--sem-accent-dark); }
.publisher-links span { display:flex; flex-direction:column; }
.publisher-links strong { font-size:13px; }
.publisher-links small { margin-top:3px; color:var(--sem-muted); font-size:11px; }
.text-link { display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:800; color:var(--sem-accent-dark)!important; }
.category-cards-section { padding:110px 0; }
.category-card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:38px; }
.category-card { min-height:245px; padding:24px; display:flex; flex-direction:column; justify-content:flex-end; border-radius:14px; color:#fff!important; box-shadow:0 14px 30px rgba(21,34,28,.08); }
.category-card:hover { transform:translateY(-5px); }
.category-card span { margin-bottom:auto; font-size:11px; opacity:.65; }
.category-card strong { font:700 24px/1.05 Georgia,serif; }
.category-card small { margin-top:9px; opacity:.7; line-height:1.5; }
.category-one { background:#2f563f; } .category-two { background:#a85334; } .category-three { background:#3d5478; } .category-four { background:#624658; }
.newsletter-store { padding:0 0 110px; }
.newsletter-card { min-height:270px; padding:54px 64px; border-radius:18px; display:grid; grid-template-columns:1fr .85fr; align-items:center; gap:55px; background:var(--sem-ink); color:#fff; box-shadow:var(--sem-shadow); }
.newsletter-card h2 { margin:10px 0 8px; font:700 36px/1.08 Georgia,serif; }
.newsletter-card p { margin:0; color:rgba(255,255,255,.68); }
.newsletter-card .eyebrow { color:#f0b07c; }
.newsletter-form { height:54px; display:grid; grid-template-columns:1fr auto; overflow:hidden; border-radius:999px; background:#fff; }
.newsletter-form input { min-width:0; border:0; outline:0; padding:0 20px; }
.newsletter-form button { border:0; padding:0 24px; background:var(--sem-accent); color:#fff; font-weight:800; cursor:pointer; }
.store-footer { padding:70px 0 28px; background:#10251e; color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.6fr repeat(3,1fr); gap:55px; }
.footer-brand .brand-copy small { color:rgba(255,255,255,.55); }
.footer-brand-col p { max-width:360px; margin-top:20px; color:rgba(255,255,255,.58); line-height:1.7; font-size:13px; }
.footer-grid h4 { margin:0 0 18px; font-size:13px; }
.footer-grid > div:not(:first-child) { display:flex; flex-direction:column; align-items:flex-start; }
.footer-grid > div:not(:first-child) a { margin:5px 0; color:rgba(255,255,255,.62); font-size:12px; }
.footer-grid a:hover { color:#fff; }
.footer-bottom { margin-top:50px; padding-top:22px; display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.11); color:rgba(255,255,255,.45); font-size:11px; }
.footer-bottom div { display:flex; gap:18px; }
@media (max-width: 1120px) {
  .store-container { width:min(100% - 40px, 1200px); }
  .header-main { grid-template-columns:1fr auto; gap:20px; }
  .store-search { grid-column:1 / -1; grid-row:2; margin-bottom:15px; }
  .header-actions { justify-self:end; }
  .hero-grid { grid-template-columns:1fr 1fr; gap:30px; }
  .hero-book { width:190px; height:310px; }
  .hero-book-two { left:31%; width:200px; height:335px; }
  .hero-book-three { left:61%; width:180px; }
  .value-grid { grid-template-columns:repeat(2,1fr); padding:16px 0; }
  .value-grid > div { border-right:0; padding:18px 20px; }
  .category-card-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 800px) {
  .store-container { width:calc(100% - 28px); }
  .announcement-inner { min-height:34px; justify-content:center; text-align:center; }
  .announcement-inner a { display:none; }
  .header-main { min-height:72px; grid-template-columns:1fr auto; }
  .brand-mark { width:38px; height:38px; flex-basis:38px; font-size:20px; }
  .brand-copy strong { font-size:17px; }
  .brand-copy small { font-size:7px; }
  .header-actions { display:none; }
  .store-menu-toggle { display:block; }
  .store-search { height:44px; margin-top:-2px; }
  .store-nav { display:none; }
  .store-nav.open { display:block; }
  .nav-inner { min-height:auto; padding:10px 0 16px; flex-direction:column; align-items:flex-start; gap:0; }
  .nav-inner a { width:100%; padding:10px 0; border-bottom:1px solid #ebe5d9; }
  .nav-inner a:after { display:none; }
  .store-hero { min-height:auto; }
  .hero-grid { grid-template-columns:1fr; padding:58px 0 30px; }
  .hero-copy h1 { font-size:50px; }
  .hero-copy > p { font-size:16px; }
  .hero-books { height:390px; max-width:560px; width:100%; margin:0 auto; }
  .hero-book { bottom:64px; width:160px; height:260px; padding:22px 16px; }
  .hero-book strong { margin-top:44px; font-size:24px; }
  .hero-book-two { width:175px; height:280px; left:32%; }
  .hero-book-three { width:150px; height:245px; left:64%; }
  .hero-books-base { bottom:42px; }
  .value-grid { grid-template-columns:1fr 1fr; }
  .section-heading-row { grid-template-columns:1fr; gap:22px; }
  .shelf-intro { padding-top:72px; }
  .book-shelf-section { padding-top:42px; }
  .book-card { flex-basis:175px; }
  .book-cover { height:252px; }
  .book-cover .cover-title { font-size:22px; }
  .publisher-feature { padding:75px 0; }
  .publisher-grid { grid-template-columns:1fr; gap:52px; }
  .publisher-stat { right:14px; }
  .newsletter-card { padding:42px 30px; grid-template-columns:1fr; gap:28px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand-col { grid-column:1 / -1; }
}
@media (max-width: 520px) {
  .store-search button { padding:0 16px; }
  .store-search input { font-size:12px; }
  .hero-copy h1 { font-size:43px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-trust { flex-direction:column; gap:9px; }
  .hero-books { height:315px; transform:scale(.88); transform-origin:center top; margin-bottom:-28px; }
  .hero-book-one { left:0; }
  .hero-book-two { left:30%; }
  .hero-book-three { left:62%; }
  .value-grid { grid-template-columns:1fr; padding:8px 0; }
  .value-grid > div { padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); }
  .value-grid > div:last-child { border-bottom:0; }
  .shelf-header { align-items:center; }
  .shelf-title-wrap h3 { font-size:27px; }
  .book-card { flex-basis:156px; }
  .book-cover { height:226px; padding:17px 13px; }
  .book-cover .cover-title { font-size:20px; margin-top:32px; }
  .book-meta h4 { font-size:15px; }
  .category-card-grid { grid-template-columns:1fr; }
  .category-card { min-height:200px; }
  .publisher-image-wrap img { min-height:360px; }
  .publisher-stat { position:relative; right:auto; bottom:auto; width:calc(100% - 26px); margin:-55px auto 0; }
  .newsletter-card h2 { font-size:30px; }
  .newsletter-form { height:auto; grid-template-columns:1fr; border-radius:12px; background:transparent; gap:10px; overflow:visible; }
  .newsletter-form input, .newsletter-form button { min-height:50px; border-radius:999px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand-col { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
}

/* SEMAYAT off-canvas mobile navigation */
.store-nav-overlay,.store-mobile-nav-head{display:none}
@media(max-width:800px){
body.semayat-menu-open{overflow:hidden}
.store-nav{display:block!important;position:fixed;top:0;bottom:0;width:min(86vw,360px);height:100dvh;z-index:10002;background:#fffdf8;border:0;box-shadow:0 0 36px rgba(24,20,14,.18);overflow-y:auto;visibility:hidden;transition:transform .32s ease,visibility .32s ease}
.semayat-mobile-menu-left .store-nav{left:0;right:auto;transform:translateX(-105%)}
.semayat-mobile-menu-right .store-nav{right:0;left:auto;transform:translateX(105%)}
.store-nav.open{transform:translateX(0);visibility:visible}
.store-mobile-nav-head{min-height:72px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ebe5d9}
.store-menu-close{width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent;font-size:22px;cursor:pointer}
.store-nav .nav-inner{width:100%;padding:10px 20px 30px}
.store-nav .semayat-primary-menu{width:100%}
.store-nav .semayat-primary-menu a{padding:14px 0;border-bottom:1px solid #ebe5d9}
.store-nav-overlay{display:block;position:fixed;inset:0;z-index:10001;border:0;background:rgba(17,15,12,.48);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s ease}
body.semayat-menu-open .store-nav-overlay{opacity:1;visibility:visible;pointer-events:auto}}


/* SEMAYAT bottom mobile navigation */
.semayat-bottom-nav { display:none; }

@media (max-width: 800px) {
  body { padding-bottom: 82px; }

  .semayat-bottom-nav {
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:10020;
    display:grid;
    grid-template-columns:1fr 1fr 76px 1fr 1fr;
    align-items:end;
    min-height:68px;
    padding:8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background:rgba(255,253,248,.97);
    border-top:1px solid #e7dfd1;
    box-shadow:0 -8px 28px rgba(30,24,18,.10);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }

  .semayat-bottom-nav__item {
    min-height:52px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#262019;
    text-decoration:none;
    font-size:11px;
    font-weight:600;
    line-height:1;
  }

  .semayat-bottom-nav__item i {
    font-size:19px;
    line-height:1;
  }

  .semayat-bottom-nav__item:focus,
  .semayat-bottom-nav__item:hover {
    color:#8c5f32;
  }

  .semayat-bottom-nav__home {
    width:64px;
    height:64px;
    margin:0 auto 14px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fffdf8;
    border:2px solid #e1d4c2;
    box-shadow:0 7px 20px rgba(42,31,21,.18);
    overflow:hidden;
    text-decoration:none;
  }

  .semayat-bottom-nav__home img {
    width:100%;
    height:100%;
    object-fit:contain;
    padding:8px;
  }

  .semayat-bottom-nav__home i {
    font-size:25px;
    color:#262019;
  }
}

@media (min-width: 801px) {
  body { padding-bottom:0; }
}

/* SEMAYAT 1.3 library-style shelves */
#shelvesMount {
  padding: 18px 0 88px;
  background: linear-gradient(180deg,#f7f3ec 0%,#fbf9f5 100%);
}
.book-shelf-section {
  padding: 18px 0;
  border: 0 !important;
}
.library-shelf-panel {
  padding: 30px 30px 26px;
  border: 1px solid #e8e0d5;
  border-radius: 18px;
  background: rgba(255,252,246,.94);
  box-shadow: 0 14px 34px rgba(58,43,28,.07), inset 0 0 28px rgba(255,255,255,.6);
}
.library-shelf-panel .shelf-header {
  margin-bottom: 22px;
  align-items: flex-end;
}
.shelf-title-wrap h3 {
  margin: 3px 0 5px;
  font-size: 25px;
}
.shelf-title-wrap p {
  max-width: 680px;
  margin: 0;
  font-size: 12px;
  color: var(--sem-muted);
}
.shelf-header-actions {
  display:flex;
  align-items:center;
  gap:15px;
  flex:0 0 auto;
}
.full-shelf-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-size:11px;
  font-weight:700;
  color:#6e6256 !important;
}
.full-shelf-link:hover { color:var(--sem-accent-dark)!important; }
.library-shelf-panel .books-track-wrap {
  padding: 4px 2px 25px;
}
.library-shelf-panel .books-track {
  gap: 34px;
  padding: 0 8px 20px;
  align-items:flex-end;
}
.library-shelf-panel .books-track-wrap:after {
  bottom: 8px;
  height: 10px;
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg,#eadbc1,#ceb991 58%,#b99d72);
  box-shadow: 0 4px 0 #a98d67, 0 10px 14px rgba(74,54,31,.12);
}
.library-shelf-panel .book-card {
  flex-basis: 142px;
}
.book-cover-link {
  display:block;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  position:relative;
  z-index:2;
}
.library-shelf-panel .book-cover {
  height: 205px;
  padding: 15px 12px;
  border-radius: 2px 6px 6px 2px;
  border-left-width: 4px;
  box-shadow: 0 9px 16px rgba(31,27,22,.16);
}
.library-shelf-panel .book-cover .cover-title {
  margin-top: 25px;
  font-size: 18px;
}
.library-shelf-panel .book-cover .cover-label { font-size:7px; }
.library-shelf-panel .book-cover .cover-author { font-size:8px; }
.library-shelf-panel .book-card:hover .book-cover,
.library-shelf-panel .book-cover-link:focus-visible .book-cover {
  transform: translateY(-5px);
  box-shadow: 0 15px 24px rgba(31,27,22,.22);
}
.library-shelf-panel .book-meta { padding-top: 10px; }
.library-shelf-panel .book-meta h4 { margin:0 0 3px; font-size:13px; line-height:1.25; }
.library-shelf-panel .book-meta h4 a { color:var(--sem-ink); text-decoration:none; }
.library-shelf-panel .book-author { font-size:10px; }
.library-shelf-panel .book-price { font-size:11px; }
.library-shelf-panel .book-rating { font-size:9px; }
.library-shelf-panel .book-actions { margin-top:8px; }
.library-shelf-panel .add-bag { min-height:34px; font-size:10px; }
.library-shelf-panel .save-book { width:34px; height:34px; }

/* Product-grid links must remain tappable on touch devices. */
.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a,
.book-card a {
  pointer-events:auto;
  touch-action:manipulation;
}

@media (max-width:800px) {
  #shelvesMount { padding-bottom: 50px; }
  .library-shelf-panel { padding:22px 16px 19px; border-radius:14px; }
  .library-shelf-panel .shelf-header { align-items:flex-start; gap:12px; }
  .shelf-header-actions { align-items:flex-end; }
  .library-shelf-panel .books-track { gap:20px; padding-left:3px; padding-right:3px; }
  .library-shelf-panel .book-card { flex-basis:126px; }
  .library-shelf-panel .book-cover { height:184px; }
  .library-shelf-panel .book-cover .cover-title { font-size:16px; }
}
@media (max-width:520px) {
  .library-shelf-panel { padding:20px 12px 16px; }
  .shelf-title-wrap p { display:none; }
  .shelf-header-actions .shelf-controls { display:none; }
  .full-shelf-link { font-size:10px; }
  .library-shelf-panel .book-card { flex-basis:112px; }
  .library-shelf-panel .book-cover { height:164px; padding:12px 9px; }
  .library-shelf-panel .book-cover .cover-title { margin-top:19px; font-size:15px; }
  .library-shelf-panel .book-meta-row,
  .library-shelf-panel .book-actions { display:none; }
}


/* SEMAYAT publishing and distribution platform */
.semayat-business-pathways {
  padding: 70px 0 38px;
  background: #fffdf8;
}
.semayat-pathway-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
}
.semayat-pathway-card {
  position:relative;
  min-height:330px;
  padding:30px;
  border:1px solid #e7dfd2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 32px rgba(38,31,23,.055);
  display:flex;
  flex-direction:column;
}
.semayat-pathway-card--accent {
  background:#29231d;
  border-color:#29231d;
  color:#fff;
}
.semayat-pathway-card--accent .eyebrow,
.semayat-pathway-card--accent p,
.semayat-pathway-card--accent .semayat-pathway-actions a:last-child {
  color:#d8cbbb;
}
.semayat-pathway-card--accent h3,
.semayat-pathway-card--accent .semayat-pathway-actions a:first-child {
  color:#fff;
}
.semayat-pathway-icon {
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:24px;
  background:#f4eee5;
  color:#7d5734;
  font-size:20px;
}
.semayat-pathway-card--accent .semayat-pathway-icon {
  background:rgba(255,255,255,.1);
  color:#f2dfc8;
}
.semayat-pathway-card h3 {
  margin:8px 0 12px;
  font-size:28px;
  line-height:1.12;
  color:#272019;
}
.semayat-pathway-card p {
  color:#6f665d;
  line-height:1.75;
}
.semayat-pathway-actions {
  margin-top:auto;
  padding-top:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.semayat-pathway-actions a {
  color:#6f4928;
  font-weight:700;
  text-decoration:none;
}
.semayat-pathway-actions a:last-child {
  color:#7a736b;
  font-weight:500;
}

.semayat-trade-section {
  padding:72px 0;
  background:#f1ece4;
}
.semayat-trade-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:54px;
  align-items:center;
}
.semayat-trade-copy h2 {
  margin:8px 0 18px;
  max-width:720px;
  font-size:clamp(34px,4vw,54px);
  line-height:1.04;
  color:#272019;
}
.semayat-trade-copy p {
  max-width:720px;
  color:#6b6258;
  font-size:17px;
  line-height:1.75;
}
.semayat-trade-services {
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ddd1c1;
  background:#fffdf8;
}
.semayat-trade-services a {
  display:flex;
  gap:18px;
  align-items:center;
  padding:22px 24px;
  color:#28211b;
  text-decoration:none;
  border-bottom:1px solid #e8dfd2;
  transition:background .2s ease;
}
.semayat-trade-services a:last-child { border-bottom:0; }
.semayat-trade-services a:hover { background:#faf5ed; }
.semayat-trade-services i {
  width:40px;
  text-align:center;
  color:#8c5f32;
  font-size:21px;
}
.semayat-trade-services span {
  display:flex;
  flex-direction:column;
  gap:3px;
}
.semayat-trade-services small {
  color:#777068;
}

@media(max-width:900px){
  .semayat-pathway-grid { grid-template-columns:1fr; }
  .semayat-pathway-card { min-height:0; }
  .semayat-trade-grid { grid-template-columns:1fr; gap:30px; }
}
@media(max-width:600px){
  .semayat-business-pathways,
  .semayat-trade-section { padding:48px 0; }
  .semayat-pathway-card { padding:24px; border-radius:14px; }
  .semayat-pathway-card h3 { font-size:24px; }
}
\n/* SEMAYAT 2.0 commerce core */
.semayat-commerce-hero{padding:74px 0 68px}.semayat-hero-card{padding:28px;border-radius:22px;background:#28221d;color:#fff;box-shadow:0 22px 60px rgba(25,20,16,.18)}.semayat-model-step{display:grid;grid-template-columns:46px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.12)}.semayat-model-step:last-child{border-bottom:0}.semayat-model-step>strong{font-size:28px;color:#dcb98f}.semayat-model-step span{display:flex;flex-direction:column;gap:5px}.semayat-model-step b{font-size:20px}.semayat-model-step small{color:#d9d0c7}.semayat-audience-bar{background:#fff;border-bottom:1px solid #ece4d8}.semayat-audience-grid{display:grid;grid-template-columns:repeat(4,1fr)}.semayat-audience-grid>a{display:flex;align-items:center;gap:14px;padding:22px 18px;color:#2c251e;text-decoration:none;border-right:1px solid #eee6dc}.semayat-audience-grid i{font-size:22px;color:#8c5f32}.semayat-audience-grid span{display:flex;flex-direction:column}.semayat-audience-grid small{color:#7c7369}.semayat-product-shelf{padding:12px 0 28px;background:#faf7f1}.semayat-shelf-shell{padding:26px 26px 18px;border:1px solid #eee7dc;border-radius:18px;background:#fffdf9;box-shadow:0 9px 32px rgba(45,36,28,.05)}.semayat-real-books-track{display:flex;gap:30px;overflow-x:auto;scroll-snap-type:x proximity;padding:14px 4px 4px;scrollbar-width:none}.semayat-real-books-track::-webkit-scrollbar{display:none}.semayat-real-book{flex:0 0 158px;scroll-snap-align:start}.semayat-real-book__cover{position:relative;display:block;height:218px;text-decoration:none}.semayat-real-book__cover img{width:100%;height:100%;object-fit:cover;border-radius:3px;box-shadow:0 10px 18px rgba(31,25,20,.18)}.semayat-cover-placeholder{height:100%;padding:17px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#2f4f55,#132a31);color:#fff;border-radius:3px}.semayat-real-book__meta{padding-top:15px}.semayat-real-book__meta h3{font-size:15px;line-height:1.25;margin:0 0 6px}.semayat-real-book__meta h3 a{color:#2b241e;text-decoration:none}.semayat-book-subtitle,.semayat-real-book .book-author{font-size:12px;color:#786f66;margin:0 0 5px}.semayat-real-book__price{font-weight:700;margin:8px 0}.semayat-real-book__actions{display:flex;flex-direction:column;gap:6px}.semayat-real-book__actions a{text-decoration:none;font-size:12px;font-weight:700}.semayat-view-book{color:#7c512d}.semayat-add-cart{color:#2d2822}.semayat-shelf-ledge{height:10px;margin:15px -6px 0;background:linear-gradient(#eee7db,#ddd2c2);box-shadow:0 5px 9px rgba(46,38,30,.15)}.semayat-empty-store{padding:20px 0 52px;background:#faf7f1}.semayat-empty-store-card{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:30px;border:1px dashed #d8caba;border-radius:18px;background:#fff}.semayat-empty-store-card>i{font-size:36px;color:#8c5f32}.semayat-three-businesses{padding:72px 0;background:#fff}.semayat-commerce-page{padding:46px 0 72px;background:#fffdf9}.woocommerce ul.products li.product a img{border-radius:5px;box-shadow:0 8px 22px rgba(34,28,22,.1)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:8px!important;background:#2c251e!important;color:#fff!important}.woocommerce div.product .product_title{font-family:Georgia,serif;font-size:clamp(34px,4vw,54px)}.semayat-single-subtitle{font-size:20px;color:#72685e}.semayat-single-author{font-size:16px;font-weight:600}.semayat-book-details{margin-top:26px;padding-top:24px;border-top:1px solid #e7ded2}.semayat-book-details dl>div{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:9px 0;border-bottom:1px solid #eee7de}.semayat-book-details dd{margin:0}.semayat-wholesale-note{margin-top:20px;padding:14px 16px;background:#f5efe6;border-radius:10px}@media(max-width:900px){.semayat-audience-grid{grid-template-columns:1fr 1fr}.semayat-empty-store-card{grid-template-columns:1fr}.semayat-real-book{flex-basis:140px}.semayat-real-book__cover{height:194px}}@media(max-width:600px){.semayat-commerce-hero{padding:46px 0}.semayat-audience-grid>a{padding:16px 10px;gap:9px}.semayat-audience-grid small{font-size:10px}.semayat-shelf-shell{padding:18px 14px 14px}.semayat-real-books-track{gap:20px}.semayat-real-book{flex-basis:128px}.semayat-real-book__cover{height:178px}.semayat-book-details dl>div{grid-template-columns:115px 1fr}}


/* SEMAYAT 3.0 platform additions */
.semayat-pro-form{max-width:980px;padding:28px;border:1px solid #e5ddd1;border-radius:18px;background:#fff}
.semayat-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.semayat-form-grid label{display:flex;flex-direction:column;gap:7px}.semayat-form-grid label span{font-size:13px;font-weight:700;color:#4a4138}.semayat-form-grid input,.semayat-form-grid select,.semayat-form-grid textarea{width:100%;padding:12px 13px;border:1px solid #d8cfc3;border-radius:8px;background:#fff;font:inherit}.semayat-span-2{grid-column:1/-1}.semayat-form-success,.semayat-form-error{padding:14px 16px;border-radius:10px;margin-bottom:18px}.semayat-form-success{background:#edf7ef;color:#235a2e}.semayat-form-error{background:#fff0ef;color:#8a2f28}
.semayat-catalog-search{display:grid;grid-template-columns:minmax(280px,2fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;padding:16px;border:1px solid #e5ddd1;border-radius:14px;background:#fff;margin:0 0 26px}.semayat-catalog-search__main{position:relative}.semayat-catalog-search__main i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8c8176}.semayat-catalog-search input,.semayat-catalog-search select{width:100%;height:44px;border:1px solid #d9d0c5;border-radius:8px;background:#fff;padding:0 12px}.semayat-catalog-search__main input{padding-left:36px}.semayat-catalog-search button{border:0;border-radius:8px;background:#2c251e;color:#fff;padding:0 18px;font-weight:700;cursor:pointer}
.semayat-author-page,.semayat-directory-page{padding:54px 0 80px;background:#fffdf9}.semayat-author-hero{display:grid;grid-template-columns:220px 1fr;gap:38px;align-items:start;padding-bottom:44px;border-bottom:1px solid #e8e0d5}.semayat-author-photo{aspect-ratio:1;border-radius:18px;overflow:hidden;background:#f0e9df;display:grid;place-items:center;font-size:54px;color:#9a8976}.semayat-author-photo img{width:100%;height:100%;object-fit:cover}.semayat-author-hero h1,.semayat-directory-header h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1;margin:8px 0 12px}.semayat-author-role{font-size:18px;color:#7b6f63}.semayat-author-bio{max-width:760px;line-height:1.8;color:#5d554e}.semayat-author-website{display:inline-block;margin-top:12px;color:#7e552e;font-weight:700;text-decoration:none}.semayat-author-books{padding-top:44px}.semayat-author-book-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px}.semayat-author-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.semayat-author-directory-card{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid #e5ddd1;border-radius:12px;background:#fff;color:#2b241e;text-decoration:none}.semayat-author-directory-card img,.semayat-author-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#f0e9df;display:grid;place-items:center}.semayat-author-directory-card span:last-child{display:flex;flex-direction:column}.semayat-author-directory-card small{color:#7a7168;margin-top:3px}.semayat-az-nav{display:flex;flex-wrap:wrap;gap:7px;margin:28px 0}.semayat-az-nav a{width:32px;height:32px;border-radius:6px;display:grid;place-items:center;background:#f3ede5;color:#4a4037;text-decoration:none;font-weight:700}.semayat-author-letter{padding:24px 0}.semayat-author-letter>h2{font-family:Georgia,serif;font-size:34px;margin-bottom:14px}
@media(max-width:1000px){.semayat-catalog-search{grid-template-columns:1fr 1fr}.semayat-author-book-grid{grid-template-columns:repeat(4,1fr)}.semayat-author-directory-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.semayat-form-grid{grid-template-columns:1fr}.semayat-span-2{grid-column:auto}.semayat-catalog-search{grid-template-columns:1fr}.semayat-author-hero{grid-template-columns:1fr}.semayat-author-photo{width:150px}.semayat-author-book-grid{grid-template-columns:repeat(2,1fr)}.semayat-author-directory-grid{grid-template-columns:1fr}}

/* SEMAYAT 3.1 refinement */
.semayat-home-search{padding:22px 0;background:#f4efe7;border-bottom:1px solid #e6ddd0}.semayat-catalog-search{display:grid;grid-template-columns:minmax(280px,2fr) repeat(3,minmax(145px,1fr)) auto;gap:10px;padding:14px;border:1px solid #e5ddd1;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(40,31,23,.05)}.semayat-catalog-search__main{position:relative}.semayat-catalog-search__main i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8c8176}.semayat-catalog-search input,.semayat-catalog-search select{width:100%;height:46px;border:1px solid #d9d0c5;border-radius:9px;background:#fff;padding:0 12px}.semayat-catalog-search__main input{padding-left:38px}.semayat-catalog-search button{border:0;border-radius:9px;background:#29231d;color:#fff;padding:0 20px;font-weight:700;cursor:pointer}.semayat-shelf-style-minimal .semayat-shelf-ledge,.semayat-shelf-style-grid .semayat-shelf-ledge{display:none}.semayat-shelf-style-minimal .semayat-shelf-shell{box-shadow:none;background:transparent;border-color:#e9e1d6}.semayat-shelf-style-grid .semayat-real-books-track{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}.semayat-shelf-style-grid .semayat-real-book{min-width:0}.semayat-loop-author{font-size:13px;color:#786f66;margin:0 0 6px}.woocommerce div.product div.images img{border-radius:8px;box-shadow:0 16px 38px rgba(36,28,21,.1)}.woocommerce div.product .summary{padding-top:10px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#7b512f;font-weight:800}.woocommerce div.product form.cart .button{min-height:46px;padding-inline:24px}.semayat-book-details{background:#faf6ef;padding:22px;border-radius:14px;border-top:0}.semayat-book-details dl>div:last-child{border-bottom:0}.semayat-pro-form{max-width:980px;padding:28px;border:1px solid #e5ddd1;border-radius:18px;background:#fff}.semayat-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.semayat-form-grid label{display:flex;flex-direction:column;gap:7px}.semayat-form-grid input,.semayat-form-grid textarea,.semayat-form-grid select{padding:12px;border:1px solid #d8cfc3;border-radius:8px}.semayat-span-2{grid-column:1/-1}.semayat-form-success,.semayat-form-error{padding:14px 16px;border-radius:10px;margin-bottom:18px}.semayat-form-success{background:#edf7ef;color:#235a2e}.semayat-form-error{background:#fff0ef;color:#8a2f28}@media(max-width:1000px){.semayat-catalog-search{grid-template-columns:1fr 1fr}.semayat-shelf-style-grid .semayat-real-books-track{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.semayat-catalog-search{grid-template-columns:1fr}.semayat-shelf-style-grid .semayat-real-books-track{display:flex;overflow-x:auto}.semayat-form-grid{grid-template-columns:1fr}.semayat-span-2{grid-column:auto}}

/* SEMAYAT professional business forms */
.semayat-business-form-shell{max-width:1040px;margin:42px auto;padding:clamp(22px,4vw,42px);background:#fff;border:1px solid #e6ddd1;border-radius:22px;box-shadow:0 18px 50px rgba(48,37,27,.07)}.semayat-business-form-head{max-width:760px;margin-bottom:28px}.semayat-business-form-head h2{margin:7px 0 12px;font-family:Georgia,serif;font-size:clamp(30px,4vw,46px);line-height:1.08;color:#272019}.semayat-business-form-head p{margin:0;color:#6c6258;font-size:16px;line-height:1.75}.semayat-builder-form{max-width:none;padding:0;border:0;background:transparent}.semayat-builder-form .semayat-form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.semayat-form-field{grid-column:1/-1}.semayat-width-half{grid-column:span 3}.semayat-width-third{grid-column:span 2}.semayat-field-label{font-size:13px;font-weight:700;color:#443b33}.semayat-field-label em{color:#a34c3a;font-style:normal}.semayat-builder-form input[type=text],.semayat-builder-form input[type=email],.semayat-builder-form input[type=tel],.semayat-builder-form input[type=number],.semayat-builder-form input[type=url],.semayat-builder-form input[type=date],.semayat-builder-form input[type=file],.semayat-builder-form select,.semayat-builder-form textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid #d8cec1;border-radius:9px;background:#fff;color:#2d261f;font:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.02);transition:border-color .2s,box-shadow .2s}.semayat-builder-form textarea{min-height:130px;resize:vertical}.semayat-builder-form input:focus,.semayat-builder-form select:focus,.semayat-builder-form textarea:focus{outline:none;border-color:#9a6c40;box-shadow:0 0 0 3px rgba(154,108,64,.12)}.semayat-field-help{display:block;color:#7b7167;font-size:12px;line-height:1.45}.semayat-choice-list{display:flex;flex-wrap:wrap;gap:10px 16px;padding:12px 0}.semayat-choice{display:inline-flex;align-items:center;gap:7px}.semayat-choice input{margin:0}.semayat-field-heading{padding-top:10px}.semayat-field-heading h3{margin:0 0 5px;font-size:22px}.semayat-form-instruction{padding:14px 16px;border-left:3px solid #a97949;background:#f8f3ec;border-radius:7px;color:#665c52}.semayat-form-actions{padding-top:6px}.semayat-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.semayat-form-success,.semayat-form-error{margin:0 0 22px;padding:14px 17px;border-radius:10px;font-weight:600}.semayat-form-success{background:#edf7ef;border:1px solid #cee7d4;color:#265f32}.semayat-form-error{background:#fff0ef;border:1px solid #f0d0cd;color:#8a3128}@media(max-width:700px){.semayat-builder-form .semayat-form-grid{grid-template-columns:1fr}.semayat-form-field,.semayat-width-half,.semayat-width-third{grid-column:1/-1}.semayat-business-form-shell{margin:24px 0;border-radius:14px}}


/* SEMAYAT 3.3 template system */
.semayat-breadcrumbs{font-size:12px;color:#7b7167;margin-bottom:24px}.semayat-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.semayat-breadcrumbs li+li:before{content:"/";margin-right:8px;color:#b0a59a}.semayat-breadcrumbs a{color:inherit;text-decoration:none}.semayat-page-hero{padding:48px 0 42px;background:#f5f0e8;border-bottom:1px solid #e7ded2}.semayat-page-hero__inner{max-width:820px}.semayat-page-hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1.02;margin:8px 0 14px;color:#28211b}.semayat-page-hero__description{max-width:720px;color:#6b6259;line-height:1.7}
.semayat-listing-main{padding:52px 0 76px}.semayat-listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:44px}.semayat-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.semayat-story-card{overflow:hidden;border:1px solid #e8e0d6;border-radius:16px;background:#fff}.semayat-story-card__image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eee}.semayat-story-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.semayat-story-card:hover .semayat-story-card__image img{transform:scale(1.02)}.semayat-story-card__body{padding:22px}.semayat-story-card__meta{display:flex;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8a8178}.semayat-story-card h2{font-family:Georgia,serif;font-size:25px;line-height:1.15;margin:10px 0}.semayat-story-card h2 a{color:#28211b;text-decoration:none}.semayat-story-card__excerpt{color:#6a625a;line-height:1.7}.semayat-text-link{display:inline-block;margin-top:12px;color:#7d532f;font-weight:700;text-decoration:none}.semayat-sidebar .widget{padding:20px;margin-bottom:18px;border:1px solid #e7dfd4;border-radius:12px;background:#fff}.widget-title{margin-top:0;font-size:17px}.nav-links{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:36px}.nav-links .page-numbers{padding:9px 12px;border-radius:7px;background:#f1ebe3;color:#3d342c;text-decoration:none}.nav-links .current{background:#2c251e;color:#fff}
.semayat-empty-state{text-align:center;padding:58px 24px;border:1px dashed #d9ccbb;border-radius:18px;background:#fff}.semayat-empty-state__icon{font-size:30px;color:#9a7958}.semayat-empty-state h2{font-family:Georgia,serif;font-size:34px}.semayat-empty-state .search-form{max-width:520px;margin:18px auto}.semayat-empty-state .btn-store{margin-top:14px}
.semayat-article-main{padding:48px 0 76px}.semayat-article-wrap{max-width:900px}.semayat-article-header{text-align:center;max-width:850px;margin:0 auto 30px}.semayat-article-header h1{font-family:Georgia,serif;font-size:clamp(42px,6vw,72px);line-height:1.02;margin:10px 0 18px}.semayat-article-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;color:#80776e;font-size:13px}.semayat-article-featured{margin:0 0 34px}.semayat-article-featured img{width:100%;height:auto;border-radius:14px}.semayat-prose{font-size:18px;line-height:1.85;color:#403932}.semayat-prose>p,.semayat-prose>ul,.semayat-prose>ol,.semayat-prose>blockquote{max-width:760px;margin-left:auto;margin-right:auto}.semayat-prose h2,.semayat-prose h3,.semayat-prose h4{max-width:760px;margin-left:auto;margin-right:auto;font-family:Georgia,serif}.semayat-article-tags{max-width:760px;margin:28px auto}.post-navigation{max-width:760px;margin:42px auto}.post-navigation .nav-links{justify-content:space-between}.post-navigation a{text-decoration:none;color:#352e28}.post-navigation span{display:block;color:#8a8178;font-size:12px}.post-navigation strong{display:block;margin-top:4px}
.semayat-comments{max-width:760px;margin:48px auto 0;padding-top:34px;border-top:1px solid #e8dfd5}.comment-list{list-style:none;padding:0}.comment-body{padding:18px 0;border-bottom:1px solid #eee5da}.comment-form input:not([type=submit]),.comment-form textarea{width:100%;padding:12px;border:1px solid #d8cec2;border-radius:8px}.comment-form input[type=submit]{padding:12px 18px;border:0;border-radius:8px;background:#2c251e;color:#fff;font-weight:700}
.semayat-standard-page{padding:48px 0 80px}.semayat-standard-page__inner{max-width:1000px}.semayat-standard-page__header h1{font-family:Georgia,serif;font-size:clamp(40px,5vw,62px)}.semayat-standard-page__image img{width:100%;height:auto;border-radius:14px}
.semayat-business-cta{padding:58px 0;background:#29231d;color:#fff}.semayat-business-cta__grid{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}.semayat-business-cta h2{font-family:Georgia,serif;font-size:clamp(30px,4vw,48px);margin:8px 0 10px}.semayat-business-cta p{max-width:720px;color:#d4cbc3}.semayat-business-cta__actions{display:flex;gap:10px;flex-wrap:wrap}.semayat-business-cta .btn-ghost-store{border-color:#8c7b6b;color:#fff}
.semayat-service-hero{padding:60px 0;background:#f5f0e8}.semayat-service-hero__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:56px;align-items:center}.semayat-service-hero h1{font-family:Georgia,serif;font-size:clamp(42px,5vw,68px);line-height:1.02;margin:10px 0 18px}.semayat-service-hero p{font-size:18px;line-height:1.75;color:#655c53;max-width:760px}.semayat-service-points{border-radius:18px;background:#2b251f;color:#fff;padding:16px 26px}.semayat-service-points>div{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.12)}.semayat-service-points>div:last-child{border-bottom:0}.semayat-service-points strong{color:#d8b68c}.semayat-service-content,.semayat-form-section{padding:64px 0}.semayat-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.semayat-service-grid article{padding:28px;border:1px solid #e5ddd2;border-radius:16px;background:#fff}.semayat-service-grid i{font-size:25px;color:#8a5b32}.semayat-service-grid h2{font-size:24px}.semayat-service-grid p{color:#6d645b;line-height:1.7}
.semayat-error-page{padding:80px 0}.semayat-error-card{max-width:720px;text-align:center}.semayat-error-code{display:block;font-family:Georgia,serif;font-size:100px;line-height:.9;color:#e1d4c4}.semayat-error-card h1{font-family:Georgia,serif;font-size:48px;margin:10px 0}.semayat-error-card p{color:#6e655d}.semayat-error-card .search-form{max-width:520px;margin:24px auto}.semayat-error-card .hero-actions{justify-content:center}
.footer-grid--widgets .widget{margin:0}.footer-widget-column .widget-title{color:#fff}.semayat-footer-menu{display:flex;gap:16px;list-style:none;margin:0;padding:0}.semayat-footer-menu a{color:inherit;text-decoration:none}
@media(max-width:980px){.semayat-listing-layout{grid-template-columns:1fr}.semayat-sidebar{display:none}.semayat-service-hero__grid{grid-template-columns:1fr}.semayat-service-grid{grid-template-columns:1fr}.semayat-business-cta__grid{grid-template-columns:1fr}.semayat-story-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.semayat-story-grid{grid-template-columns:1fr}.semayat-page-hero,.semayat-service-hero{padding:38px 0}.semayat-article-header h1{font-size:40px}.semayat-prose{font-size:17px}.semayat-business-cta__actions{flex-direction:column;align-items:stretch}.semayat-footer-menu{flex-direction:column;gap:5px}.semayat-error-code{font-size:74px}.semayat-error-card h1{font-size:38px}}


/* SEMAYAT 3.4 layout and header controls */
.store-container {
  width: min(var(--sem-site-max, 1440px), calc(100% - 64px));
}

.semayat-layout-boxed {
  background: var(--sem-page-outer-bg, #ebe7df);
}

.semayat-layout-boxed .store-announcement,
.semayat-layout-boxed .store-header,
.semayat-layout-boxed main,
.semayat-layout-boxed footer,
.semayat-layout-boxed .site-footer {
  width: min(var(--sem-site-max, 1440px), 100%);
  margin-left: auto;
  margin-right: auto;
}

.semayat-layout-boxed main,
.semayat-layout-boxed footer,
.semayat-layout-boxed .site-footer {
  box-shadow: 0 0 32px rgba(34, 31, 27, .06);
}

.store-header {
  background: color-mix(in srgb, var(--sem-header-bg, #fffdf8) 96%, transparent);
  color: var(--sem-header-text, #14261f);
  transition: transform .28s ease, box-shadow .2s ease, background-color .2s ease;
}

.header-main {
  min-height: var(--sem-header-height, 90px);
}

.semayat-custom-logo img,
.semayat-custom-logo .custom-logo {
  max-height: var(--sem-logo-max-height, 60px);
  width: auto;
}

.header-actions i,
.store-menu-toggle {
  color: var(--sem-header-text, #14261f);
}

.store-nav {
  background: var(--sem-nav-bg, #fffdf8);
}

.nav-inner a,
.store-nav .semayat-primary-menu a {
  color: var(--sem-nav-text, #374840);
}

.semayat-header-static .store-header {
  position: relative;
  top: auto;
}

.semayat-header-sticky .store-header,
.semayat-header-smart .store-header {
  position: sticky;
  top: 0;
}

.semayat-header-shadow .store-header {
  box-shadow: 0 8px 24px rgba(33, 28, 23, .06);
}

.semayat-header-smart .store-header.semayat-header-hidden {
  transform: translateY(-100%);
}

.semayat-hide-announcement .store-announcement {
  display: none;
}

.semayat-header-width-full .header-main,
.semayat-header-width-full .store-nav > .store-container,
.semayat-header-width-full .store-nav .nav-inner {
  width: calc(100% - 40px);
  max-width: none;
}

.woocommerce .woocommerce-result-count:empty,
.woocommerce .woocommerce-ordering:empty {
  display: none;
}

@media (max-width: 800px) {
  .header-main {
    min-height: min(var(--sem-header-height, 90px), 92px);
  }

  .semayat-layout-boxed .store-announcement,
  .semayat-layout-boxed .store-header,
  .semayat-layout-boxed main,
  .semayat-layout-boxed footer,
  .semayat-layout-boxed .site-footer {
    width: 100%;
  }
}


/* ==========================================================================
   SEMAYAT 3.5 reference storefront redesign
   Visual layer only — business and commerce systems remain unchanged.
   ========================================================================== */

body.semayat-classic-storefront {
  --sem-reference-blue: #0799cf;
  --sem-reference-dark: #333638;
  --sem-reference-footer: #24394d;
  --sem-reference-footer-bottom: #31485e;
  --sem-reference-border: #e7e7e7;
  --sem-reference-white: #ffffff;
  background: #f5f5f5;
  color: #2d2d2d;
  font-family: Arial, Helvetica, sans-serif;
}

.semayat-classic-storefront .store-container {
  width: min(var(--sem-site-max, 1180px), calc(100% - 36px));
}

.semayat-classic-storefront.semayat-layout-boxed .store-announcement,
.semayat-classic-storefront.semayat-layout-boxed .store-header,
.semayat-classic-storefront.semayat-layout-boxed main,
.semayat-classic-storefront.semayat-layout-boxed footer {
  width: min(var(--sem-site-max, 1180px), 100%);
}

/* Utility bar */
.semayat-utility-bar {
  background: var(--sem-reference-blue);
  color: #fff;
  font-size: 11px;
}

.semayat-utility-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.semayat-utility-links,
.semayat-utility-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.semayat-utility-links > a,
.semayat-utility-menu a {
  display: block;
  padding: 9px 12px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.22);
}

.semayat-utility-links > a:first-child,
.semayat-utility-menu > li:first-child a {
  padding-left: 0;
}

/* Main header */
.semayat-classic-storefront .store-header {
  background: #fff;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.semayat-reference-header {
  min-height: var(--sem-header-height, 84px);
  display: grid;
  grid-template-columns: 210px minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.semayat-reference-brand,
.semayat-reference-brand .custom-logo-link {
  display: flex;
  align-items: center;
}

.semayat-reference-brand .custom-logo,
.semayat-reference-brand .semayat-fallback-logo {
  width: auto;
  max-width: 185px;
  max-height: min(var(--sem-logo-max-height, 58px), 64px);
  object-fit: contain;
}

.semayat-header-search .store-search {
  height: 38px;
  border-radius: 3px;
  border-color: #d9d9d9;
  background: #f9f9f9;
}

.semayat-header-search .store-search i {
  display: none;
}

.semayat-header-search .store-search input {
  font-size: 12px;
  padding: 0 12px;
}

.semayat-header-search .store-search button {
  width: 42px;
  padding: 0;
  background: transparent;
  color: #262626;
  font-size: 0;
}

.semayat-header-search .store-search button:after {
  content: "\f002";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 14px;
}

.semayat-reference-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.semayat-reference-actions a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #444;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
}

.semayat-reference-actions i {
  color: var(--sem-reference-blue);
  font-size: 18px;
}

.semayat-reference-actions .cart-count {
  top: -11px;
  left: 11px;
  right: auto;
  background: var(--sem-reference-blue);
}

/* Navigation */
.semayat-classic-storefront .store-nav {
  background: var(--sem-reference-dark);
  border: 0;
}

.semayat-classic-storefront .nav-inner {
  min-height: 46px;
}

.semayat-classic-storefront .store-nav .semayat-primary-menu {
  gap: 0;
}

.semayat-classic-storefront .store-nav .semayat-primary-menu > li > a,
.semayat-classic-storefront .nav-inner > a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.09);
}

.semayat-classic-storefront .nav-inner a:after {
  display: none;
}

.semayat-classic-storefront .store-nav .semayat-primary-menu > li > a:hover,
.semayat-classic-storefront .store-nav .current-menu-item > a {
  background: #1e9dcd;
  color: #fff;
}

/* Storefront body */
.semayat-reference-home {
  background: #fff;
}

.semayat-reference-content {
  padding: 24px 8px 54px;
  background: #fff;
}

.semayat-reference-products {
  margin: 0 0 22px;
}

.semayat-reference-section-head h1 {
  margin: 0 0 16px;
  font-size: 0;
}

.semayat-reference-section-head h1:after {
  content: "";
}

.semayat-reference-divider-title {
  text-align: center;
  margin: 18px 0 28px;
}

.semayat-reference-divider-title h2 {
  display: inline-block;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #111;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
}

/* WooCommerce reference-style cards */
.semayat-reference-home .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0 !important;
}

.semayat-reference-home .woocommerce ul.products:before,
.semayat-reference-home .woocommerce ul.products:after {
  display: none !important;
}

.semayat-reference-home .woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
  background: var(--sem-reference-dark);
  border: 1px solid #e1e1e1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.semayat-reference-home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.semayat-reference-home .woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  height: auto;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  background: #eee;
}

.semayat-reference-home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px;
  margin: 0 !important;
  padding: 11px 12px 2px !important;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px !important;
  line-height: 1.35;
  font-weight: 500;
}

.semayat-reference-home .woocommerce ul.products li.product .price {
  margin: auto 0 0 !important;
  padding: 6px 12px 12px;
  color: #fff !important;
  font-size: 13px;
  text-align: center;
  font-weight: 700;
}

.semayat-reference-home .woocommerce ul.products li.product .price del {
  color: #a8a8a8;
  opacity: 1;
  margin-right: 5px;
}

.semayat-reference-home .woocommerce ul.products li.product .price ins {
  color: #fff;
  text-decoration: none;
}

.semayat-reference-home .woocommerce ul.products li.product .onsale {
  top: 14px;
  left: 14px;
  right: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #47494b;
  color: #fff;
  font-size: 11px;
  line-height: 44px;
  z-index: 4;
}

.semayat-reference-home .woocommerce ul.products li.product .button,
.semayat-reference-home .woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}

.semayat-reference-view-all {
  text-align: center;
  margin: 18px 0 10px;
}

.semayat-reference-view-all a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--sem-reference-blue);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

.semayat-reference-business-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
}

.semayat-reference-business-strip > a {
  min-height: 76px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid #e3e3e3;
}

.semayat-reference-business-strip > a:last-child {
  border-right: 0;
}

.semayat-reference-business-strip i {
  width: 34px;
  color: var(--sem-reference-blue);
  font-size: 22px;
  text-align: center;
}

.semayat-reference-business-strip span {
  display: flex;
  flex-direction: column;
}

.semayat-reference-business-strip strong {
  font-size: 12px;
  text-transform: uppercase;
}

.semayat-reference-business-strip small {
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}

.semayat-reference-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 10px;
}

.semayat-reference-empty i {
  color: var(--sem-reference-blue);
  font-size: 44px;
}

/* Shop/archive cards follow the same language */
.semayat-commerce-page {
  background: #fff;
  padding-top: 26px;
}

.semayat-commerce-page .woocommerce ul.products li.product {
  background: var(--sem-reference-dark);
  overflow: hidden;
  border: 1px solid #e2e2e2;
}

.semayat-commerce-page .woocommerce ul.products li.product img {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.semayat-commerce-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 11px 12px 3px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px !important;
  font-weight: 500;
}

.semayat-commerce-page .woocommerce ul.products li.product .price {
  padding: 5px 12px 12px;
  color: #fff !important;
  text-align: center;
}

.semayat-commerce-page .woocommerce ul.products li.product .button {
  display: none;
}

/* Footer */
.semayat-reference-footer {
  background: var(--sem-reference-footer);
  color: #dce5ed;
}

.semayat-reference-footer .footer-grid {
  padding: 50px 0 44px;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 56px;
}

.semayat-reference-footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.semayat-reference-footer .footer-grid > div:not(.footer-brand-col) > a,
.semayat-reference-footer .footer-widget-column a {
  position: relative;
  display: block;
  padding: 9px 0 9px 14px;
  color: #dce5ed;
  border-bottom: 1px solid rgba(255,255,255,.13);
  font-size: 11px;
}

.semayat-reference-footer .footer-grid > div:not(.footer-brand-col) > a:before {
  content: "\f105";
  position: absolute;
  left: 0;
  font-family: FontAwesome;
  color: #7da33f;
}

.semayat-footer-contact {
  margin-bottom: 18px;
}

.semayat-footer-contact p {
  margin: 8px 0;
  font-size: 11px;
}

.semayat-footer-contact i {
  width: 18px;
  color: #fff;
}

.semayat-reference-footer .footer-brand {
  display: block;
  margin-top: 20px;
}

.semayat-reference-footer .footer-brand img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

.semayat-reference-payment-row {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.semayat-reference-payment-row .store-container {
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.semayat-payment-chip {
  min-width: 44px;
  height: 23px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #657789;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.semayat-reference-footer .footer-bottom {
  min-height: 46px;
  justify-content: center;
  color: #cfd8e0;
  background: var(--sem-reference-footer-bottom);
  font-size: 10px;
}

.semayat-reference-footer .footer-bottom .semayat-footer-menu {
  margin-left: 18px;
}

/* Boxed mode now matches the classic SEMAYAT visual language */
.semayat-classic-storefront.semayat-layout-boxed {
  background: #efefef;
}

.semayat-classic-storefront.semayat-layout-boxed .semayat-utility-bar,
.semayat-classic-storefront.semayat-layout-boxed .store-header,
.semayat-classic-storefront.semayat-layout-boxed .semayat-reference-home,
.semayat-classic-storefront.semayat-layout-boxed .store-footer {
  max-width: var(--sem-site-max, 1180px);
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1050px) {
  .semayat-reference-header {
    grid-template-columns: 190px 1fr auto;
    gap: 15px;
  }

  .semayat-reference-actions {
    gap: 12px;
  }

  .semayat-reference-actions span {
    display: none;
  }

  .semayat-reference-home .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .semayat-utility-bar {
    display: none;
  }

  .semayat-reference-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .semayat-reference-brand .custom-logo,
  .semayat-reference-brand .semayat-fallback-logo {
    max-width: 160px;
    max-height: 50px;
  }

  .semayat-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 12px;
  }

  .semayat-reference-actions {
    display: none;
  }

  .store-menu-toggle {
    display: block;
  }

  .semayat-classic-storefront .store-nav {
    background: #fff;
  }

  .semayat-classic-storefront .store-nav .semayat-primary-menu > li > a {
    color: #2d2d2d;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }

  .semayat-classic-storefront .store-nav .semayat-primary-menu > li > a:hover {
    color: var(--sem-reference-blue);
    background: #f7f7f7;
  }

  .semayat-reference-content {
    padding: 14px 0 36px;
  }

  .semayat-reference-home .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .semayat-reference-business-strip {
    grid-template-columns: 1fr;
  }

  .semayat-reference-business-strip > a {
    border-right: 0;
    border-bottom: 1px solid #e3e3e3;
  }

  .semayat-reference-business-strip > a:last-child {
    border-bottom: 0;
  }

  .semayat-reference-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .semayat-classic-storefront .store-container {
    width: min(100% - 20px, var(--sem-site-max, 1180px));
  }

  .semayat-reference-header {
    gap: 8px;
  }

  .semayat-reference-brand .custom-logo,
  .semayat-reference-brand .semayat-fallback-logo {
    max-width: 140px;
  }

  .semayat-reference-home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 52px;
    font-size: 11px !important;
  }

  .semayat-reference-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* SEMAYAT 3.6 Visual Header Builder */
.semayat-builder-header{background:transparent;border:0}.semayat-built-header--mobile{display:none}.semayat-built-row{background:#fff;border-bottom:1px solid #e7e7e7}.semayat-built-row--1{background:var(--sem-reference-blue,#0799cf);color:#fff;border-bottom:0}.semayat-built-row--3{background:var(--sem-reference-dark,#333638);color:#fff;border-bottom:0}.semayat-built-row-inner{min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px}.semayat-built-row--2 .semayat-built-row-inner{min-height:var(--sem-header-height,84px)}.semayat-built-zone{display:flex;align-items:center;gap:15px;min-width:0}.semayat-built-zone--center{justify-content:center}.semayat-built-zone--right{justify-content:flex-end}.semayat-hb-logo{display:flex;align-items:center;min-width:0}.semayat-hb-logo img,.semayat-hb-logo .custom-logo{width:auto;max-width:200px;max-height:var(--sem-logo-max-height,60px);object-fit:contain}.semayat-hb-search{width:min(100%,620px)}.semayat-hb-search .store-search{height:38px;border-radius:3px;background:#f7f7f7}.semayat-hb-search .store-search i{display:none}.semayat-hb-search .store-search button{width:44px;padding:0;background:transparent;color:#111;font-size:0}.semayat-hb-search .store-search button:after{content:"\f002";font:normal normal normal 14px/1 FontAwesome;font-size:16px}.semayat-hb-action,.semayat-hb-contact,.semayat-hb-text-link{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;white-space:nowrap;color:inherit}.semayat-built-row--2 .semayat-hb-action{color:#3a3a3a;text-transform:uppercase}.semayat-hb-action i,.semayat-hb-contact i,.semayat-hb-text-link i{color:var(--sem-reference-blue,#0799cf);font-size:18px}.semayat-built-row--1 .semayat-hb-menu,.semayat-built-row--3 .semayat-hb-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}.semayat-built-row--1 .semayat-hb-menu li,.semayat-built-row--3 .semayat-hb-menu li{margin:0}.semayat-built-row--1 .semayat-hb-menu a{display:block;padding:8px 10px;color:#fff;font-size:11px;border-right:1px solid rgba(255,255,255,.22)}.semayat-built-row--3 .semayat-hb-menu a{display:flex;align-items:center;min-height:46px;padding:0 14px;color:#fff;font-size:11px;text-transform:uppercase;font-weight:700;border-right:1px solid rgba(255,255,255,.1)}.semayat-built-row--3 .semayat-hb-menu a:hover,.semayat-built-row--3 .current-menu-item>a{background:var(--sem-reference-blue,#0799cf)}.semayat-hb-main-menu-wrap{width:100%}.semayat-hb-socials{display:flex;align-items:center;gap:9px}.semayat-hb-socials a{color:inherit}.semayat-hb-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:3px;background:var(--sem-reference-blue,#0799cf);color:#fff!important;font-size:11px;font-weight:700}.semayat-hb-checkout{background:#1e8c62}.semayat-hb-custom{font-size:12px}.semayat-hb-nav-icon{display:inline-flex!important}.semayat-builder-drawer{display:none}
@media(max-width:800px){.semayat-built-header--desktop{display:none}.semayat-built-header--mobile{display:block}.semayat-built-row--1,.semayat-built-row--3{background:#fff;color:#222}.semayat-built-row-inner{min-height:58px;grid-template-columns:1fr auto 1fr}.semayat-built-row--2 .semayat-built-row-inner{min-height:auto;padding-top:0;padding-bottom:10px;grid-template-columns:1fr}.semayat-built-row--2 .semayat-built-zone--left,.semayat-built-row--2 .semayat-built-zone--right{display:none}.semayat-built-row--2 .semayat-built-zone--center{width:100%}.semayat-built-zone--left{justify-content:flex-start}.semayat-built-zone--right{justify-content:flex-end}.semayat-hb-logo img,.semayat-hb-logo .custom-logo{max-width:145px;max-height:48px}.semayat-hb-action span{display:none}.semayat-hb-action i{font-size:20px}.semayat-builder-drawer{display:block}.semayat-header-builder-active .store-nav.open{display:block!important}}


/* ==========================================================================
   SEMAYAT 3.7 blue editorial visual system
   Presentation layer only.
   ========================================================================== */

body.semayat-storefront {
  --sem-blue: #079bd3;
  --sem-blue-dark: #006fa5;
  --sem-navy: #003d66;
  --sem-navy-deep: #002b4a;
  --sem-ice: #edf7fc;
  --sem-blue-line: #d7eaf3;
  --sem-blue-muted: #677885;
  --sem-bg: #ffffff;
  --sem-surface: #ffffff;
  --sem-ink: #132536;
  --sem-muted: #657786;
  --sem-accent: #079bd3;
  --sem-accent-dark: #006fa5;
  --sem-green: #079bd3;
  --sem-line: #dce8ef;
  --sem-soft: #f4f9fc;
  background: #f4f8fb;
  color: #132536;
}

/* Header Builder default styling */
.semayat-header-builder-active .store-header {
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 2px 12px rgba(0, 46, 80, .08);
}

.semayat-header-builder-active .semayat-built-row--1 {
  background: var(--sem-blue);
}

.semayat-header-builder-active .semayat-built-row--1 .semayat-built-row-inner {
  min-height: 32px;
}

.semayat-header-builder-active .semayat-built-row--1 .semayat-hb-menu a {
  padding: 8px 12px;
  font-size: 11px;
}

.semayat-header-builder-active .semayat-built-row--2 {
  background: #fff;
}

.semayat-header-builder-active .semayat-built-row--2 .semayat-built-row-inner {
  min-height: 78px;
}

.semayat-header-builder-active .semayat-hb-logo img,
.semayat-header-builder-active .semayat-hb-logo .custom-logo {
  max-width: 205px;
  max-height: 58px;
}

.semayat-header-builder-active .semayat-hb-search .store-search {
  height: 39px;
  border: 1px solid #d8e3e9;
  border-radius: 4px;
  background: #f9fbfc;
}

.semayat-header-builder-active .semayat-hb-search .store-search button {
  background: var(--sem-blue);
  color: #fff;
}

.semayat-header-builder-active .semayat-hb-search .store-search button:after {
  color: #fff;
}

.semayat-header-builder-active .semayat-built-row--2 .semayat-hb-action {
  color: #4e5d68;
}

.semayat-header-builder-active .semayat-hb-action i,
.semayat-header-builder-active .semayat-hb-contact i,
.semayat-header-builder-active .semayat-hb-text-link i {
  color: var(--sem-blue);
}

.semayat-header-builder-active .semayat-built-row--3 {
  background: var(--sem-navy);
}

.semayat-header-builder-active .semayat-built-row--3 .semayat-built-row-inner {
  min-height: 42px;
}

.semayat-header-builder-active .semayat-built-row--3 .semayat-hb-menu a {
  min-height: 42px;
  padding: 0 15px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.semayat-header-builder-active .semayat-built-row--3 .semayat-hb-menu a:hover,
.semayat-header-builder-active .semayat-built-row--3 .current-menu-item > a {
  background: var(--sem-blue);
}

.semayat-header-builder-active .semayat-hb-button {
  background: var(--sem-blue);
}

/* Homepage hero */
.semayat-blue-home {
  background: #fff;
}

.semayat-blue-hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background:
    radial-gradient(circle at 75% 20%, rgba(9,155,211,.2), transparent 28%),
    linear-gradient(115deg, #062e4d 0%, #00436d 52%, #06283f 100%);
  color: #fff;
}

.semayat-blue-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.semayat-blue-hero__grid {
  position: relative;
  z-index: 2;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 50px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.semayat-blue-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: #65c9ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.semayat-blue-hero h1 {
  max-width: 690px;
  margin: 0;
  font: 700 clamp(48px, 6vw, 78px)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em;
}

.semayat-blue-hero__content > p {
  margin: 20px 0 0;
  font-size: 22px;
  font-weight: 600;
}

.semayat-blue-hero__content .semayat-blue-hero__description {
  max-width: 680px;
  margin-top: 13px;
  color: #d7e7f1;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.semayat-blue-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.semayat-blue-button {
  min-height: 43px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--sem-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(0,0,0,.15);
}

.semayat-blue-button:hover {
  background: #12abe5;
  transform: translateY(-1px);
}

.semayat-blue-button--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: none;
}

.semayat-blue-button--outline:hover {
  background: rgba(255,255,255,.1);
}

.semayat-blue-hero__books {
  position: relative;
  height: 330px;
}

.semayat-blue-hero-book {
  position: absolute;
  bottom: 16px;
  width: 190px;
  aspect-ratio: 2 / 3;
  background: #dfeaf0;
  box-shadow: 0 22px 42px rgba(0,0,0,.32);
  border-radius: 3px;
  overflow: hidden;
  transform-origin: bottom center;
}

.semayat-blue-hero-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.semayat-blue-hero-book--1 {
  right: 235px;
  z-index: 4;
  transform: rotate(-8deg) translateY(15px);
}

.semayat-blue-hero-book--2 {
  right: 115px;
  z-index: 5;
  transform: rotate(2deg) translateY(-5px);
}

.semayat-blue-hero-book--3 {
  right: 10px;
  z-index: 3;
  transform: rotate(9deg) translateY(18px);
}

.semayat-blue-hero-book--4 {
  right: 330px;
  z-index: 2;
  width: 165px;
  transform: rotate(-13deg) translateY(35px);
}

.semayat-blue-hero-book--fallback {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(145deg, #079bd3, #003d66);
  color: #fff;
  font: 700 22px/1.1 Georgia, serif;
}

/* Homepage heading + shelves */
.semayat-blue-featured {
  padding: 42px 0 20px;
  background: #fff;
}

.semayat-blue-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

.semayat-blue-section-heading span {
  color: var(--sem-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.semayat-blue-section-heading h2 {
  margin: 5px 0 0;
  font: 700 31px/1.1 Georgia, serif;
  color: #132536;
}

.semayat-blue-section-heading > a {
  color: var(--sem-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.semayat-blue-featured .semayat-product-shelf {
  padding: 8px 0 20px;
  background: transparent;
}

.semayat-blue-featured .semayat-shelf-shell {
  padding: 18px 20px 13px;
  border: 1px solid var(--sem-blue-line);
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 57, 92, .05);
  background: #fff;
}

.semayat-blue-featured .shelf-header {
  align-items: center;
  margin-bottom: 16px;
}

.semayat-blue-featured .shelf-title-wrap .eyebrow {
  display: none;
}

.semayat-blue-featured .shelf-title-wrap h3 {
  margin: 0;
  color: var(--sem-navy);
  font: 700 17px/1.2 Arial, Helvetica, sans-serif;
}

.semayat-blue-featured .full-shelf-link {
  color: var(--sem-blue);
  font-size: 11px;
  font-weight: 700;
}

.semayat-blue-featured .shelf-controls button {
  width: 30px;
  height: 30px;
  border-color: var(--sem-blue-line);
  color: var(--sem-blue-dark);
  background: #fff;
}

.semayat-blue-featured .shelf-controls button:hover {
  background: var(--sem-blue);
  border-color: var(--sem-blue);
}

.semayat-blue-featured .semayat-real-books-track {
  gap: 22px;
}

.semayat-blue-featured .semayat-real-book {
  flex-basis: 145px;
}

.semayat-blue-featured .semayat-real-book__cover {
  height: 210px;
}

.semayat-blue-featured .semayat-real-book__cover img {
  border-radius: 1px;
  box-shadow: 0 8px 17px rgba(0, 42, 67, .2);
}

.semayat-blue-featured .semayat-real-book__meta {
  padding-top: 10px;
  text-align: center;
}

.semayat-blue-featured .semayat-real-book__meta h3 {
  font-size: 12px;
  line-height: 1.25;
}

.semayat-blue-featured .semayat-real-book__price {
  color: var(--sem-navy);
  font-size: 12px;
}

.semayat-blue-featured .semayat-real-book__actions {
  display: none;
}

.semayat-blue-featured .semayat-shelf-ledge {
  height: 7px;
  margin-top: 11px;
  background: linear-gradient(#d9c3a2,#a98558);
  box-shadow: 0 4px 7px rgba(71,45,24,.17);
}

/* Business cards */
.semayat-blue-business-grid {
  padding: 36px 0 60px;
  background: #f3f8fb;
}

.semayat-blue-business-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.semayat-blue-business-card {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sem-blue-line);
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,53,84,.06);
}

.semayat-blue-business-card > i {
  color: var(--sem-blue);
  font-size: 28px;
}

.semayat-blue-business-card > span {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
}

.semayat-blue-business-card strong {
  color: var(--sem-navy);
  font: 700 24px/1.05 Georgia, serif;
}

.semayat-blue-business-card small {
  margin-top: 8px;
  color: var(--sem-blue-muted);
  line-height: 1.55;
}

.semayat-blue-business-card > b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--sem-blue);
  font-size: 12px;
}

/* Shop/catalog */
.semayat-commerce-page {
  background: #fff;
  padding: 28px 0 64px;
}

.semayat-commerce-page .semayat-catalog-search {
  border: 1px solid var(--sem-blue-line);
  border-radius: 4px;
  box-shadow: none;
  background: #f8fbfd;
}

.semayat-catalog-search button {
  background: var(--sem-blue);
  border-radius: 3px;
}

.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--sem-blue-line);
  padding-bottom: 13px;
  box-shadow: 0 5px 16px rgba(0,50,80,.05);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 12px 12px 3px !important;
  color: var(--sem-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px !important;
}

.woocommerce ul.products li.product .semayat-loop-author {
  padding: 0 12px;
  color: #758593;
  font-size: 11px;
}

.woocommerce ul.products li.product .price {
  padding: 5px 12px 0;
  color: #142536 !important;
  font-size: 13px;
}

.woocommerce ul.products li.product .button {
  margin: 10px 12px 0;
  border-radius: 3px !important;
  background: var(--sem-blue) !important;
}

/* Single book */
.woocommerce div.product .product_title {
  color: var(--sem-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--sem-blue-dark) !important;
  font-size: 22px;
  font-weight: 700;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  background: var(--sem-blue) !important;
  border-radius: 3px !important;
}

.semayat-single-subtitle,
.semayat-single-author {
  color: #657786;
}

.semayat-book-details {
  border-top-color: var(--sem-blue-line);
}

.semayat-book-details h2 {
  color: var(--sem-navy);
}

.semayat-wholesale-note {
  background: var(--sem-ice);
  border-left: 3px solid var(--sem-blue);
}

/* Service pages */
.semayat-service-page,
.semayat-directory-page,
.semayat-author-page {
  background: #fff;
}

.semayat-service-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(9,155,211,.16), transparent 25%),
    linear-gradient(120deg,#eef8fd 0%,#fff 58%,#eaf5fa 100%);
  border-bottom: 1px solid var(--sem-blue-line);
}

.semayat-service-hero h1 {
  color: var(--sem-navy);
}

.semayat-service-hero p {
  color: #5e7180;
}

.semayat-service-points {
  border-radius: 4px;
  background: var(--sem-navy);
}

.semayat-service-points strong {
  color: #5fc7ee;
}

.semayat-service-grid article {
  border-color: var(--sem-blue-line);
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0,48,76,.04);
}

.semayat-service-grid i {
  color: var(--sem-blue);
}

.semayat-service-grid h2 {
  color: var(--sem-navy);
}

/* Author pages */
.semayat-author-hero {
  border-bottom-color: var(--sem-blue-line);
}

.semayat-author-photo {
  border-radius: 4px;
  background: var(--sem-ice);
  color: var(--sem-blue);
}

.semayat-author-hero h1,
.semayat-directory-header h1 {
  color: var(--sem-navy);
}

.semayat-author-website,
.semayat-text-link {
  color: var(--sem-blue-dark);
}

.semayat-author-directory-card {
  border-color: var(--sem-blue-line);
  border-radius: 4px;
  box-shadow: 0 4px 13px rgba(0,49,79,.04);
}

.semayat-az-nav a {
  background: var(--sem-ice);
  color: var(--sem-navy);
  border-radius: 3px;
}

/* Footer */
.store-footer,
.semayat-reference-footer {
  background: var(--sem-navy-deep);
  color: #d7e9f4;
}

.store-footer h4,
.semayat-reference-footer h4 {
  color: #fff;
}

.store-footer a,
.semayat-reference-footer a {
  color: #d7e9f4;
}

.footer-bottom,
.semayat-reference-footer .footer-bottom {
  background: #00243d;
  color: #bed6e4;
}

.semayat-reference-payment-row {
  background: #003453;
}

/* Bottom mobile nav */
.semayat-bottom-nav {
  background: rgba(255,255,255,.98);
  border-top-color: #cfe3ee;
}

.semayat-bottom-nav__item i {
  color: var(--sem-navy);
}

.semayat-bottom-nav__item:hover,
.semayat-bottom-nav__item:focus {
  color: var(--sem-blue);
}

.semayat-bottom-nav__home {
  border-color: #99d5eb;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,87,128,.18);
}

/* Forms */
.semayat-business-form-shell {
  border-color: var(--sem-blue-line);
  border-radius: 4px;
}

.semayat-builder-form input:focus,
.semayat-builder-form select:focus,
.semayat-builder-form textarea:focus {
  border-color: var(--sem-blue);
  box-shadow: 0 0 0 3px rgba(7,155,211,.12);
}

.semayat-form-instruction {
  border-left-color: var(--sem-blue);
  background: var(--sem-ice);
}

/* Responsive */
@media (max-width: 950px) {
  .semayat-blue-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .semayat-blue-hero__books {
    height: 260px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .semayat-blue-hero-book {
    width: 145px;
  }

  .semayat-blue-business-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .semayat-header-builder-active .semayat-built-header--mobile {
    background: #fff;
  }

  .semayat-header-builder-active .semayat-built-row--1,
  .semayat-header-builder-active .semayat-built-row--2,
  .semayat-header-builder-active .semayat-built-row--3 {
    background: #fff;
    color: #132536;
  }

  .semayat-header-builder-active .semayat-hb-logo img,
  .semayat-header-builder-active .semayat-hb-logo .custom-logo {
    max-width: 145px;
    max-height: 48px;
  }

  .semayat-blue-hero {
    min-height: 0;
  }

  .semayat-blue-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .semayat-blue-hero__content > p {
    font-size: 18px;
  }

  .semayat-blue-hero__books {
    height: 220px;
  }

  .semayat-blue-hero-book {
    width: 118px;
  }

  .semayat-blue-hero-book--1 { right: 55%; }
  .semayat-blue-hero-book--2 { right: 31%; }
  .semayat-blue-hero-book--3 { right: 7%; }
  .semayat-blue-hero-book--4 { display: none; }

  .semayat-blue-featured .semayat-real-book {
    flex-basis: 128px;
  }

  .semayat-blue-featured .semayat-real-book__cover {
    height: 185px;
  }

  .semayat-blue-section-heading {
    align-items: center;
  }

  .semayat-blue-section-heading h2 {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .semayat-blue-hero__grid {
    gap: 20px;
  }

  .semayat-blue-hero h1 {
    font-size: 46px;
  }

  .semayat-blue-hero__actions {
    flex-direction: column;
  }

  .semayat-blue-button {
    width: 100%;
  }

  .semayat-blue-hero__books {
    height: 180px;
  }

  .semayat-blue-hero-book {
    width: 98px;
  }

  .semayat-blue-featured {
    padding-top: 30px;
  }

  .semayat-blue-featured .semayat-shelf-shell {
    padding: 15px 12px 10px;
  }
}


/* ==========================================================================
   SEMAYAT 3.8 book-commerce footer
   ========================================================================== */

.semayat-book-footer {
  background:
    linear-gradient(180deg, #30465c 0%, #263c51 58%, #21374b 100%);
  color: #fff;
  padding: 0;
}

.semayat-book-footer > .store-container {
  padding-top: 38px;
}

.semayat-book-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.semayat-book-footer__column {
  min-width: 0;
}

.semayat-book-footer__heading {
  margin-bottom: 22px;
}

.semayat-book-footer__heading h4 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .01em;
}

.semayat-book-footer__heading span {
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 13px;
  background: rgba(255,255,255,.34);
}

.semayat-footer-books {
  display: flex;
  flex-direction: column;
}

.semayat-footer-book {
  min-height: 82px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.semayat-footer-book:last-child {
  border-bottom: 0;
}

.semayat-footer-book__thumb {
  display: block;
  width: 60px;
  height: 60px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.semayat-footer-book__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.semayat-footer-book__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.7);
  font-size: 20px;
}

.semayat-footer-book__content {
  min-width: 0;
}

.semayat-footer-book__content h5 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.semayat-footer-book__content h5 a {
  color: #fff;
}

.semayat-footer-book__price {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.semayat-footer-book__price del {
  color: rgba(255,255,255,.46);
  font-weight: 500;
  margin-right: 6px;
}

.semayat-footer-book__price ins {
  color: #fff;
  text-decoration: none;
}

.semayat-footer-empty {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.semayat-book-footer__bottom {
  min-height: 88px;
  margin-top: 42px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.semayat-book-footer__copyright {
  color: #f2f5f7;
  font-size: 12px;
}

.semayat-book-footer__payments {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.semayat-pay-badge {
  min-width: 46px;
  height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.semayat-pay-badge--paypal,
.semayat-pay-badge--stripe {
  font-style: italic;
  font-size: 11px;
}

.semayat-pay-badge--mastercard {
  min-width: 52px;
  gap: 0;
}

.semayat-pay-badge--mastercard i {
  font-size: 15px;
  margin: 0 -3px;
}

.semayat-pay-badge--mastercard i:first-child {
  color: #ddd;
}

.semayat-pay-badge--mastercard i:last-child {
  color: #aaa;
}

.semayat-pay-badge--card {
  min-width: 48px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .semayat-book-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .semayat-book-footer__column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .semayat-book-footer > .store-container {
    padding-top: 30px;
  }

  .semayat-book-footer__grid {
    grid-template-columns: 1fr;
  }

  .semayat-book-footer__column:last-child {
    grid-column: auto;
  }

  .semayat-book-footer__bottom {
    min-height: 0;
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: flex-start;
  }

  .semayat-book-footer__payments {
    justify-content: flex-start;
  }
}


/* ==========================================================================
   SEMAYAT 3.8.2 integrated book search + Header Builder element colors
   ========================================================================== */
.semayat-header-builder-active .semayat-built-row--1{background:var(--hb-row1-bg,#079bd3);color:var(--hb-row1-text,#fff)}
.semayat-header-builder-active .semayat-built-row--2{background:var(--hb-row2-bg,#fff);color:var(--hb-row2-text,#3a3a3a)}
.semayat-header-builder-active .semayat-built-row--3{background:var(--hb-row3-bg,#003d66);color:var(--hb-row3-text,#fff)}

.semayat-book-search{
  width:100%;height:40px;display:grid!important;
  grid-template-columns:auto minmax(100px,1fr) 44px!important;
  align-items:stretch;border:1px solid var(--hb-search-border,#d8e3e9)!important;
  border-radius:22px!important;background:var(--hb-search-bg,#f9fbfc)!important;
  overflow:hidden;box-shadow:none!important;
}
.semayat-book-search__category{
  width:auto;min-width:72px;max-width:150px;height:100%;margin:0;padding:0 30px 0 13px;
  border:0!important;border-right:1px solid var(--hb-search-border,#d8e3e9)!important;
  outline:0;background-color:var(--hb-search-cat-bg,#fff);color:var(--hb-search-cat-text,#263746);
  font-size:12px;cursor:pointer;border-radius:0!important;
}
.semayat-book-search__input{
  min-width:0;width:100%!important;height:100%!important;margin:0!important;padding:0 14px!important;
  border:0!important;outline:0!important;background:transparent!important;color:var(--hb-search-text,#263746)!important;
  font-size:12px!important;box-shadow:none!important;
}
.semayat-book-search__input::placeholder{color:color-mix(in srgb,var(--hb-search-text,#263746) 52%,transparent)}
.semayat-book-search__submit{
  width:44px!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  display:grid!important;place-items:center;background:var(--hb-search-button-bg,#079bd3)!important;
  color:var(--hb-search-button-icon,#fff)!important;cursor:pointer;box-shadow:none!important;font-size:0!important;
}
.semayat-book-search__submit i{display:block!important;margin:0!important;color:inherit!important;font-size:16px!important;line-height:1!important}
.semayat-book-search__submit:after{display:none!important;content:none!important}

/* Builder component colors */
.semayat-header-builder-active .semayat-hb-top-menu a{color:var(--hb-top-menu-text,#fff)!important}
.semayat-header-builder-active .semayat-hb-main-menu a{color:var(--hb-main-menu-text,#fff)!important}
.semayat-header-builder-active .semayat-hb-secondary-menu a{color:var(--hb-secondary-menu-text,#fff)!important}
.semayat-header-builder-active .semayat-hb-action:not(.semayat-hb-cart){color:var(--hb-account-text,#4e5d68)}
.semayat-header-builder-active .semayat-hb-action:not(.semayat-hb-cart) i{color:var(--hb-account-icon,#079bd3)}
.semayat-header-builder-active .semayat-hb-cart{color:var(--hb-cart-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-cart i{color:var(--hb-cart-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-action[href*="wishlist"]{color:var(--hb-wishlist-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-action[href*="wishlist"] i{color:var(--hb-wishlist-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-nav-icon,.semayat-header-builder-active .semayat-hb-icon-link{color:var(--hb-nav-icon,#003d66)!important}
.semayat-header-builder-active .semayat-hb-socials a,.semayat-header-builder-active .semayat-hb-socials i{color:var(--hb-social-icons,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-contact{color:var(--hb-contact-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-contact i{color:var(--hb-contact-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-text-link[href*="newsletter"]{color:var(--hb-newsletter-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-text-link[href*="newsletter"] i{color:var(--hb-newsletter-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-text-link[href*="language"],.semayat-header-builder-active .semayat-hb-text-link .fa-globe{color:var(--hb-languages-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-custom{color:var(--hb-custom-text,#263746)!important}
.semayat-header-builder-active .semayat-hb-button:not(.semayat-hb-checkout):first-of-type{background:var(--hb-button1-bg,#079bd3)!important;color:var(--hb-button1-text,#fff)!important}
.semayat-header-builder-active .semayat-hb-button:not(.semayat-hb-checkout){color:var(--hb-button2-text,#fff)}
.semayat-header-builder-active .semayat-hb-checkout{background:var(--hb-checkout-bg,#1e8c62)!important;color:var(--hb-checkout-text,#fff)!important}

@media(max-width:800px){
  .semayat-book-search{height:39px;grid-template-columns:auto minmax(0,1fr) 42px!important}
  .semayat-book-search__category{min-width:62px;max-width:110px;padding-left:10px;padding-right:24px}
  .semayat-book-search__input{padding-left:10px!important;padding-right:10px!important}
}


/* Explicit Header Builder element color hooks. */
.semayat-header-builder-active .semayat-hb-account{color:var(--hb-account-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-account i{color:var(--hb-account-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-wishlist{color:var(--hb-wishlist-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-wishlist i{color:var(--hb-wishlist-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-newsletter{color:var(--hb-newsletter-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-newsletter i{color:var(--hb-newsletter-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-languages{color:var(--hb-languages-text,#4e5d68)!important}
.semayat-header-builder-active .semayat-hb-languages i{color:var(--hb-languages-icon,#079bd3)!important}
.semayat-header-builder-active .semayat-hb-button1{background:var(--hb-button1-bg,#079bd3)!important;color:var(--hb-button1-text,#fff)!important}
.semayat-header-builder-active .semayat-hb-button2{background:var(--hb-button2-bg,#079bd3)!important;color:var(--hb-button2-text,#fff)!important}


/* ==========================================================================
   SEMAYAT 3.9 mobile-first commerce
   ========================================================================== */

.semayat-mobile-discovery {
  display: none;
}

@media (max-width: 800px) {
  /* Reference-style simple mobile header: logo left, menu + cart right. */
  .semayat-header-builder-active .semayat-built-header--mobile {
    display: block;
    background: #fff;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-row {
    display: none;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-row--1 {
    display: block;
    background: #fff !important;
    border-bottom: 1px solid #e3e9ed;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-row--1 .semayat-built-row-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-zone--left {
    justify-content: flex-start;
    min-width: 0;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-zone--center {
    display: none;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-zone--right {
    justify-content: flex-end;
    gap: 8px;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-logo {
    min-width: 0;
    width: 100%;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-logo img,
  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-logo .custom-logo {
    display: block;
    width: auto;
    max-width: min(62vw, 260px);
    max-height: 66px;
    object-fit: contain;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .store-menu-toggle,
  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-action {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid !important;
    place-items: center;
    padding: 0;
    border: 0;
    border-left: 1px solid #e4e9ec;
    background: transparent;
    color: #35444f;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .store-menu-toggle i {
    font-size: 29px;
    color: #4a545b !important;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-action {
    position: relative;
    border-radius: 50%;
    background: var(--sem-navy, #003d66);
    border-left: 0;
    color: #fff;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-action i {
    color: #fff !important;
    font-size: 20px;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-action span {
    display: none;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .cart-count {
    top: -4px;
    right: -3px;
  }

  /* Make the off-canvas menu easier to scan with large touch rows. */
  .semayat-builder-drawer .store-mobile-nav-head {
    min-height: 66px;
  }

  .semayat-builder-drawer .semayat-primary-menu a {
    min-height: 50px;
    display: flex !important;
    align-items: center;
    padding: 12px 0 !important;
    font-size: 14px !important;
    line-height: 1.25;
  }

  /* Discovery moves out of the header and sits immediately below the hero. */
  .semayat-mobile-discovery {
    display: block;
    padding: 14px 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--sem-blue-line, #d7eaf3);
  }

  .semayat-mobile-discovery__search form {
    height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 48px;
    border: 1px solid #cfdde5;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
  }

  .semayat-mobile-discovery__category {
    width: 104px;
    height: 100%;
    padding: 0 26px 0 10px;
    border: 0;
    border-right: 1px solid #dce6eb;
    background: #f7fafc;
    color: #344856;
    font-size: 11px;
  }

  .semayat-mobile-discovery__search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0 11px;
    outline: 0;
    color: #243642;
    font-size: 13px;
    background: #fff;
  }

  .semayat-mobile-discovery__search button {
    width: 48px;
    height: 48px;
    border: 0;
    background: var(--sem-blue, #079bd3);
    color: #fff;
    font-size: 17px;
  }

  .semayat-mobile-quicklinks {
    display: grid;
    grid-template-columns: repeat(5, minmax(74px, 1fr));
    gap: 8px;
    margin-top: 13px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .semayat-mobile-quicklinks::-webkit-scrollbar {
    display: none;
  }

  .semayat-mobile-quicklinks a {
    min-height: 74px;
    padding: 10px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dce9f0;
    border-radius: 8px;
    background: #f9fcfe;
    color: var(--sem-navy, #003d66);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }

  .semayat-mobile-quicklinks i {
    color: var(--sem-blue, #079bd3);
    font-size: 19px;
  }

  /* Make the hero compact so books/services appear above the fold sooner. */
  .semayat-blue-hero__grid {
    display: block;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .semayat-blue-hero__content {
    max-width: 100%;
  }

  .semayat-blue-kicker {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .semayat-blue-hero h1 {
    max-width: 420px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: .98;
  }

  .semayat-blue-hero__content > p {
    margin-top: 12px;
    font-size: 16px;
  }

  .semayat-blue-hero__content .semayat-blue-hero__description {
    display: none;
  }

  .semayat-blue-hero__actions {
    margin-top: 18px;
    gap: 8px;
  }

  .semayat-blue-button {
    min-height: 42px;
    flex: 1 1 calc(50% - 4px);
    padding: 0 12px;
    font-size: 12px;
  }

  .semayat-blue-hero__books {
    display: none;
  }

  /* Shelves should look like shoppable book cards on phones. */
  .semayat-blue-featured {
    padding: 26px 0 8px;
  }

  .semayat-blue-section-heading {
    margin-bottom: 4px;
  }

  .semayat-blue-section-heading h2 {
    font-size: 24px;
  }

  .semayat-blue-section-heading > a {
    font-size: 10px;
  }

  .semayat-blue-featured .semayat-product-shelf {
    padding: 7px 0 14px;
  }

  .semayat-blue-featured .semayat-shelf-shell {
    padding: 14px 10px 10px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .semayat-blue-featured .shelf-header {
    margin-bottom: 12px;
  }

  .semayat-blue-featured .shelf-title-wrap h3 {
    font-size: 16px;
  }

  .semayat-blue-featured .shelf-controls {
    display: none;
  }

  .semayat-blue-featured .semayat-real-books-track {
    gap: 14px;
    padding-bottom: 5px;
    scroll-padding-left: 2px;
  }

  .semayat-blue-featured .semayat-real-book {
    flex: 0 0 132px;
  }

  .semayat-blue-featured .semayat-real-book__cover {
    height: 190px;
  }

  .semayat-blue-featured .semayat-real-book__meta {
    text-align: left;
    padding-top: 8px;
  }

  .semayat-blue-featured .semayat-real-book__meta h3 {
    min-height: 30px;
    margin-bottom: 4px;
    font-size: 12px;
  }

  .semayat-blue-featured .semayat-real-book .book-author {
    font-size: 10px;
  }

  .semayat-blue-featured .semayat-real-book__price {
    margin: 5px 0 0;
    font-size: 12px;
  }

  .semayat-blue-featured .semayat-shelf-ledge {
    margin-top: 9px;
  }

  /* Service cards: easy to scan, not giant blocks. */
  .semayat-blue-business-grid {
    padding: 18px 0 32px;
  }

  .semayat-blue-business-cards {
    gap: 10px;
  }

  .semayat-blue-business-card {
    min-height: 0;
    padding: 17px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .semayat-blue-business-card > i {
    font-size: 23px;
  }

  .semayat-blue-business-card > span {
    margin: 0;
  }

  .semayat-blue-business-card strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
  }

  .semayat-blue-business-card small {
    margin-top: 3px;
    font-size: 11px;
  }

  .semayat-blue-business-card > b {
    margin: 0;
    padding: 0;
    font-size: 0;
  }

  .semayat-blue-business-card > b i {
    font-size: 18px;
  }

  /* Shop grid: two easy-to-scan books per row with visible price/title. */
  .semayat-commerce-page {
    padding-top: 16px;
  }

  .semayat-commerce-page .semayat-catalog-search {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    margin-bottom: 15px;
  }

  .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .woocommerce ul.products:before,
  .woocommerce ul.products:after {
    display: none !important;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 45px;
    padding: 10px 9px 2px !important;
    font-size: 12px !important;
  }

  .woocommerce ul.products li.product .semayat-loop-author {
    padding: 0 9px;
    font-size: 10px;
  }

  .woocommerce ul.products li.product .price {
    padding: 5px 9px 0;
    font-size: 12px;
  }

  .woocommerce ul.products li.product .button {
    width: calc(100% - 18px);
    min-height: 38px;
    margin: 9px 9px 0;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .semayat-header-builder-active .semayat-built-header--mobile .semayat-built-row--1 .semayat-built-row-inner {
    min-height: 78px;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-logo img,
  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-logo .custom-logo {
    max-width: min(58vw, 220px);
    max-height: 58px;
  }

  .semayat-header-builder-active .semayat-built-header--mobile .store-menu-toggle,
  .semayat-header-builder-active .semayat-built-header--mobile .semayat-hb-action {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .semayat-mobile-discovery__search form {
    grid-template-columns: 88px minmax(0,1fr) 46px;
  }

  .semayat-mobile-discovery__category {
    width: 88px;
    font-size: 10px;
  }

  .semayat-mobile-quicklinks {
    grid-template-columns: repeat(5, 78px);
  }

  .semayat-blue-featured .semayat-real-book {
    flex-basis: 124px;
  }

  .semayat-blue-featured .semayat-real-book__cover {
    height: 178px;
  }
}


/* ==========================================================================
   SEMAYAT 3.10 login modal and back to top
   ========================================================================== */

.semayat-hb-account[type="button"] {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

body.semayat-modal-open {
  overflow: hidden;
}

.semayat-login-modal[hidden] {
  display: none !important;
}

.semayat-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.semayat-login-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 21, 35, .64);
  opacity: 0;
  transition: opacity .22s ease;
  cursor: default;
}

.semayat-login-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  overflow-y: auto;
  padding: 34px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 26, 43, .34);
  transform: translateY(18px) scale(.985);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.semayat-login-modal.is-open .semayat-login-modal__backdrop,
.semayat-login-modal.is-open .semayat-login-modal__dialog {
  opacity: 1;
}

.semayat-login-modal.is-open .semayat-login-modal__dialog {
  transform: translateY(0) scale(1);
}

.semayat-login-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f6f9;
  color: #274556;
  cursor: pointer;
}

.semayat-login-modal__brand {
  min-height: 54px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.semayat-login-modal__brand .custom-logo-link {
  display: block;
}

.semayat-login-modal__brand img,
.semayat-login-modal__brand .custom-logo {
  width: auto;
  max-width: 210px;
  max-height: 58px;
  object-fit: contain;
}

.semayat-login-modal__eyebrow {
  color: var(--sem-blue, #079bd3);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.semayat-login-modal h2 {
  margin: 6px 0 8px;
  color: var(--sem-navy, #003d66);
  font: 700 32px/1.1 Georgia, "Times New Roman", serif;
}

.semayat-login-modal > .semayat-login-modal__dialog > p {
  margin: 0 0 23px;
  color: #6b7a84;
  line-height: 1.55;
}

.semayat-login-modal .login-username,
.semayat-login-modal .login-password {
  margin: 0 0 15px;
}

.semayat-login-modal label {
  display: block;
  margin-bottom: 6px;
  color: #344b59;
  font-size: 12px;
  font-weight: 700;
}

.semayat-login-modal input[type="text"],
.semayat-login-modal input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cadce6;
  border-radius: 6px;
  background: #fbfdfe;
  color: #1e3442;
  font: inherit;
}

.semayat-login-modal input[type="text"]:focus,
.semayat-login-modal input[type="password"]:focus {
  outline: 0;
  border-color: var(--sem-blue, #079bd3);
  box-shadow: 0 0 0 3px rgba(7, 155, 211, .12);
}

.semayat-login-modal .login-remember {
  margin: 5px 0 18px;
  color: #586b77;
  font-size: 12px;
}

.semayat-login-modal .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.semayat-login-modal .login-submit {
  margin: 0;
}

.semayat-login-modal input[type="submit"] {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--sem-blue, #079bd3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.semayat-login-modal input[type="submit"]:hover {
  background: var(--sem-blue-dark, #006fa5);
}

.semayat-login-modal__links {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.semayat-login-modal__links a {
  color: var(--sem-blue-dark, #006fa5);
  font-weight: 700;
}

.semayat-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--sem-navy, #003d66);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 43, 74, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
  cursor: pointer;
}

.semayat-back-to-top i {
  font-size: 24px;
}

.semayat-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.semayat-back-to-top:hover {
  background: var(--sem-blue, #079bd3);
}

@media (max-width: 800px) {
  .semayat-login-modal {
    padding: 14px;
  }

  .semayat-login-modal__dialog {
    width: min(100%, 420px);
    padding: 28px 22px 24px;
    border-radius: 10px;
  }

  .semayat-login-modal h2 {
    font-size: 28px;
  }

  .semayat-back-to-top {
    right: 14px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .semayat-login-modal__backdrop,
  .semayat-login-modal__dialog,
  .semayat-back-to-top {
    transition: none !important;
  }
}
