/* =====================================================================
   Kerala Book Bazaar storefront layer — loaded after the template's main.css.
   Uses the template's own variables (--theme, --header, --text, --bg, --border)
   so every new component matches the original design.
   ===================================================================== */

/* ---------- Logo sizing ---------- */
img.site-logo { height: 84px; width: auto; max-width: 100%; }
.sticky img.site-logo { height: 64px; }
.footer-logo img.site-logo { height: 72px; }
.offcanvas__logo img.site-logo { height: 56px; }
@media (max-width: 991px) { img.site-logo, .sticky img.site-logo { height: 60px; } }
@media (max-width: 575px) { img.site-logo, .sticky img.site-logo { height: 48px; } }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--header); color: #fff; padding: 10px 16px; z-index: 10000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 2px solid var(--theme); outline-offset: 2px; }
button { cursor: pointer; }

/* Preloader: long store names must still fit */
.preloader .animation-preloader .txt-loading .letters-loading { font-size: clamp(22px, 5vw, 60px); }

/* ---------- Header additions ---------- */
.header-top-section .flag-wrapper { gap: 16px; }
.header-top-section .top-social { color: var(--white); opacity: .85; }
.header-top-section .top-social:hover { opacity: 1; color: var(--white); }
.header-top-section .account-text, .header-top-section .account-text:hover { color: var(--white); }
.header-1 .header-main .header-right .menu-cart .cart-icon { position: relative; }
.header-1 .header-main .header-right .menu-cart .cart-icon .cart-number {
  position: absolute; top: -9px; right: -10px; width: 18px; height: 18px; border-radius: 50px; line-height: 18px;
  text-align: center; background-color: var(--theme); color: var(--white); font-size: 10px; font-style: normal;
}
.header-1 .header-main .header-right .search-trigger { background: none; border: 0; padding: 0 4px; color: var(--header); }
@media (max-width: 1399px) {
  .header-1 .header-main .header-right .search-icon.style-2 { display: initial; }
}
.mobile-search-panel { display: flex; gap: 10px; padding: 0 0 16px; }
.mobile-search-panel[hidden] { display: none; }
.mobile-search-panel input { flex: 1; border: 1px solid var(--border); border-radius: 100px; padding: 12px 20px; outline: none; min-width: 0; }
.mini-cart-remove { background: none; border: 0; color: var(--text); padding: 4px; }
.mini-cart-remove:hover { color: var(--theme); }
.mini-cart-empty { padding: 20px 0 10px; margin: 0; }
.mini-cart-more { font-size: 13px; margin: 6px 0 0; }
.header-1 .header-main .header-right .menu-cart .cart-box .cart-button .theme-btn { padding: 12px 16px; font-size: 14px; }
.main-menu ul li.active > a { color: var(--theme) !important; }
.offcanvas-search { display: flex; border: 1px solid var(--border); border-radius: 100px; overflow: hidden; }
.offcanvas-search input { flex: 1; border: 0; padding: 12px 18px; outline: none; min-width: 0; }
.offcanvas-search button { border: 0; background: var(--theme); color: #fff; padding: 0 18px; }
.offcanvas-account { display: grid; gap: 10px; }
.offcanvas-account a { color: var(--header); font-weight: 600; }
.offcanvas-account a i { width: 22px; color: var(--theme); }
.login-sidebar .form-clt { position: relative; }
.login-sidebar .form-clt .icon, .auth-card .form-clt .icon { background: none; border: 0; position: absolute; right: 16px; bottom: 14px; color: var(--text); }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 99999; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.store-toast { display: flex; align-items: flex-start; gap: 10px; background: #fff; color: var(--header); border-left: 4px solid #2e9e5b; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(17, 17, 44, .15); padding: 14px 14px 14px 16px; font-size: 15px; line-height: 1.45; transition: opacity .3s, transform .3s; }
.store-toast i { margin-top: 3px; color: #2e9e5b; }
.store-toast span { flex: 1; }
.store-toast button { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--text); }
.store-toast-error { border-color: #d64545; } .store-toast-error i { color: #d64545; }
.store-toast-info { border-color: var(--theme); } .store-toast-info i { color: var(--theme); }
.store-toast.hide { opacity: 0; transform: translateY(8px); }
.theme-btn.is-loading { opacity: .7; pointer-events: none; }
.theme-btn:disabled, .theme-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Alerts / pills / empty states ---------- */
.store-alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; background: var(--bg); color: var(--header); border: 1px solid rgba(255, 123, 107, .25); }
.store-alert.success { background: #ecf8f0; border-color: #bfe5cc; }
.store-alert.error { background: #fdecec; border-color: #f5c2c2; }
.store-alert.warning { background: #fff7e6; border-color: #f5dca6; }
.store-alert.info { background: #eef4fd; border-color: #c9dbf5; }
.store-alert a { color: var(--theme); font-weight: 600; }
.status-pill { display: inline-block; border-radius: 100px; padding: 4px 12px; font-size: 13px; font-weight: 600; background: #eee; color: var(--header); white-space: nowrap; }
.status-pill.success { background: #e3f5ea; color: #1d7a45; }
.status-pill.danger { background: #fde3e3; color: #b42323; }
.status-pill.warning { background: #fff2d6; color: #8a5a00; }
.status-pill.info { background: #e3eefc; color: #1f5fae; }
.status-pill.primary { background: var(--bg); color: #c6493a; }
.status-pill.secondary { background: #eceff3; color: #555; }
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--border); border-radius: 16px; }
.empty-state > i { font-size: 48px; color: var(--theme); margin-bottom: 16px; display: block; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { max-width: 520px; margin: 0 auto 20px; }
.field-error { display: block; color: #c0392b; font-size: 13px; margin-top: 6px; }
.has-error input, .has-error select, .has-error textarea { border-color: #e08b8b !important; }
.link-btn { background: none; border: 0; padding: 0; color: var(--theme); font-weight: 600; text-decoration: underline; }
.discount-text { color: #1d7a45; font-weight: 600; }
.issue-text { color: #c0392b; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 34px; min-height: 34px;
  border-radius: 50%; background: var(--bg); color: #c6493a; font-weight: 700; font-size: 14px; letter-spacing: .5px; }

/* ---------- Forms ---------- */
.store-select { appearance: none; -webkit-appearance: none; border: 1px solid var(--border); border-radius: 100px; padding: 11px 42px 11px 18px; background: #fff url("../img/chevron-down.svg") no-repeat right 16px center / 12px; color: var(--header); font-size: 15px; outline: none; }
.store-check { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 10px; color: var(--header); }
.store-check input { accent-color: var(--theme); width: 17px; height: 17px; }
.form-clt { position: relative; }
.form-clt > span { display: block; margin-bottom: 8px; font-weight: 600; color: var(--header); font-size: 15px; }
.form-clt input, .form-clt textarea, .form-clt select, .input-single input, .input-single textarea, .input-single select {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px; outline: none; background: #fff; color: var(--header);
}
.form-clt input:focus, .form-clt textarea:focus, .input-single input:focus, .input-single textarea:focus { border-color: var(--theme); }
.form-clt textarea { min-height: 140px; }
.input-single > span { display: block; margin-bottom: 8px; font-weight: 600; color: var(--header); text-transform: capitalize; }

/* ---------- Shop listing ---------- */
.woocommerce-notices-wrapper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.woocommerce-notices-wrapper p { margin: 0; }
.shop-sort { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-toggle-btn { border: 1px solid var(--border); background: #fff; border-radius: 100px; padding: 10px 18px; color: var(--header); font-weight: 600; }
.store-cat-list, .store-cat-list ul { list-style: none; padding: 0; margin: 0; }
.store-cat-list ul { padding-left: 16px; margin-top: 6px; }
.store-cat-list li { margin-bottom: 8px; }
.store-cat-list a { color: var(--header); font-weight: 500; }
.store-cat-list a span { color: var(--text); font-size: 13px; }
.store-cat-list li.active > a, .store-cat-list a:hover { color: var(--theme); }
.price-filter { display: flex; align-items: center; gap: 8px; }
.price-filter label { display: flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 100px; padding: 6px 12px; flex: 1; min-width: 0; }
.price-filter input { border: 0; outline: none; width: 100%; min-width: 0; }
.main-sidebar .single-sidebar-widget { margin-bottom: 30px; }
@media (max-width: 991px) {
  .main-sidebar { display: none; margin-top: 20px; }
  .main-sidebar.open { display: block; }
  .shop-default-wrapper .order-2 { order: 0 !important; }
}
.shop-box-items .book-thumb img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; height: auto; max-width: 200px; }
.shop-box-items .book-thumb { text-align: center; }
.shop-box-items .shop-content h3 { min-height: 2.6em; }
.shop-box-items .shop-content h5 a { color: inherit; }
.shop-box-items .shop-button form { width: 100%; }
.shop-box-items .shop-button .theme-btn { width: 100%; }
.shop-box-items .shop-icon a.active i, .js-wishlist.active i { color: var(--theme); }
.authot-list .thumb { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: inline-flex; }
.authot-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.authot-list .content a { color: inherit; }
.author-post { gap: 10px; }
.page-nav-wrap ul li .page-numbers.current { background-color: var(--theme); color: var(--white); }
.page-nav-wrap ul li .dots { display: inline-block; padding: 0 8px; }
.listing-intro { background: var(--bg); border-radius: 16px; padding: 24px 28px; margin-bottom: 30px; }
.listing-intro p:last-child { margin-bottom: 0; }
.publisher-intro { display: flex; gap: 24px; align-items: center; }
.publisher-intro-logo { max-width: 160px; border-radius: 10px; background: #fff; padding: 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-block; border: 1px solid var(--border); background: #fff; border-radius: 100px; padding: 6px 14px; font-size: 14px; color: var(--header); }
.chip:hover { border-color: var(--theme); color: var(--theme); }
.listing-search { display: flex; gap: 10px; max-width: 560px; }
.listing-search input { flex: 1; border: 1px solid var(--border); border-radius: 100px; padding: 12px 20px; outline: none; min-width: 0; }

/* ---------- Home ---------- */
.hero-1 .hero-btn a.theme-btn { display: inline-flex; align-items: center; }
.book-catagories-items a.book-thumb { display: block; }
.cta-offer-text, .cta-offer-code { color: var(--header); font-size: 18px; }
.cta-offer-code strong { background: #fff; border: 2px dashed var(--theme); padding: 4px 12px; border-radius: 8px; letter-spacing: 1px; }
.top-ratting-box-items .book-thumb img { width: 140px; aspect-ratio: 2 / 3; object-fit: cover; }
.top-ratting-box-items .shop-btn form { display: inline; }
.top-ratting-box-items .book-content .mt-10 del { color: var(--text); font-size: 15px; }
.client-img.client-initials { display: flex; align-items: center; justify-content: center; background: var(--bg); color: #c6493a; font-weight: 700; font-size: 22px; }
.testimonial-quote { font-size: 34px; color: var(--theme); opacity: .35; }
.team-box-items .team-image .thumb { display: block; }
.team-box-items .team-image .thumb img, .team-box-items .team-image .thumb .avatar-initials { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; font-size: 30px; }
.publisher-card .news-image.publisher-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: #fff; border-radius: 12px; }
.publisher-card .news-image.publisher-logo img { position: static !important; object-fit: contain; padding: 20px; }
.publisher-card .news-image.publisher-logo img:first-child { opacity: 1; visibility: visible; transform: none; }
.publisher-initials { font-size: 44px; font-weight: 800; color: var(--theme); }
.publisher-desc { font-size: 15px; margin-bottom: 14px; }
.publisher-card .news-content h3 { margin-bottom: 8px; }
.footer-about { margin-bottom: 16px; }

/* ---------- Book details ---------- */
.shop-details-thumb img { width: 100%; max-height: 560px; object-fit: contain; }
.book-gallery-thumbs { gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.book-gallery-thumbs .nav-link { padding: 4px; border: 2px solid transparent; border-radius: 8px; background: #fff; }
.book-gallery-thumbs .nav-link.active { border-color: var(--theme); }
.book-gallery-thumbs img { width: 64px; height: 90px; object-fit: cover; border-radius: 4px; }
.shop-details-content .title-wrapper h1 { font-size: 36px; }
.stock-status.in { color: #1d7a45; }
.stock-status.low { color: #b26a00; }
.stock-status.out { color: #c0392b; }
.book-byline { font-size: 17px; margin-bottom: 8px; }
.book-byline a { color: var(--theme); font-weight: 600; }
.shop-details-content .price-list h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.shop-details-content .price-list del { color: var(--text); font-size: 20px; font-weight: 500; }
.save-badge { background: #e3f5ea; color: #1d7a45; font-size: 14px; border-radius: 100px; padding: 4px 12px; font-weight: 600; }
.offer-note { color: #c6493a; font-weight: 600; margin-top: 6px; }
.shop-details-content .cart-wrapper { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 100px; overflow: hidden; margin: 0; }
.qty button { background: none; border: 0; width: 38px; height: 44px; font-size: 18px; color: var(--header); }
.qty input { width: 48px; border: 0; text-align: center; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-details-content .star button, .js-star-picker button { background: none; border: 0; padding: 0 2px; color: #FFB800; font-size: 20px; }
.review-items .avatar-initials { width: 60px; height: 60px; font-size: 18px; }
.review-items .verified { font-size: 12px; color: #1d7a45; font-weight: 600; margin-left: 6px; }
.about-author-photo .avatar-initials, .about-author-photo img { width: 110px; height: 110px; border-radius: 50%; font-size: 32px; object-fit: cover; }

/* ---------- Author page ---------- */
.team-details-items .details-image .author-details-photo { width: 220px; height: 220px; border-radius: 16px; object-fit: cover; font-size: 60px; border-radius: 16px; }
.author-bio { margin-top: 24px; }

/* ---------- Categories page ---------- */
.category-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; gap: 20px; height: 100%; }
.category-card-thumb img { width: 104px; height: 144px; object-fit: cover; border-radius: 10px; }
.category-card h3 { font-size: 22px; margin-bottom: 4px; }
.category-card .count { color: var(--theme); font-weight: 600; margin-bottom: 8px; }

/* ---------- Cart ---------- */
.cart-table img { max-width: 70px; }
.cart-table tr.has-issue { background: #fff8f7; }
.cart-table .remove-icon { background: none; border: 0; padding: 0; }
.cart-table .cart-title a { color: var(--header); font-weight: 600; }
.cart-wrapper-footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.coupon-box .input-area { display: flex; gap: 10px; max-width: 460px; }
.coupon-box .input-area input { flex: 1; border: 1px solid var(--border); border-radius: 100px; padding: 12px 20px; outline: none; text-transform: uppercase; min-width: 0; }
.applied-coupon { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #ecf8f0; border-radius: 10px; padding: 12px 18px; }
.shipping-hint, .savings-hint { font-size: 14px; margin: 12px 0 0; }
.shipping-hint { color: #8a5a00; }
.savings-hint { color: #1d7a45; font-weight: 600; }
@media (max-width: 767px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: block; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; padding: 10px; }
  .cart-table td { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0 !important; padding: 8px !important; }
  .cart-table td::before { content: attr(data-label); font-weight: 600; color: var(--header); }
  .cart-table td[data-label="Book"]::before { content: none; }
  .cart-table td > span.d-flex { gap: 12px !important; }
}

/* ---------- Checkout ---------- */
.checkout-order-area .checkout-item p { margin: 0; }
.checkout-order-area .discount-row p:last-child { color: #1d7a45; font-weight: 600; }
.checkout-order-area .total-row { font-size: 18px; }
.pay-info { font-size: 14px; background: #faf6f2; border-radius: 8px; padding: 10px 12px; margin: 8px 0 0; }
.checkout-coupon-hint { font-size: 14px; margin: 12px 0; }
.checkout-coupon-hint a { color: var(--theme); }
.checkout-order-area .form-check-input { accent-color: var(--theme); }
.payment-save { display: flex; align-items: flex-start; gap: 8px; }
.payment-save .form-check-input { margin-top: 4px; }

/* ---------- Order success / detail ---------- */
.order-success-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--box-shadow); padding: 40px; text-align: center; }
.order-success-card .success-icon { font-size: 60px; color: #2e9e5b; margin-bottom: 14px; }
.order-summary-table { text-align: left; margin: 24px 0; }
.order-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.order-detail-head h3 { margin-bottom: 4px; }
.order-tracker { display: flex; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.order-tracker li { flex: 1; position: relative; text-align: center; font-size: 13px; color: var(--text); }
.order-tracker li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.order-tracker li:first-child::before { display: none; }
.order-tracker li .dot { position: relative; z-index: 1; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--border); margin: 0 auto 8px; }
.order-tracker li.done .dot, .order-tracker li.done::before { background: var(--theme); }
.order-tracker li.current .label { color: var(--header); font-weight: 700; }
.order-side-box { background: #faf6f2; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.order-side-box h5 { margin-bottom: 12px; }
.totals-list { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 12px; }
.totals-list dt { font-weight: 500; }
.totals-list dd { margin: 0; text-align: right; }
.totals-list .grand { font-weight: 700; color: var(--header); font-size: 17px; }
.order-history { list-style: none; padding: 0; }
.order-history li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-history .when { color: var(--text); margin-right: 8px; }
@media (max-width: 575px) { .order-tracker li .label { font-size: 10px; } .order-success-card { padding: 24px 16px; } }

/* ---------- Auth & account ---------- */
.auth-card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--box-shadow); padding: 36px; }
.auth-card h3 { margin-bottom: 10px; }
@media (max-width: 575px) { .auth-card { padding: 24px 18px; } }
.account-nav { background: #fff; border-radius: 16px; box-shadow: var(--box-shadow); padding: 20px; position: sticky; top: 120px; }
.account-user { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.account-user .avatar-initials { width: 48px; height: 48px; flex-shrink: 0; }
.account-user small { display: block; color: var(--text); word-break: break-all; }
.account-nav nav a, .account-nav nav button { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; color: var(--header); font-weight: 500; background: none; border: 0; }
.account-nav nav a.active, .account-nav nav a:hover, .account-nav nav button:hover { background: var(--bg); color: #c6493a; }
.account-panel { background: #fff; border-radius: 16px; box-shadow: var(--box-shadow); padding: 30px; min-height: 100%; }
@media (max-width: 575px) { .account-panel { padding: 20px 14px; } }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.account-stats div { background: var(--bg); border-radius: 14px; padding: 18px; text-align: center; }
.account-stats strong { display: block; font-size: 24px; color: var(--header); }
@media (max-width: 767px) { .account-stats { grid-template-columns: repeat(2, 1fr); } }
.address-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; height: 100%; }
.address-card.is-default { border-color: var(--theme); }
.address-card p { margin: 10px 0; font-size: 15px; }
@media (max-width: 767px) {
  .account-orders thead { display: none; }
  .account-orders tr { display: block; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; padding: 8px; }
  .account-orders td { display: flex; justify-content: space-between; border: 0 !important; padding: 6px 8px !important; }
  .account-orders td[data-label]::before { content: attr(data-label); font-weight: 600; }
}

/* ---------- Offers ---------- */
.offer-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; height: 100%; position: relative; overflow: hidden; }
.offer-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--bg); z-index: 0; }
.offer-card > * { position: relative; z-index: 1; }
.offer-value { font-size: 40px; font-weight: 800; color: var(--theme); line-height: 1; margin-bottom: 14px; }
.offer-value small { font-size: 16px; margin-left: 6px; color: var(--header); }
.offer-meta { list-style: none; padding: 0; margin: 14px 0; font-size: 14px; }
.offer-meta li { margin-bottom: 6px; }
.offer-meta i { width: 20px; color: var(--theme); }
.offer-code { border: 2px dashed var(--theme); border-radius: 10px; padding: 10px 14px; text-align: center; background: var(--bg); color: var(--header); }
.offer-code.auto { border-style: solid; border-color: #bfe5cc; background: #ecf8f0; }

/* ---------- Misc pages ---------- */
.contact-hours { margin-top: 20px; }
.about-counters { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; background: var(--bg); border-radius: 20px; padding: 30px; }
.faq-group-title { margin-bottom: 16px; }
.error-items .listing-search { max-width: 520px; }
.error-items .error-image img { max-width: 100%; }

/* ---------- Layout fixes over the template ---------- */
.hero-1 .hero-content h1 { max-width: 780px; }
.hero-1 .hero-content p { max-width: 620px; }
@media (max-width: 1399px) { .hero-1 .hero-content h1 { max-width: 640px; } }
/* A store always needs its cart & wishlist icons */
@media (max-width: 1399px) { .header-1 .header-main .header-right .header-icon { display: flex; } }
@media (max-width: 1199px) { .header-1 .header-main .header-right .menu-cart { display: initial; } }
@media (max-width: 575px) { .header-1 .header-main .header-right .header-icon { display: none; } }
.header-1 .header-main .header-right { gap: 22px; }
@media (min-width: 1200px) and (max-width: 1499px) {
  .header-1 .header-main .header-right .search-widget form input { width: 220px; }
  .main-menu ul li { margin-inline-end: 26px !important; }
}

/* Hero with a full artwork banner as background (no separate foreground image) */
.hero-1.hero-banner-only { background-position: right center; }
.hero-1.hero-banner-only .hero-main-wrapper { min-height: 620px; display: flex; flex-direction: column; justify-content: center; }
.hero-1.hero-banner-only .hero-content h1 { max-width: 620px; }
.hero-1.hero-banner-only .hero-content p { max-width: 520px; }
@media (max-width: 991px) {
  .hero-1.hero-banner-only { background-position: 72% center; }
  .hero-1.hero-banner-only .hero-main-wrapper { min-height: 460px; }
  .hero-1.hero-banner-only::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,50,.85) 0%, rgba(10,18,50,.55) 60%, rgba(10,18,50,.2) 100%); z-index: 0; }
  .hero-1.hero-banner-only .container { position: relative; z-index: 1; }
}
.hero-1.hero-banner-only { padding: 110px 0 130px !important; }
.hero-1.hero-banner-only .hero-main-wrapper { min-height: 0; }
.hero-1.hero-banner-only .hero-main-wrapper .hero-content h1 { font-size: 60px; margin-bottom: 26px; }
@media (max-width: 1199px) { .hero-1.hero-banner-only .hero-main-wrapper .hero-content h1 { font-size: 48px; } }
@media (max-width: 575px) { .hero-1.hero-banner-only { padding: 70px 0 80px !important; } .hero-1.hero-banner-only .hero-main-wrapper .hero-content h1 { font-size: 34px; } }

/* The template colours bare inputs white — keep quantity numbers visible everywhere */
.qty input { color: var(--header) !important; font-weight: 600; font-size: 16px; background: transparent; }
