/* ============================================================
   RESET & BASE
   ============================================================ */

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  text-decoration: none;
  list-style-type: none;
  line-height: normal;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-weight: 500;
  background: #ffffff;
  color: var(--theme_primary_color);
  font-style: normal;
  font-family: var(--font-family);
  overflow-x: hidden;
}

ul,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: unset;
  padding-left: unset;
}

a,
a:hover {
  color: unset;
  text-decoration: none;
  transition: 0.3s all ease;
}

img,
video,
picture {
  max-width: 100%;
  display: block;
}

button {
  all: initial;
  cursor: pointer;
  font-family: "Barlow";
  box-sizing: border-box;
  font-weight: 500;
}

input,
input:focus {
  outline: none !important;
  box-shadow: none !important;
}

textarea {
  resize: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */

:root {
  --font-family: "Amaranth", sans-serif;
  --primary-blue: #471a19;
  --text-dark: #000000;
  --text-muted: #777777;
  --bg-gray-light: #f8f9fa;
  --border-color: #eeeeee;
  --text-main: #333333;
  --text-secondary: #777777;
  --border-light: #dddddd;
  --bg-card: #fdfdfd;
  --text-gray: #666666;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.rotate-90 {
  transform: rotate(90deg);
}

.rotate-180 {
  transform: rotate(180deg);
}

.rotate-270 {
  transform: rotate(270deg);
}

.rotate-360 {
  transform: rotate(360deg);
}

.w-80 {
  width: 80%;
}

.mb-50 {
  margin-bottom: 5rem;
}

.mb-100 {
  margin-bottom: 10rem;
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */

.container-fluid {
  padding: 0 6rem;
}

.h-logo {
  width: 20%;
}

.container {
  max-width: 1675px;
}

.custom-col-5 {
  width: 20%;
  flex: 0 0 20%;
  max-width: 20%;
}

@media (max-width: 991.98px) {
  .custom-col-5 {
    width: 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 575.98px) {
  .custom-col-5 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.pagination {
  gap: 5px;
}

.pagination .page-link {
  border: none;
  background: #f0f0f0;
  color: #333;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  min-width: 44px;
  text-align: center;
}

.pagination .page-item.active .page-link {
  background: #441716;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  background: #f5f5f5;
  color: #999;
}

.pagination .page-link:focus {
  box-shadow: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  z-index: 1000;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Home page — transparent overlay on hero */
.navbar-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: 3rem 0;
}

.navbar-home.scrolled {
  position: fixed;
  background: rgb(219 219 219 / 49%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 0;
}

/* Default pages — white sticky bar */
.navbar-default {
  background: #ffffff;
  padding: 3rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-default.scrolled {
  padding: 3.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

/* Brand */
.navbar-dark .navbar-brand,
.navbar-light .navbar-brand {
  font-size: 1.5rem;
}

.navbar-dark .navbar-brand {
  color: #fff !important;
}

.navbar-light .navbar-brand {
  color: #111 !important;
}

/* Nav links */
.navbar .nav-link {
  font-size: 2rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-item {
  padding-right: 30px;
}

.navbar-dark .nav-link {
  color: rgba(0, 0, 0, 0.82) !important;
  font-weight: 600;
}

.navbar-dark .nav-link:hover {
  color: #000 !important;
  background: #f5f5f5;
}

.navbar-dark .nav-link.active {
  color: #331818 !important;
  font-weight: 700;
}

.navbar-light .nav-link {
  color: #878787 !important;
  font-weight: 600;
}

.navbar-light .nav-link:hover {
  color: #000 !important;
  background: #f5f5f5;
}

.navbar-light .nav-link.active {
  color: #111 !important;
  font-weight: 700;
}

/* Active underline */
.navbar .nav-link.active {
  position: relative;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Icons */
.navbar-icons .nav-icon {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.align-items-centre {
  align-items: center;
}

.navbar-icons .nav-icon i {
  font-size: 1.15rem;
}

.navbar-dark .nav-icon {
  color: rgba(255, 255, 255, 0.82);
}

.navbar-dark .nav-icon:hover {
  color: #fff;
  transform: scale(1.12);
}

.navbar-dark .nav-icon.active {
  color: #fff;
}

.navbar-light .nav-icon {
  color: #444;
}

.navbar-light .nav-icon:hover {
  color: #000;
  transform: scale(1.12);
}

.navbar-light .nav-icon.active {
  color: #111;
}

.navbar-light .nav-icon svg path {
  fill: #6A6A6A;
}

.nav-icon .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #611f20;
  color: #fff;
  font-size: 10px;
  padding: .2rem .5rem;
  border-radius: 50%;
}

/* Toggler */
.navbar-dark .navbar-toggler i {
  color: #fff;
}

.navbar-light .navbar-toggler i {
  color: #111;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid rgba(0, 0, 0, 0.15);
  outline-offset: 2px;
}


/* The wrapper starts collapsed */
/* --- Search Container --- */
.nav-search-container {
  position: relative;
  height: 40px;
  /* Match your navbar icon height */
  display: flex;
  align-items: center;
}

/* --- Expanding Wrapper --- */
.nav-search-wrapper {
  display: flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.nav-search-wrapper.active {
  width: 220px;
  /* Adjust to your preferred expanded width */
  opacity: 1;
}

/* --- Input Field --- */
.nav-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-input:focus {
  border-color: #111;
  /* Bootstrap primary blue, change to your brand color */
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

/* --- Close Button --- */
.nav-search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px 0 8px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-search-close-btn i {
  font-size: 1.8rem;
  transition: color 0.2s ease;
}

.nav-search-close-btn:hover i {
  color: #491b1e;
}

/* --- Search Toggle Button Animation --- */
.search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.3s ease;
}

/* When active, collapse the toggle button to 0 width so it doesn't push the input */
.search-trigger.hidden {
  width: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */

.mobile-header {
  height: 7rem;
  padding: 0 1.8rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.mobile-logo img {
  height: 7rem;
}

.mobile-logo .logo-dark-mode {
  display: none;
}

a.mobile-logo>img {
  width: 100%;
}

.mobile-icons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.icon-btn {
  position: relative;
}

.icon-btn .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #6680ff;
  color: #fff;
  font-size: 10px;
  padding: .2rem .5rem;
  border-radius: 50%;
}

/* Icon mode switching */
.icon-light-mode {
  display: block;
}

.icon-dark-mode {
  display: none;
}

.navbar-light .logo-dark-mode,
.navbar-dark .logo-light-mode,
.navbar-dark .icon-light-mode,
.navbar-home.navbar-dark .icon-dark-mode{
  display: none;
}

.navbar-light .logo-light-mode,
.navbar-dark .icon-dark-mode,
.navbar-home .icon-light-mode 
{
  display: block;
}

.navbar-light .icon-light-mode {
  display: block;
}

.navbar-light .icon-dark-mode {
  display: none;
}

.logo-dark-mode,
.logo-light-mode {
  width: 30%;
}

.icon-light-mode,
.icon-dark-mode {
  width: 2.2rem;
  height: 2.2rem;
}

/* Icon animations */
.icon {
  transition: transform .25s ease, opacity .25s ease;
}

.icon:hover {
  transform: scale(1.15);
}

.mobile-menu-btn {
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-btn:active .icon {
  transform: rotate(12deg) scale(1.1);
}

.sidebar-close {
  background: none;
  border: none;
  padding: 0;
}

.sidebar-close:hover .icon {
  transform: rotate(90deg);
}

.icon-btn:hover .badge {
  transform: scale(1.2);
  transition: transform .25s ease;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  z-index: 999;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 90000;
  padding: 25px;
  overflow-y: auto;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.sidebar.active {
  transform: translateX(0);
  opacity: 1;
  display: block;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-logo {
  width: 75%;
  padding: 5px;
  font-size: 0;

  border-bottom: 0;
}

.sidebar-search {
  margin: 25px 0;
  display: flex;
  gap: 10px;
}

.sidebar-search input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.sidebar-search button {
  background: #6680ff;
  border: none;
  padding: 10px;
  border-radius: 8px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 2rem;
}

.sidebar-menu a {
  font-size: 2rem;
  color: #111;
  text-decoration: none;
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 1rem;
  position: relative;
  transform: translateY(-18px);
  transition: transform 0.28s ease;
}

.search-overlay.open .search-overlay-inner {
  transform: translateY(0);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  gap: 8px;
}

.search-icon-inside {
  font-size: 1rem;
  color: #999;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 1rem 0;
  background: transparent;
  color: #111;
}

.search-input::placeholder {
  color: #aaa;
}

.search-submit {
  border: none;
  background: #111;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.search-submit:hover {
  background: #333;
  transform: scale(1.08);
}

.search-close {
  position: absolute;
  top: -52px;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

body.search-open {
  overflow: hidden;
}

/* SEARCH SUGGESTIONS */
.search-suggestions {
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0;
  display: none;
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.search-suggestions li {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.search-suggestions li:last-child {
  border-bottom: none;
}

.search-suggestions li:hover {
  background: #f7f7f7;
}

.search-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-product-item:hover {
  background: #f7f7f7;
}

.search-product-img {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.search-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-product-name {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.search-product-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.search-suggestions li.no-results {
  padding: 12px 18px;
  color: #888;
  text-align: center;
}

/* ============================================================
   BUTTONS — SHARED
   ============================================================ */
.info-content {
  width: 100%;
}

.black-rounded-button {
  background-color: #000;
  color: #fff;
  padding: 2rem 5rem;
  border-radius: 3rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 7%;
}

.black-rounded-button:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 13px 38px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary-dark:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-primary-dark:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ============================================================
   NAV PILLS (tabs)
   ============================================================ */

.nav-pills .nav-link {
  position: relative;
  color: #000;
  border-radius: 0;
  font-size: medium;
}

.nav-pills .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 0;
  height: 3px;
  background: #000;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

.nav-pills .nav-link.active {
  background: transparent;
  color: #3C4242;
  padding-left: 0;
  font-size: 1.6rem;
  font-family: 'Roboto';
  letter-spacing: 4%;
}

.nav-pills .nav-link.active::after {
  width: 50%;
}

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
  height: 110vh;
  background: radial-gradient(circle at top, #1e63ff, #0a2a75);
  position: relative;
  overflow: hidden;
}

.hero_bg {
  width: 100%;
  pointer-events: none;
  height: 100%;
}

.hero_bg .bg-video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* ============================================================
   HOME — BOOKS SECTION
   ============================================================ */

.books-section {
  padding: 190px 0 80px;
  text-align: center;
}

.book-first-ban {
  width: 100%;
}

.books-title {
  font-weight: 600;
  font-size: clamp(6.2rem, 7vw, 9rem);
  line-height: 1.3;
}

.book_items {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  gap: 31px;
  align-items: end;
  justify-items: center;
  position: relative;
  grid-template-areas:
    "a1 a3 a4 a6 a7"
    "a2 a3 a5 a6 a8";
}

.item-1 {
  grid-area: a1;
}

.item-2 {
  grid-area: a2;
}

.item-3 {
  grid-area: a3;
}

.item-4 {
  grid-area: a4;
}

.item-5 {
  grid-area: a5;
}

.item-6 {
  grid-area: a6;
}

.item-7 {
  grid-area: a7;
}

.item-8 {
  grid-area: a8;
}

.item {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-3,
.item-6 {
  align-self: center;
}

.item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .22s ease, box-shadow .22s ease;
}

.item img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-custom {
      background: #331818;
    color: #f9ebe3;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 2rem;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-custom:hover {
transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    background: #f5d0ba;
    color: #331818;
}

/* Staggered offsets */
/* .item-1 {
  transform: translateY(18px);
}

.item-3 {
  transform: translateY(6px);
}

.item-4 {
  transform: translateY(100px);
}

.item-6 {
  transform: translateY(6px);
}

.item-7 {
  transform: translateY(18px);
} */

/* ============================================================
   HOME — BOOK BANNER
   ============================================================ */

.book-banner-section {
  padding: 80px 0;
}

.book-banner-section .book-ban-sec-img {
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   HOME — POPULAR BOOKS
   ============================================================ */

.popular-books-section .book-card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
}

.popular-books-section .book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-books-section .book-card.big {
  height: 100%;
}

.popular-books-section .book-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.popular-books-section .section-title {
  font-weight: 600;
  margin-bottom: 2.5rem;
  font-size: clamp(3.2rem, 5vw, 6rem);
  line-height: 1.3;
}

.popular-books-section .section-desc {
  font-size: 1.8rem;
  color: #7c7878;
  font-weight: 700;
  line-height: 1.5;
}

.popular-books-section .center-card {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.popular-books-section .book-card.last {
  padding-top: 4rem;
}

/* ============================================================
   HOME — LATEST / SWIPER CARDS
   ============================================================ */

.latest-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
}

.top-latest-sec a {
  color: #181821;
  text-decoration: underline;
}

.top-latest-sec:hover a {
  color: #1313b8;
}

.top-latest-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.latest-section .swiper-slide {
  flex-shrink: 0 !important;
}

.latest-section .latestSwiper .swiper-slide,
.latest-section .latest1Swiper .swiper-slide {
  width: 260px !important;
}

/* Book swipe card */
.book-swipe-card {
  width: 230px;
  position: relative;
  overflow: hidden;
}

.img-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  perspective: 800px;
  border-radius: 14px;
  background: #f7f7f7;
}

.img-box img {
  width: 100%;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: rotateY(180deg);
}

/* Flip effect */
.book-swipe-card:hover .img-main {
  transform: rotateY(180deg);
  opacity: 0;
}

.book-swipe-card:hover .img-hover {
  opacity: 1;
  transform: rotateY(0deg);
}

/* Hover icons */
.hover-icons {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hover-icons .icon {
  opacity: 0;
  transform: scale(0.5);
  transition: 0.35s ease;
  font-size: 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px;
  border-radius: 10px;
}

.book-swipe-card:hover .icon:hover {
  cursor: pointer;
}

.book-swipe-card:hover .icon:nth-child(1) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.1s;
}

.book-swipe-card:hover .icon:nth-child(2) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

.book-swipe-card:hover .icon:nth-child(3) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

/* Icon micro-interactions */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.25);
  }

  40% {
    transform: scale(0.9);
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.wishlist:hover {
  animation: heartbeat 0.6s ease-in-out;
  color: #ff4d6d;
  box-shadow: 0 0 12px #ff4d6d;
}

@keyframes shakeBounce {
  0% {
    transform: translateX(0) scale(1);
  }

  20% {
    transform: translateX(-3px) scale(1.1);
  }

  40% {
    transform: translateX(3px) scale(1.1);
  }

  60% {
    transform: translateX(-2px) scale(1.05);
  }

  80% {
    transform: translateX(2px) scale(1.05);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

h4.book-title:hover {
  animation: shakeBounce 0.5s ease-out;
  color: #EF622F;
}

.cart:hover {
  animation: shakeBounce 0.5s ease-out;
  color: #00c8ff;
  box-shadow: 0 0 12px #00c8ff;
}

.view:hover {
  transform: scale(1.3);
  color: #ffd76b;
  box-shadow: 0 0 20px #ffd76b, 0 0 40px #ffd76b;
}

/* Card text */
.book-title {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.book-title1 {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.3;
}

.author-name {
  font-size: 1.4rem;
  padding-bottom: 15px;
  font-weight: 400;
  color: #666;
}

a.product-category-link {
  font-size: 2.2rem;
}

.book-price-text {
  font-size: 1.6rem;
  font-weight: 500;
}

.book-price {
  color: #EF622F;
}

/* ============================================================
   HOME — KIDS SECTION
   ============================================================ */

.book-kids-card {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.book-kids-card:hover {
  cursor: pointer;
}


.book-kids-card .img-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  /* perspective: 800px; */
  border-radius: 14px;
  background: #f7f7f7;
}

.book-kids-card .img-box img {
  width: 100%;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.book-kids-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: rotateY(180deg);
}


.book-kids-card:hover .img-main {
  transform: rotateY(180deg) scale(1);
  opacity: 0;
}

.book-kids-card:hover .img-hover {
  opacity: 1;
  transform: rotateY(0deg) scale(1.2);
}

.book-kids-card .hover-icons {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.book-kids-card .hover-icons .icon {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #dbdbdb;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.35s ease;
  font-size: 20px;
  color: #a9a9a9;
}

.book-kids-card:hover .icon:hover {
  cursor: pointer;
}

.book-kids-card:hover .icon:nth-child(1) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.1s;
}

.book-kids-card:hover .icon:nth-child(2) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

.book-kids-card:hover .icon:nth-child(3) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

/* ============================================================
   HOME — TRENDING SECTION
   ============================================================ */

.trending-section {
  position: relative;
  width: 100%;
  padding: 5rem 0;
}

.trending-banner {
  width: 100%;
  height: 67rem;
  background-image: url('../home/new-trending-section.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.trendingSwiper {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 4rem 9.4rem;
}

.trend-swipe-card {
  display: flex;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
  flex-shrink: 0;
  width: calc(100% / 4);
  box-sizing: border-box;
  transition: transform .25s ease;
  will-change: transform;
}

.trend-swipe-card .img-box {
  width: 100%;
  max-width: 20rem;
  border-radius: 2rem;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform .35s ease;
}

.trend-swipe-card .img-box img {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  backface-visibility: hidden;
  transition: transform .6s ease;
  transform-style: preserve-3d;
}

/* BACK IMAGE (pseudo-element) */
.trend-swipe-card .img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../home/product-details.png') center/cover no-repeat;
  border-radius: 1.6rem;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  transition: transform .6s ease;
}

.trend-swipe-card:hover .img-box img {
  transform: rotateY(180deg);
}

.trend-swipe-card:hover .img-box::after {
  transform: rotateY(0deg);
}

.trend-swipe-card:hover .img-box {
  transform: rotateX(6deg) rotateY(6deg);
}

/* SHINE EFFECT */
.trend-swipe-card .img-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: all .6s ease;
  pointer-events: none;
}

.trend-swipe-card:hover .img-box::before {
  left: 120%;
}

/* ICON CONTAINER */
.trend-hover-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.trend-hover-icons .icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #333;
  transition: all .25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.trend-hover-icons .icon:hover {
  background: #000;
  color: #fff;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.trend-hover-icons .wishlist:hover {
  background: #ff3b3b;
  color: #fff;
}

.trend-hover-icons .cart:hover {
  background: #00a86b;
  color: #fff;
}

.trend-hover-icons .view:hover {
  background: #007bff;
  color: #fff;
}

/* Custom slider */
.slider-outer {
  position: relative;
  overflow: hidden;
}

.slider-outer .slider-track {
  display: flex;
  transition: transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-outer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5rem;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .85));
  pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: .15rem solid #ddd;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all .2s;
  box-shadow: 0 .2rem .8rem rgba(0, 0, 0, .1);
  z-index: 99;
}

.slider-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.slider-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.btn-prev {
  left: .6rem;
}

.btn-next {
  right: .6rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.wave-container {
  line-height: 0;
  overflow: hidden;
}

.wave-container canvas {
  display: block;
  width: 100%;
}

.footer-root {
  width: 100%;
  padding: 0 15px 15px;
}

.footer-body {
  background: #8d5050;
  padding: 50px 0 0;
}

.footer-bottom {
  background: #8d5050;
  padding: 4rem 0;
  border-bottom-right-radius: 4rem;
  border-bottom-left-radius: 4rem;
}

.footer-bottom p {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
}

.brand-logo {
  max-width: 50%;
  margin-bottom: 4rem;
}

.brand-logo svg {
  width: 38px;
  height: 26px;
  margin-bottom: 12px;
}

.foot-logo {
  width: 100%;
}

.footer-brand-text {
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 2;
  padding-right: 15rem;
  letter-spacing: 5%;
}

.footer-col-title {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 3rem;
}

.footer-links li a {
  font-size: 1.7rem;
  color: #ffffff;
  text-decoration: none;
  display: block;
  transition: color .15s;
}

.contact-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 70%;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.65);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: 1.7rem;
  color: #ffffff;
  line-height: 1.6;
}

/* ============================================================
   SHOP / BOOKS PAGE
   ============================================================ */

.books-page {
  padding: 50px 0;
}

.books-page .book-swipe-card {
  width: 240px;
  border-radius: 16px;
  padding: 1.6rem;
  transition: all 0.3s ease;
}

.books-page .book-swipe-card:hover {
  transform: translateY(-6px);
}

.books-page .sidebar-card {
  min-width: 320px;
  width: fit-content;
  border: 0.5px solid #8A8989;
  overflow: hidden;
}

.books-page .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: .5px solid #8A8989;
  border-bottom: .5px solid #8A8989;
  cursor: pointer;
}

.books-page .section-header .toggle-icon {
  transition: transform 0.3s ease;
}

.books-page .section-header[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
  font-weight: 600;
}

.books-page .section-header[aria-expanded="false"] .toggle-icon {
  transform: rotate(0deg);
}

.books-page .section-title {
  color: #5D5D5D;
  font-size: 2.2rem;
}

.books-page .item-list {
  list-style: none;
  margin: 0;
  padding: 35px 20px;
}

.books-page .item-list li {
  padding: 7px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8A8989;
  cursor: pointer;
  transition: 0.2s;
  font-size: 18px;
  font-weight: 400;
}

.books-page .item-list li:hover {
  color: #000;
}

.books-page .item-list i {
  font-size: 14px;
}

.books-page .item-list.author-list {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

.books-page .item-list.author-list::-webkit-scrollbar {
  width: 6px;
}

.books-page .item-list.author-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.books-page .item-list.author-list::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 10px;
}

.books-page .item-list.author-list::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.books-page .accordion-body-custom {
  padding: 15px 16px;
}

.books-page .sidebar-card .section-header:first-of-type {
  border-top: none !important;
}

.books-page .sidebar-card .section-header:last-of-type {
  border-bottom: none !important;
}

/* Range slider */
.books-page .range-slider {
  position: relative;
  width: 100%;
  height: 40px;
  margin: 30px 0;
}

.books-page .slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #DADADA;
  transform: translateY(-50%);
  border-radius: 5px;
}

.books-page .slider-range {
  position: absolute;
  top: 50%;
  height: 4px;
  background: #000;
  transform: translateY(-50%);
  border-radius: 5px;
}

.books-page .range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 40px;
  top: 0;
  left: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: none;
}

.books-page .range-slider input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  border: 2px solid #000;
  cursor: pointer;
  box-shadow: 0 0 0 2px #000;
}

.books-page .range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  background: #000;
  border-radius: 50%;
  border: 1px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 0 2px #000;
}

.books-page .price-values {
  display: flex;
  justify-content: space-around;
}

.books-page .price-tags {
  display: flex;
  justify-content: space-between;
}

.books-page .price-tag {
  border: .5px solid #8A8989;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 14px;
  color: #5D5D5D;
}

.books-page .author-list li {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8A8989;
  cursor: pointer;
  transition: 0.2s;
}

.books-page .author-list li:hover {
  color: #000;
}

.books-page .left-icon {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ============================================================
   PRODUCT DETAILS PAGE
   ============================================================ */
@media (min-width: 992px) {
  .custom-col-5 {
    width: 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.col-12.col-md-6.col-lg-4.ftsz {
  width: 30%;
}

.filter-sidebar {
  border: 1.5px dotted;
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.filter-header {
  background: linear-gradient(135deg, #461918, #8b645c);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-header h5 {
  color: #fff;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.filter-header i {
  color: #fff;
  font-size: 16px;
}

.filter-body {
  padding: 20px;
}

.filter-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-label {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-label i {
  color: #666;
  font-size: 14px;
}

.filter-options {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 620px;
  overflow-y: auto;
}

.filter-options li {
  margin-bottom: 6px;
}

.filter-options a {
  display: block;
  padding: 10px 14px;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.filter-options a:hover {
  background: #f8f9fa;
  color: #333;
  border-color: #e0e0e0;
}

.filter-options a.active {
  background: #471a19;
  color: #fff;
  font-weight: 500;
  border-color: #73312a;
}

.search-box {
  position: relative;
  margin-bottom: 15px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s;
  background: #f8f9fa;
}

.search-box input:focus {
  border-color: #4562EF;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.price-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
}

.price-box .range-slider {
  position: relative;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  margin: 15px 0;
}

.price-box .range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  z-index: 1;
}

.price-box .range-slider input[type="range"]:nth-child(1) {
  z-index: 3;
}

.price-box .range-slider input[type="range"]:nth-child(2) {
  z-index: 2;
}

.price-box .range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: rgb(69 24 23) ;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.price-box .price-values {
  display: flex;
  justify-content: space-between;
}

.price-box .price-tag {
  background: #461918;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.clear-filters {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  margin-bottom: 20px;
}

.clear-filters:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

a.explore-link:hover {
  transform: translateY(-2px);
  color: #eb443f !important;
  font-weight: 600;
  transition: all 0.3s;
}

a.stretched-link:hover {
  text-decoration: underline;
  color: #eb443f !important;
}

.add-to-cart-btnqv:hover {
  transform: translateY(-3px) !important;
  background-color: #eb443f !important;
}

.add-to-cart-btnqv1:hover {
  transform: translateY(-3px) !important;
  background-color: #423f3f !important;
  color: #fff !important
}

.product-count {
  background: #f8f9fa;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.product-count strong {
  color: #660900;
}

.custom-pagination .page-link {
  border: none;
  background: #f0f0f0;
  color: #333;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  min-width: 44px;
  text-align: center;
}

.custom-pagination .page-item.active .page-link {
  background: #4562EF;
  color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
  background: #f5f5f5;
  color: #999;
}

.blog-hero,
.faq-banner,
.product-details_page {
  padding: 30px 0 0;
}

p.stock-status.out-of-stock {
  color: red;
}

p.stock-status.in-stock {
  color: green;
}

/* Back button */
.back-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 3rem;
  background: #f9f9f9;
  color: #000;
  border: none;
  border-radius: .6rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  gap: 2rem;
  margin-bottom: 3rem;
}

.back-btn:hover {
  background: #c5c5c5;
}

.back-btn .label {
  width: 60px;
  transform: translateX(2px);
  transition: opacity 0.5s ease;
}

.back-btn:hover .label {
  opacity: 0;
}

.back-btn .icon {
  position: absolute;
  inset: 0;
  width: 25%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  transition: width 0.5s ease;
}

.back-btn:hover .icon {
  width: 100%;
}

.back-btn svg {
  opacity: 0.6;
}

/* Product gallery */
.product-gallery {
  padding: 2rem;
  background: #fff;
}

.product-gallery__wrap {
  max-width: 550px;
  margin: auto;
}

.product-gallery__stage {
  width: 100%;
  border-radius: 1.4rem;
  overflow: hidden;
}

.product-gallery__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease, transform .25s ease;
}

.product-gallery__stage.is-switching .product-gallery__main-image {
  opacity: .6;
  transform: scale(.97);
}

.product-gallery__thumbs {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 0;
  list-style: none;
}

.product-gallery__thumb-button {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
}

.product-gallery__thumb-button.is-active {
  border-color: #ccc;
}

.product-gallery__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product detail info */
.book-image-wrap img {
  max-width: 100%;
  height: auto;
}

.product-details {
  position: relative;
  padding: 2rem;
}

.overlay-text {
  position: absolute;
  top: -8px;
  left: 2px;
  z-index: 0;
  pointer-events: none;
}

.overlay-title {
  font-size: 10rem;
  font-weight: 900;
  color: #000;
  opacity: 0.03;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 20%;
}

.content {
  position: relative;
  z-index: 2;
}

.book-subtitle {
  color: #959595;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 4%;
}

.line-border {
  border: 1px solid #bababa;
  width: 50%;
}

.price {
  font-size: 3rem;
  font-weight: 600;
  color: #000;
}

.old-price {
  text-decoration: line-through;
  color: #666666;
  font-size: 1.8rem;
  margin-left: 1rem;
}

.save-badge {
  background: #D32F2F;
  color: #fff;
  font-size: 1.2rem;
  padding: .4rem 1rem;
  border-radius: 2rem;
  margin-left: 1rem;
}

.description {
  color: #959595;
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 3%;
  width: 70%;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #6D6D6D;
  border-radius: 3rem;
  padding: 1.6rem 1.2rem;
}

.qty-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #616161;
  padding: 0 .8rem;
}

.qty-number {
  min-width: 6rem;
  text-align: center;
}

.bottom-section h5 {
  color: #3C4242;
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: 10%;
}

.bottom-section p {
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   CART PAGE
   ============================================================ */

.carts-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.5rem 3.6rem;
  background: #ffffff;
  color: #171717;
}

.carts-page__shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.carts-page__sr-only {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  padding: 0;
  margin: -0.1rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 2.4rem;
}

.page__back svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  stroke: currentColor;
  stroke-width: 0.22rem;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page__table {
  width: 100%;
}

.carts-page__head {
  display: grid;
  grid-template-columns: minmax(36rem, 2.45fr) minmax(8.4rem, .78fr) minmax(9.6rem, .95fr) minmax(8.6rem, .82fr) minmax(9.8rem, .9fr) 6.4rem;
  align-items: center;
  gap: 1.2rem;
  background: #000000;
  color: #ffffff;
  padding: 4rem 5rem;
  width: 100%;
}

.carts-page__head-cell {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.carts-page__head-cell--details {
  padding-left: 6.2rem;
}

.carts-page__body {
  margin-top: 0.9rem;
}

.carts-page__product {
  display: grid;
  grid-template-columns: minmax(36rem, 2.45fr) minmax(8.4rem, .78fr) minmax(9.6rem, .95fr) minmax(8.6rem, .82fr) minmax(9.8rem, .9fr) 6.4rem;
  align-items: center;
  gap: 1.2rem;
  padding: 4rem 5rem;
  border-bottom: 0.1rem solid #d8d8d8;
}

.carts-page__cell {
  min-width: 0;
}

.carts-page__cell--details {
  padding-left: 6.2rem;
}

.carts-page__product-info {
  display: flex;
  align-items: center;
  gap: 3rem;
  min-width: 0;
}

.carts-page__cover {
  width: 11rem;
  height: auto;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.18);
}

.carts-page__meta {
  min-width: 0;
  padding-top: 0.2rem;
}

.carts-page__product-title {
  margin: 0 0 1.2rem;
  color: #444444;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 400;
}

.carts-page__product-author {
  margin: 0 0 1.2rem;
  color: #9f9f9f;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 400;
}

.carts-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1.6rem;
  border-radius: 99rem;
  background: #eb443f;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.carts-page__money,
.carts-page__subtotal-value {
  color: #4e4e4e;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
}

.carts-page__shipping {
  color: #c8c8c8;
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.carts-page__qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 9rem;
  height: 3.4rem;
  padding: 0 0.8rem;
  border-radius: 0.8rem;
  background: #f6f6f6;
}

.carts-page__qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b8b8b;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}

.carts-page__qty-button:hover {
  color: #111111;
}

.carts-page__qty-value {
  min-width: 0.8rem;
  text-align: center;
  color: #8d8d8d;
  font-size: 1.2rem;
  font-weight: 500;
}

.carts-page__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  border-radius: 50%;
}

.carts-page__remove:hover {
  background: #f6f6f6;
}

.carts-page__remove svg {
  width: 2rem;
  height: auto;
  display: block;
  stroke: currentColor;
  stroke-width: 0.18rem;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carts-page__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.6rem;
  padding-right: 6.3rem;
}

.carts-page__summary {
  width: 29.4rem;
  background: #f7f7f7;
  border: 0.1rem solid #f1f1f1;
}

.carts-page__summary-inner {
  padding: 1.8rem 4.8rem 0;
}

.carts-page__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
  color: #4d4d4d;
  font-size: 1.4rem;
  font-weight: 400;
}

.carts-page__summary-row--total {
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.carts-page__summary-divider {
  height: 0.1rem;
  margin: 2.2rem 0 1.8rem;
  background: #dddddd;
}

.carts-page__summary-actions {
  padding: 0 2.2rem 2.5rem;
  text-align: center;
}

.carts-page__proceed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13.3rem;
  height: 5rem;
  margin: 0 auto;
  border: 0;
  border-radius: 9rem;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
}

.carts-page__proceed:hover {
  background: #ffffff;
  border: .1rem solid #000;
  color: #000;
}

.carts-page__proceed.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carts-page__empty {
  display: none;
  margin-top: 1.6rem;
  padding: 2.8rem 2rem;
  border: 0.1rem solid #e3e3e3;
  border-radius: 1.6rem;
  text-align: center;
  color: #6b6b6b;
  font-size: 1.4rem;
  line-height: 1.5;
}

.carts-page__empty.is-visible {
  display: block;
}

.carts-page__status {
  min-height: 1.8rem;
  margin-top: 1.2rem;
  text-align: center;
  color: #5a5a5a;
  font-size: 1.3rem;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.cart-check-address {
  width: 100%;
  background: #ffffff;
  color: #202020;
  line-height: 1.4;
}

.cart-check-address__shell {
  width: 100%;
  padding: 1.3rem 3.2rem 6.2rem;
}

.cart-check-address__back {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.cart-check-address__back svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-check-address__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50rem;
  gap: 2.2rem;
  align-items: start;
  margin-top: 2.35rem;
}

.cart-check-address__main {
  min-width: 0;
  padding-right: 0.2rem;
}

.cart-check-address__title {
  margin: 0 0 5rem;
  color: #232323;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
}

.address-card-wrapper {
  display: block;
  cursor: pointer;
  width: 100%;
  margin-bottom: 1rem;
}

.add-new-address-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 2px dashed #3a3a3a;
  border-radius: 0.8rem;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-new-address-btn:hover {
  background: #f9f9f9;
  border-color: #111;
  color: #111;
}

.add-new-address-btn svg {
  flex-shrink: 0;
}

.default-address-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
}

.back-to-addresses-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: transparent;
  border: none;
  color: #666;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.back-to-addresses-btn:hover {
  color: #111;
}

.address-card-wrapper:hover .cart-check-address__address-card {
  border-color: #111;
}

.address-card-wrapper input:checked~.cart-check-address__address-card,
.address-card-wrapper:has(input:checked) .cart-check-address__address-card {
  border-color: #111;
  background: #f9f9f9;
}

.address-card-wrapper input:checked~.cart-check-address__address-card .cart-check-address__choice-control,
.address-card-wrapper:has(input:checked) .cart-check-address__choice-control {
  border-color: #111;
}

.address-card-wrapper input:checked~.cart-check-address__address-card .cart-check-address__choice-control::after,
.address-card-wrapper:has(input:checked) .cart-check-address__choice-control::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cart-check-address__address-card {
  width: 100%;
  border: 0.1em solid #3a3a3a;
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 1.45em 1.8em 1.35rem;
}

.cart-check-address__address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 0.7rem;
}

.cart-check-address__choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  cursor: pointer;
}

.cart-check-address__choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cart-check-address__choice-control {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  border: 0.15em solid #151515;
  border-radius: 50%;
  background: #ffffff;
}

.cart-check-address__choice-control::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #111111;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}

.cart-check-address__choice-input:checked+.cart-check-address__choice-control::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cart-check-address__choice-name {
  color: #2b2b2b;
  font-size: 1.55rem;
  font-weight: 500;
  white-space: nowrap;
}

.cart-check-address__choice-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.55rem;
  border-radius: 0.2rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

.cart-check-address__add-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cart-check-address__address-lines {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.9rem;
}

.cart-check-address__address-line {
  margin: 0;
  color: #484848;
  font-size: 1.45rem;
  line-height: 1.5;
  font-weight: 400;
}

.cart-check-address__actions {
  margin-top: 1.75rem;
}

.cart-check-address__proceed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13.3rem;
  height: 3.15rem;
  border: 0;
  border-radius: 999rem;
  background: #000000;
  color: #ffffff;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.16s ease;
}

.cart-check-address__proceed-button:hover {
  background: #181818;
}

.cart-check-address__proceed-button:active {
  transform: translateY(0.1em);
}

.cart-check-address__status {
  min-height: 1.8rem;
  margin: 0.9em 0 0;
  color: #666666;
  font-size: 1.25rem;
  line-height: 1.4;
}

.cart-check-address__summary {
  border: 0.1em solid #2C2C2C;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2.25em 1.55em 1.65rem;
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.04);
}

.cart-check-address__summary-title {
  margin: 0;
  color: #1f1f1f;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02rem;
}

.cart-check-address__summary-divider {
  height: 0.1rem;
  background: #ececec;
  margin: 1.15em 0;
}

.cart-check-address__summary-item {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  padding: 0.95em 0;
  border-bottom: 0.1em solid #ececec;
}

.cart-check-address__summary-item:last-child {
  border-bottom: 0;
}

.cart-check-address__book {
  position: relative;
  width: 3.4rem;
  height: 5rem;
  border-radius: 0.45rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 199, 223, 0.88), transparent 24%),
    radial-gradient(circle at 70% 16%, rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(180deg, #9fb0ff 0%, #8878ec 45%, #5a49ca 73%, #4230a6 100%);
  box-shadow: 0 0.6em 1.4em rgba(84, 74, 179, 0.22);
}

.cart-check-address__book::before {
  content: "";
  position: absolute;
  left: -0.7rem;
  bottom: 0.7rem;
  width: 4.9rem;
  height: 1.8rem;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(-18deg);
}

.cart-check-address__book::after {
  content: "101 CACH";
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.cart-check-address__summary-content {
  min-width: 0;
}

.cart-check-address__summary-item-title {
  margin: 0 0 0.2rem;
  color: #3a3a3a;
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-check-address__summary-item-meta {
  margin: 0;
  color: #666666;
  font-size: 1.3rem;
  font-weight: 400;
}

.cart-check-address__summary-item-price {
  color: #9a9a9a;
  font-size: 1.35rem;
  font-weight: 400;
  white-space: nowrap;
  align-self: center;
}

.cart-check-address__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 0.1em 0;
}

.cart-check-address__summary-row+.cart-check-address__summary-row {
  margin-top: 1.45rem;
}

.cart-check-address__summary-label {
  color: #3f3f3f;
  font-size: 1.5rem;
  font-weight: 500;
}

.cart-check-address__summary-label--heavy,
.cart-check-address__summary-value--heavy {
  font-weight: 700;
}

.cart-check-address__summary-note {
  color: #8f8f8f;
  font-weight: 400;
}

.cart-check-address__summary-value {
  color: #444444;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Address form */
.cart-check-address__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.cart-check-address__fields .cart-check-address__field-col {
  flex: 0 0 calc(50% - 1.5rem);
  max-width: calc(50% - 1.5rem);
}

.cart-check-address__field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  max-width: 75%;
}

.cart-check-address__label {
  color: #454545;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-check-address__control-wrap {
  position: relative;
}

.cart-check-address__input,
.cart-check-address__select {
  width: 100%;
  height: 6rem;
  border: 0;
  border-radius: 0.7rem;
  background: #f5f5f5;
  color: #3d3d3d;
  padding: 0 1.5rem;
  font: inherit;
  font-size: 1.5rem;
  outline: none;
  box-shadow: inset 0 0 0 0.1rem transparent;
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

.cart-check-address__input::placeholder,
.cart-check-address__select.is-placeholder {
  color: #9c9c9c;
}

.cart-check-address__input:focus,
.cart-check-address__select:focus {
  background: #f3f3f3;
  box-shadow: inset 0 0 0 0.1rem #d7d7d7;
}

.cart-check-address__select {
  padding-right: 3.6rem;
  cursor: pointer;
}

.cart-check-address__select-icon {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 1.4rem;
  height: 1.4rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666666;
}

.cart-check-address__select-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-check-address__checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 3.45rem;
  cursor: pointer;
  width: fit-content;
}

.cart-check-address__checkbox-input,
.cart-check-address__radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cart-check-address__checkbox-box {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  border: 0.1rem solid #cfcfcf;
  border-radius: 0.2rem;
  background: #ffffff;
}

.cart-check-address__checkbox-box::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.09rem;
  width: 0.42rem;
  height: 0.78rem;
  border-right: 0.18rem solid #111111;
  border-bottom: 0.18rem solid #111111;
  transform: rotate(45deg);
  opacity: 0;
}

.cart-check-address__checkbox-input:checked+.cart-check-address__checkbox-box::after {
  opacity: 1;
}

.cart-check-address__checkbox-text {
  color: #4b4b4b;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 400;
}

.cart-check-address__save-actions {
  margin-top: 2.55rem;
}

.cart-check-address__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16.2rem;
  height: 5.1rem;
  padding: 0 2.6rem;
  border: 0;
  border-radius: 999rem;
  background: #000000;
  color: #ffffff;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.cart-check-address__button:hover {
  background: #181818;
}

.cart-check-address__button:active {
  transform: translateY(0.1rem);
}

.cart-check-address__payment {
  margin-top: 2.8rem;
  max-width: 48.9rem;
}

.cart-check-address__payment-title {
  margin: 0;
  color: #1f1f1f;
  font-size: 1.7rem;
  font-weight: 700;
}

.cart-check-address__payment-note {
  margin: 0.45rem 0 1.2rem;
  color: #6e6e6e;
  font-size: 1.15rem;
  font-weight: 400;
}

.cart-check-address__payment-option {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  min-height: 4.8rem;
  padding: 0 1.7rem;
  border-radius: 0.8rem;
  background: #f6f6f6;
  cursor: pointer;
}

.cart-check-address__radio-mark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  border: 0.1rem solid #121212;
  border-radius: 50%;
  background: #ffffff;
}

.cart-check-address__radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #111111;
  transform: translate(-50%, -50%);
}

.cart-check-address__payment-text {
  color: #2f2f2f;
  font-size: 1.35rem;
  font-weight: 500;
}

.cart-check-address__payment-actions {
  margin-top: 2.2rem;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */

.success-card {
  margin: 0;
  background: #ffffff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.success-card .card-box {
  position: relative;
  text-align: center;
  padding: 60px 40px 30px;
  width: 420px;
}

.success-card .popper {
  width: 90px;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  animation: pop 0.6s ease forwards;
  z-index: 2;
}

@keyframes pop {
  0% {
    transform: translateX(-50%) translateY(-20px) scale(0.7);
    opacity: 0;
  }

  60% {
    transform: translateX(-50%) translateY(8px) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.success-card h1 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  color: #111827;
}

.success-card p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  margin-bottom: 20px;
}

.success-card .done-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 80px;
  border-radius: 30px;
  font-size: 14px;
}

.success-card canvas {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */

.account-page {
  background: #ffffff;
  color: #222222;
}

.account-page__shell {
  width: 100%;
  padding: 2.8rem 3rem 4.4rem;
}

.account-page__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 3rem 0 4rem;
  color: #8a8a8a;
  font-size: 1.5rem;
  font-weight: 400;
}

.account-page__breadcrumb-separator {
  color: #b8b8b8;
  font-size: 2.5rem;
}

.account-page__breadcrumb-current {
  color: #2e2e2e;
  font-weight: 600;
}

.frontend-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
  color: #8a8a8a;
  font-size: 2rem;
  font-weight: 400;
}

.frontend-breadcrumb a {
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.frontend-breadcrumb a:hover {
  color: #4562ef;
}

.frontend-breadcrumb-separator {
  color: #b8b8b8;
  font-size: 2.5rem;
}

.frontend-breadcrumb-current {
  color: #2e2e2e;
  font-weight: 600;
}

.account-page__sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 26.1rem;
}

.account-page__sidebar-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-height: 5rem;
  padding: 0.9rem 1.2rem 0.9rem 1.6rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: #757575;
  font: inherit;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.account-page__sidebar-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.2rem;
  height: 3rem;
  border-radius: 1rem;
  background: transparent;
  transform: translateY(-50%);
  transition: background-color 0.18s ease;
}

.account-page__sidebar-button:hover {
  background: #f7f7f7;
  color: #2f2f2f;
}

.account-page__sidebar-button.active {
  background: #f7f7f7;
  color: #424242;
}

.account-page__sidebar-button.active::before {
  background: #181818;
}

.account-page__welcome {
  margin-bottom: 3.2rem;
}

.account-page__welcome-title {
  position: relative;
  margin: 0 0 2rem;
  padding-left: 1.5rem;
  color: #2e2e2e;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-page__welcome-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.4rem;
  height: 2.2rem;
  border-radius: 1rem;
  background: #131313;
}

.account-page__welcome-text {
  margin: 0;
  color: #9c9c9c;
  font-size: 1.4rem;
  font-weight: 400;
}

.account-page__sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: auto;
  flex: 0 0 auto;
}

.account-page__sidebar-icon svg {
  width: 2.3rem;
  height: auto;
  display: block;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-page__mobile-tabs {
  display: none;
  margin-bottom: 2rem;
  border-bottom: 0.1rem solid #ececec;
  gap: 0;
}

.account-page__mobile-tab {
  flex: 1 1 0;
  margin-bottom: -0.1rem;
  padding: 1.1rem 0.8rem;
  border: 0;
  border-bottom: 0.2rem solid transparent;
  border-radius: 0;
  background: transparent;
  color: #686868;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 500;
}

.account-page__mobile-tab.active {
  color: #181818;
  border-bottom-color: #181818;
}

.account-page__heading {
  margin: 0 0 2.62rem;
  color: #353535;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-page__orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.account-page__order {
  padding-bottom: 1.7rem;
  border-bottom: 0.1rem solid #f0f0f0;
}

.account-page__order:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-page__order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2rem 3rem 1.8rem;
  border-radius: 0.8rem;
  background: #f7f7f7;
}

.account-page__order-title {
  margin: 0 0 1rem;
  color: #464646;
  font-size: 1.9rem;
  font-weight: 700;
}

.account-page__order-line {
  margin: 0.8rem 0 0;
  color: #a4a4a4;
  font-size: 1.4rem;
  font-weight: 400;
}

.account-page__order-line strong {
  color: #767676;
  font-weight: 500;
}

.account-page__order-head-right {
  padding-top: 2rem;
  text-align: right;
}

.account-page__order-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0;
}

.account-page__product {
  display: flex;
  align-items: flex-start;
  gap: 3.4rem;
  min-width: 0;
  padding-left: 2rem;
}

.account-page__book {
  position: relative;
  width: 13rem;
  height: auto;
}

.account-page__product-content {
  min-width: 0;
  padding-top: 0.1rem;
}

.account-page__product-title {
  margin: 0 0 1.5rem;
  color: #3d3d3d;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.account-page__product-meta {
  margin: 0.6rem 0 0;
  color: #9e9e9e;
  font-size: 1.5rem;
  font-weight: 400;
}

.account-page__product-meta strong {
  color: #585858;
  font-weight: 500;
}

.account-page__details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16.4rem;
  height: 4.2rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 999rem;
  background: #000000;
  color: #ffffff;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
  flex: 0 0 auto;
}

.account-page__details-button:hover {
  background: #171717;
}

.account-page__details-button:active {
  transform: translateY(0.1rem);
}

.account-page__empty {
  padding: 4rem 2.4rem;
  border: 0.1rem dashed #dddddd;
  border-radius: 1rem;
  text-align: center;
  color: #8d8d8d;
  font-size: 1.3rem;
  font-weight: 400;
}

.account-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.account-page__title {
  margin: 0;
  color: #3f3f3f;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-page__add-button {
  padding: 10px;
  border: 1.5px dotted;
  /* padding: 0; */
  /* border: 0; */
  background: transparent;
  color: #111111;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.account-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 2.3rem;
}

.account-page__card {
  min-width: 0;
  min-height: 26.9rem;
  border: 0.1rem solid #4f4f4f;
  border-radius: 1.4rem;
  background: #ffffff;
  padding: 2rem 4.1rem 2.2rem;
  display: flex;
  flex-direction: column;
}

.account-page__card-title {
  margin: 0;
  color: #494949;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.account-page__card-phone {
  margin: 2rem 0 0;
  color: #8d8d8d;
  font-size: 1.3rem;
  font-weight: 400;
}

.account-page__card-address {
  margin: 2rem 0 0;
  max-width: 34.5rem;
  color: #868686;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
}

.account-page__card-text {
  margin: 0;
  color: #777777;
  font-size: 1.3rem;
  line-height: 1.7;
}

.account-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.1rem;
}

.account-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.7rem 2rem;
  border: 0.1rem solid #8f8f8f;
  border-radius: 0.9rem;
  background: #ffffff;
  color: #7d7d7d;
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
}

.account-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.9rem;
}

.account-page__action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #4a4a4a;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
}

.account-page__action-divider {
  color: #d0d0d0;
  font-size: 1.8rem;
}

.account-page__action:hover,
.account-page__add-button:hover {
  color: #000000;
}

.account-page__live {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  padding: 0;
  margin: -0.1rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   ACCOUNT ORDER DETAIL
   ============================================================ */

.account-order-detail {
  padding: 0;
}

.account-order-detail .breadcrumb {
  font-size: 0.8rem;
  margin: 20px 0;
}

.account-order-detail li a {
  color: var(--text-muted);
  text-decoration: none;
}

.account-order-detail li:hover a {
  color: var(--text-dark);
}

.account-order-detail .breadcrumb li.active {
  color: var(--text-dark);
  font-weight: 600;
}

.acc-sidebar .sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.acc-sidebar .sidebar-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background-color: #000;
  margin-right: 10px;
}

.acc-sidebar .sidebar-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.acc-sidebar .sidebar-nav {
  list-style: none;
  padding: 0;
}

.acc-sidebar .nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  border-radius: 3px;
  margin-bottom: 5px;
  transition: 0.2s;
}

.acc-sidebar .nav-link i {
  width: 25px;
  color: var(--text-muted);
}

.acc-sidebar .nav-link.active,
.acc-sidebar .nav-link:hover {
  background-color: var(--bg-gray-light);
  font-weight: 600;
  border-left: 2px solid #000;
}

.account-order-detail .main-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.account-order-detail .order-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  display: flex;
}

.account-order-detail .tab-item {
  padding: 12px 0;
  margin-right: 60px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.account-order-detail .tab-item.active {
  color: var(--text-dark);
  font-weight: 700;
}

.account-order-detail .tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.account-order-detail .order-card-container {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.account-order-detail .order-card-container.highlighted {
  border: 2px solid var(--primary-blue);
}

.account-order-detail .order-header {
  background-color: #f6f6f6;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
}

.account-order-detail .order-no {
  font-size: 1.1rem;
  font-weight: 700;
}

.account-order-detail .order-meta-info {
  font-size: 0.7rem;
  color: #999;
  display: flex;
  gap: 20px;
}

.account-order-detail .order-status-info {
  text-align: right;
  font-size: 0.7rem;
  color: #999;
}

.account-order-detail .status-value {
  color: #bbb;
}

.account-order-detail .order-body {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.account-order-detail .product-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.account-order-detail .product-img {
  width: 60px;
  height: 85px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.account-order-detail .product-details {
  font-size: 0.8rem;
}

.account-order-detail .product-name {
  font-weight: 700;
}

.account-order-detail .product-meta {
  color: var(--text-muted);
}

.account-order-detail .product-price {
  font-weight: 500;
  color: var(--text-muted);
}

.account-order-detail .view-details-btn {
  background-color: #000;
  color: #fff;
  padding: 10px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}

.account-order-detail .view-details-btn:hover {
  opacity: 0.8;
}

/* Payment summary */
.payment-summary-section .action-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.payment-summary-section .btn-return {
  border: 1.5px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  padding: 8px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
}

.payment-summary-section .btn-exchange {
  background: var(--text-dark);
  color: #fff;
  padding: 8px 50px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: 0.2s;
}

.payment-summary-section .btn-return:hover {
  background-color: #f8f9fa;
}

.payment-summary-section .btn-exchange:hover {
  opacity: 0.8;
}

.payment-summary-section .summary-card-1 {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px 30px;
  margin-top: 50px;
}

.payment-summary-section .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.payment-summary-section .price-label {
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--text-dark);
}

.payment-summary-section .price-value {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.payment-summary-section .payment-info-field {
  background-color: var(--bg-field);
  border: 1px solid #777;
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.payment-summary-section .payment-text {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 500;
}

.payment-summary-section .upi-icon {
  width: 32px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.payment-summary-section .btn-invoice {
  background: var(--text-dark);
  color: #fff;
  padding: 10px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.5rem;
  border: none;
  transition: 0.2s;
}

.payment-summary-section .btn-invoice:hover {
  opacity: 0.8;
}

/* Cancel section */
.cancel-section {
  padding: 25px 30px;
  margin-bottom: 25px;
}

.cancel-section .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.cancel-section .question-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  line-height: 1.4;
}

.cancel-section .address-box {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px 35px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cancel-section .address-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.cancel-section .address-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.cancel-section .address-zip {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cancel-section .reason-list {
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.cancel-section .reason-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.cancel-section .reason-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 15px;
  cursor: pointer;
  accent-color: #000;
}

.cancel-section .reason-label {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.cancel-section .return-btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 15px 80px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: 0.3s;
}

.cancel-section .return-btn:hover {
  background-color: #333333;
  color: #ffffff;
}

/* My Info section */
.my-info-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.my-info-section .section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.my-info-section .info-row {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.my-info-section .info-row:last-child {
  border-bottom: none;
}

.my-info-section .info-label {
  font-size: 1.8rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.my-info-section .change-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}

.my-info-section .change-link:hover {
  color: #000;
  text-decoration: underline;
}

.my-info-section .info-value-input {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  width: 100%;
}

.my-info-section .info-value-input:focus {
  border-bottom: 1px solid #000;
}

.my-info-section .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.my-info-section .eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.my-info-section .eye-btn:hover {
  color: #64748b;
}

/* ── Field-level error messages (all forms) ── */
.field-error {
  color: #ef4444;
  font-size: 1.2rem;
  margin-top: 0.4rem;
  display: none;
  line-height: 1.4;
}

.field-error.is-visible {
  display: block;
}

/* ── Error state on inputs ── */
.input-error {
  border-color: #ef4444 !important;
}

.signin-page .form-input.input-error {
  border-color: #ef4444 !important;
}

.cart-check-address__input.input-error {
  border-color: #ef4444 !important;
}

.my-info-section .info-value-input.input-error {
  border-bottom: 2px solid #ef4444 !important;
}

.form-control-custom.input-error {
  border-color: #ef4444 !important;
}

/* Inner order detail */
.order-inner-details .header-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.order-inner-details .header-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #444;
}

.order-inner-details .detail-card {
  background-color: #f6f6f6;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 25px;
}

.order-inner-details .detail-card.d-flex {
  gap: 2rem;
  padding: 2rem 2.4rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

.order-inner-details .detail-card.d-flex>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.order-inner-details .detail-card b {
  font-weight: 600;
  color: #111;
}

.order-inner-details .detail-card .text-muted {
  font-size: 1.4rem;
  color: #777;
}

.order-inner-details .summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f6f6f6;
}

.order-inner-details .order-info .label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.order-inner-details .order-info .date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.order-inner-details .order-total {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-inner-details .order-total b {
  color: var(--text-dark);
  font-weight: 600;
}

.order-inner-details .items-card {
  padding: 10px 30px;
}

.order-inner-details .product-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  position: relative;
}

.order-inner-details .product-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.order-inner-details .product-img {
  width: 85px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-right: 25px;
}

.order-inner-details .product-info-main {
  flex-grow: 1;
}

.order-inner-details .product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.order-inner-details .product-author {
  font-size: 1.3rem;
  color: var(--text-muted);
}

.order-inner-details .product-author b {
  font-weight: 500;
  color: #999;
}

.order-inner-details .product-qty {
  font-size: 1.6rem;
  color: var(--text-dark);
  width: 80px;
  font-weight: 500;
}

.order-inner-details .product-qty span {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 5px;
}

.order-inner-details .product-price {
  font-size: 1.6rem;
  color: var(--text-muted);
  width: 180px;
  text-align: left;
  font-weight: 400;
}

.order-inner-details .remove-icon {
  color: #bbb;
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: 4rem;
  transition: 0.2s;
}

.order-inner-details .remove-icon:hover {
  color: #000;
}

.order-inner-details .cancel-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 60px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 10px;
  transition: 0.3s;
}

.order-inner-details .cancel-btn:hover {
  opacity: 0.8;
  color: #fff;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-us {
  padding: 0 0 6rem;
}

.about-us .page-title {
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.about-us .hero-img-container {
  width: 100%;
  height: 500px;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 80px;
}

.about-us .hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-us .section-heading {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 8%;
  color: #0E0E0E;
  margin-bottom: 2rem;
}

/* .about-us .section-subheading { display: inline-flex; flex-direction: column; justify-content: flex-end; height: 100%; } */

.about-us .text-small {
  font-size: 1.8rem;
  color: #6b6767;
  line-height: 1.8;
  letter-spacing: 3%;
  width: 75%;
}

.about-us .text-medium {
  font-size: clamp(2rem, 2.5vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: 5%;
  font-weight: 500;
  color: #2E2E2E;
}

.about-us .underline-title {
  display: inline-block;
  font-weight: 500;
  font-size: 2.8rem;
  text-decoration: underline;
  text-underline-offset: 8px;
  margin-bottom: 2.7rem;
  letter-spacing: 5%;
}



.about-us .grid-image {
  width: 100%;
  object-fit: cover;
  padding: 6rem;
}

.about-us .explore-link {
  display: inline-block;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 5rem;
  margin-bottom: 5rem;
  font-size: 2.8rem;
}

.about-us .stats-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.about-us .stat-card {
  padding: 5.3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
  border: 1px solid #000;
  border-radius: 1rem;
  background-color: #FAFAFA;
}

.about-us .stat-card .percent {
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: #000;
}

.about-us .stat-card .label {
  font-size: 2rem;
  font-weight: 500;
  color: #505050;
  margin-top: 1.5rem;
}

.about-us .stat-card .desc {
  font-size: 2rem;
  color: #959595;
  line-height: 1.5;
  letter-spacing: 5%;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */

.blog-page .page-title {
  font-size: clamp(3rem, 7vw, 9rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.blog-page .hero-spotlight {
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-page .hero-books-container {
  display: flex;
  gap: 20px;
  z-index: 2;
}

.blog-page .hero-book {
  width: 100%;
  height: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  object-fit: cover;
}

.blog-page .badge-exclusive {
  position: absolute;
  top: 25px;
  left: 25px;
  background: #fff;
  color: #d9534f;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.blog-page .article-card.hover-card {
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  cursor: pointer;
  align-items: center;
}

.blog-page .article-card.hover-card:hover {
  transform: translateY(-10px);
}

.blog-page .imgBox {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.blog-page .imgBox img {
  width: 100%;
  height: 100%;
  transition: 0.3s ease;
}

.blog-page .article-card.hover-card:hover .imgBox img {
  transform: scale(1.1);
}

.article-card .imgBox {
  width: 50%;
  /* adjust to your preferred height */
  overflow: hidden;
  border-radius: 10px;
  /* optional, match your card style */
}

.article-card .imgBox img {
  width: 100%;

  object-fit: cover;
  display: block;
}

.blog-page .contentBox {
  width: 50%;
}

.blog-page .contentBox h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #202124;
  letter-spacing: 2%;
  line-height: 1.5;
  font-weight: 700;
}

.blog-page .contentBox p {
  font-size: 1.8rem;
  color: #202124b6;
  margin-bottom: 1rem;
  width: 75%;
}

.blog-page .article-meta {
  font-size: 1.3rem;
  color: #595959;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.blog-page .article-meta span {
  color: #000000;
  font-weight: 600;
}

.blog-page .article-content h4 {
  line-height: 1.4;
  font-size: 1.4rem;
  letter-spacing: 6%;
}

.blog-page .article-card {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-page .article-card img {
  object-fit: cover;
  border-radius: .8rem;
}

.blog-page .article-content .artical-head {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #202124;
  letter-spacing: 2%;
}

.blog-page .article-content .artical-text {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: .9rem;
}

/* Blog tabs */
.blog-tabs {
  background: #fff;
  padding: 0;
}

.blog-tabs .nav-item .nav-link {
  font-size: 2.2rem;
  font-weight: 600;
  color: #555;
  padding: 2rem 0;
  cursor: pointer;
  border: transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  background: #fff;
  margin-bottom: 4rem;
  border-radius: 0;
  margin-right: 3rem;
}

.blog-tabs .nav-item .nav-link:hover,
.blog-tabs .nav-item .nav-link.active {
  color: #000;
}

/* Popular section */

.blog-popular{
  padding-bottom: 5rem;
}

.blog-page .popular-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.blog-page .popular-section-header h2 {
  font-size: clamp(2.4rem, 3vw, 4.2rem);
  font-weight: 500;
  margin: 0;
}

.blog-page .view-all-link {
  font-size: 1.5rem;
  font-weight: 400;
  text-decoration: none;
  color: #000;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  letter-spacing: 5%;
}

.blog-page .view-all-link i {
  border: .1rem solid #a9a9a9;
  border-radius: 50%;
  padding: .7rem;
}

.blog-page .popular-main-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 25px;
}

.blog-page .popular-item-card {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
  transition: 0.3s ease;
  cursor: pointer;
}

.blog-page .popular-item-card img {
  width: 50%;
  height: auto;
  padding: .5rem;
}

.blog-page .popular-item-card:hover {
  transform: translateY(-10px);
}

/****************  Newsletter *******************/
.blog-newsletter .newsletter-section {
  background-color: #f8eae4;
  border-radius: 2.4rem;
  padding: 6rem 8rem;
  position: relative;
}

.blog-newsletter {
  padding: 15rem 0 5rem;
}

.newsletter-content {
  padding-left: 10rem;
}

.blog-newsletter .newsletter-visuals {
  position: absolute;
  bottom: 2.7rem;
  padding-left: 5.5rem;
}

.blog-newsletter .news-book-img {
  width: 100%;
  max-width: 35rem;
}

.blog-newsletter .newsletter-content h3 {
  font-size: clamp(2.8rem, 4vw, 5rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #1C1C1C;
}

.blog-newsletter .newsletter-content p {
  font-size: 1.6rem;
  color: #383838;
  font-weight: 400;
}

.blog-newsletter .subscribe-input-group {
  margin-top: 2.5rem;
  max-width: 60rem;
}

input#newsletterEmail {
  width: 70%;
}

.blog-newsletter .newsletter-content {
  padding-left: 10rem;
}

.blog-newsletter .subscribe-input-group input {
  border: none;
  flex: 1;
  padding: 2rem 2.5rem;
  outline: none;
  font-size: 1.6rem;
  background: white;
  border-radius: 5rem;
}

.blog-newsletter .btn-subscribe {
  background-color: #471e1d;
  color: #fff;
  border: none;
  padding: 1.7rem 5rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================================
   BLOG DETAIL PAGE
   ============================================================ */

.blog-details .hero-banner {
  position: relative;
  background-color: #fdfae6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

/* .blog-details .hero-banner::before,
.blog-details .hero-banner::after { content: ""; position: absolute; top: 0; width: 25%; height: 100%; background-color: #004d61; z-index: 1; }

.blog-details .hero-banner::before { left: 0; border-radius: 0 50% 50% 0; }
.blog-details .hero-banner::after  { right: 0; border-radius: 50% 0 0 50%; } */

.blog-details .book-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
}

.blog-details .author-section {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  margin-bottom: 30px;
  border-top: 1px solid #ddd;
}

.blog-details .author-img {
  width: 45px;
  height: 45px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
}

.blog-details .author-name {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  display: block;
}

.blog-details .author-date {
  font-size: 13px;
  color: #777;
}

.blog-details .article-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 30px;
  color: #202124;
}

.blog-details .article-body p {
  margin-bottom: 20px;
  text-align: justify;
  color: #202124;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 5%;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

.faq-section {
  padding: 60px 0 80px;
}

.faq-sec {
  padding: 10px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-sec .faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 3px 2px 14px 0px rgb(0 0 0 / 11%);
}

.faq-sec .faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  cursor: pointer;
  gap: 16px;
}

.faq-sec .faq-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.faq-sec .faq-icon-left {
  font-size: 22px;
  color: #2d2d5e;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-sec .faq-item.open .faq-icon-left {
  transform: rotate(45deg);
}

.faq-sec .faq-question {
  font-size: 17px;
  font-weight: 600;
  color: #2d2d5e;
  line-height: 1.4;
  margin: 0;
}

.faq-sec .faq-btn {
  width: 36px;
  height: 36px;
  background-color: #331818;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.3s ease;
  cursor: pointer;
}

.faq-sec .faq-item.open .faq-btn {
  transform: rotate(45deg);
  background-color: #761e20;
}

.faq-sec .faq-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.faq-sec .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-sec .faq-item.open .faq-body {
  padding: 0 55px;
  margin-bottom: 15px;
}

.faq-sec .faq-answer {
  font-size: 15px;
  color: #555577;
  line-height: 1.7;
  margin: 0;
}

.faq-sec .faq-divider {
  display: none;
  height: 1px;
  background: #e5e5e5;
  margin: 2rem 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-sec .faq-item.open+.faq-divider {
  opacity: 0;
  transform: translateY(-10px);
}

.faq-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-banner .banner-inner {
  background: url(../faq/faq-banner.png) no-repeat;
  background-size: 100% 100%;
  padding: 10rem;
  border-radius: 2rem;
}

.faq-banner .banner-title {
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 5%;
  text-transform: uppercase;
}

.faq-banner .banner-image {
  width: 180px;
  height: auto;
}

.faq-banner .banner-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.faq-right h3 {
  font-size: 3.5rem;
  font-weight: 800;
  padding: 4rem 0 2rem;
}

.faq-right p {
  font-size: 1.8rem;
}

.faq-img {
  width: 100%;
  max-width: 250px;
}

/* ============================================================
   WISHLIST PAGE
   ============================================================ */

.wishlist-section {
  padding: 50px 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-us {
  padding: 80px 0 50px;
}

.contact-banner .banner-inner {
  background: url(../contact/contact-ban.png) no-repeat;
  background-size: 100% 100%;
  padding: 10rem;
  border-radius: 2rem;
}

.contact-banner .banner-title {
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 5%;
  text-transform: uppercase;
}

.contact-us .info-card {
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  padding: 4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 85%;
}

.contact-us .info-card .description {
  font-size: clamp(2rem, 2.5vw, 3.5rem);
  color: #171717;
  line-height: 1.3;
  margin-bottom: 4rem;
  font-weight: 500;
}

.contact-us .info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.contact-us .info-item:last-child {
  margin-bottom: 0;
}

.contact-us .info-icon {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a3a3a;
  margin-top: 1rem;
}

.contact-us .info-item .info-text {
  font-size: 2rem;
  color: #2F2F2F;
  line-height: 1.6;
  font-weight: 400;
  word-break: break-word;
}

.contact-us .info-item .info-text a {
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-us .info-item .info-text a:hover {
  color: #2c2c2c;
}

.contact-us .contact-form {
  padding-left: 1rem;
}

.contact-us .form-label-custom {
  font-size: 1.5rem;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 2rem;
}

.contact-us .form-label-custom .required {
  color: #e74c3c;
  margin-left: .5rem;
}

.contact-us .form-control-custom {
  background-color: #f8e9e3;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  font-size: 2rem;
  color: #2c2c2c;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 2rem;
}

.contact-us .form-control-custom::placeholder {
  color: #b5a99a;
}

.contact-us .form-control-custom:focus {
  background-color: #fff;
  border-color: #e0d8ce;
  box-shadow: 0 0 0 3px rgba(200, 180, 160, 0.15);
  outline: none;
}

.contact-us textarea.form-control-custom {
  resize: vertical;
  min-height: 120px;
}

.contact-us .btn-submit {
  background-color: #451817;
  color: #f7e8e1;
  border: none;
  border-radius: 50px;
  padding: 2.5rem 10rem;
  font-size: 2.3rem;
  letter-spacing: 5%;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.contact-us .btn-submit:hover {
  background-color: #f7e8e1;
  color: #451817;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-us .btn-submit:active {
  transform: translateY(0);
}

/* ============================================================
   SIGN IN PAGE
   ============================================================ */

.signin_page {
  min-height: 100vh;
  padding: 50px 0;
  overflow: hidden;
}

.signin-page .card-wrapper {
  padding: 0 40px;
}

.signin-page .image-panel {
  border-radius: 14px;
  margin: 10px;
}

.signin-page .image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signin-page .form-panel {
  padding: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signin-page .page-title {
  text-align: center;
  font-size: 5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5%;
  letter-spacing: -0.4px;
}

.signin-page .field-group {
  margin-bottom: 16px;
}

.signin-page .field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.8rem;
  font-weight: 400;
  color: #3c3c3c;
  margin-bottom: 1em;
}

.signin-page .input-wrapper {
  position: relative;
}

.signin-page .form-input {
  width: 100%;
  padding: 2% 2%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 1.5rem;
  color: #1a1a1a;
  background: #f8e9e3;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  font-family: var(--font-family);
  box-sizing: border-box;
}

.signin-page .form-input::placeholder {
  color: #481d1f;
  font-size: 1.3rem;
}

.signin-page .form-input:focus {
  border-color: #481d1f;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.signin-page .eye-inside {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #481d1f;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.signin-page .eye-inside:hover {
  color: #451a1b;
}

.signin-page .forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 15px;
  cursor: pointer;
}

.signin-page .forgot-link:hover {
  color: #333;
}

.signin-page .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.97rem;
  color: #444;
  cursor: pointer;
}

.signin-page .checkbox-row label {
  font-size: 12px;
  color: #807d7e;
}

.signin-page .checkbox-row label a {
  color: #807d7e;
  text-decoration: underline;
}

.signin-page .form-check-input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.signin-page .form-check-input:checked {
  background-color: #3c4242;
  border-color: #3c4242;
}

.signin-page .btn-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50%;
  padding: 15px;
  background: #331818;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 22px;
  margin-bottom: 16px;
  transition: opacity 0.2s, background 0.18s, transform 0.15s;
}

.signin-page .btn-signin:hover {
      background: #f9eee7;
    color: #582726;
  opacity: 0.92;
  transform: translateY(-1px);
}

.signin-page .btn-signin:active {
  transform: translateY(0);
}

.signin-page .btn-signin:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.signin-page .btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid #dadce0;
  border-radius: 6px;
  background: #fff;
  color: #3c3c3c;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  text-decoration: none;
}

.signin-page .btn-google:hover {
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.signin-page .btn-google .google-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.signin-page .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.signin-page .divider::before,
.signin-page .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.signin-page .divider span {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}

.signin-page .alert {
  border-radius: 12px;
  padding: 13px 18px;
  margin-bottom: 18px;
  font-size: 0.97rem;
}

.signin-page .login-text {
  font-size: 1.4rem;
  color: #3c4242;
  font-weight: 400;
  margin-top: 1rem;
}

.signin-page .login-text a {
  color: #3c4242;
  text-decoration: underline;
}

.signin-page .signup-text {
  font-size: 13px;
  color: #555;
}

.signin-page .signup-text a {
  color: #913f41;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.signin-page .signup-text a:hover {
  color: #a70004;
}

.signin-page .label-actions {
  display: none;
}

/* Swiper fix */
.swiper-wrapper {
  height: unset !important;
}

/* Loading spinner */
.vw-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vw-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes vw-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   EMPTY STATE / 404
   ============================================================ */

.empty-page {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8rem;
}

.empty-page--center {
  flex-direction: column;
  text-align: center;
}

.empty-page--row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
  text-align: left;
}

.illus-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.illus-shadow {
  width: 200px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.13) 0%, transparent 70%);
  border-radius: 50%;
  margin: 0 auto;
  margin-top: -4px;
}

.text-oops {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -1px;
  line-height: 1;
}

.text-page-not-found {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.text-404 {
  font-size: 130px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px #d8d8d8;
  line-height: 1;
  letter-spacing: -4px;
  margin-top: -14px;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 28px;
  margin-bottom: 8px;
}

.empty-subtitle {
  font-size: 12.5px;
  color: #999;
  line-height: 1.75;
  max-width: 290px;
  margin: 0 auto 24px;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */

/* .terms-wrapper  { margin: 0 auto; padding: 30px 40px 60px; } */
.terms-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.terms-content h3 {
  margin: 1em 0;
  font-size: 3rem;
  text-align: start !important;
}

.terms-content p {
  font-size: 1.8rem;
  color: #444;
  margin-bottom: 14px;
  text-align: justify;
  line-height: 1.75;
}

.terms-content .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 24px;
  margin-bottom: 14px;
}

.terms-content .bold-text {
  font-weight: 700;
  color: #1a1a1a;
}

.terms-content .underline-text {
  text-decoration: underline;
  font-weight: 600;
}

.terms-content a {
  color: #444;
  text-decoration: none;
}

.terms-content a:hover {
  text-decoration: underline;
}

.blank-space {
  display: inline-block;
  width: 80px;
}

.blank-sm {
  width: 50px;
}

.blank-lg {
  width: 110px;
}


/* ============================================================
   RESPONSIVE — CONSOLIDATED & FIXED
   ============================================================ */

/* ── 1800px – 1400px ── */
@media (max-width: 1800px) and (min-width: 1400px) {
  .container-fluid {
    padding-left: 7rem;
    padding-right: 7rem;
  }

  .container {
    max-width: 1345px;
  }

  .navbar .nav-link {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-item {
    padding-right: 20px;
  }

  .trending-banner {
    height: 53.3rem;
  }

  .books-page .book-swipe-card {
    width: 180px;
  }

  .books-page .sidebar-card {
    min-width: 270px;
  }

  .books-page .item-list {
    padding: 15px 5px;
  }

  .books-page .item-list li {
    font-size: 15px;
  }

  .books-page .section-title {
    font-size: 1.8rem;
  }

  .hover-icons .icon {
    font-size: 15px;
    padding: 10px;
  }

  .about-us .ab-space {
    height: 85%;
  }

  .about-us .underline-title {
    margin-bottom: 3.5rem;
  }

  .about-us .grid-image {
    padding: 2rem;
  }

  .about-us .stat-card {
    padding: 4rem;
  }

  .about-us .stat-card .percent {
    font-size: 5rem;
  }

  .about-us .stat-card .label {
    font-size: 1.5rem;
  }

  .about-us .stat-card .desc {
    font-size: 1.6rem;
  }
}

/* ── 1200px – 992px ── */
@media (max-width: 1200px) and (min-width: 992px) {
  .sidebar-logo {
    width: 50%
  }

  .book-swipe-card {
    width: 100% !important;
  }

  .about-us .hero-img-container {
    height: 420px;
  }

  .about-us .text-small {
    width: 85%;
  }

  .about-us .stat-card {
    padding: 2.5rem;
  }

  .about-us .stat-card .desc {
    font-size: 1.5rem;
  }

  .about-us .stat-card .label {
    font-size: 1.8rem;
  }

  .mb-100 {
    margin-bottom: 5rem;
  }

  .wave-container canvas#waveCanvas {
    height: 85px;
  }

  .trendingSwiper {
    padding: 7rem 0;
  }

  .custom-col-5 {
    width: 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .blog-page .newsletter-visuals {
    position: relative;
    bottom: 0;
    padding-left: 0;
  }

  .blog-newsletter {
    padding: 5rem 0;
  }

  .blog-page .news-book-img {
    width: 100%;
    max-width: 100%;
  }

  .trending-banner {
    height: 40rem;
  }

  .container {
    padding: 0 6rem;
  }
}

@media (min-width: 1536px) and (max-width: 1536px) {
  .custom-col-5 {
    width: 17%;
    flex: 0 0 21%;
    max-width: 26%;
  }

  .col-md-4 {
    flex: 0 0 auto !important;
    width: 25% !important;
  }
}

/* ── ≤1024px  (tablet landscape / small laptop) ── */
@media (max-width: 1024px) {
  .mobile-header {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  nav.navbar {
    display: none !important;
  }

  .navbar-home,
  .navbar-home.scrolled {
    position: relative;
    background: rgba(0, 0, 0, 0);
    padding: 0;
  }

  .navbar-default,
  .navbar-home {
    padding: 0;
  }

  .contact-us {
    padding: 30px 0 50px;
  }

  .col-12.col-md-6.col-lg-4.ftsz {
    width: 100%;
  }

  section.hero {
    margin-top: 11px;

  }
}

/* ── ≤991px (tablet portrait) ── */
@media (max-width: 991.98px) {
  .hero {
    height: auto;
  }

  .container {
    padding: 0 2.5rem;
  }

  .container-fluid {
    padding: 0 2rem;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex !important;
  }

  nav.navbar {
    display: none !important;
  }

  .navbar-home,
  .navbar-home.scrolled {
    position: relative;
    background: rgba(0, 0, 0, 0);
    padding: 0;
  }

  .navbar-default,
  .navbar-home {
    padding: 0;
  }

  /* Kids & saving */
  .kids-section,
  .saving-zone-section {
    padding-bottom: 2rem;
  }

  .book-kids-card {
    margin-bottom: 4rem;
  }

  /* Trending */
  .trending-section {
    padding: 0;
  }

  .trending-banner {
    height: 27rem;
  }

  .trendingSwiper {
    padding: 3rem 2rem;
  }

  .trend-swipe-card {
    width: 100%;
    flex-direction: column;
    text-align: center;

  }

  input#newsletterEmail,
  .article-card .imgBox,
  .blog-page .contentBox {
    width: 100%;
    margin-bottom: 1rem;
  }

  .blog-newsletter .newsletter-content {
    padding: 0;
  }

  .trend-swipe-card .img-box {
    max-width: 16rem;
  }

  /* Wave */
  .wave-container canvas {
    display: block;
    width: 100%;
    height: 91px;
  }

  /* Footer */
  .footer-body {
    padding: 40px 0 0;
  }

  .brand-logo {
    max-width: 40%;
    margin-bottom: 2rem;
  }

  .footer-brand-text {
    padding-right: 0;
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .footer-col-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.9rem;
  }

  .footer-links li {
    margin-bottom: 1.8rem;
  }

  .footer-links li a {
    font-size: 1.5rem;
  }

  .contact-item {
    width: 100%;
    gap: 1.2rem;
  }

  .contact-item span {
    font-size: 1.5rem;
  }

  /* Books page */
  .books-page .sidebar-card {
    min-width: 100%;
  }

  .books-page .price-tag {
    font-size: 13px;
    padding: 5px 9px;
  }

  .books-page .author-list li {
    padding: 8px 14px;
    font-size: 15px;
  }

  /* Checkout */
  .cart-check-address__shell {
    padding: 1.2rem 2rem 3.4rem;
  }

  .cart-check-address__layout {
    grid-template-columns: minmax(0, 1fr) 40rem;
    gap: 2rem;
  }

  .cart-check-address__title {
    margin: 0 0 3.45rem;
  }

  .cart-check-address__summary {
    max-width: 38rem;
  }

  /* Account */
  .account-page__order-head {
    padding: 2rem;
  }

  .account-page__product {
    padding-left: 1.2rem;
  }

  .account-page__sidebar-nav {
    max-width: 100%;
  }

  /* Books grid */
  .book_items {
    max-width: 900px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "a1 a3 a4 a6"
      "a2 a3 a5 a6"
      "a7 a8 a8 a8";
  }

  .item {
    width: 130px;
    height: 190px;
  }

  .item-4 {
    width: 160px;
    height: 220px;
  }

  .item-1,
  .item-3,
  .item-6,
  .item-7 {
    transform: none;
  }


  /* --- Animation Initial State --- */
  .book_items .item {
    opacity: 0;
  }

  /* --- Keyframes --- */
  @keyframes popInCenter {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }

    60% {
      opacity: 1;
      transform: scale(1.25);
    }

    /* Matches the 1.15 base scale + bounce */
    100% {
      opacity: 1;
      transform: scale(1.15);
    }
  }

  @keyframes assembleLeft {
    0% {
      opacity: 0;
      transform: translateX(-120px) rotate(-10deg);
    }

    100% {
      opacity: 1;
      transform: translateX(0) rotate(0deg);
    }
  }

  @keyframes assembleRight {
    0% {
      opacity: 0;
      transform: translateX(120px) rotate(10deg);
    }

    100% {
      opacity: 1;
      transform: translateX(0) rotate(0deg);
    }
  }

  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* --- Triggered Animations (via JS) --- */
  .spring-ease {
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* Center pops first */
  .book_items.animate-assemble .item-4 {
    animation: popInCenter 0.8s spring-ease forwards;
    animation-delay: 0.1s;
  }

  /* Left side snaps in */
  .book_items.animate-assemble .item-3 {
    animation: assembleLeft 0.8s spring-ease forwards;
    animation-delay: 0.3s;
  }

  .book_items.animate-assemble .item-2 {
    animation: assembleLeft 0.8s spring-ease forwards;
    animation-delay: 0.45s;
  }

  .book_items.animate-assemble .item-1 {
    animation: assembleLeft 0.8s spring-ease forwards;
    animation-delay: 0.6s;
  }

  /* Right side snaps in */
  .book_items.animate-assemble .item-6 {
    animation: assembleRight 0.8s spring-ease forwards;
    animation-delay: 0.3s;
  }

  .book_items.animate-assemble .item-7 {
    animation: assembleRight 0.8s spring-ease forwards;
    animation-delay: 0.45s;
  }

  .book_items.animate-assemble .item-8 {
    animation: assembleRight 0.8s spring-ease forwards;
    animation-delay: 0.6s;
  }

  /* CTA fades up last */
  .book_items.animate-assemble .item-5 {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
  }

  .book-swipe-card {
    width: 100% !important;
  }

  .book_gap {
    gap: 6rem;
  }

  /* About */
  .about-us .hero-img-container {
    height: 360px;
    margin-bottom: 50px;
  }

  .about-us .text-medium {
    margin-top: 0 !important;
    padding-right: 3rem;
    letter-spacing: 0;
  }

  .about-us .text-medium.w-50 {
    width: 100% !important;
  }

  .about-us .text-small {
    width: 100%;
    letter-spacing: 0;
    padding-right: 5rem;
  }

  .about-us .ab-sb {
    justify-content: flex-start;
  }

  .about-us .underline-title {
    margin-bottom: 2.5rem;
  }

  .about-us .grid-image {
    padding: 3rem;
  }

  .about-us .stat-card {
    padding: 3.5rem;
    gap: 2rem;
  }

  .about-us .stat-card .percent {
    font-size: 5rem;
  }

  .about-us .stat-card .label {
    font-size: 1.9rem;
  }

  .about-us .stat-card .desc {
    font-size: 1.7rem;
  }

  .about-us .stat-card:first-child {
    margin-top: 6rem;
  }

  .mb-100 {
    margin-bottom: 5rem;
  }

  .book-banner-section {
    padding: 0 0 50px;
  }

  /* Blog */
  .blog-page .newsletter-visuals {
    position: relative;
    bottom: 0;
    padding-left: 0;
  }

  .blog-newsletter {
    padding: 5rem 0;
  }

  .blog-page .news-book-img {
    width: 100%;
    max-width: 100%;
  }
}

/* ── Cart table: ≤920px ── */
@media screen and (max-width: 920px) {

  .carts-page__head,
  .carts-page__product {
    grid-template-columns: minmax(26rem, 1.9fr) 8rem 9.5rem 8rem 9rem 5rem;
  }

  .carts-page__head {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .carts-page__head-cell--details,
  .carts-page__cell--details {
    padding-left: 1.8rem;
  }

  .carts-page__product-title {
    font-size: 1.5rem;
  }

  .carts-page__summary-inner {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .carts-page__footer {
    padding-right: 0;
  }
}

/* ── Account grid: ≤900px ── */
@media screen and (max-width: 900px) {
  .account-page__shell {
    padding-right: 2.4rem;
    padding-left: 2.4rem;
  }

  .account-page__card {
    padding-right: 2.6rem;
    padding-left: 2.6rem;
  }
}

/* ── ≤767px (mobile landscape) ── */
@media (max-width: 767.98px) {

  /* Book items */
  .hover-icons .icon {
    padding: 12px;
    font-size: 18px;
  }

  /* Books filter */
  .books-page .price-values {
    justify-content: space-between;
    gap: 10px;
  }

  .books-page .price-tags {
    gap: 8px;
    flex-wrap: wrap;
  }

  .books-page .price-tag {
    font-size: 12px;
    padding: 5px 8px;
  }

  .books-page .author-list li {
    padding: 8px 12px;
    font-size: 14px;
  }

  .books-page .left-icon {
    gap: 8px;
  }

  /* Product page */
  .overlay-title {
    font-size: 40px;
  }

  /* FAQ */
  .faq-banner .banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .faq-banner .banner-image {
    width: 140px;
  }

  /* Order page */
  .cancel-section .return-btn {
    width: 100%;
    padding: 15px 0;
  }

  .payment-summary-section .action-btns {
    flex-direction: column;
  }

  .payment-summary-section .btn-return,
  .payment-summary-section .btn-exchange {
    width: 100%;
  }

  .order-inner-details .summary-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .order-inner-details .order-total {
    text-align: left;
  }

  .order-inner-details .product-item {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .order-inner-details .product-price,
  .order-inner-details .product-qty {
    width: auto;
    margin-top: 10px;
    text-align: left;
    margin-right: 20px;
  }

  .order-inner-details .remove-icon {
    position: absolute;
    top: 20px;
    right: 0;
    margin: 0;
  }

  /* Checkout */
  .cart-check-address__layout {
    grid-template-columns: 1fr;
  }

  .cart-check-address__shell {
    padding: 1.2rem 1.4rem 3.4rem;
  }

  .cart-check-address__title {
    margin-bottom: 1.1rem;
    font-size: 2.2rem;
  }

  .cart-check-address__address-card {
    padding: 1.4em 1.3em 1.35rem;
  }

  .cart-check-address__address-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cart-check-address__address-lines {
    padding-left: 0;
  }

  .cart-check-address__proceed-button {
    width: 100%;
    max-width: 15rem;
  }

  .cart-check-address__summary {
    max-width: none;
    width: 100%;
  }

  .cart-check-address__summary-item {
    grid-template-columns: 3.4em minmax(0, 1fr);
  }

  .cart-check-address__summary-item-price {
    grid-column: 2;
    justify-self: end;
    margin-top: -0.2rem;
  }

  .cart-check-address__fields .cart-check-address__field-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cart-check-address__fields {
    gap: 1.4rem;
  }

  /* About */
  .about-us .section-heading {
    letter-spacing: 0;
  }

  /* Blog & FAQ padding */
  .blog-hero,
  .faq-banner,
  .product-details_page {
    padding: 0;
  }

  .contact-us {
    padding: 30px 0 50px;
  }

  /* Empty state */
  .empty-page--row {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .text-404 {
    font-size: 88px;
  }

  .text-oops {
    font-size: 36px;
  }

  .empty-title {
    font-size: 16px;
  }

  .btn-primary-dark {
    padding: 12px 30px;
    font-size: 13.5px;
  }

  /* Blog article layout */
  .blog-page .article-card {
    flex-direction: column;
    gap: 2rem;
  }

  .blog-page .contentBox p {
    width: 100%;
  }

  .blog-page .popular-item-card {
    flex-direction: column;
    text-align: center;
  }

  .blog-page .popular-item-card img {
    width: 100%;
  }

  .blog-page .newsletter-section {
    padding: 3rem 2rem;
    gap: 4rem;
  }

  /* Product page */
  .product-gallery__wrap {
    max-width: 100%;
  }

  .bottom-section h5 {
    font-size: 2.2rem;
  }

  .description {
    width: 100%;
    font-size: 1.3rem;
  }

  .product-details .content .mb-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  /* Contact */
  .contact-us .info-card {
    padding: 2rem;
  }

  .contact-us .info-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
  }

  .contact-us .info-item {
    align-items: flex-start;
  }

  .contact-us .btn-submit {
    width: 100%;
    padding: 2rem 0;
    font-size: 2rem;
  }

  /* Sign in responsive */
  .signin-page .card-wrapper {
    flex-direction: column;
    padding: 0;
  }

  .signin-page .image-panel {
    min-height: 220px;
    max-height: 280px;
    overflow: hidden;
    border-radius: 0 0 32px 0;
    margin: 0;
  }

  .signin-page .form-panel {
    padding: 28px 20px 36px;
  }

  /* My info */
  .my-info-section .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .my-info-section .change-link {
    align-self: flex-end;
  }

  .terms-wrapper {
    padding: 20px 20px 40px;
  }

  .terms-content p {
    font-size: 1.2rem;
    text-align: left;
  }
}

/* ── Cart stacked: ≤760px ── */
@media screen and (max-width: 760px) {
  .carts-page {
    padding: 1.2rem 1.2rem 2.8rem;
  }

  .carts-page__head {
    display: none;
  }

  .carts-page__body {
    display: grid;
    gap: 1.4rem;
    margin-top: 0;
  }

  .carts-page__product {
    display: block;
    padding: 1.8rem 1.4rem;
    border: 0.1rem solid #e1e1e1;
    border-radius: 1.6rem;
    margin: 0;
  }

  .carts-page__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    margin-top: 1.2rem;
  }

  .carts-page__cell--details {
    display: block;
    padding-left: 0;
    margin-top: 0;
  }

  .carts-page__cell:not(.carts-page__cell--details)::before {
    content: attr(data-label);
    color: #8b8b8b;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .carts-page__cell--action {
    justify-content: flex-end;
  }

  .carts-page__cell--action::before {
    display: none;
  }

  .carts-page__product-info {
    align-items: center;
  }

  .carts-page__footer {
    justify-content: stretch;
  }

  .carts-page__summary {
    width: 100%;
  }

  .carts-page__summary-actions {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .carts-page__proceed {
    width: 100%;
    max-width: 17rem;
  }
}

/* ── Account card grid: ≤767px ── */
@media screen and (max-width: 767px) {
  .account-page__grid {
    grid-template-columns: 1fr;
  }

  .account-page__card-address {
    max-width: none;
  }
}

/* ── ≤640px ── */
@media (max-width: 640px) {
  .book_items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: flex-start;
    padding: 0 12px;
  }

  .item,
  .item-4 {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .cta {
    width: 100%;
    order: 999;
    margin-top: 8px;
  }

  .books-section {
    padding-bottom: 40px;
  }

  .product-gallery {
    padding: 1.2rem;
  }

  .product-gallery__thumbs {
    gap: .8rem;
  }

  .product-gallery__stage,
  .product-gallery__thumb-button {
    border-radius: 1rem;
  }

  .cart-check-address__payment,
  .cart-check-address__summary {
    max-width: none;
    width: 100%;
  }

  .cart-check-address__button {
    min-width: 12rem;
  }

  /* Contact */
  .contact-us .info-card {
    width: 100%;
  }

  .contact-us .contact-form {
    padding-left: 0;
    margin-top: 2rem;
  }
}

/* ── ≤576px ── */
@media (max-width: 576px) {
  .trending-banner {
    height: 11rem;
  }

  .trendingSwiper {
    padding: 2rem 1.5rem;
  }

  .slider-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }

  .slider-outer::after {
    width: 3rem;
  }

  .hover-icons .icon {
    padding: 10px;
    font-size: 16px;
  }

  .books-page .price-values {
    flex-direction: column;
    gap: 12px;
  }

  .books-page .price-tags {
    justify-content: center;
    gap: 6px;
  }

  .books-page .price-tag {
    font-size: 11px;
    padding: 4px 7px;
  }

  .books-page .author-list li {
    padding: 7px 10px;
    font-size: 13px;
  }

  /* Footer */
  .footer-root {
    padding: 0 10px 10px;
  }

  .footer-body {
    padding-top: 30px;
  }

  .brand-logo {
    max-width: 50%;
  }

  .footer-brand-text {
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .footer-col-title {
    font-size: 1.7rem;
  }

  .footer-links li a {
    font-size: 1.4rem;
  }

  .contact-item svg {
    width: 18px;
    height: 18px;
  }

  .contact-item span {
    font-size: 1.4rem;
  }

  .footer-bottom p {
    font-size: 1.3rem;
  }

  /* Search */
  .search-overlay {
    padding-top: 70px;
  }

  .search-input {
    font-size: 0.9rem;
    padding: 0.85rem 0;
  }

  /* About */
  .about-us {
    padding: 15px 0;
  }

  .about-us .hero-img-container {
    height: 280px;
    border-radius: 18px;
  }

  .about-us .underline-title {
    margin-bottom: 3rem;
  }

  .about-us .grid-image {
    padding: 2rem;
  }

  .about-us .stat-card {
    padding: 2.5rem;
    flex-direction: column;
    text-align: center;
  }

  .about-us .stat-card .percent {
    font-size: 4.2rem;
  }

  .about-us .stat-card .label {
    margin-top: 1rem;
  }

  /* Blog */
  .blog-tabs .nav-item .nav-link {
    margin-right: 2rem;
  }

  /* FAQ */
  .faq-right {
    margin-top: 5rem;
  }

  /* Order inner */
  .order-inner-details .detail-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem 2rem;
  }

  /* Sign in */
  .signin-page .page-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }

  .signin-page .form-input {
    height: 50px;
  }

  .signin-page .btn-signin {
    height: 52px;
    font-size: 1rem;
  }

  /* Blog detail */
  .blog-tabs .nav-item .nav-link {
    font-size: 1.8rem;
    padding: 1.5rem 0;
  }

  .blog-page .newsletter-content h3 {
    font-size: 2.8rem;
  }

  .blog-page .subscribe-input-group {
    flex-direction: column;
    max-width: 100%;
  }

  .blog-page .subscribe-input-group input {
    padding: 1.5rem 2rem;
  }

  .blog-page .btn-subscribe {
    width: 100%;
    text-align: center;
  }
}

/* ── Account stacked: ≤520px ── */
@media (max-width: 520px) {
  .account-page__shell {
    padding: 2rem 1.6rem 3rem;
  }

  .account-page__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .account-page__title {
    font-size: 2.2rem;
  }

  .account-page__card {
    min-height: auto;
    padding: 2rem 1.8rem;
    border-radius: 1.2rem;
  }

  .account-page__card-title {
    font-size: 1.9rem;
  }

  .account-page__card-phone {
    margin-top: 1.6rem;
  }

  .account-page__card-address {
    margin-top: 1.6rem;
    font-size: 1.5rem;
  }

  .account-page__badges {
    gap: 0.9rem;
    margin-top: 1.8rem;
  }

  .account-page__badge {
    min-height: 3.2rem;
    padding: 0 1.6rem;
    font-size: 1.3rem;
  }

  .account-page__actions {
    gap: 0.8rem;
    padding-top: 1.6rem;
  }
}

/* ── Cart narrow + Account sidebar: ≤480px ── */
@media (max-width: 480px) {
  .carts-page__product-info {
    gap: 1.2rem;
  }

  .carts-page__cover {
    width: 5.4rem;
    height: 7.8rem;
    flex-basis: 5.4rem;
  }

  .carts-page__product-title {
    font-size: 1.4rem;
  }

  .carts-page__summary-row {
    font-size: 1.3rem;
  }

  .account-page__breadcrumb {
    margin-bottom: 2rem;
  }

  .account-page__sidebar {
    display: none;
  }

  .account-page__mobile-tabs {
    display: flex;
  }

  .account-page__heading {
    margin-bottom: 1.8rem;
  }

  .account-page__order-head {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.8rem 1.6rem;
  }

  .account-page__order-head-right {
    padding-top: 0;
    text-align: left;
  }

  .account-page__order-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .account-page__product {
    width: 100%;
    padding-left: 0;
  }

  .account-page__details-button {
    width: 100%;
  }

  /* FAQ */
  .faq-sec .faq-header {
    padding: 20px 16px;
  }

  .faq-sec .faq-question {
    font-size: 15px;
  }

  .faq-sec .faq-left {
    gap: 14px;
  }

  .faq-sec .faq-item.open .faq-body {
    max-height: 2000px;
    padding: 2% 5%;
  }

  /* 404 */
  .text-404 {
    font-size: 72px;
    -webkit-text-stroke-width: 1.5px;
  }
}

/* ── ≤420px ── */
@media (max-width: 420px) {
  .cart-check-address {
    font-size: 9px;
  }

  .contact-us .info-card {
    width: 100%;
    padding: 1.5rem;
  }

  .contact-us .info-card .description {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .blog-page .hero-spotlight {
    margin-bottom: 2rem;
  }
}

/* ── ≤400px ── */
@media (max-width: 400px) {
  .hover-icons .icon {
    padding: 8px;
    font-size: 14px;
  }

  .books-page .price-tag {
    font-size: 10px;
    padding: 4px 6px;
  }

  .books-page .author-list li {
    padding: 6px 8px;
    font-size: 12px;
  }

  .books-page .left-icon {
    gap: 6px;
  }

  .brand-logo {
    max-width: 70%;
  }

  .footer-brand-text {
    font-size: 1.3rem;
  }

  .footer-col-title {
    font-size: 1.5rem;
  }

  .footer-links li a {
    font-size: 1.3rem;
  }

  .contact-item span {
    font-size: 1.3rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* ── ≤375px ── */
@media (max-width: 375px) {
  .blog-page .newsletter-content h3 {
    font-size: 2.4rem;
  }

  .price {
    font-size: 2.2rem;
  }

  .description {
    font-size: 1.2rem;
  }

  .success-card .card-box {
    width: 92vw;
    padding: 50px 20px 24px;
  }

  .success-card .done-btn {
    padding: 10px 50px;
  }
}

/* ── ≤320px ── */
@media (max-width: 320px) {
  .blog-page .contentBox h3 {
    font-size: 1.4rem;
  }

  .blog-page .newsletter-content h3 {
    font-size: 2rem;
  }

  .qty-box {
    padding: 1rem .8rem;
  }

  .qty-number {
    min-width: 3.8rem;
  }

  .contact-us .info-card .description {
    font-size: 1.4rem;
  }

  .contact-us .form-control-custom {
    font-size: 1.2rem;
  }

  .footer-col-title {
    font-size: 1.4rem;
  }

  .footer-links li a {
    font-size: 1.2rem;
  }
}

/* ============================================================
   AOS HOVER ENHANCEMENTS
   ============================================================ */

/* Image hover scale */
.img-box img,
.book-card img,
.article-card .imgBox img,
.book-swipe-card .img-box img,
.book-kids-card .img-box img,
.trend-swipe-card .img-box img,
.popular-item-card img,
.hero-books-container img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-box:hover img,
.book-card:hover img,
.article-card:hover .imgBox img,
.book-swipe-card:hover .img-box img,
.book-kids-card:hover .img-box img,
.trend-swipe-card:hover .img-box img,
.popular-item-card:hover img,
.hero-books-container:hover img {
  transform: scale(1.05);
}

/* Card hover shadow */
/* .book-swipe-card,
.book-kids-card,
.trend-swipe-card,
.article-card,
.popular-item-card,
.product-gallery__main-image {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
} */

/* .book-swipe-card:hover,
.book-kids-card:hover,
.trend-swipe-card:hover,
.article-card:hover,
.popular-item-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
} */

/* Button hover scale */
.black-rounded-button:hover,
.btn-signin:hover,
.carts-page__proceed:hover,
.btn-subscribe:hover,
.btn-primary-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Nav link hover */
.navbar-nav .nav-link:hover,
.sidebar-menu .nav-link:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Footer link hover & active */
.footer-links li a:hover {
  transform: translateX(5px);
  opacity: 0.8;
}

.footer-links li a.active {
  color: #ff8481;
  font-weight: 600;
}

/* Icon hover scale */
.hover-icons .icon:hover,
.nav-icon:hover,
.icon-btn:hover {
  transform: scale(1.15);
}

/* Highlight profile icon when logged in */
.nav-icon.is-authenticated img,
.icon-btn.is-authenticated img {
  filter: drop-shadow(0 0 4px rgba(102, 128, 255, 0.6));
}

/* Active profile icon (on my-account page) */
.nav-icon.active img,
.icon-btn.active img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(33%) saturate(2290%) hue-rotate(204deg) brightness(99%) contrast(103%);
}

/* Section fade-in animation for reference */
/*
[data-aos] {
  transition-timing-function: ease-out;
}
*/


/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
  .hero {
    height: auto;
  }

  .about-us .stat-card .percent {
    font-size: 3rem;

  }

  .contact-us .info-card {
    width: 95%;
  }

  .clipd {
    width: 100% !important;
    display: block !important;
  }

  .blog-page .contentBox {
    width: 100% !important;
  }

  .blog-page .article-card {
    display: block;
  }

  .blog-page .btn-subscribe {
    width: 50%;
    margin-top: 25px;
  }

  input#newsletterEmail {
    width: 100%;
  }

  .carts-page__head {
    gap: 2px;
  }

  .cart-check-address__layout {
    grid-template-columns: 1fr;
  }

  div#wishlistItems>div {
    width: 33%;
  }

  .sidebar-logo {
    width: 25%;
  }

  div#productGrid>div {
    max-width: 100%;
    width: 50%;
    flex: auto;
  }
}