/* Mobile is the primary shopping surface; desktop retains the original layout. */
.mobile-book-nav,
.mobile-menu-toggle,
.book-menu-backdrop {
  display: none;
}
.book-result-count {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}
.book-stepper {
  display: flex;
  align-items: center;
  min-width: 135px;
  max-width: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.book-stepper button {
  min-width: 44px;
  min-height: 48px;
  border: 0;
  background: none;
  font-size: 23px;
  color: var(--green);
}
.book-stepper button:disabled {
  color: #abb7b0;
}
.book-stepper input {
  min-width: 0;
  width: 45px;
  text-align: center;
  border: 0;
  padding: 6px 0;
  font: inherit;
  color: var(--ink);
  appearance: textfield;
  -moz-appearance: textfield;
}
.book-stepper input::-webkit-inner-spin-button,
.book-stepper input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.book-buy-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 25px 0;
}
.book-buy-bar > p {
  width: 100%;
  margin: 0;
  font-size: 13px;
  color: #a12b2b;
}
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #8fa83b;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 85px;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    -webkit-text-size-adjust: 100%;
  }
  .container {
    width: calc(100% - 32px);
  }
  .topbar .topbar-inner {
    justify-content: center;
    min-height: 28px;
    padding: 4px 0;
  }
  .topbar .topbar-inner > span {
    display: block;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .topbar .topbar-inner > a {
    display: none;
  }
  .site-header {
    top: 0;
    z-index: 40;
  }
  .site-header .nav-wrap {
    min-height: 68px !important;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .site-header .brand {
    max-width: calc(100% - 60px);
    min-width: 0;
    flex: 1;
    gap: 9px;
  }
  .site-header .brand > span:last-child {
    min-width: 0;
  }
  .site-header .brand b {
    font-size: 18px;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .brand small {
    font-size: 9px;
    line-height: 1.4;
  }
  .site-header .brand-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    font-size: 20px;
  }
  .site-header .brand-logo {
    width: 44px;
    max-height: 44px;
    flex-shrink: 0;
  }
  .site-header .nav-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    background: #f0f5ef;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--green);
  }
  .site-header .book-nav {
    display: none !important;
  }
  .site-header .book-nav.mobile-open {
    display: flex !important;
    position: absolute !important;
    inset: calc(100% + 8px) 12px auto !important;
    width: auto;
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px !important;
    background: white !important;
    box-shadow: 0 12px 30px #0d302d26 !important;
    border: 1px solid var(--line);
    border-radius: 16px;
    gap: 2px;
  }
  .site-header .book-nav.mobile-open a {
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--ink);
    border-radius: 9px;
  }
  .site-header .book-nav.mobile-open a:hover {
    background: #edf4eb;
  }
  .book-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    border: 0;
    background: #102c263d;
    backdrop-filter: blur(2px);
  }
  .mobile-book-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    background: #fffffff7;
    border-top: 1px solid #dbe5de;
    box-shadow: 0 -4px 22px #153f2b0a;
    backdrop-filter: blur(14px);
  }
  .mobile-book-nav > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 50px;
    min-width: 0;
    color: #687d72;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
  }
  .mobile-book-nav > a.active {
    background: #eaf2e5;
    color: #07564a;
  }
  .mobile-book-nav > a:nth-child(3) {
    color: #0b675c;
  }
  .whatsapp {
    display: none !important;
  }
  .beauty-hero {
    height: auto !important;
    min-height: 0 !important;
  }
  .beauty-hero-content {
    padding-top: 36px !important;
    padding-bottom: 34px !important;
  }
  .beauty-hero h1 {
    font-size: clamp(34px, 9.7vw, 44px) !important;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 100%;
    margin: 16px 0 20px;
  }
  .beauty-hero-content > .beauty-kicker {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .beauty-hero-content > p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 30em;
    margin-bottom: 23px;
    color: #365a4c;
  }
  .beauty-hero-image {
    object-position: 72% center;
  }
  .beauty-overlay {
    background: linear-gradient(90deg, #f5f3ebfa 0%, #f5f3ebed 58%, #f5f3eb8f 100%) !important;
  }
  .beauty-hero .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .beauty-hero .hero-actions .btn {
    min-height: 50px;
    padding: 13px 20px;
    justify-content: center;
    font-size: 15px;
    width: 100%;
  }
  .beauty-hero .beauty-link {
    min-height: 44px;
    justify-content: center;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    padding: 10px 6px;
  }
  .hero-proof {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px !important;
    margin-top: 20px;
    font-size: 10px;
  }
  .section {
    padding: 36px 0;
  }
  .home-products-first {
    padding-top: 32px;
  }
  .beauty-section-head {
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .beauty-section-head h2,
  .section h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.8px;
  }
  .beauty-section-head > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  .beauty-kicker,
  .kicker {
    font-size: 10px;
    line-height: 1.6;
  }
  .book-categories,
  .filter-bar .category-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    max-width: 100%;
    gap: 8px;
    padding: 3px 2px 9px;
    margin: 14px 0 18px;
    scrollbar-width: thin;
  }
  .book-categories > a,
  .filter-bar .category-pills > button {
    min-height: 44px;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 12px;
  }
  .products-grid.beauty-products,
  .products-grid.products-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .product-card {
    min-width: 0;
    border-radius: 15px;
    overflow: hidden;
  }
  .product-image.book-image {
    height: 225px;
    min-height: 0;
    aspect-ratio: 3/4;
  }
  .book-image img {
    height: 100%;
    width: 100%;
    max-height: 100%;
    padding: 15px;
  }
  .product-card-body {
    padding: 14px !important;
  }
  .product-card h3 {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .product-card-body .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .product-card-body > p {
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    margin: 8px 0;
  }
  .product-card-body > b {
    font-size: 14px;
  }
  .product-card .product-link {
    font-size: 11px;
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-top: 7px;
    gap: 4px;
  }
  .product-quick {
    display: none !important;
  }
  .product-badge {
    font-size: 9px;
    padding: 5px 8px;
    top: 10px;
    left: 10px;
  }
  .empty-state {
    padding: 28px 18px !important;
  }
  .empty-state h2,
  .empty-state h3 {
    font-size: 23px !important;
    line-height: 1.35;
  }
  .empty-state p {
    font-size: 14px;
  }
  .empty-state .btn {
    min-height: 48px;
    font-size: 14px;
  }
  .page-hero,
  .page-hero.compact {
    padding: 32px 0 !important;
  }
  .page-hero h1 {
    font-size: 34px !important;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .page-hero p {
    font-size: 14px;
    line-height: 1.7;
  }
  .filter-bar {
    display: flex;
    flex-direction: column-reverse !important;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
  }
  .filter-bar .search-box {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-radius: 12px;
    padding: 8px 14px;
  }
  .filter-bar .search-box input {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    min-height: 32px;
  }
  .filter-bar .category-pills {
    margin: 5px 0 0;
  }
  .book-result-count {
    margin: 12px 0 18px;
    font-size: 12px;
  }
  .split-grid,
  .info-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 25px;
  }
  .about-media {
    height: auto !important;
    max-height: 290px;
  }
  .about-media img {
    height: 270px;
    object-fit: cover;
  }
  .split-copy p {
    font-size: 15px;
    line-height: 1.8;
  }
  .info-grid .product-info-card {
    padding: 22px;
    min-height: 0;
  }
  .info-grid h3 {
    font-size: 19px;
  }
  .info-grid p {
    font-size: 14px;
  }
  .community-reviews {
    padding: 35px 0;
  }
  .reviews-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .reviews-heading h2 {
    font-size: 28px;
  }
  .reviews-heading p {
    font-size: 14px;
  }
  .reviews-empty {
    padding: 28px 16px;
  }
  .reviews-empty h3 {
    font-size: 20px;
  }
  .review-open-btn,
  .review-submit {
    min-height: 48px;
  }
  .review-name-row,
  .review-form {
    grid-template-columns: 1fr !important;
  }
  .review-form {
    padding: 20px;
  }
  .review-name-row {
    display: grid;
    gap: 15px;
  }
  .review-form-fields {
    min-width: 0;
  }
  .star-picker button {
    min-width: 44px;
    min-height: 44px;
  }
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }
  .review-form input,
  .review-form textarea {
    font-size: 16px !important;
  }
  .footer {
    padding-top: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-grid h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .footer-grid a:not(.brand) {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .footer-grid p {
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    padding-bottom: 8px;
  }
  .footer-bottom > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .contact-form {
    padding: 22px !important;
    min-width: 0;
  }
  .field-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px !important;
    min-height: 48px;
  }
  .contact-form .btn {
    width: 100%;
    min-height: 50px;
  }
  .contact-methods a {
    min-height: 50px;
  }
  .book-socials {
    flex-wrap: wrap;
  }
  .book-socials a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .detail-image {
    height: 320px !important;
    min-height: 0 !important;
    padding: 16px;
  }
  .detail-image img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .detail-copy h1 {
    font-size: 30px !important;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .detail-copy h2 {
    font-size: 26px;
  }
  .detail-copy p {
    font-size: 15px;
    line-height: 1.8;
  }
  .back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .book-specs {
    font-size: 13px;
    grid-template-columns: minmax(75px, 1fr) minmax(0, 2fr);
    gap: 10px;
  }
  .book-specs dd {
    overflow-wrap: anywhere;
  }
  .book-buy-bar {
    position: fixed;
    z-index: 44;
    bottom: calc(65px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 16px;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    gap: 10px;
    flex-wrap: wrap;
  }
  .book-buy-bar .btn {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 10px 8px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
    justify-content: center;
  }
  .book-stepper {
    min-width: 125px;
    max-width: 135px;
    flex: 0 0 125px;
  }
  .book-stepper button {
    min-width: 40px;
  }
  .book-stepper input {
    font-size: 16px;
    width: 42px;
  }
  .book-buy-bar > p {
    font-size: 11px;
  }
  .book-detail-page {
    padding-bottom: 95px;
  }
  .detail-copy .book-order-note {
    font-size: 12px;
  }
  .react-admin {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .react-admin input,
  .react-admin select,
  .react-admin textarea,
  .react-login input {
    font-size: 16px !important;
  }
  .react-admin input:not([type='checkbox']):not([type='file']):not([type='hidden']),
  .react-admin select,
  .react-login input {
    min-height: 48px;
  }
  .react-admin textarea {
    min-height: 110px;
  }
  .react-admin button:not(.confirm-delete):not(.star-picker button) {
    min-height: 44px;
  }
  .react-admin .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .react-admin .form-grid > .full {
    grid-column: auto;
  }
  .product-editor-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .react-admin .editor-head {
    position: static !important;
  }
  .editor-head > div:last-child {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .editor-head > div:last-child > button {
    flex: 1;
  }
  .react-admin .product-image-editor {
    order: -1;
    padding: 18px;
  }
  .image-drop-preview.compact {
    width: 150px;
    height: 170px;
  }
  .react-admin .file-picker {
    min-height: 50px;
  }
  .react-admin .admin-upload-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .react-admin .image-comparison {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .react-admin .settings-layout {
    min-width: 0;
  }
  .react-admin .settings-nav {
    max-width: 100%;
    min-width: 0;
  }
  .react-admin .settings-editor {
    min-width: 0;
  }
  .settings-editor .panel-head {
    display: flex;
    gap: 12px;
  }
  .settings-editor .panel-head > div {
    min-width: 0;
  }
  .settings-editor .panel-head h2 {
    font-size: 18px;
  }
  .settings-editor .panel-head .admin-btn {
    flex-shrink: 0;
    min-height: 46px;
  }
  .react-admin > aside {
    height: 100dvh !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    max-width: 85vw;
  }
  .react-admin .admin-side-bottom {
    padding-bottom: 15px;
  }
  .react-admin .admin-product-list article {
    min-width: 0;
  }
  .react-admin .product-main {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .react-admin .row-actions {
    gap: 12px;
  }
  .react-admin .row-actions button {
    padding: 9px 12px;
  }
  .react-admin .category-admin-list article {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    gap: 10px;
  }
  .react-admin .category-admin-list article > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .react-admin .category-admin-list article .danger-link {
    grid-column: 3;
  }
  .react-login {
    min-height: 100dvh;
  }
  .react-login main {
    padding: 28px 20px;
  }
  .react-login form {
    max-width: 100%;
  }
  .react-login button {
    min-height: 50px;
  }
  .confirm-dialog {
    width: min(440px, calc(100vw - 28px)) !important;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 24px);
  }
  .site-header .brand b {
    font-size: 16px;
  }
  .beauty-hero h1 {
    font-size: 34px !important;
  }
  .product-card-body {
    padding: 11px !important;
  }
  .product-card h3 {
    font-size: 15px;
  }
  .product-image.book-image {
    height: 190px;
  }
  .book-buy-bar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .book-stepper {
    min-width: 115px;
    flex-basis: 115px;
  }
  .book-stepper button {
    min-width: 36px;
  }
  .book-buy-bar .btn {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 768px) {
  .page-hero.compact {
    padding: 24px 0 !important;
  }
  .page-hero.compact h1 {
    font-size: 30px !important;
    margin: 12px 0;
  }
  .page-hero.compact p {
    margin-bottom: 0;
    font-size: 13px;
  }
  .detail-copy > .back-link {
    display: flex;
    margin-bottom: 12px;
  }
  body:has(.react-admin),
  body:has(.react-login) {
    padding-bottom: 0;
  }
  .react-admin .settings-nav {
    gap: 6px;
    padding: 12px;
  }
  .react-admin .settings-nav button {
    border: 1px solid #e0e8e1;
    border-radius: 9px;
    padding: 9px 13px;
    font-size: 13px;
  }
  .react-admin .settings-nav button.active {
    border-color: #0b675c;
  }
  .react-admin .react-form label {
    min-width: 0;
  }
  .react-admin .react-form input[type='file'] {
    max-width: 100%;
  }
  .react-admin .admin-user {
    flex-shrink: 0;
  }
}
.mobile-savebar {
  display: none;
}
@media (max-width: 768px) {
  .react-admin .mobile-savebar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 28;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fffffff7;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px #143a290a;
    backdrop-filter: blur(12px);
  }
  .mobile-savebar > button {
    flex: 1;
    min-height: 50px;
    font-size: 14px;
  }
  .mobile-savebar > button:first-child:not(:last-child) {
    flex: 0 0 32%;
  }
  .react-admin:has(.mobile-savebar) .react-admin-content {
    padding-bottom: 100px;
  }
  .react-admin .editor-head > div:last-child,
  .settings-editor .panel-head > button {
    display: none;
  }
  .react-admin .settings-editor .panel-head {
    margin-bottom: 20px;
  }
  .react-admin .mobile-savebar button {
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .react-admin .settings-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    align-items: stretch;
  }
  .react-admin .settings-nav button {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    white-space: nowrap !important;
  }
  .react-admin .settings-nav > button {
    width: auto !important;
  }
}
.book-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 10px 0;
  color: var(--ink);
}
.book-market-price {
  font-size: 13px;
  color: #79847d;
  text-decoration-thickness: 1px;
}
.book-offer-price {
  font-size: 18px;
  font-weight: 800;
}
.book-discount {
  font-size: 10px;
  font-weight: 800;
  color: #17653d;
  background: #e4f3df;
  border-radius: 6px;
  padding: 4px 7px;
  white-space: nowrap;
}
.book-pricing.large {
  gap: 7px 13px;
  margin: 20px 0;
}
.book-pricing.large .book-offer-price {
  font-size: 30px;
}
.book-pricing.large .book-market-price {
  font-size: 19px;
}
.book-pricing.large .book-discount {
  font-size: 12px;
}
.price-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 768px) {
  .book-pricing {
    gap: 5px 7px;
  }
  .book-market-price {
    font-size: 12px;
  }
  .book-offer-price {
    font-size: 17px;
  }
  .book-discount {
    font-size: 9px;
    padding: 4px 6px;
  }
  .book-pricing.large .book-offer-price {
    font-size: 27px;
  }
  .book-pricing.large .book-market-price {
    font-size: 17px;
  }
  .book-pricing.large .book-discount {
    font-size: 11px;
  }
}
.login-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  margin: 24px 0;
  color: #7a8980;
}
.login-steps span {
  padding: 7px 11px;
  border-radius: 20px;
  background: #f1f4f0;
}
.login-steps .current {
  background: #0b675c;
  color: white;
}
.login-steps .complete {
  color: #0b675c;
  background: #e6f1df;
}
.login-steps i {
  font-style: normal;
}
.demo-otp-label {
  display: inline-block;
  background: #f0eddf;
  color: #685e30;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.react-login .demo-otp-input {
  font-size: 26px !important;
  letter-spacing: 10px;
  text-align: center;
  padding: 14px 12px;
  min-height: 62px;
}
.react-login .otp-back-button {
  background: none;
  color: #0b675c;
  border: 1px solid #d8e4dc;
  border-radius: 10px;
  margin-top: 12px;
  width: 100%;
  min-height: 46px;
  font: inherit;
  font-size: 13px;
}
.react-login button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.react-login .admin-flash {
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .login-steps {
    font-size: 10px;
    gap: 8px;
  }
  .react-login .demo-otp-input {
    font-size: 24px !important;
    letter-spacing: 8px;
  }
}
/* Compact book cards override the older skincare-card dimensions. */
.products-grid .product-card.book-card {
  height: auto;
  align-self: start;
  border: 1px solid #e0e8dd;
  border-radius: 18px;
  overflow: hidden;
  padding: 8px;
  background: #fff;
  box-shadow: 0 4px 18px #183f2a06;
}
.products-grid .product-card.book-card .book-image {
  position: relative;
  display: block;
  height: 260px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 11px;
  overflow: hidden;
  background: #f0f1e7 !important;
}
.products-grid .product-card.book-card .book-image img {
  height: 100%;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 12px;
}
.products-grid .product-card.book-card .product-card-body {
  padding: 14px 8px 4px !important;
  flex: 0;
}
.products-grid .product-card.book-card .product-card-body h3 {
  margin: 6px 0;
  font-size: 17px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-grid .product-card.book-card .product-card-body > p {
  min-height: 0 !important;
  margin: 0 0 8px !important;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.products-grid .product-card.book-card .book-pricing {
  margin: 4px 0 8px;
}
.products-grid .product-card.book-card .product-link {
  margin: 0 !important;
  min-height: 42px;
  padding: 8px 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0e9;
  border-bottom: 0;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.products-grid .product-card.book-card .eyebrow {
  font-size: 9px;
  letter-spacing: 0.08em;
}
.products-grid .product-card.book-card:hover {
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .products-grid .product-card.book-card {
    padding: 7px;
    border-radius: 15px;
  }
  .products-grid .product-card.book-card .book-image {
    height: 200px !important;
    border-radius: 9px;
  }
  .products-grid .product-card.book-card .book-image img {
    padding: 8px !important;
  }
  .products-grid .product-card.book-card .product-card-body {
    padding: 11px 5px 2px !important;
  }
  .products-grid .product-card.book-card .product-card-body h3 {
    font-size: 15px;
  }
  .products-grid .product-card.book-card .eyebrow {
    font-size: 8px;
  }
  .products-grid.single-book-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .products-grid.single-book-grid .product-card.book-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .products-grid.single-book-grid .product-card.book-card .book-image {
    height: 174px !important;
    align-self: center;
  }
  .products-grid.single-book-grid .product-card.book-card .product-card-body {
    padding: 7px 3px 0 !important;
    min-width: 0;
    justify-content: center;
  }
  .products-grid.single-book-grid .product-card.book-card .book-pricing {
    gap: 4px 7px;
  }
  .products-grid.single-book-grid .product-card.book-card .product-card-body h3 {
    font-size: 17px;
  }
  .products-grid.single-book-grid .product-card.book-card .product-link {
    min-height: 44px;
  }
  .products-grid.single-book-grid .product-card.book-card .book-offer-price {
    font-size: 20px;
  }
}
@media (max-width: 359px) {
  .products-grid.single-book-grid .product-card.book-card {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
  }
  .products-grid.single-book-grid .product-card.book-card .book-image {
    height: 155px !important;
  }
  .products-grid .product-card.book-card .book-image {
    height: 175px !important;
  }
}
.book-developer-credit {
  font-size: 12px;
  line-height: 1.7;
}
.book-developer-credit > a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline !important;
}
.footer-bottom {
  flex-wrap: wrap;
  gap: 12px 24px;
}
@media (max-width: 768px) {
  .book-developer-credit {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    align-items: center;
    font-size: 12px;
  }
  .book-developer-credit > a {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
  }
}
