/*
Theme Name: RDS Livraria
Description: Tema filho do Storefront para a livraria digital da Comunidade RDS.
Author: Comunidade RDS
Template: storefront
Version: 1.4.2
Text Domain: rds-livraria
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face { font-family: Lato; src: url('assets/fonts/Lato-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url('assets/fonts/Lato-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Itim; src: url('assets/fonts/Itim-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
:root {
  --rds-navy: #323f61;
  --rds-ink: #26272b;
  --rds-muted: #62656b;
  --rds-coral: #ce6761;
  --rds-orange: #b85000;
  --rds-green: #323f61;
  --rds-forest: #252f4a;
  --rds-white: #fff;
  --rds-paper: #fffcf4;
  --rds-line: #dce1e8;
  --rds-sans: Lato, Arial, sans-serif;
  --rds-title: Itim, 'Trebuchet MS', sans-serif;
  --rds-width: 1260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--rds-ink); font-family: var(--rds-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--rds-navy); text-underline-offset: .2em; }
a:hover { color: #963f3b; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #bb6200; outline-offset: 4px; }
::selection { background: #ffdfad; color: #252525; }
h1, h2, h3, h4, h5, h6 { color: var(--rds-ink); font-family: var(--rds-title); font-weight: 400; letter-spacing: 0; }
h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.12; }
h2 { font-size: 2.5rem; line-height: 1.2; }
h3 { font-size: 1.6rem; line-height: 1.3; }
p { margin: 0 0 1.2em; }
hr { background: var(--rds-line); }
.rds-container, .col-full { width: 100%; max-width: var(--rds-width); margin-left: auto; margin-right: auto; padding-left: 30px; padding-right: 30px; }
.col-full::before, .col-full::after { content: none; }
.site-content { padding-top: 0; }
.site-content > .col-full { display: flow-root; padding-top: 32px; padding-bottom: 64px; }
.rds-home .site-content > .col-full { max-width: none; padding: 0; }
.site-main { margin-bottom: 0; }
.woocommerce-page.right-sidebar .content-area, .woocommerce-page.left-sidebar .content-area { width: 100%; float: none; margin: 0; }
.entry-header { margin-bottom: 30px; }
.entry-title { margin-bottom: .6em; }
.entry-content > p, .entry-content > ul, .entry-content > ol { max-width: 74ch; }

/* Clear shop header, with the same compact hierarchy as the reference. */
.rds-header { position: relative; z-index: 40; background: #fff; }
.rds-topbar { background: var(--rds-navy); color: #fff; }
.rds-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: .025em; }
.rds-topbar a { color: #fff; display: inline-flex; align-items: center; min-height: 38px; text-decoration: none; text-transform: uppercase; font-size: 11px; }
.rds-topbar a:hover { text-decoration: underline; }
.rds-header__sky { background: radial-gradient(ellipse at 7% 100%, #fff 0 10%, transparent 11%), radial-gradient(ellipse at 92% 100%, #fff 0 12%, transparent 13%), linear-gradient(#ddf2fc 0%, #f5fbff 65%, #fff 100%); }
.rds-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px dashed #b6cad2; }
.rds-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: var(--rds-navy); text-decoration: none; }
.rds-brand:hover { color: var(--rds-navy); }
.rds-brand__mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #9cabb9; border-radius: 4px; font-family: Georgia, serif; font-size: 16px; letter-spacing: -.07em; }
.rds-brand__name { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.12; letter-spacing: -.035em; white-space: nowrap; }
.rds-brand__sub { display: block; margin-top: 4px; font-size: 9px; line-height: 1.3; text-transform: uppercase; letter-spacing: .12em; }
.rds-search { flex: 0 1 290px; min-width: 170px; position: relative; margin: 0; }
.rds-search input[type=search] { width: 100%; height: 44px; padding: 0 45px 0 18px; color: #343b45; border: 1px solid #d4e2e9; border-radius: 24px; background: rgba(255,255,255,.45); box-shadow: none; font-size: 13px; }
.rds-search input::placeholder { color: #65727c; opacity: 1; }
.rds-search button { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%; color: #4b6170; cursor: pointer; }
.rds-search button svg { width: 19px; height: 19px; }
.rds-search button:hover { background: #e3eff5; }
.rds-nav { display: flex; align-items: center; gap: 24px; }
.rds-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #303641; font-size: 14px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.rds-nav a:hover { color: #963f3b; }
.rds-menu-toggle { display: none; }
.rds-header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 11px; min-height: 49px; }
.rds-icon-link { display: inline-flex; align-items: center; justify-content: center; position: relative; min-width: 44px; min-height: 44px; color: #333; text-decoration: none; }
.rds-icon-link:hover { color: var(--rds-orange); }
.rds-icon-link svg { width: 23px; height: 23px; }
.rds-tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.rds-cart-link { border-left: 1px solid #e9eaec; padding-left: 12px; }
.rds-cart-count { position: absolute; top: 3px; right: -1px; min-width: 16px; height: 16px; padding: 0 3px; display: inline-flex; align-items: center; justify-content: center; background: var(--rds-navy); border-radius: 50%; color: #fff; font-size: 10px; line-height: 1; }

/* A wide photographic book banner, rather than the former editorial hero. */
.rds-banner-wrap { padding-top: 15px; padding-bottom: 45px; }
.rds-banner { position: relative; isolation: isolate; min-height: 430px; display: flex; align-items: center; padding: 44px 50px; background: #443024 url('assets/hero-biblioteca.webp') center/cover no-repeat; box-shadow: 0 16px 27px rgba(32,24,15,.17); border-radius: 3px 7px 4px 8px; }
.rds-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(22,15,10,.72),rgba(22,15,10,.28) 43%,rgba(22,15,10,0) 67%); border-radius: inherit; }
.rds-banner__copy { position: relative; z-index: 3; width: 42%; padding-right: 18px; color: #fff; }
.rds-banner__author { margin: 0 0 9px; color: #fff8e9; font-size: 17px; }
.rds-banner h1 { margin: 0 0 12px; font-size: clamp(39px,4.1vw,58px); color: #ffc46c; line-height: 1.08; }
.rds-banner__subtitle { max-width: 300px; margin-bottom: 24px; font-size: 21px; line-height: 1.45; }
.rds-button, .button, button, input[type=submit], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 24px; border: 0; border-radius: 24px; background: #111; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; transition: background-color .18s,color .18s; }
.rds-button:hover, .button:hover, button:hover, input[type=submit]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:not(.is-link):hover { color: #fff; background: #383838; }
.rds-banner .rds-button { background: #ffce84; color: #2f2116; }
.rds-banner .rds-button:hover { background: #ffe1b2; color: #2f2116; }
.rds-banner__books { position: absolute; inset: 28px 25px 25px 44%; perspective: 1400px; }
.rds-banner__book { position: absolute; margin: 0; width: 35%; max-width: 208px; top: 50%; transform: translateY(-50%); }
.rds-banner__book a { display: block; }
.rds-banner__book img { width: 100%; height: auto; display: block; border-radius: 2px 4px 4px 2px; box-shadow: 10px 15px 18px rgba(15,9,4,.5), -4px 0 0 #e4dbc7; }
.rds-banner__book--1 { left: 0; transform: translateY(-48%) rotate(-7deg) rotateY(-12deg); z-index: 1; }
.rds-banner__book--2 { left: 31%; transform: translateY(-53%) rotate(1deg) rotateY(-7deg); z-index: 2; }
.rds-banner__book--3 { left: 62%; transform: translateY(-44%) rotate(8deg) rotateY(-9deg); z-index: 3; }

/* Collection headings, uncropped covers and direct purchase controls. */
.rds-collection { position: relative; padding: 36px 0 64px; }
.rds-collection--matematica { background: radial-gradient(ellipse at 12% 55%, rgba(222,231,244,.6), transparent 46%), radial-gradient(ellipse at 85% 95%, rgba(212,222,240,.66), transparent 56%), linear-gradient(#fff 0%, #f7f9ff 54%, #eef2fc 100%); }
.rds-collection--logica { background: radial-gradient(ellipse at 20% 52%,rgba(255,248,211,.7),transparent 55%),linear-gradient(#fffef0,#fffbec); }
.rds-collection--outros { background: #f7f8ff; }
.rds-collection + .rds-collection::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 22px; border-radius: 48% 55% 0 0; background: inherit; }
.rds-collection__heading { text-align: center; margin-bottom: 30px; }
.rds-collection__heading h2 { font-family: var(--rds-title); font-size: 42px; line-height: 1.2; color: var(--rds-coral); margin: 0 0 6px; }
.rds-collection__heading p { font-family: var(--rds-title); font-size: 22px; color: #65656b; margin: 0; }
ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,220px)); justify-content: center; column-gap: 35px; row-gap: 40px; margin: 0; padding: 0; list-style: none; clear: both; }
ul.products::before, ul.products::after { content: none; display: none; }
ul.products:has(> li.product:only-child) { grid-template-columns: minmax(0,220px); }
ul.products li.product, ul.products.columns-3 li.product, ul.products.columns-4 li.product { display: flex; flex-direction: column; float: none; width: auto; min-width: 0; margin: 0; padding: 0; text-align: left; background: transparent; }
ul.products li.product .woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: #282b31; }
ul.products li.product img { display: block; width: 100%; height: auto; aspect-ratio: 720/1019; object-fit: contain; margin: 0 0 15px; border-radius: 0; background: transparent; box-shadow: 2px 4px 6px rgba(42,40,36,.09); }
ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 { color: #292d32; font-family: var(--rds-sans); font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0; margin: 0 0 13px; min-height: 48px; padding: 0; }
ul.products li.product a:hover .woocommerce-loop-product__title { color: #963f3b; }
.rds-product-format { display: none; }
ul.products li.product .price { display: inline-flex; flex-direction: column; align-items: flex-start; align-self: flex-start; min-width: 109px; min-height: 65px; padding: 9px 12px 8px; margin: auto 0 11px; background: var(--rds-orange); color: #fff; font-size: 21px; line-height: 1.2; font-weight: 700; border-radius: 10px; }
ul.products li.product .price::before { content: 'PDF'; display: block; margin-bottom: 3px; color: #fff; font-size: 11px; line-height: 1.2; font-weight: 700; }
ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: 14px; }
ul.products li.product .price del { font-size: 12px; opacity: .85; }
ul.products li.product .price ins { background: transparent; font-weight: 700; color: #fff; }
ul.products li.product .star-rating { margin: 0 0 10px; }
ul.products li.product .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 11px 8px; margin: 0; border-radius: 24px; background: #0d0d0d; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.35; text-transform: uppercase; text-decoration: none; }
ul.products li.product .button:hover { background: #343434; }
ul.products li.product .button::after { margin-left: 5px; }
ul.products li.product .added_to_cart { display: none; }
ul.products li.product .onsale { background: var(--rds-navy); color: #fff; border: 0; padding: 4px 9px; font-size: 12px; border-radius: 14px; }
.rds-empty { padding-top: 30px; padding-bottom: 60px; text-align: center; }
.rds-home .woocommerce-notices-wrapper { max-width: 1200px; margin: 0 auto; }
.woocommerce-result-count { color: var(--rds-muted); font-size: 14px; }
.woocommerce-ordering select { max-width: 100%; }
.woocommerce-pagination .page-numbers li .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; background: #f3f5f8; color: var(--rds-navy); }
.woocommerce-pagination .page-numbers li .page-numbers.current { color: #fff; background: var(--rds-navy); }

/* Native WooCommerce pages keep their templates and commercial behavior. */
.woocommerce-breadcrumb, .storefront-breadcrumb { color: var(--rds-muted); font-size: 13px; margin-bottom: 20px; }
.storefront-breadcrumb { padding: 15px 0; margin: 0; }
.woocommerce-breadcrumb a { color: var(--rds-navy); }
.single-product .site-content > .col-full { box-sizing: border-box; max-width: 1260px; padding-top: 48px; padding-bottom: 0; }
.single-product .rds-product-overview { position: relative; display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1fr); align-items: start; gap: 54px; padding-bottom: 56px; }
.single-product div.product .rds-product-overview .woocommerce-product-gallery { float: none; clear: none; width: 100%; max-width: 402px; margin: 0 auto; }
.single-product .rds-product-overview .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .rds-product-overview .woocommerce-product-gallery__image { border-radius: 12px; overflow: hidden; }
.single-product div.product .rds-product-overview .woocommerce-product-gallery img { display: block; width: 100%; height: auto; border: 0; border-radius: 12px; background: #fffcf5; }
.single-product .rds-product-overview .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
.single-product .rds-product-overview > .onsale { position: absolute; top: 12px; left: 24px; z-index: 2; }
.single-product div.product .rds-product-overview .summary { float: none; clear: none; width: 100%; min-width: 0; margin: 0; }
.single-product .rds-product-overview .product_title { margin: 0 0 8px; font-size: 42px; line-height: 1.2; }
.single-product div.product .rds-product-overview p.price { margin: 0 0 15px; padding-bottom: 15px; border-bottom: 1px solid #e8eaed; color: #2c9d3d; font-family: var(--rds-title); font-size: 32px; font-weight: 700; line-height: 1.2; }
.single-product .rds-single-product-format { margin: 0 0 17px; color: var(--rds-navy); font-size: 17px; }
.single-product .rds-product-overview p.stock { margin: 0 0 15px; font-size: 17px; }
.single-product div.product .rds-product-overview form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0; }
.single-product div.product .rds-product-overview form.variations_form, .single-product div.product .rds-product-overview form.grouped_form { display: block; }
.single-product .rds-product-overview form.cart .quantity { float: none; margin: 0; }
.single-product .rds-product-overview .quantity.rds-quantity-enhanced { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 0; border: 1px solid #dce1e8; border-radius: 26px; background: #fff; overflow: hidden; }
.single-product .rds-product-overview .rds-quantity-step { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 46px; min-height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--rds-navy); font-size: 20px; font-weight: 400; }
.single-product .rds-product-overview .rds-quantity-step:hover { background: #eef1f6; }
.single-product .rds-product-overview .rds-quantity-step[hidden] { display: none !important; }
.single-product .rds-product-overview .rds-quantity-step:disabled { opacity: .4; cursor: default; }
.single-product .rds-product-overview .rds-quantity-step:focus-visible { outline-offset: -3px; }
.single-product .rds-product-overview .rds-quantity-enhanced input.qty { width: 40px; min-width: 40px; height: 46px; min-height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--rds-ink); text-align: center; box-shadow: none; font-size: 16px; appearance: textfield; }
.single-product .rds-quantity-enhanced input.qty::-webkit-inner-spin-button, .single-product .rds-quantity-enhanced input.qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.single-product .rds-product-overview .single_add_to_cart_button { min-height: 48px; margin: 0; padding: 13px 22px; background: #247f2b; color: #fff; font-size: 13px; text-transform: uppercase; }
.single-product .rds-product-overview .single_add_to_cart_button:hover { background: #1b6421; color: #fff; }
.single-product .rds-product-overview form.cart .added_to_cart { display: none; }
.single-product .rds-product-description { color: #50545b; font-size: 18px; line-height: 1.6; overflow-wrap: break-word; }
.single-product .rds-product-description p { margin: 0 0 1em; max-width: none; }
.single-product .rds-product-description > :last-child { margin-bottom: 0; }
.single-product .rds-product-facts { margin-top: 22px; color: #50545b; font-size: 18px; line-height: 1.6; }
.single-product .rds-product-facts table.shop_attributes { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.single-product .rds-product-facts table.shop_attributes th, .single-product .rds-product-facts table.shop_attributes td { padding: 0 0 5px; border: 0; background: transparent; font-size: inherit; font-style: normal; text-align: left; vertical-align: top; }
.single-product .rds-product-facts table.shop_attributes th { width: 23%; padding-right: 14px; font-weight: 700; }
.single-product .rds-product-facts table.shop_attributes td p { margin: 0; }
.single-product .rds-product-reviews { clear: both; padding: 20px 0; border-top: 1px solid var(--rds-line); }
.single-product .rds-product-reviews > summary { min-height: 44px; padding: 4px 0; color: var(--rds-navy); font-family: var(--rds-title); font-size: 24px; cursor: pointer; }
.single-product .rds-product-reviews #reviews { padding-top: 20px; }
.single-product .related.products { padding: 44px 0 52px; margin: 30px 0 0; background: #fff3d4; box-shadow: 0 0 0 100vmax #fff3d4; clip-path: inset(0 -100vmax); }
.single-product .related.products > h2 { margin: 0 0 32px; color: var(--rds-coral); font-size: 36px; text-align: center; }
.single-product .related.products ul.products { grid-template-columns: repeat(auto-fit,minmax(180px,216px)); justify-content: center; gap: 34px 30px; }
.single-product .related.products li.product .woocommerce-loop-product__title { font-size: 17px; }
.woocommerce-tabs { border-top: 1px solid var(--rds-line); padding-top: 30px; }
.woocommerce-tabs ul.tabs li a { min-height: 44px; color: var(--rds-navy); }
.woocommerce-tabs .panel > h2:first-child { font-size: 30px; }
.woocommerce-tabs .panel p { line-height: 1.8; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments { padding: 18px 22px; border: 0; border-left: 4px solid var(--rds-navy); background: #eef3f9; color: #26344e; font-size: 15px; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #26344e; }
.woocommerce-error { background: #fff1ed; color: #712e25; border-left-color: #9e4336; }
.woocommerce-error a { color: #712e25; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: inherit; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=tel], input[type=number], textarea, select { max-width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid #cdd2d9; border-radius: 4px; background: #fff; box-shadow: none; color: #2d333b; }
textarea { min-height: 120px; }
input[type=checkbox], input[type=radio] { accent-color: var(--rds-navy); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline-offset: 3px; }
input.qty { min-width: 66px; }
.woocommerce-invalid input.input-text { border-color: #9e4336; }
.form-row label { color: #303946; }
.select2-container .select2-selection--single { min-height: 44px; padding: 5px 3px; border-color: #cdd2d9; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { padding: 25px; border: 1px solid var(--rds-line); background: #fcfcfe; }
.woocommerce-MyAccount-navigation ul { margin-left: 0; border-top: 1px solid var(--rds-line); }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--rds-line); }
.woocommerce-MyAccount-navigation ul li a { display: block; min-height: 48px; padding: 12px 0; color: var(--rds-navy); }
.woocommerce-MyAccount-navigation ul li.is-active a { font-weight: 700; }
table.shop_table { border-collapse: collapse; width: 100%; }
table.shop_table th { background: #eef1f6; color: #303b50; }
table.shop_table td, table.shop_table th { border-bottom: 1px solid var(--rds-line); padding: 15px; }
table.shop_table td { background: #fff; }
.cart_totals, .woocommerce-checkout-review-order { background: #f6f8fc; border: 1px solid var(--rds-line); padding: 22px; }
#payment .payment_methods > .wc_payment_method > label { color: #253249; background: #eef1f7; }
#payment .payment_box { background: #f6f8fc; }
#payment .place-order { background: #f3f5f9; }
.wc-block-components-form .wc-block-components-text-input input { border-color: #cdd2d9; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--rds-line); }
.wc-block-components-product-name { color: var(--rds-navy); }
.wc-block-components-notice-banner.is-info { background: #eef3f9; border-color: #b9c8dd; }
.storefront-handheld-footer-bar { display: none; }

/* Account forms open beside the header icon and fit smaller screens. */
body.rds-account-popup-open { overflow: hidden; }
.rds-account-popup {
  --rds-account-transition-duration: 400ms;
  position: fixed;
  z-index: 100;
  inset: auto;
  top: var(--rds-account-top, 16px);
  right: var(--rds-account-right, 16px);
  width: 440px;
  max-width: calc(100% - 32px);
  max-height: var(--rds-account-max-height, calc(100dvh - 32px));
  margin: 0;
  padding: 0;
  border: 1px solid var(--rds-line);
  border-radius: 16px;
  background: #fff;
  color: var(--rds-ink);
  box-shadow: 0 12px 40px rgba(23, 30, 46, .18);
  overflow: visible;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--rds-account-transition-duration) cubic-bezier(.19,1,.22,1), transform var(--rds-account-transition-duration) cubic-bezier(.19,1,.22,1);
}
.rds-account-popup[open] { display: flex; flex-direction: column; }
.rds-account-popup.is-visible { opacity: 1; transform: translateY(0); }
.rds-account-popup::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.rds-account-popup::backdrop { background: rgba(17, 23, 32, .12); }
.rds-account-popup [hidden] { display: none !important; }
.rds-account-popup__header { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 18px 24px 0; }
.rds-account-popup__tabs { display: flex; align-items: center; flex: 1; min-width: 0; gap: 24px; border-bottom: 1px solid var(--rds-line); }
.rds-account-popup__tab { min-height: 48px; padding: 6px 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--rds-muted); font-family: var(--rds-title); font-size: 24px; font-weight: 400; white-space: nowrap; }
.rds-account-popup__tab:hover { background: transparent; color: var(--rds-navy); }
.rds-account-popup__tab[aria-selected=true] { border-bottom-color: var(--rds-navy); color: var(--rds-ink); }
.rds-account-popup__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: transparent; color: var(--rds-muted); font-family: Arial, sans-serif; font-size: 28px; font-weight: 400; line-height: 1; }
.rds-account-popup__close:hover { background: #eef1f6; color: var(--rds-ink); }
.rds-account-popup__content { min-height: 0; padding: 24px; overflow-y: auto; border-radius: 0 0 16px 16px; }
.rds-account-popup__content > h2, .rds-account-popup .col2-set h2 { display: none; }
.rds-account-popup .col2-set, .rds-account-popup .u-column1, .rds-account-popup .u-column2 { display: block; float: none; width: 100%; margin: 0; padding: 0; }
.rds-account-popup .col2-set::before, .rds-account-popup .col2-set::after { content: none; }
.rds-account-popup form.woocommerce-form { margin: 0; padding: 0; border: 0; background: transparent; }
.rds-account-popup .form-row { float: none; width: 100%; margin: 0 0 18px; padding: 0; }
.rds-account-popup .form-row label { display: block; margin: 0 0 8px; color: var(--rds-ink); font-size: 16px; }
.rds-account-popup input[type=text], .rds-account-popup input[type=email], .rds-account-popup input[type=password] { display: block; width: 100%; min-height: 48px; padding: 11px 16px; border: 1px solid #cdd2d9; border-radius: 26px; background: #fff; box-shadow: none; font-size: 16px; }
.rds-account-popup .password-input { position: relative; display: block; width: 100%; }
.rds-account-popup .password-input input { padding-right: 48px; }
.rds-account-popup .show-password-input { position: absolute; top: 50%; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rds-muted); transform: translateY(-50%); }
.rds-account-popup .show-password-input:hover { background: #eef1f6; color: var(--rds-ink); }
.rds-account-popup .woocommerce-form .button { display: flex; width: 100%; min-height: 48px; padding: 13px 20px; margin: 0; }
.rds-account-popup[aria-busy=true] button[type=submit] { opacity: .55; cursor: wait; }
.rds-account-popup__options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 14px; }
.rds-account-popup__options .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; font-size: 14px; }
.rds-account-popup__options input[type=checkbox] { margin: 0; width: 16px; height: 16px; }
.rds-account-popup__options p { margin: 0; font-size: 14px; }
.rds-account-popup__options a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.rds-account-popup .woocommerce-privacy-policy-text, .rds-account-popup .woocommerce-privacy-policy-text p, .rds-account-popup form.register > p:not(.form-row) { font-size: 14px; line-height: 1.6; }
.rds-account-popup__content .woocommerce-error { padding: 12px 16px; margin: 0 0 18px; }

/* Full-height cart, with scrolling products and purchase actions always visible. */
body.rds-cart-drawer-open { overflow: hidden; }
.rds-cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 460px;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--rds-white);
  color: var(--rds-ink);
  box-shadow: -12px 0 40px rgba(23, 30, 46, .15);
  overflow: hidden;
}
.rds-cart-drawer[open] { display: flex; flex-direction: column; animation: rds-cart-enter .22s ease-out; }
.rds-cart-drawer::backdrop { background: rgba(17, 23, 32, .65); }
.rds-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--rds-line); flex-shrink: 0; }
.rds-cart-drawer__header h2 { flex: 1; min-width: 0; font-size: 28px; line-height: 1.2; margin: 0; }
.rds-cart-drawer__close { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 7px 12px; border: 0; background: transparent; color: var(--rds-ink); font-size: 16px; font-weight: 400; white-space: nowrap; cursor: pointer; }
.rds-cart-drawer__close:hover { background: transparent; color: var(--rds-orange); }
.rds-cart-drawer__close span[aria-hidden] { font-family: Arial, sans-serif; font-size: 29px; line-height: 1; font-weight: 400; }
#rds-cart-drawer-status { flex-shrink: 0; padding: 12px 24px; margin: 0; background: #eef3f9; color: var(--rds-navy); font-size: 14px; }
#rds-cart-drawer-status:empty { display: none; }
#rds-cart-drawer-status.is-error { background: #fff1ed; color: #712e25; }
.rds-drawer-cart-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rds-cart-drawer__items { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; margin: 0; list-style: none; }
.rds-cart-drawer__item { position: relative; display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--rds-line); margin: 0; }
.rds-cart-drawer__item:last-child { border-bottom: 0; }
.rds-cart-drawer__image { flex: 0 0 80px; align-self: flex-start; }
.rds-cart-drawer__image img { display: block; width: 80px; height: auto; max-height: 125px; object-fit: contain; object-position: top; border-radius: 2px; }
.rds-cart-drawer__details { flex: 1; min-width: 0; }
.rds-cart-drawer__name { display: block; padding-right: 30px; margin: 0 0 12px; color: var(--rds-ink); text-decoration: none; font-family: var(--rds-title); font-size: 22px; line-height: 1.3; overflow-wrap: anywhere; }
.rds-cart-drawer__details .variation { font-size: 13px; margin: 0 0 10px; }
.rds-cart-drawer__quantity { display: inline-flex; align-items: center; border: 1px solid var(--rds-line); border-radius: 24px; overflow: hidden; vertical-align: middle; }
.rds-cart-drawer__quantity button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--rds-navy); font-size: 22px; font-weight: 400; cursor: pointer; }
.rds-cart-drawer__quantity button:hover { background: #eef3f9; }
.rds-cart-drawer__quantity button:focus-visible { outline-offset: -3px; }
.rds-cart-drawer__count { min-width: 34px; text-align: center; color: var(--rds-ink); font-size: 16px; }
.rds-cart-drawer__remove { position: absolute; right: -10px; top: 13px; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--rds-muted); font-size: 25px; line-height: 1; font-weight: 400; cursor: pointer; }
.rds-cart-drawer__remove:hover { background: transparent; color: #9e4336; }
.rds-cart-drawer__price { margin: 10px 0 0; color: var(--rds-navy); font-size: 17px; }
.rds-cart-drawer__price .amount { font-weight: 700; }
.rds-cart-drawer button:disabled { opacity: .45; cursor: wait; }
.rds-cart-drawer__quantity button:disabled { cursor: default; }
.rds-cart-drawer__footer { flex-shrink: 0; padding: 20px 24px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rds-line); background: #fff; }
.rds-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 20px; font-size: 21px; font-weight: 700; }
.rds-cart-drawer__subtotal .amount { color: var(--rds-navy); font-size: 25px; white-space: nowrap; }
.rds-cart-drawer__view, .rds-cart-drawer__checkout { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 13px 18px; border-radius: 28px; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.4; }
.rds-cart-drawer__view { background: #eef1f6; color: var(--rds-navy); margin-bottom: 10px; }
.rds-cart-drawer__view:hover { background: #dfe5ed; color: var(--rds-navy); }
.rds-cart-drawer__checkout { background: #151515; color: #fff; }
.rds-cart-drawer__checkout:hover { background: var(--rds-navy); color: #fff; }
.rds-cart-drawer__empty { padding: 36px 24px; margin: 0; font-size: 17px; }
.rds-cart-drawer__empty a, .rds-cart-drawer__empty button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
@keyframes rds-cart-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 480px) {
  .rds-cart-drawer { width: 100%; }
  .rds-cart-drawer__header { padding: 14px 18px; }
  .rds-cart-drawer__header h2 { font-size: 26px; }
  .rds-cart-drawer__items { padding: 0 18px; }
  .rds-cart-drawer__item { gap: 14px; padding: 22px 0; }
  .rds-cart-drawer__name { font-size: 20px; }
  .rds-cart-drawer__image, .rds-cart-drawer__image img { width: 68px; flex-basis: 68px; }
  .rds-cart-drawer__footer { padding: 16px 18px max(18px, env(safe-area-inset-bottom)); }
  .rds-cart-drawer__subtotal { margin-bottom: 15px; }
  #rds-cart-drawer-status { padding: 10px 18px; }
}

/* Footer with direct account, download and contact links. */
.rds-footer { background: var(--rds-navy); color: #fff; padding: 40px 0 0; }
.rds-footer__inner { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 45px; align-items: start; padding-bottom: 33px; }
.rds-footer .rds-brand { color: #fff; }
.rds-footer .rds-brand__mark { border-color: #9ba4bb; }
.rds-footer__brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 0; max-width: 330px; color: #edf0f7; }
.rds-footer__links { display: flex; flex-direction: column; align-items: flex-start; }
.rds-footer a { color: #fff; }
.rds-footer__links a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; }
.rds-footer a:hover { color: #ffe0ad; text-decoration: underline; }
.rds-footer__contact h2 { font-family: var(--rds-sans); font-size: 15px; font-weight: 700; text-transform: uppercase; color: #fff; margin: 10px 0 15px; }
.rds-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; overflow-wrap: anywhere; }
.rds-footer__contact p { color: #edf0f7; font-size: 14px; margin: 8px 0 0; }
.rds-footer__bottom { border-top: 1px solid #586582; padding-top: 20px; padding-bottom: 20px; font-size: 12px; text-align: center; color: #edf0f7; }
.rds-footer__bottom p { margin: 0; }

@media (min-width: 901px) {
  .rds-nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .rds-header__inner { gap: 20px; flex-wrap: wrap; padding-top: 17px; padding-bottom: 8px; }
  .rds-brand { flex: 1 1 auto; }
  .rds-search { flex: 0 1 340px; }
  .rds-nav { flex-basis: 100%; justify-content: flex-end; gap: 30px; }
  .rds-banner { min-height: 385px; padding: 38px 36px; }
  .rds-banner h1 { font-size: 47px; }
  .rds-banner__subtitle { font-size: 19px; }
  ul.products { grid-template-columns: repeat(4,minmax(0,205px)); column-gap: 25px; }
}
@media (max-width: 900px) {
  .single-product .site-content > .col-full { padding-top: 28px; }
  .single-product .rds-product-overview { grid-template-columns: minmax(0,1fr); gap: 26px; padding-bottom: 36px; }
  .single-product .rds-product-overview .product_title { font-size: 36px; }
  .rds-header__inner { padding-top: 14px; padding-bottom: 14px; gap: 12px 16px; }
  .rds-brand { flex: 1 1 auto; }
  .rds-brand__name { font-size: 25px; }
  .rds-search { flex: 1 1 100%; order: 3; }
  .rds-menu-toggle { display: inline-flex; gap: 7px; align-items: center; padding: 8px 10px; min-height: 44px; background: transparent; color: #303b50; font-weight: 400; font-size: 14px; border-radius: 4px; }
  .rds-menu-toggle:hover { background: #dfedf4; color: #303b50; }
  .rds-menu-toggle svg { width: 22px; }
  .rds-nav { order: 4; flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 25px; }
  .rds-navigation-ready .rds-nav { display: none; }
  .rds-navigation-ready .rds-nav.is-open { display: flex; }
  .rds-header__tools { min-height: 44px; }
  .rds-banner-wrap { padding-top: 8px; padding-bottom: 32px; }
  .rds-banner { min-height: 350px; padding: 30px; }
  .rds-banner__copy { width: 44%; }
  .rds-banner h1 { font-size: 41px; }
  .rds-banner__author { font-size: 15px; }
  .rds-banner__subtitle { font-size: 18px; }
  .rds-banner__books { left: 45%; right: 16px; }
  .rds-banner__book { width: 34%; }
  .rds-collection { padding-top: 28px; padding-bottom: 48px; }
  .rds-collection__heading h2 { font-size: 38px; }
  .rds-collection__heading p { font-size: 20px; }
  ul.products { grid-template-columns: repeat(2,minmax(0,220px)); gap: 38px 35px; }
  .rds-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .rds-footer__contact { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .single-product .site-content > .col-full { padding: 18px 30px 0; }
  .single-product div.product .rds-product-overview .woocommerce-product-gallery { max-width: 290px; }
  .single-product .rds-product-overview { gap: 18px; }
  .single-product .rds-product-overview .product_title { margin-bottom: 14px; font-size: 32px; }
  .single-product div.product .rds-product-overview p.price { margin-bottom: 12px; padding-bottom: 12px; font-size: 32px; }
  .single-product div.product .rds-product-overview form.cart { gap: 10px; }
  .single-product .rds-product-overview .single_add_to_cart_button { flex: 0 0 100%; width: 100%; padding: 12px 18px; font-size: 13px; }
  .single-product .rds-product-description, .single-product .rds-product-facts { font-size: 17px; }
  .single-product .rds-product-facts table.shop_attributes th { width: 30%; }
  .single-product .related.products { padding-top: 32px; padding-bottom: 32px; }
  .single-product .related.products > h2 { font-size: 32px; }
  .single-product .related.products ul.products { display: flex; justify-content: flex-start; gap: 24px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
  .single-product .related.products ul.products:has(> li.product:only-child) { justify-content: center; }
  .single-product .related.products ul.products li.product { flex: 0 0 264px; max-width: 100%; scroll-snap-align: center; }
  .single-product .related.products li.product .woocommerce-loop-product__title { font-size: 17px; min-height: 0; }
  .single-product .related.products li.product .button { font-size: 12px; }
  .rds-container, .col-full { padding-left: 20px; padding-right: 20px; }
  .site-content > .col-full { padding-top: 24px; padding-bottom: 45px; }
  .rds-topbar { display: none; }
  .rds-header .rds-header__inner { min-height: 69px; gap: 0; padding-top: 0; padding-bottom: 0; padding-left: 10px; padding-right: 108px; }
  .rds-header .rds-brand { gap: 8px; order: 2; flex: 1 1 0; justify-content: center; }
  .rds-header .rds-brand__mark { display: none; }
  .rds-header .rds-brand__name { font-size: 24px; }
  .rds-header .rds-brand__sub { font-size: 7px; letter-spacing: .06em; }
  .rds-menu-toggle { order: 1; padding: 8px; width: 44px; height: 44px; min-width: 44px; font-size: 12px; }
  .rds-menu-toggle span { display: none; }
  .rds-menu-toggle svg { width: 20px; }
  .rds-search { margin: 10px 0 0; }
  .rds-navigation-ready .rds-search { display: none; }
  .rds-header__inner.is-menu-open { padding-bottom: 10px; }
  .rds-header__inner.is-menu-open .rds-search { display: block; }
  .rds-header .rds-header__tools { position: absolute; top: 12px; right: 12px; padding: 0; width: 88px; gap: 0; height: 44px; min-height: 44px; }
  .rds-header__tools > .rds-icon-link { display: inline-flex; }
  .rds-cart-link { border: 0; padding-left: 0; }
  .rds-cart-count { right: 0; }
  .rds-nav { gap: 0 15px; }
  .rds-nav a { font-size: 12px; }
  .rds-banner-wrap { padding-top: 32px; padding-bottom: 28px; }
  .rds-banner { min-height: 390px; padding: 24px 24px 180px; align-items: flex-start; text-align: center; }
  .rds-banner::before { background: linear-gradient(180deg,rgba(22,15,10,.73),rgba(22,15,10,.35) 60%,rgba(22,15,10,.05)); }
  .rds-banner__copy { width: 100%; padding: 0; }
  .rds-banner h1 { font-size: 38px; margin-bottom: 5px; }
  .rds-banner__author { margin-bottom: 6px; font-size: 14px; }
  .rds-banner__subtitle { max-width: none; font-size: 17px; margin-bottom: 14px; }
  .rds-banner .rds-button { min-height: 42px; padding: 9px 20px; font-size: 12px; }
  .rds-banner__books { top: auto; bottom: 18px; left: 10%; right: 10%; height: 150px; }
  .rds-banner__book { width: 35%; max-width: 122px; }
  .rds-banner__book--1 { left: 1%; }
  .rds-banner__book--2 { left: 33%; }
  .rds-banner__book--3 { left: 65%; }
  .rds-collection { padding-top: 24px; padding-bottom: 40px; }
  .rds-collection__heading { margin-bottom: 24px; }
  .rds-collection__heading h2 { font-size: 34px; }
  .rds-collection__heading p { font-size: 18px; }
  ul.products { grid-template-columns: repeat(2,minmax(0,220px)); gap: 30px 18px; }
  ul.products li.product img { margin-bottom: 12px; }
  ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 { font-size: 15px; line-height: 1.45; min-height: 65px; margin-bottom: 10px; }
  ul.products li.product .price { font-size: 20px; padding: 9px 10px; min-width: 104px; }
  ul.products li.product .button { min-height: 46px; padding: 9px 7px; font-size: 10px; }
  .rds-footer { padding-top: 30px; }
  .rds-footer__inner { grid-template-columns: 1fr; gap: 25px; padding-bottom: 27px; }
  .rds-footer__brand { max-width: 100%; }
  .rds-footer__brand p { max-width: 100%; }
  .rds-footer__links { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .rds-footer__contact { grid-column: auto; }
  .rds-footer__contact h2 { margin-top: 0; margin-bottom: 5px; }
  .rds-footer__bottom { font-size: 11px; }
  table.shop_table td, table.shop_table th { padding: 10px; }
  .cart_totals, .woocommerce-checkout-review-order { padding: 16px; }
  .woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { padding: 20px; }
  .single-product .product_title { font-size: 34px; }
  .rds-account-popup__header { gap: 8px; padding: 12px 18px 0; }
  .rds-account-popup__tabs { gap: 16px; }
  .rds-account-popup__tab { font-size: 20px; }
  .rds-account-popup__content { padding: 20px 18px; }
}
@media (max-width: 359px) {
  .rds-container, .col-full { padding-left: 15px; padding-right: 15px; }
  .rds-brand__mark { display: none; }
  .rds-header .rds-brand__name { font-size: 21px; }
  .rds-banner { min-height: 380px; padding-left: 15px; padding-right: 15px; }
  .rds-banner h1 { font-size: 34px; }
  ul.products { column-gap: 14px; }
  ul.products li.product .button { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .rds-account-popup { --rds-account-transition-duration: 0ms; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .rds-cart-drawer, .rds-account-popup { display: none !important; }
  .rds-topbar, .rds-nav, .rds-search, .rds-header__tools, .rds-menu-toggle, .rds-footer, .button, .rds-button { display: none !important; }
  body { color: #000; background: #fff; }
}
