:root {
  --catalog-night: #080302;
  --catalog-brown: #180805;
  --catalog-brown-soft: #2c120b;
  --catalog-gold: #d8a44b;
  --catalog-gold-light: #f0d19a;
  --catalog-paper: #f4e7d7;
  --catalog-paper-light: #fffaf1;
  --catalog-line: rgba(218, 159, 72, .38);
  --catalog-muted: rgba(244, 226, 196, .7);
  --catalog-copy: rgba(238, 202, 148, .88);
  --catalog-copy-muted: rgba(224, 183, 122, .76);
}

html {
  background: #000;
  scroll-behavior: smooth;
}

body {
  padding-top: 82px;
  color: #ead1a2;
  background:
    radial-gradient(circle at 18% 18%, rgba(111, 39, 22, .22), transparent 32rem),
    radial-gradient(circle at 84% 58%, rgba(132, 68, 25, .16), transparent 38rem),
    linear-gradient(135deg, #170805, #050201 54%, #140604) !important;
  background-attachment: fixed !important;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .11;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 18% 48%, #db9e48 0 1px, transparent 1px 10px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 88%, transparent);
}

.container {
  width: min(100% - 44px, 1380px);
  max-width: 1380px;
  padding-right: 0;
  padding-left: 0;
}

.catalog-site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  padding: 0;
  border-bottom: 1px solid rgba(216, 155, 67, .38);
  background:
    linear-gradient(90deg, rgba(26, 8, 5, .96), rgba(8, 3, 2, .91) 58%, rgba(31, 12, 7, .95));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px) saturate(1.15);
}

.catalog-site-header .header-container {
  min-height: 82px;
}

.catalog-site-header .logo-container {
  gap: 17px;
}

.catalog-menu-toggle {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  padding: 13px 12px;
  place-content: center;
  gap: 5px;
  color: var(--catalog-gold-light);
  border: 1px solid rgba(219, 157, 65, .67);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(238, 183, 90, .14), transparent 44%),
    linear-gradient(145deg, #31150c, #120604 72%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .34),
    0 0 0 4px rgba(130, 72, 23, .11),
    0 1px rgba(255, 224, 166, .12) inset;
  cursor: pointer;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.catalog-menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f0c87d, #b97929);
  transition: transform .28s ease;
}

.catalog-menu-toggle:hover,
.catalog-menu-toggle:focus-visible {
  border-color: #e8b45c;
  outline: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4), 0 0 24px rgba(210, 143, 48, .14);
  transform: translateY(-2px);
}

.catalog-menu-toggle:hover span:first-child {
  transform: translateX(3px);
}

.catalog-menu-toggle:hover span:last-child {
  transform: translateX(-3px);
}

.catalog-brand {
  color: #e8c188;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(29px, 2.4vw, 39px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 16px rgba(210, 139, 48, .12);
}

.catalog-site-header .nav-buttons {
  gap: 10px;
}

.catalog-primary-nav {
  display: none;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
}

.catalog-primary-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(247, 225, 191, .76);
  font-family: Montserrat, sans-serif;
  font-size: clamp(11px, .92vw, 14px);
  font-weight: 600;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .24s ease;
}

.catalog-primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 1px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #dfaa58, transparent);
  opacity: 0;
  transition: right .24s ease, left .24s ease, opacity .24s ease;
}

.catalog-primary-nav a:hover,
.catalog-primary-nav a:focus-visible,
.catalog-primary-nav a.is-current {
  color: #f3cf96;
  outline: none;
}

.catalog-primary-nav a:hover::after,
.catalog-primary-nav a:focus-visible::after,
.catalog-primary-nav a.is-current::after {
  right: 0;
  left: 0;
  opacity: .78;
}

@media (min-width: 921px) {
  .catalog-site-header {
    position: absolute;
  }

  .catalog-site-header .header-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 50px);
  }

  .catalog-menu-toggle {
    display: none;
  }

  .catalog-primary-nav {
    display: flex;
  }
}

.catalog-header-icon,
.catalog-site-header .btn-cart-icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #efd09a;
  border: 1px solid rgba(220, 162, 77, .3);
  border-radius: 50%;
  text-decoration: none;
  background: rgba(38, 14, 8, .68);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.sidebar-utility-start {
  margin-top: 14px;
  border-top: 1px solid rgba(216, 155, 67, .2);
}

@media (max-width: 920px) {
  .catalog-account-link {
    display: none;
  }
}

.catalog-header-icon i,
.catalog-site-header .btn-cart-icon i {
  color: currentColor;
  font-size: 18px;
}

.catalog-header-icon:hover,
.catalog-header-icon:focus-visible,
.catalog-site-header .btn-cart-icon:hover,
.catalog-site-header .btn-cart-icon:focus-visible {
  color: #ffe5b5;
  border-color: rgba(226, 168, 77, .76);
  background: rgba(90, 39, 17, .7);
  outline: none;
  transform: translateY(-2px);
}

.catalog-site-header .cart-badge-icon {
  top: -4px;
  right: -4px;
  width: 19px;
  height: 19px;
  color: #1b0b05;
  border: 1px solid #f1cf8b;
  background: linear-gradient(180deg, #f5d99b, #cb8c34);
  font-size: 10px;
}

.catalog-home-link {
  min-width: 118px;
  padding: 11px 20px;
  color: #211007;
  border: 1px solid #dca648;
  border-radius: 999px;
  background:
    linear-gradient(112deg, rgba(255, 249, 218, .72), transparent 34%),
    linear-gradient(180deg, #f5d88f, #d89c36 58%, #bd7924);
  box-shadow: 0 9px 24px rgba(168, 93, 20, .27), 0 1px rgba(255, 248, 219, .8) inset;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-home-link:hover,
.catalog-home-link:focus-visible {
  color: #170803;
  outline: none;
  box-shadow: 0 13px 29px rgba(183, 106, 27, .38);
  transform: translateY(-2px);
}

.sidebar {
  width: min(390px, 90vw);
  max-width: none;
  border-right: 1px solid rgba(225, 166, 75, .54);
  background:
    radial-gradient(circle at 20% 8%, rgba(142, 65, 25, .3), transparent 30%),
    repeating-radial-gradient(circle at 8% 63%, rgba(218, 158, 72, .09) 0 1px, transparent 1px 12px),
    linear-gradient(155deg, #2d1009, #080302 63%, #1b0906);
  box-shadow: 30px 0 90px rgba(0, 0, 0, .64);
}

.sidebar-header {
  min-height: 116px;
  padding: 28px;
  border-bottom-color: rgba(214, 153, 66, .28);
  background: rgba(0, 0, 0, .12);
}

.sidebar-profile-btn {
  color: #f1cd8d;
  border-color: rgba(222, 160, 69, .72);
  background: rgba(214, 146, 54, .08);
}

.sidebar-close-btn {
  padding: 0;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.sidebar-logo {
  color: #edc886;
  font-weight: 500;
}

.sidebar-item {
  margin: 3px 14px;
  padding: 16px 18px;
  gap: 16px;
  color: rgba(249, 231, 202, .78);
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  text-decoration: none;
}

.sidebar-home-item {
  color: #f0cf94;
  border-color: rgba(220, 160, 72, .16);
  background: rgba(117, 51, 20, .1);
}

.sidebar-item::before {
  display: none;
}

.sidebar-item:hover,
.sidebar-item.active {
  color: #ffe8bd;
  border-color: rgba(220, 160, 72, .3);
  background: linear-gradient(90deg, rgba(186, 112, 34, .2), rgba(95, 38, 15, .08));
  transform: translateX(3px);
}

.sidebar-item i {
  color: #daa44c;
  font-size: 20px;
}

.sidebar-overlay {
  background: rgba(3, 1, 0, .76);
  backdrop-filter: blur(5px);
}

.page {
  min-height: calc(100vh - 82px);
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: 72px;
}

.catalog-header {
  max-width: 880px;
  margin: 0 auto 32px;
}

.catalog-title {
  margin-bottom: 12px;
  color: #f0cf94;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .95;
  text-shadow: 0 6px 34px rgba(194, 116, 32, .12);
}

.catalog-title::after {
  bottom: -14px;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dfa74f, transparent);
}

.catalog-subtitle {
  margin-top: 22px;
  color: rgba(244, 225, 194, .68);
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: normal;
}

.catalog-filters {
  max-width: 1040px;
  margin: 0 auto 38px;
  padding: 17px 20px;
  border: 1px solid rgba(215, 155, 69, .3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 0, rgba(141, 65, 27, .22), transparent 34%),
    linear-gradient(135deg, rgba(48, 18, 10, .9), rgba(13, 5, 3, .94));
  box-shadow: 0 22px 52px rgba(0, 0, 0, .3), 0 1px rgba(255, 224, 171, .07) inset;
}

.filter-label {
  color: rgba(244, 224, 193, .72);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.filter-input {
  color: #f5dfb7;
  border: 1px solid rgba(214, 153, 65, .35);
  border-radius: 13px;
  background: rgba(4, 2, 1, .46);
}

.filter-input::placeholder {
  color: rgba(242, 220, 184, .43);
}

.filter-input:focus {
  border-color: #d9a44b;
  box-shadow: 0 0 0 3px rgba(212, 151, 61, .12);
}

.filter-btn,
.filter-btn[style] {
  color: #1e0c05 !important;
  border: 1px solid rgba(244, 206, 137, .56);
  border-radius: 13px;
  background:
    linear-gradient(112deg, rgba(255, 246, 212, .58), transparent 35%),
    linear-gradient(180deg, #eecb84, #bd7928) !important;
  box-shadow: 0 9px 24px rgba(141, 72, 17, .25);
}

.filter-btn:first-child,
#clearPriceFilterBtn {
  color: #e9c993 !important;
  border-color: rgba(213, 151, 64, .4);
  background: rgba(67, 25, 12, .7) !important;
}

.books-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: 0;
  padding: 0;
}

.book-card,
.cart-item,
.favorite-item,
.order-history-item {
  overflow: hidden;
  color: #ead1a2;
  border: 1px solid rgba(208, 146, 59, .35);
  border-radius: clamp(24px, 2.2vw, 34px);
  background:
    radial-gradient(circle at 90% 112%, rgba(115, 42, 20, .32), transparent 43%),
    linear-gradient(145deg, rgba(43, 17, 10, .98), rgba(11, 4, 3, .99));
  box-shadow: 0 22px 52px rgba(0, 0, 0, .36), 0 1px rgba(255, 224, 171, .08) inset;
}

.book-card::before {
  background: linear-gradient(135deg, rgba(231, 176, 87, .08), transparent 52%);
}

.book-card:hover,
.cart-item:hover,
.favorite-item:hover,
.order-history-item:hover {
  border-color: rgba(228, 171, 80, .7);
  box-shadow: 0 30px 66px rgba(0, 0, 0, .52), 0 0 32px rgba(204, 132, 43, .1);
  transform: translateY(-7px);
}

.book-image-container,
.cart-image-container,
.favorite-image-container,
.order-history-image-container {
  background: #160806;
}

.book-image-container {
  aspect-ratio: 1.24 / 1;
}

.book-image-container::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 63%, rgba(12, 4, 2, .48));
}

.book-card:hover .book-image {
  filter: saturate(1.08) contrast(1.035);
  transform: scale(1.045);
}

.book-like-mobile {
  color: #f0cf98;
  border: 1px solid rgba(231, 184, 108, .5);
  background: rgba(22, 8, 4, .76);
  backdrop-filter: blur(10px);
}

.book-like-mobile i {
  color: currentColor;
}

.book-info {
  padding: 23px 23px 25px;
}

.book-title,
.cart-item-title,
.favorite-item-title {
  color: #f0d19b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.02;
}

.book-card:hover .book-title {
  color: #ffe2aa;
}

.book-price,
.cart-item-price,
.favorite-item-price {
  color: #dba548;
}

.book-description {
  color: rgba(244, 226, 196, .64);
  font-size: 13px;
}

.book-card:hover .book-description {
  color: rgba(255, 238, 209, .82);
}

.seo-intro,
.product-seo-links,
.summary-container,
.profile-container,
.payment-container,
.faq-container,
.social-container,
.order-history-container,
.book-details {
  color: rgba(245, 227, 197, .78);
  border: 1px solid rgba(211, 150, 64, .3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 0, rgba(118, 44, 20, .25), transparent 38%),
    linear-gradient(145deg, rgba(43, 17, 10, .94), rgba(10, 4, 2, .97));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 1px rgba(255, 222, 167, .06) inset;
}

.seo-intro {
  margin-top: 48px;
}

.seo-intro h2,
.product-seo-links h2,
.section-title,
.page-title,
.book-detail-title,
.faq-contact-title,
.social-page-title,
.profile-name {
  color: #efd09a;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.trust-point {
  color: rgba(247, 229, 199, .72);
  border-color: rgba(211, 151, 65, .24);
  background: rgba(92, 36, 16, .18);
}

.trust-point strong {
  color: #e5b86e;
}

.product-seo-links {
  border-right: 1px solid rgba(211, 150, 64, .3);
  border-left: 1px solid rgba(211, 150, 64, .3);
}

.product-seo-links a,
.catalog-phone-link,
.legal-link {
  color: #dcb16d;
}

.back-button-container {
  padding: 14px 18px;
  border: 1px solid rgba(210, 149, 62, .25);
  border-radius: 20px;
  background: rgba(34, 12, 7, .66);
}

#bookDetailPage {
  width: min(100% - 44px, 1540px);
  max-width: 1540px;
  padding-top: 14px;
}

#bookDetailPage .btn-back {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  padding: 10px 17px;
  align-items: center;
  gap: 10px;
  color: #e7bd79;
  border: 1px solid rgba(213, 151, 64, .34);
  border-radius: 999px;
  background: rgba(69, 25, 12, .45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

#bookDetailPage .btn-back:hover {
  color: #ffe5b2;
  border-color: rgba(224, 166, 76, .68);
  background: rgba(104, 44, 17, .58);
  transform: translateY(-2px);
}

.detail-mobile-actions {
  display: none;
}

#bookDetailPage .detail-like-btn {
  position: absolute;
  z-index: 5;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  color: #edca91;
  border: 1px solid rgba(226, 170, 82, .48);
  background: rgba(62, 23, 11, .72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

#bookDetailPage .detail-like-btn i {
  color: currentColor;
  font-size: 18px;
}

#bookDetailPage .gallery-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  gap: clamp(18px, 2vw, 30px);
  margin: 0;
  padding: clamp(16px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(218, 158, 69, .34);
  border-radius: clamp(26px, 3vw, 42px);
  background:
    radial-gradient(circle at 92% 9%, rgba(130, 50, 21, .24), transparent 28%),
    linear-gradient(138deg, rgba(39, 14, 8, .94), rgba(7, 3, 2, .98) 63%);
  box-shadow: 0 34px 82px rgba(0, 0, 0, .43), 0 1px rgba(255, 226, 175, .07) inset;
}

#bookDetailPage .gallery-main {
  position: relative;
  min-width: 0;
  padding: 0;
}

#bookDetailPage .main-image-container {
  position: relative;
  aspect-ratio: 1.35 / 1;
  max-height: none;
  border: 1px solid rgba(223, 166, 79, .42);
  border-radius: clamp(20px, 2.2vw, 31px);
  background: #140604;
  box-shadow: 0 25px 58px rgba(0, 0, 0, .42);
}

#bookDetailPage .detail-catalog-btn {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  margin: 0;
  color: #f6d498;
  border-color: rgba(229, 170, 76, .78);
  background:
    linear-gradient(120deg, rgba(238, 184, 92, .14), transparent 46%),
    rgba(35, 11, 6, .9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .38), 0 1px rgba(255, 229, 178, .1) inset;
  backdrop-filter: blur(8px);
}

#bookDetailPage .main-image-container:hover {
  box-shadow: 0 28px 66px rgba(0, 0, 0, .5);
  transform: none;
}

#bookDetailPage .gallery-thumbnails {
  margin-top: 13px;
  padding: 5px 2px 8px;
  justify-content: flex-start;
  gap: 9px;
}

#bookDetailPage .thumbnail {
  width: 72px;
  height: 58px;
  border: 1px solid rgba(223, 170, 89, .2);
  border-radius: 10px;
  opacity: .68;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

#bookDetailPage .thumbnail.active {
  border-color: #dca647;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(220, 166, 71, .24), 0 9px 20px rgba(0, 0, 0, .34);
  transform: translateY(-2px);
}

#bookDetailPage .thumbnail:hover {
  opacity: 1;
  transform: translateY(-2px);
}

#bookDetailPage .book-details {
  position: relative;
  min-width: 0;
  padding: clamp(58px, 5vw, 76px) clamp(28px, 4vw, 58px) clamp(28px, 4vw, 58px);
  justify-content: center;
  border: 1px solid rgba(213, 151, 64, .22);
  border-radius: clamp(22px, 2.5vw, 34px);
  background:
    linear-gradient(125deg, rgba(255, 222, 166, .035), transparent 38%),
    rgba(42, 14, 8, .38);
  box-shadow: 0 1px rgba(255, 224, 171, .05) inset;
}

#bookDetailPage .book-detail-title {
  margin: 0 0 24px;
  color: #f1d29c;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}

#bookDetailPage .book-detail-title::after {
  bottom: -13px;
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, #dfa74e, transparent);
}

#bookDetailPage .book-detail-price {
  margin: 8px 0 26px;
  color: #dfa949;
  font-size: clamp(39px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -.02em;
  text-shadow: 0 8px 28px rgba(187, 109, 25, .14);
}

#bookDetailPage .book-detail-price::after {
  display: none;
}

#bookDetailPage .book-detail-description {
  margin: 0 0 26px;
  padding: 0;
  color: rgba(247, 228, 198, .72);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: Montserrat, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  line-height: 1.75;
}

#bookDetailPage .book-detail-description:hover {
  background: transparent;
  box-shadow: none;
}

#bookDetailPage .btn-add-to-cart {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 17px;
  box-shadow: 0 15px 34px rgba(173, 92, 20, .28), 0 1px rgba(255, 246, 216, .55) inset;
}

.btn-back {
  color: #e3b66e;
  background: rgba(213, 151, 62, .1);
}

.gallery-slider,
.main-image-container {
  border-color: rgba(219, 161, 73, .46);
  border-radius: 30px;
  background: #120604;
  box-shadow: 0 28px 68px rgba(0, 0, 0, .5);
}

.book-detail-price,
.quantity-price,
.summary-total-value,
.summary-total {
  color: #dea94f;
}

.btn,
.btn-proceed,
.btn-browse,
.btn-confirm-payment,
.btn-save-profile,
.faq-btn-catalog,
.mobile-fixed-cart-btn {
  color: #1e0c05;
  border: 1px solid rgba(244, 207, 142, .62);
  border-radius: 999px;
  background:
    linear-gradient(112deg, rgba(255, 246, 212, .62), transparent 35%),
    linear-gradient(180deg, #f0cf8b, #bd7928);
  box-shadow: 0 12px 30px rgba(154, 80, 18, .3);
}

.form-input,
.quantity-input,
.modal-quantity-input {
  color: #f4dfba;
  border-color: rgba(213, 152, 64, .34);
  background: rgba(8, 3, 2, .62);
}

.form-label,
.filter-label,
.contact-label {
  color: rgba(243, 221, 185, .7);
}

.faq-item,
.social-row,
.payment-method,
.contact-option,
.time-option {
  color: rgba(245, 226, 195, .78);
  border-color: rgba(211, 149, 62, .26);
  background: rgba(76, 29, 13, .2);
}

/* Warm, readable copy in the FAQ, social and profile sections. */
.faq-answer,
.faq-contact-text,
.social-row-desc,
.social-footer-text,
.profile-empty-message,
.terms-label,
.profile-intro {
  color: var(--catalog-copy) !important;
}

.faq-subtitle,
.profile-container .form-label {
  color: var(--catalog-copy-muted) !important;
}

.faq-question,
.social-row-name,
.profile-container .section-title {
  color: #e0ad55 !important;
}

.faq-answer {
  text-shadow: 0 1px 12px rgba(255, 222, 169, .035);
}

.faq-contact,
.social-row {
  box-shadow: 0 1px rgba(255, 226, 177, .045) inset;
}

.modal-overlay,
.legal-modal {
  background: rgba(2, 1, 0, .8);
  backdrop-filter: blur(8px);
}

.modal-content,
.legal-modal-content {
  color: #ead1a2;
  border: 1px solid rgba(218, 159, 71, .42);
  border-radius: 28px;
  background: linear-gradient(145deg, #2c110a, #090302 76%);
}

.legal-modal-header {
  border-bottom-color: rgba(211, 151, 65, .25);
  background: rgba(63, 23, 11, .36);
}

.legal-modal-title,
.modal-title {
  color: #efcd93;
}

.empty-state {
  color: rgba(245, 226, 195, .74);
  border: 1px solid rgba(211, 149, 62, .3);
  border-top: 1px solid rgba(225, 170, 81, .68);
  background:
    radial-gradient(circle at 50% 0, rgba(133, 56, 22, .28), transparent 43%),
    linear-gradient(145deg, rgba(47, 18, 10, .98), rgba(9, 3, 2, .99));
  box-shadow: 0 26px 64px rgba(0, 0, 0, .4), 0 1px rgba(255, 226, 177, .07) inset;
}

.empty-title {
  color: #efcd93;
}

.empty-icon {
  color: #d9a33e;
  filter: drop-shadow(0 8px 18px rgba(204, 130, 34, .18));
}

.empty-message {
  color: rgba(246, 226, 194, .7);
}

@media (max-width: 920px) {
  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-home-link {
    display: none;
  }

  #bookDetailPage .gallery-container {
    grid-template-columns: 1fr;
  }

  #bookDetailPage .book-details {
    padding: clamp(25px, 6vw, 44px);
  }
}

@media (max-width: 600px) {
  .catalog-site-header {
    position: absolute;
  }

  body {
    padding-top: 70px;
  }

  .container {
    width: min(100% - 22px, 1380px);
  }

  .catalog-site-header .header-container {
    min-height: 70px;
  }

  .catalog-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .catalog-brand {
    font-size: 29px;
  }

  .catalog-site-header .nav-buttons {
    gap: 6px;
  }

  .catalog-header-icon,
  .catalog-site-header .btn-cart-icon {
    width: 40px;
    height: 40px;
  }

  .page {
    padding-top: 31px;
    padding-bottom: 92px;
  }

  .catalog-title {
    font-size: clamp(43px, 15vw, 58px);
  }

  .catalog-subtitle {
    display: block;
    font-size: 16px;
  }

  .catalog-filters {
    margin-bottom: 24px;
    padding: 15px;
    border-radius: 20px;
  }

  .filter-actions {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .book-card {
    border-radius: 26px;
  }

  .book-image-container {
    aspect-ratio: 1.32 / 1;
  }

  .book-info {
    padding: 20px;
  }

  .book-title {
    min-height: 0;
    font-size: 28px;
  }

  .trust-points,
  .product-seo-links-list {
    grid-template-columns: 1fr;
  }

  .seo-intro,
  .product-seo-links,
  .summary-container,
  .profile-container,
  .payment-container,
  .faq-container,
  .social-container,
  .order-history-container,
  .book-details {
    border-radius: 22px;
  }

  .sidebar-item {
    padding: 15px 17px;
  }

  #bookDetailPage {
    width: min(100% - 20px, 1540px);
    padding-top: 22px;
  }

  #bookDetailPage .back-button-container {
    gap: 8px;
  }

  #bookDetailPage .btn-back {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 11px;
  }

  #bookDetailPage .detail-like-btn {
    width: 40px;
    height: 40px;
  }

  #bookDetailPage .gallery-container {
    gap: 13px;
    padding: 11px;
    border-radius: 25px;
  }

  #bookDetailPage .main-image-container {
    aspect-ratio: 1600 / 1195;
    border-radius: 19px;
  }

  #bookDetailPage .main-image {
    object-fit: cover;
  }

  #bookDetailPage .nav-indicator {
    bottom: 10px;
    gap: 4px;
  }

  #bookDetailPage .nav-dot {
    width: 3px;
    height: 3px;
    border: 0;
  }

  #bookDetailPage .nav-dot.active {
    transform: scale(1.65);
    box-shadow: 0 0 5px rgba(212, 175, 55, .5);
  }

  #bookDetailPage .gallery-thumbnails {
    margin-top: 8px;
  }

  #bookDetailPage .thumbnail {
    width: 59px;
    height: 49px;
  }

  #bookDetailPage .book-details {
    padding: 62px 21px 23px;
    border-radius: 20px;
  }

  .detail-mobile-actions {
    display: none;
  }

  #bookDetailPage .detail-catalog-btn {
    display: none;
  }

  #bookDetailPage .book-details > #detailLikeBtn {
    display: flex;
  }

  #bookDetailPage .book-detail-title {
    margin-bottom: 23px;
    font-size: clamp(37px, 12vw, 50px);
  }

  #bookDetailPage .book-detail-price {
    margin-bottom: 20px;
    font-size: 42px;
  }

  #bookDetailPage .book-detail-description {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  #bookDetailPage .btn-add-to-cart {
    min-height: 54px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
