/* =============================================
   AKASBAZAR - ISLAMIC BOOKS STORE THEME
   Modern redesign: Deep Green + Gold + Cream
   ============================================= */

/* ── 1. DESIGN TOKENS ──────────────────────── */
:root {
  /* New brand colors */
  --brand-green: #1B5E20;
  --brand-green-mid: #2E7D32;
  --brand-green-light: #43A047;
  --brand-navy: #0D2B55;
  --brand-gold: #C49A3C;
  --brand-gold-light: #F0C96B;
  --brand-cream: #FAF7F2;
  --brand-cream-dark: #F0EAE0;
  --brand-border: #DDD5C4;

  /* Override existing variables */
  --primary-color1: #1B5E20;
  --bg-color: #FAF7F2;
  --title-color: #1A1A1A;
  --text-color: #3D3D3D;
  --text-color2: #6B7280;
  --theme-color: #2E7D32;

  /* Typography */
  --font-display: 'Lora', 'Georgia', serif;
}

/* ── 2. BASE OVERRIDES ─────────────────────── */
body {
  background-color: var(--brand-cream) !important;
  font-family: 'Jost', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-navy) !important;
}

/* ── 3. TOP BAR ────────────────────────────── */
.top-bar {
  background-color: #ffffff;
  border-bottom: 2px solid var(--brand-border) !important;
  padding: 10px 0 !important;
}

.top-bar .top-bar-left p,
.top-bar .top-bar-left p a {
  color: var(--brand-navy) !important;
  font-size: 14px !important;
}

.top-bar .search-area,
.live-search-wrap {
  max-width: 600px !important;
  width: 100% !important;
  position: relative !important;
}

.top-bar .search-area .form-inner {
  max-width: 100% !important;
  background: var(--brand-cream) !important;
  border: 1px solid var(--brand-border) !important;
}

.top-bar .search-area .form-inner input {
  background: var(--brand-cream) !important;
  color: var(--brand-navy) !important;
  border: none !important;
}

.top-bar .search-area .form-inner input::placeholder {
  color: #9CA3AF !important;
}

.top-bar .search-area .form-inner button {
  background-color: var(--brand-cream) !important;
  border-left: 1px solid var(--brand-border) !important;
}

.top-bar .search-area .form-inner button i {
  color: var(--brand-green) !important;
}

/* ── LIVE SEARCH DROPDOWN ──────────────────── */
.live-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
  max-height: 440px;
  overflow-y: auto;
}

.live-search-dropdown.open {
  display: block;
  animation: ls-fade-in 0.18s ease;
}

@keyframes ls-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ls-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none !important;
  border-bottom: 1px solid var(--brand-border);
  transition: background 0.15s;
}

.ls-item:last-of-type {
  border-bottom: none;
}

.ls-item:hover {
  background: var(--brand-cream);
}

.ls-img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid var(--brand-border);
}

.ls-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ls-name {
  color: var(--brand-navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-price {
  color: var(--brand-green-mid);
  font-size: 13px;
  font-weight: 700;
}

.ls-view-all {
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: var(--brand-cream-dark);
  color: var(--brand-green) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
}

.ls-view-all:hover {
  background: var(--brand-green);
  color: #ffffff !important;
}

.ls-view-all strong {
  color: inherit;
}

.ls-empty {
  padding: 16px 14px;
  color: var(--text-color2);
  font-size: 14px;
  text-align: center;
}

.top-bar .top-bar-left p a {
  background: none !important;
  color: var(--brand-green) !important;
}

/* ── 4. HEADER / NAV ───────────────────────── */
header.header-area {
  background-color: #ffffff;
  border-bottom: 2px solid var(--brand-border);
  box-shadow: 0 1px 8px rgba(27, 94, 32, 0.06);
}

header.header-area.sticky {
  background-color: #ffffff !important;
  border-bottom: 2px solid var(--brand-green) !important;
  box-shadow: 0 2px 16px rgba(27, 94, 32, 0.12) !important;
}

/* Sticky logo — hidden on desktop by default, shown when header becomes sticky */
.sticky-logo {
  display: none !important;
}

@media (min-width: 992px) {
  header.header-area.sticky .sticky-logo {
    display: flex !important;
    align-items: center !important;
    padding: 6px 0 !important;
    animation: smooth-header 0.3s ease;
  }

  header.header-area.sticky .sticky-logo img {
    width: 110px !important;
    height: auto !important;
  }
}

/* On mobile the logo is always shown in header */
@media (max-width: 991px) {
  .sticky-logo {
    display: flex !important;
  }
}

/* Category button */
header .category-dropdown .category-button {
  background-color: var(--brand-green) !important;
  padding: 18px 40px !important;
  border-radius: 0 !important;
}

header .category-dropdown .category-button span {
  color: #ffffff !important;
  font-weight: 500 !important;
}

header .category-dropdown .category-menu {
  border: 1px solid var(--brand-green) !important;
}

header .category-dropdown .category-menu>ul>li a {
  color: var(--brand-navy) !important;
}

header .category-dropdown .category-menu>ul>li:hover {
  background-color: var(--brand-green) !important;
}

header .category-dropdown .category-menu>ul>li:hover a {
  color: #ffffff !important;
}

/* Main nav links */
header .main-menu>ul>li>a {
  color: var(--brand-navy) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.8px !important;
}

header .main-menu>ul>li>a::after {
  border-bottom-color: var(--brand-gold) !important;
}

/* Nav current item */
header .main-menu>ul>li.current>a {
  color: var(--brand-green) !important;
}

/* Sub menu */
header .main-menu>ul>li ul.sub-menu {
  border: 1px solid var(--brand-green-light) !important;
}

header .main-menu>ul>li ul.sub-menu>li>a {
  color: var(--brand-navy) !important;
}

header .main-menu>ul>li ul.sub-menu>li:hover a {
  background-color: var(--brand-green) !important;
  color: #ffffff !important;
}

header .main-menu>ul>li ul.sub-menu>li:hover {
  border-bottom-color: var(--brand-green) !important;
}

/* Nav icons (cart, wishlist, user) */
header .nav-right .modal-btn svg,
header .nav-right .save-btn a svg,
header .nav-right .user-login .user-btn svg {
  fill: var(--brand-navy) !important;
}

header .nav-right .modal-btn span {
  background-color: var(--brand-gold) !important;
  color: #1A1A1A !important;
}

header .nav-right::after {
  background: var(--brand-border) !important;
}

/* Mobile menu */
header .mobile-menu-btn span,
header .mobile-menu-btn span::before,
header .mobile-menu-btn span::after {
  background-color: var(--brand-navy) !important;
}

header .main-menu .menu-list {
  /* mobile: ensure accessible */
}

/* ── 5. BUTTONS ────────────────────────────── */
.primary-btn1 {
  background-color: var(--brand-green) !important;
  border: 1px solid var(--brand-green) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  font-size: 15px !important;
  padding: 11px 32px !important;
  transition: background-color 0.3s, box-shadow 0.3s !important;
}

.primary-btn1:hover,
.primary-btn1.hover-btn3:hover {
  background-color: var(--brand-green-mid) !important;
  border-color: var(--brand-green-mid) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3) !important;
}

.primary-btn1.style-3 {
  background-color: transparent !important;
  color: var(--brand-green) !important;
  border: 1px solid var(--brand-green) !important;
}

.primary-btn1.style-3:hover {
  background-color: var(--brand-green) !important;
  color: #ffffff !important;
}

.primary-btn3 {
  border-color: var(--brand-green) !important;
  color: var(--brand-green) !important;
  border-radius: 4px !important;
}

.primary-btn3.black-bg {
  background-color: var(--brand-green) !important;
  color: #ffffff !important;
}

/* Theme button (cart/checkout) */
.theme-btn {
  background-color: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  border-radius: 4px !important;
  color: #ffffff !important;
}

.theme-btn:hover {
  background-color: var(--brand-green-mid) !important;
}

/* Add to cart button */
.add-cart-btn {
  background-color: var(--brand-green) !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  border: none !important;
}

.add-cart-btn:hover {
  background-color: var(--brand-navy) !important;
  color: #ffffff !important;
}

/* ── 6. HERO / BANNER ──────────────────────── */

/* Full-width background-image slide */
.banner-fullwidth {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .banner-fullwidth {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .banner-fullwidth {
    min-height: 300px;
  }
}

/* Dark gradient overlay so text is always readable */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(13, 43, 85, 0.82) 0%,
      rgba(27, 94, 32, 0.60) 55%,
      rgba(0, 0, 0, 0.15) 100%);
}

/* Content sits above overlay */
.banner-content-wrap {
  position: relative;
  z-index: 2;
  padding: 60px 15px;
}

.banner-content {
  max-width: 600px;
}

.banner-content h1 {
  color: #ffffff !important;
  font-size: 46px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .banner-content h1 {
    font-size: 34px !important;
  }
}

@media (max-width: 576px) {
  .banner-content h1 {
    font-size: 24px !important;
  }
}

.banner-content p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 16px !important;
  margin-bottom: 28px !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ── NAVIGATION ARROWS ─────────────────────── */
.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-nav-btn .nav-arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.banner-nav-btn .nav-arrow-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  transition: stroke 0.3s ease;
}

/* Hover state — slide arrow + glow */
.banner-nav-btn:hover {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  box-shadow: 0 0 24px rgba(196, 154, 60, 0.55);
  transform: translateY(-50%) scale(1.1);
}

.banner-prev:hover .nav-arrow-icon {
  transform: translateX(-3px);
}

.banner-next:hover .nav-arrow-icon {
  transform: translateX(3px);
}

/* Pulse animation on idle */
@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 154, 60, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(196, 154, 60, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(196, 154, 60, 0);
  }
}

.banner-nav-btn:not(:hover) {
  animation: btn-pulse 3s ease-in-out infinite;
}

/* Swiper disabled state */
.banner-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
  animation: none;
}

/* Pagination dots */
.banner-section .swiper-pagination1 {
  bottom: 18px !important;
}

.banner-section .swiper-pagination1 .swiper-pagination-bullet {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  background-color: transparent !important;
  width: 10px !important;
  height: 10px !important;
  transition: background 0.3s, transform 0.3s !important;
}

.banner-section .swiper-pagination1 .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  transform: scale(1.3) !important;
}

/* Hide legacy split-layout classes if still used elsewhere */
.banner-wrapper .banner-vector1,
.banner-wrapper .banner-vector2,
.banner-wrapper .banner-vector3 {
  opacity: 0.02 !important;
  filter: hue-rotate(120deg) !important;
}

/* Banner footer (features strip — right after slider) */
.banner-footer {
  background: var(--brand-cream-dark) !important;
  border-top: 3px solid var(--brand-green) !important;
  border-bottom: 1px solid var(--brand-border) !important;
}

.banner-footer .banner-footer-item h6,
.banner-footer .banner-footer-item h5 {
  color: var(--brand-navy) !important;
}

.banner-footer .banner-footer-item p,
.banner-footer .banner-footer-item span {
  color: var(--text-color) !important;
}

.banner-footer .banner-footer-item svg {
  fill: var(--brand-green) !important;
}

/* ── 7. FORM ELEMENTS ──────────────────────── */
.form-inner input,
.form-inner textarea {
  border: 1px solid var(--brand-border) !important;
  border-radius: 4px !important;
  background: #ffffff !important;
}

.form-inner input:focus,
.form-inner textarea:focus {
  border-color: var(--brand-green) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1) !important;
}

/* ── 8. PRODUCT CARDS ──────────────────────── */
/* Portrait ratio for book covers */
.product-card .product-card-img {
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: var(--brand-cream-dark) !important;
  border-radius: 4px 4px 0 0 !important;
}

.product-card .product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  max-height: none !important;
  max-width: none !important;
  transition: transform 0.4s ease !important;
}

.product-card:hover .product-card-img img {
  transform: scale(1.04) !important;
}

.product-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
  transition: box-shadow 0.3s, transform 0.3s !important;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.12) !important;
  transform: translateY(-2px) !important;
}

.product-card .product-card-content {
  padding: 12px 14px 14px !important;
}

.product-card .product-card-content p a {
  color: var(--brand-navy) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.product-card .product-card-content p a:hover {
  color: var(--brand-green) !important;
}

.product-card .product-card-content>span,
.product-card .product-card-content .price {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

.product-card .product-card-content>span del {
  color: #9CA3AF !important;
  font-weight: 400 !important;
}

/* Product card batch/badge */
.product-card .product-card-img .batch span {
  background-color: var(--brand-gold) !important;
  color: #1A1A1A !important;
  border-radius: 3px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* Overlay hover */
.product-card .overlay {
  background: rgba(13, 43, 85, 0.7) !important;
}

/* Product card style-2 and style-3 */
.product-card2,
.product-card.style-3 {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
}

.product-card2 .product-card-content>span del {
  color: #9CA3AF !important;
}

.product-card2 .product-card-content p a {
  color: var(--brand-navy) !important;
}

/* ── 9. SECTION TITLES ─────────────────────── */
.section-title3 {
  background: #ffffff !important;
  padding: 16px 20px !important;
  border-radius: 6px !important;
  border-left: 4px solid var(--brand-green) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
}

.section-title3 h2,
.section-title h2,
.section-title2 h2 {
  color: var(--brand-navy) !important;
}

.section-title h5,
.section-title3 h5,
.section-title2 h5 {
  color: var(--brand-gold) !important;
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ── 10. FOOTER ────────────────────────────── */
.footer-section {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0A1F3A 50%, #08182E 100%) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-gold-light) 50%, var(--brand-green-light) 100%);
  opacity: 0.9;
}

.footer-section .footer-widget h3 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer-section .footer-widget h3 span {
  color: var(--brand-gold-light) !important;
}

.footer-section .footer-widget .widget-title h5 {
  color: #ffffff !important;
  font-size: 13px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid var(--brand-gold) !important;
  margin-bottom: 18px !important;
  position: relative;
}

.footer-section .footer-widget .widget-title h5::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand-gold-light);
  border-radius: 1px;
}

.footer-section .footer-widget .widget-list li a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  position: relative;
  padding-left: 0 !important;
}

.footer-section .footer-widget .widget-list li a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-section .footer-widget .widget-list li a:hover {
  color: var(--brand-gold-light) !important;
  padding-left: 18px !important;
}

.footer-section .footer-widget .widget-list li a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-section .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 50px !important;
  margin-bottom: 30px !important;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.footer-section .primary-btn1 {
  background-color: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  color: #1A1A1A !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(196, 154, 60, 0.3) !important;
}

.footer-section .primary-btn1:hover {
  background-color: var(--brand-gold-light) !important;
  border-color: var(--brand-gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(196, 154, 60, 0.4) !important;
}

.footer-section .app-store a {
  transition: transform 0.3s ease !important;
}

.footer-section .app-store a:hover {
  transform: scale(1.05) !important;
}

.footer-section .vector1,
.footer-section .vector2,
.footer-section .vector3 {
  opacity: 0.04 !important;
}

.footer-section .payment-gateway .icons img {
  transition: transform 0.3s ease, filter 0.3s ease !important;
  filter: grayscale(0.3) !important;
}

.footer-section .payment-gateway .icons img:hover {
  transform: scale(1.1) !important;
  filter: grayscale(0) !important;
}

/* Footer bottom - Modern contrast bar */
.footer-bottom {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(13, 43, 85, 0.6) 100%) !important;
  border-top: 1px solid rgba(196, 154, 60, 0.2) !important;
  padding: 24px 0 !important;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  opacity: 0.5;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  transition: color 0.3s ease !important;
}

.footer-bottom a:hover {
  color: var(--brand-gold-light) !important;
}

.footer-bottom .footer-logo img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) !important;
  transition: transform 0.3s ease !important;
}

.footer-bottom .footer-logo img:hover {
  transform: scale(1.05) !important;
}

.footer-bottom .footer-contact .logo {
  background: linear-gradient(135deg, rgba(196, 154, 60, 0.15) 0%, rgba(196, 154, 60, 0.05) 100%) !important;
  border: 1px solid rgba(196, 154, 60, 0.2) !important;
  border-radius: 12px !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.footer-bottom .footer-contact .logo:hover {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%) !important;
  border-color: var(--brand-gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(196, 154, 60, 0.3) !important;
}

.footer-bottom .footer-contact .logo svg {
  color: var(--brand-gold) !important;
  width: 24px !important;
  height: 24px !important;
  transition: color 0.3s ease !important;
}

.footer-bottom .footer-contact .logo:hover svg {
  color: #1A1A1A !important;
}

.footer-bottom .footer-contact .content h6 a {
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

/* ── 11. PAGE TITLES ───────────────────────── */
.page-title-two {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-green) 100%) !important;
  padding: 32px 0 !important;
}

.page-title-two h1,
.page-title-two .content-box h1 {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--brand-cream-dark) !important;
  border-bottom: 1px solid var(--brand-border) !important;
}

.breadcrumb-section .breadcrumb-item a {
  color: var(--brand-green) !important;
}

.breadcrumb-section .breadcrumb-item.active {
  color: var(--brand-navy) !important;
}

/* ── 12. SHOP / CATEGORY PAGE ──────────────── */
.shop-list-section {
  background: var(--brand-cream) !important;
}

.shop-columns-title-section {
  background: #ffffff !important;
  border-radius: 6px !important;
  border: 1px solid var(--brand-border) !important;
  padding: 10px 16px !important;
}

.shop-columns-title-section p {
  color: var(--brand-navy) !important;
  font-weight: 500 !important;
}

/* Sidebar */
.shop-sidebar .widget {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
}

.shop-sidebar .widget-title {
  color: var(--brand-navy) !important;
  border-bottom: 1px solid var(--brand-border) !important;
}

/* Price range slider */
.price-range .ui-slider-range {
  background: var(--brand-green) !important;
}

.price-range .ui-slider-handle {
  border-color: var(--brand-green) !important;
}

/* Grid/list view active */
.grid-view li.active svg,
.grid-view li:hover svg {
  fill: var(--brand-green) !important;
}

/* ── 13. PRODUCT DETAIL PAGE ───────────────── */
.product-details-section .product-name,
.product-details-section h2,
.product-details-section h3 {
  color: var(--brand-navy) !important;
}

.product-details-section .price-area span,
.product-details-section .current-price {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
}

.product-details-section .del-price del {
  color: #9CA3AF !important;
}

.product-quantity-area .quantity a {
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-navy) !important;
}

.product-quantity-area .quantity a:hover {
  background: var(--brand-green) !important;
  color: #ffffff !important;
  border-color: var(--brand-green) !important;
}

/* Review stars */
.star-rating i.bi-star-fill,
.rating i {
  color: var(--brand-gold) !important;
}

/* Tabs (details/review) */
.nav-tabs .nav-link.active {
  color: var(--brand-green) !important;
  border-bottom-color: var(--brand-green) !important;
}

/* ── 14. CART PAGE ─────────────────────────── */
.cart-section {
  background: var(--brand-cream) !important;
}

.cart-table thead {
  background: var(--brand-navy) !important;
}

.cart-table thead th {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border: none !important;
}

.cart-table tbody tr {
  background: #ffffff !important;
  border-bottom: 1px solid var(--brand-border) !important;
}

.cart-table tbody tr:hover {
  background: var(--brand-cream) !important;
}

.cart-table .product-column .product-box h6 a {
  color: var(--brand-navy) !important;
  font-weight: 600 !important;
}

.total-cart {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  padding: 20px !important;
}

.total-cart .title-box h4 {
  color: var(--brand-navy) !important;
  font-weight: 700 !important;
}

.total-cart .title-box h5 {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
}

.cart-subtotal {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
}

.cancel-btn {
  color: #EF4444 !important;
  background: transparent !important;
  border: 1px solid #FCA5A5 !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
  transition: all 0.2s !important;
}

.cancel-btn:hover {
  background: #EF4444 !important;
  color: #ffffff !important;
  border-color: #EF4444 !important;
}

/* Qty controls */
.qty-down,
.qty-up {
  color: var(--brand-navy) !important;
}

/* ── 15. CHECKOUT PAGE ─────────────────────── */
.checkout-section {
  background: var(--brand-cream) !important;
}

.order-box {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
  padding: 28px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.order-box h3 {
  color: var(--brand-navy) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--brand-border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
}

.order-box .title-box span.text {
  color: var(--brand-navy) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.order-box .total-box {
  background: var(--brand-cream) !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
}

.order-box .total-box h4 span {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
}

.order-box .single-item .product-box h6 a {
  color: var(--brand-navy) !important;
}

/* ── 16. HIGHLIGHTS / FEATURES STRIP ──────── */
.home-highlights-section,
.highlights-section {
  background: var(--brand-green) !important;
}

.home-highlights-section .highlight-item h5,
.highlights-section .item h5 {
  color: #ffffff !important;
}

.home-highlights-section .highlight-item p,
.highlights-section .item p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.home-highlights-section .highlight-item svg,
.highlights-section .item svg {
  fill: var(--brand-gold-light) !important;
}

/* ── 17. SEARCH FORM (homepage) ────────────── */
.home-search-section input,
.search-form input {
  border: 2px solid var(--brand-border) !important;
  border-radius: 4px 0 0 4px !important;
  background: #ffffff !important;
}

.home-search-section button,
.search-form button {
  background: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  border-radius: 0 4px 4px 0 !important;
  color: #ffffff !important;
}

/* ── 18. WISHLIST / ALERTS ─────────────────── */
.bg-success {
  background-color: var(--brand-green) !important;
}

/* Toast notification */
#toast.toast-container {
  background-color: var(--brand-green-mid) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.3) !important;
}

/* ── 19. MISC HELPERS ──────────────────────── */
.single-location,
.single-contact {
  background-color: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
}

/* Testimonials */
.testimonial-card,
.testimonial-item {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 8px !important;
}

.testimonial-card blockquote,
.testimonial-item p {
  color: var(--text-color) !important;
}

/* Brand/publisher logos section */
.brand-section,
.home-brand {
  background: var(--brand-cream-dark) !important;
  border-top: 1px solid var(--brand-border) !important;
  border-bottom: 1px solid var(--brand-border) !important;
}



.newsletter-section h2,
.newsletter-section h3 {
  color: #ffffff !important;
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-green) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* ── 20. RESPONSIVE TWEAKS ─────────────────── */
@media (max-width: 767px) {
  .banner-section .banner-wrapper .banner-left .banner-content h1 {
    font-size: 26px !important;
  }

  .order-box {
    padding: 16px !important;
  }

  .cart-table thead th {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
}

/* ── 21. PRODUCT CARD FOR BOOKS (shop page) ── */
/* Ensure portrait image containers on shop listing */
.shop-list-section .product-card .product-card-img,
.all-products .product-card .product-card-img {
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #f0ebe0 !important;
}

.shop-list-section .product-card .product-card-img img,
.all-products .product-card .product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-height: none !important;
  max-width: none !important;
}

/* Home featured products image */
.home-latest-products .product-card .product-card-img,
.home-featured-products .product-card .product-card-img {
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
}

.home-latest-products .product-card .product-card-img img,
.home-featured-products .product-card .product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-height: none !important;
  max-width: none !important;
}

/* ── 23. SHOP PAGE (product grid) BOOK OVERRIDES ── */
/* Override inline style with !important for portrait ratio */
.shop-block-one .inner-box .image-box img {
  height: 300px !important;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 4px !important;
}

.shop-block-one .inner-box .image-box {
  overflow: hidden !important;
  border-radius: 4px !important;
  background: #f0ebe0 !important;
}

.shop-block-one .inner-box {
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
  transition: box-shadow 0.3s, transform 0.3s !important;
}

.shop-block-one .inner-box:hover {
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.12) !important;
  transform: translateY(-2px) !important;
}

.shop-block-one .inner-box .lower-content {
  height: auto !important;
  position: relative !important;
  padding: 12px 14px 56px !important;
}

.shop-block-one .inner-box .lower-content h4 a {
  color: var(--brand-navy) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.shop-block-one .inner-box .lower-content h4 a:hover {
  color: var(--brand-green) !important;
}

.shop-block-one .inner-box .lower-content h5 {
  color: var(--brand-green-mid) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

.shop-block-one .inner-box .lower-content span.text {
  color: var(--brand-gold) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* List view */
.shop-block-three .inner-box .image-box figure.image img {
  max-height: 200px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
}

/* Sidebar */
.shop-sidebar .search-widget .widget-title h3,
.shop-sidebar .category-widget .widget-title h3,
.shop-sidebar .brand-widget .widget-title h3 {
  color: var(--brand-navy) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--brand-green) !important;
  padding-bottom: 8px !important;
}

.shop-sidebar .sidebar-widget {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
  padding: 16px !important;
}

.shop-sidebar .category-list li label {
  color: var(--brand-navy) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.shop-sidebar input[type="checkbox"] {
  accent-color: var(--brand-green) !important;
}

.shop-sidebar .product-count {
  color: var(--text-color2) !important;
  font-size: 12px !important;
}

/* Sort / Show strip */
.our-shop .item-shorting {
  background: #ffffff !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 6px !important;
  padding: 10px 16px !important;
  margin-bottom: 20px !important;
}

.our-shop .item-shorting p {
  color: var(--brand-navy) !important;
  font-weight: 500 !important;
}

/* Cart btn on shop cards */
.shop-block-one .inner-box .lower-content .cart-btn {
  position: absolute !important;
  bottom: 12px !important;
  left: 14px !important;
  right: 14px !important;
}

.shop-block-one .inner-box .lower-content .cart-btn .theme-btn {
  width: 100% !important;
  text-align: center !important;
  font-size: 13px !important;
  padding: 9px 0 !important;
}

/* Product stock indicator */
.lower-content .product-stock {
  color: var(--brand-green-mid) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.lower-content .product-stock .light {
  color: #EF4444 !important;
}

hr {
  border-color: var(--brand-border) !important;
}

.border-bottom {
  border-color: var(--brand-border) !important;
}

/* Forms - checkout delivery option */
input[type="radio"]:accent,
input[type="checkbox"]:accent {
  accent-color: var(--brand-green) !important;
}

textarea.form-control {
  border: 1px solid var(--brand-border) !important;
  border-radius: 4px !important;
}

textarea.form-control:focus {
  border-color: var(--brand-green) !important;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1) !important;