body {
  background: #fff;
}
@media (max-width: 767px) {
  body, body.is-homepage { background: #fff; }
  .is-homepage .homepage-assortment { background: #fff; }
  #site-menu, #site-menu .catalog-header-top { background: #fff; }
  .is-homepage #box-latest-products-secondhand,
  .is-homepage #box-featured-products,
  .is-homepage #box-childrens-books { background: transparent; }
}

.sticker.new,
.social-bookmarks,
.stock-available,
.buy_now .tax, 
.buy_now .tax + .form-group label,
.fa-chevron-circle-up.fa-3x,
#scroll-up,
#box-latest-products h2,
.page-url-create_account #box-account-login form p:first-of-type,
#randomrandom {
  display: none; 
}

.page-url-om-oss .layout.row > .col-md-3 {
  display: none;
}
.page-url-om-oss .layout.row > .col-md-9 {
  grid-column: 1 / -1 !important;
  justify-self: center;
  width: min(100%, 980px);
}
.page-url-om-oss .breadcrumb {
  display: none;
}
.page-url-om-oss #categories-list-footer {
  display: none;
}

/* Om oss - förbättrad typografi/layout utan innehållsändring */
.page-url-om-oss main#content {
  max-width: 980px;
  margin: 0 auto;
}

.page-url-om-oss #box-page,
.page-url-om-oss #box-information {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-url-om-oss #box-page .card-body,
.page-url-om-oss #box-information .card-body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.25rem, 2vw, 2.5rem);
  background: #fff;
  border: 0;
  border-radius: 16px;
}

.page-url-om-oss #box-page h1,
.page-url-om-oss #box-page h2,
.page-url-om-oss #box-page h3,
.page-url-om-oss #box-information h1,
.page-url-om-oss #box-information h2,
.page-url-om-oss #box-information h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.page-url-om-oss #box-information h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0;
}

.page-url-om-oss #box-information h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  padding-top: 1rem;
  border-top: 1px solid #f0f1f5;
}

.page-url-om-oss #box-page p,
.page-url-om-oss #box-page li,
.page-url-om-oss #box-information p,
.page-url-om-oss #box-information li {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2d2d33;
}

.page-url-om-oss #box-page p:first-of-type,
.page-url-om-oss #box-information p:first-of-type {
  font-size: 1.22rem;
  color: #1d1d22;
  line-height: 1.6;
}

.page-url-om-oss #box-page ul,
.page-url-om-oss #box-page ol,
.page-url-om-oss #box-information ul,
.page-url-om-oss #box-information ol {
  padding-left: 1.2rem;
  margin: 1rem 0 1.2rem;
}

.page-url-om-oss #box-page img,
.page-url-om-oss #box-information img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0 1.25rem;
}

.page-url-om-oss #box-page a,
.page-url-om-oss #box-information a {
  text-underline-offset: 3px;
}

.page-url-om-oss #box-page blockquote,
.page-url-om-oss #box-information blockquote {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid #9fc56a;
  background: #f7faf1;
  border-radius: 8px;
}

.homepage-new-title {
  font-family: Georgia, serif;
  letter-spacing: 1px;
  font-weight: 400;
  margin-top: 4rem;
}

.homepage-new-letter {
  margin-left: 0.04em;
}

@font-face {
  font-family: 'Satisfy';
  src: url('../fonts/satisfy-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
  .homepage-new-title,
  #box-childrens-books #childrens-books-title,
  .homepage-assortment #homepage-assortment-title {
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    font-size: clamp(3.5rem, 5vw, 5rem);
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: lowercase;
  }
  .homepage-new-title::first-letter,
  #box-childrens-books #childrens-books-title::first-letter,
  .homepage-assortment #homepage-assortment-title::first-letter { text-transform: uppercase; }
  .homepage-new-title .homepage-new-letter { position: relative; top: .09em; margin-left: 0; }
  .homepage-assortment #homepage-assortment-title .assortment-heading-r,
#box-childrens-books #childrens-books-title .books-heading-r { font-family: Georgia, serif; font-style: italic; font-size: .79em; margin-inline: -.025em; }
  #box-childrens-books #childrens-books-title .books-heading-o { font-family: Georgia, serif; font-style: italic; font-size: .79em; margin-inline: -.025em; }
@media (max-width: 1023px) {
  .homepage-new-title,
  #box-childrens-books #childrens-books-title,
  .homepage-assortment #homepage-assortment-title { font-size: clamp(2.2rem, 7vw, 3.5rem); }
}
@media (min-width: 992px) {
  .homepage-new-title {
    margin-top: 6rem;
  }
}

#box-category .listing.products > .product {
  padding-top: 1rem;
}

#box-featured-products,
#box-latest-products,
#box-latest-products-secondhand { border: none; box-shadow: none; }

#box-featured-products .product,
#box-latest-products .product,
#box-latest-products-secondhand .product {
  border: none;
}

/* Produkter-sidan: inga ramar runt varje produktkort */
.page-url-produkter #box-products .product {
  border: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .page-url-produkter #box-products .product:hover {
    box-shadow: none;
    transform: none;
  }
}

  
#box-latest-products-secondhand {
  margin-top: 1rem;
}
#box-latest-products-secondhand .card-header {
  padding-top: 0;
  padding-bottom: 1.5rem;
  text-align: center;
}

#box-latest-products-secondhand .listing.products.columns { grid-template-columns: minmax(0, 1fr); }
#box-latest-products-secondhand .listing.products.columns > .product:nth-child(n+5) { display: none; }
@media (min-width: 360px) {
  #box-latest-products-secondhand .listing.products.columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  #box-latest-products-secondhand .listing.products.columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #box-latest-products-secondhand .listing.products.columns > .product:nth-child(-n+6) { display: block; }
  #box-latest-products-secondhand .listing.products.columns > .product:nth-child(n+7) { display: none; }
}
@media (min-width: 880px) {
  #box-latest-products-secondhand .listing.products.columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  #box-latest-products-secondhand .listing.products.columns { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #box-latest-products-secondhand .listing.products.columns > .product:nth-child(-n+10) { display: block; }
  #box-latest-products-secondhand .listing.products.columns > .product:nth-child(n+11) { display: none; }
}

@media (min-width: 1420px) {
  #box-latest-products-secondhand .listing.products.columns { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.product-buy-button.btn.btn-success { background: #008b32; border-color: #008b32; color: #fff; min-width: 180px; min-height: 46px; border-radius: 6px; font-size: 1.2rem; font-weight: 700; }
.product-buy-button.btn.btn-success:hover:not(.active):not(.disabled):not([disabled]),
.product-buy-button.btn.btn-success:is(:active, :focus, :disabled, .active, .disabled) { background: #008b32; border-color: #008b32; color: #fff; opacity: 1; }
.product-buy-button.btn.btn-success:is(:active, .active) { box-shadow: none !important; }
.product-buy-button.btn.btn-success { -webkit-tap-highlight-color: transparent; }
.product-buy-button.is-in-cart:disabled { opacity: 1; cursor: default; }
.product-buy-quantity { display: inline-grid; grid-template-columns: 52px minmax(60px, 1fr) 52px; gap: 3px; width: 220px; max-width: 100%; border-radius: 6px; overflow: hidden; vertical-align: middle; }
.product-buy-quantity button, .product-buy-quantity output { display: grid; place-items: center; min-height: 46px; padding: .35rem; border: 0; margin: 0; color: white; background: #008b32; font: inherit; font-size: 1.4rem; font-weight: 700; }
.product-buy-quantity output { background: #519e4f; }
.product-buy-quantity button { cursor: pointer; }
.product-buy-quantity button:disabled { opacity: .5; cursor: default; }
.product-buy-quantity button:focus-visible { outline: 2px solid #293c32; outline-offset: -3px; }
.product-buy-quantity[hidden], .product-buy-button[hidden] { display: none !important; }
.product-buy-status { margin: .6rem 0 0; color: #606960; font-size: .9rem; }
.product-buy-status:empty { display: none; }

/* Keep room at both edges of the desktop homepage. */
@media (min-width: 992px) {
  .homepage-container { box-sizing: border-box; padding-inline: clamp(2rem, 5vw, 5rem); }
  .homepage-container #box-latest-products-secondhand {
    width: calc(100vw - 2 * clamp(1rem, 4vw, 3rem));
    margin-inline-start: calc(50% - 50vw + clamp(1rem, 4vw, 3rem));
  }
  .homepage-container #box-latest-products-secondhand > .card-body { padding-inline: 0; }
}

.homepage-intro {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 3rem) 1rem 1rem;
  text-align: center;
}

.homepage-eyebrow {
  margin: 2rem 0 1rem;
  color: #596454;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.homepage-intro .homepage-greeting {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.homepage-intro-description {
  text-wrap: balance;
  max-width: 480px;
  margin: 1.5rem auto 2rem;
  color: #606060;
  font-size: 1.1rem;
  line-height: 1.6;
}

.homepage-search-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

/* Keep mobile search text large enough to avoid focus zoom, without limiting pinch zoom. */
@media (max-width: 1023px) {
  form[name="search_form"] input[name="query"],
  form[name="search_size_filter"] input[name="query"] { font-size: max(16px, 1rem); }
}

.homepage-search .input-group {
  min-height: 3.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.price-wrapper {
  margin-bottom: 3rem;
}
@media (max-width: 639px) {
  .listing.products.columns .product .image-wrapper { display: flex; justify-content: center; }
  .listing.products.columns .product .image-wrapper img.image { width: 90%; }
  .listing.products.columns .product .price-wrapper { margin-bottom: .5rem; }
  .listing.products.columns .product .info { padding-bottom: .25rem; }
}

#cart .badge {
  animation: none;
  background: #222;
}

#categories-list-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 3rem auto calc(2rem + 13vh);
  padding: 1rem 1.3rem;
  max-width: 1200px;
}
#categories-list-footer h3 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

#categories-list-footer ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
}

#categories-list-footer li {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: sans-serif;
}

#categories-list-footer a {
  display: block;
  padding: 0.6rem 0;
  color: #2F88CC;
}

#categories-list-footer a:visited {
  color: #36678C;
}

#homepage-secondhand-intake {
  max-width: 640px;
  margin: clamp(6rem, 12vw, 10rem) auto calc(2rem + 8vh);
  padding: 0 1.3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

#homepage-secondhand-intake h2 {
  text-align: center;
}

#footer {
  background: #f5f5f5; 
  border-top: 1px solid #F6F4F0;
}

#box-latest-products-secondhand h4,
#box-latest-products-secondhand .manufacturer-name { display: none; }

.secondhand-products-grid {
  align-items: stretch;
}

.secondhand-products-grid > .secondhand-product-link {
  display: block;
  height: 100%;
}

.secondhand-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.secondhand-image-wrap {
  height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.secondhand-image-wrap img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.secondhand-product-card .name {
  min-height: 2.6em;
}

.secondhand-product-card .condition {
  min-height: 1.4em;
}

/* Keep purchasing ahead of supplementary photos on narrow product pages. */
#box-product .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
#box-product .product-layout > div { width: 100%; min-width: 0; }
#box-product .product-main-image { grid-column: 1; grid-row: 1; }
#box-product .product-purchase { grid-column: 2; grid-row: 1 / span 2; }
#box-product .product-gallery { grid-column: 1; grid-row: 2; }
@media (max-width: 991px) {
  #box-product .product-layout { display: flex; flex-direction: column; gap: 20px; }
  #box-product .product-main-image .main-image {
    display: flex; align-items: center; justify-content: center;
    border: 0; margin: 0;
  }
  #box-product .product-main-image .main-image img {
    width: 100%; height: 300px; max-height: 40vh;
    object-fit: contain; aspect-ratio: auto !important;
  }
  #box-product .product-purchase .title { margin-top: 0; }
}

.product-gallery-dialog{border:0;padding:0;background:transparent;color:white;width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:visible}
.product-gallery-dialog::backdrop{background:rgba(0,0,0,.78)}
.product-gallery-frame{position:relative;background:#fff;border-radius:8px;padding:48px 12px 12px}
.product-gallery-image{display:block;width:100%;height:min(80dvh,1100px);object-fit:contain;touch-action:pan-y pinch-zoom}
.product-gallery-image.is-loading{opacity:0}
.product-gallery-count{position:absolute;top:14px;left:16px;color:#333;font-size:14px}
.product-gallery-frame button{position:absolute;border:0;border-radius:50%;width:44px;height:44px;background:rgba(0,0,0,.75);color:white;cursor:pointer;line-height:1;font-size:36px;display:flex;align-items:center;justify-content:center}
.product-gallery-frame button:focus-visible{outline:3px solid #8aba27;outline-offset:3px}
.product-gallery-close{right:8px;top:2px}
.product-gallery-previous{left:16px;top:50%}
.product-gallery-next{right:16px;top:50%}
.product-gallery-frame [hidden]{display:none!important}

/* A square display box must never stretch a portrait or landscape product photo. */
#box-product .images img,
.listing.products .product .image,
#box-recently-viewed-products img {
  object-fit: contain;
}

/* Product pages: a calm purchase area and readable information without a sidebar. */
.product-page { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.product-page .layout { margin: 0; }
#box-product .product-hero { border: 0; box-shadow: none; background: transparent; }
#box-product .product-hero > .card-body { padding: 0; }
#box-product .product-layout { gap: clamp(1.5rem, 4vw, 3.5rem); }
#box-product .product-main-image .main-image { display: flex; align-items: center; justify-content: center; border: 0; box-shadow: none; background: transparent; border-radius: 14px; padding: 1rem; margin: 0; }
#box-product .product-main-image .main-image img { width: 100%; height: min(480px, 42vw); object-fit: contain; aspect-ratio: auto !important; }
#box-product .product-purchase .title { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.2; }
#box-product .short-description { font-size: 1.1rem; line-height: 1.65; margin-bottom: 1.25rem; max-width: 52ch; }
#box-product .short-description > :first-child { margin-top: 0; }
#box-product .short-description > :last-child { margin-bottom: 0; }
#box-product .buy_now { border: 0; background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
#box-product .buy_now .price { font-size: 1.9rem; font-weight: 600; }
#box-product .buy_now button[name="add_cart_product"] { min-height: 46px; padding-inline: 1.5rem; }
#box-product .product-gallery { margin-top: 0; }
#box-product .product-gallery .thumbnail { border: 1px solid #e6e8e1; border-radius: 8px; }
#box-product .product-information { margin-top: 2.5rem; border: 0; border-top: 1px solid #e4e7dd; border-radius: 0; box-shadow: none; background: transparent; }
#box-product .product-information > .card-body { padding: 2rem 0; }
#box-product .product-information .description { max-width: 72ch; line-height: 1.75; }
#box-product .product-information .description p { margin-bottom: 1rem; }
#box-product .product-information h3 { margin-top: 0; margin-bottom: 1rem; }
@media(max-width: 991px) {
  #box-product .product-main-image .main-image img { height: min(300px, 36vh); }
  #box-product .product-layout { gap: 1.25rem; }
  #box-product .buy_now { padding: 0; }
  #box-product .product-information { margin-top: 1.5rem; }
}

#box-product .buy_now form { padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent; }
#box-product .product-information .description ul { padding-left: 1.3rem; margin-bottom: 1.25rem; }
#box-product .product-information .description li { margin-bottom: .3rem; }
@media(max-width: 991px) {
  #box-product .product-main-image .main-image img { height: min(260px, 30vh); }
}
#box-product .product-purchase { grid-row: 1; }

.product-page .product-breadcrumbs { margin-block: 1.5rem 2rem; }

#box-bestsellers { padding: 1rem clamp(1rem, 3vw, 2.5rem) 3rem; margin: 1rem auto 2rem; }
#box-bestsellers > h2 { text-align: center; margin-bottom: 2rem; font-size: 1.5rem; }
.bestsellers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.bestseller-product { min-width: 0; text-align: center; }
.bestseller-product > a { display: block; color: inherit; text-decoration: none; border-radius: 10px; }
.bestseller-image { aspect-ratio: 1; padding: 1rem; background: transparent; border-radius: 12px; }
.bestseller-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bestseller-product h3 { font: inherit; font-weight: 600; line-height: 1.45; margin: 1rem 0 .5rem; }
.bestseller-price { font-weight: 600; margin: 0; }
.bestseller-product a:hover h3 { text-decoration: underline; }
.bestseller-product a:focus-visible { outline: 2px solid #6c8f37; outline-offset: 5px; }
@media(max-width: 767px) { .bestsellers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }

.product-cart-dialog { box-sizing:border-box; position:fixed; inset:0; margin:auto; width:min(480px,calc(100vw - 2rem)); max-height:calc(100dvh - 2rem); overflow:auto; border:0; border-radius:16px; padding:2rem; color:#222; background:white; box-shadow:0 16px 64px #0003; }
.product-cart-dialog::backdrop { background:rgba(0,0,0,.4); }
.product-cart-dialog h2 { font-size:1.4rem; margin:0 2rem 1.5rem 0; }
.product-cart-close { position:absolute; top:.5rem; right:.5rem; border:0; background:transparent; width:44px; height:44px; font-size:1.7rem; }
.product-cart-item { display:flex; gap:1rem; align-items:center; margin-bottom:1.5rem; }
.product-cart-item img { width:100px; height:100px; object-fit:contain; }
.product-cart-item h3 { font-size:1.1rem; line-height:1.4; margin:0 0 .5rem; }
.product-cart-quantity { display:inline-flex; align-items:center; border:1px solid #dce0d4; border-radius:8px; overflow:hidden; }
.product-cart-quantity button { width:48px; height:44px; border:0; background:#f4f6ef; font-size:1.4rem; }
.product-cart-quantity button:disabled { opacity:.35; cursor:default; }
.product-cart-quantity output { min-width:56px; text-align:center; font-weight:600; }
.product-cart-status { min-height:1.5em; font-size:.9rem; margin:.5rem 0; }
.product-cart-total { font-weight:600; }
.product-cart-actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.5rem; }
.product-cart-actions > * { flex:1; white-space:nowrap; }
@media(max-width:480px) { .product-cart-dialog { padding:1.5rem; } .product-cart-actions { flex-direction:column; } }

/* Center the actual related-product group rather than leaving empty grid columns. */
#box-similar-products .card-title { text-align: center; }
#box-similar-products .listing.products.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
#box-similar-products .listing.products.columns > .product {
  flex: 0 1 220px;
  width: 220px;
  max-width: 240px;
  min-width: 0;
}
@media(max-width: 767px) {
  #box-similar-products .listing.products.columns { gap: 1rem; }
  #box-similar-products .listing.products.columns > .product {
    flex-basis: calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
  }
}

/* Category/listing areas sit directly on the page, without an enclosing card. */
.catalog-products-section.card, #box-products.card { border: 0; box-shadow: none; background: transparent; }

.catalog-products-section .card-title { text-align: center; }

/* A compact collection link closes the new-products section. */
#box-featured-products .new-products-intro {
  width: calc(100% - 2rem);
  max-width: 44ch;
  margin: .75rem auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  line-height: 1.6;
}
#box-latest-products-secondhand .secondhand-collection-header,
#box-featured-products .all-products-footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
#box-featured-products .all-products-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #293c32;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
#box-featured-products .all-products-link:hover { color: #293c32; text-decoration: none; }
#box-featured-products .all-products-link:focus-visible { outline: 3px solid #6c8f37; outline-offset: 5px; }

/* An editorial invitation to give pre-loved things a new chapter. */
#box-latest-products-secondhand .secondhand-discover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.5rem;
  width: min(100%, 1100px);
  box-sizing: border-box;
  padding: clamp(1.75rem, 4vw, 3.5rem) 1rem;
  border-radius: 4px;
  background: transparent;
  color: #293c32;
  text-decoration: none;
  text-align: center;

}
.secondhand-discover-heading, .secondhand-discover-detail { display: flex; flex-direction: column; }
.secondhand-discover-eyebrow { margin-bottom: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.secondhand-discover-title { font-family: Georgia, serif; font-size: clamp(1.1rem, 5.5vw, 1.7rem); font-weight: 400; line-height: 1.02; letter-spacing: .01em; }
.secondhand-discover-detail { gap: 1.5rem; font-size: 1rem; line-height: 1.6; }
.secondhand-discover-detail > span { font-size: 1.1rem; }
#box-latest-products-secondhand .secondhand-discover-detail > span { display: none; }
@media (max-width: 639px) {
  #box-latest-products-secondhand .secondhand-discover-detail > span { display: block; padding-top: 1.5rem; }
}
.secondhand-discover-action { font-size: 1rem; align-self: center; display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 600; }
.secondhand-discover-action:hover { color: inherit; text-decoration: none; }
#box-latest-products-secondhand .secondhand-discover:hover { background: transparent; color: #293c32; }
#box-latest-products-secondhand .secondhand-discover-action:focus-visible { outline: 3px solid #6c8f37; outline-offset: 5px; }
@media (max-width: 575px) {
  #box-latest-products-secondhand .secondhand-discover { flex-direction: column; align-items: center; gap: 1.5rem; }
  .secondhand-discover-detail { gap: 1rem; }
}
@media (min-width: 768px) {
  .secondhand-discover-title { white-space: nowrap; }
}

#site-menu {
  position: relative;
  top: auto;
  z-index: 10;
  overflow: visible;
  background: #fff;
  color: #43382f;
}
body.scrolling-down #site-menu { top: auto; }
.catalog-header-top { background: #f3f0eb; }
.catalog-header-top-inner,
.catalog-header-main {
  padding-inline: clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
}
.catalog-header-top-inner {
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 42px;
  font-size: .85rem;
  color: #68594d;
}
.catalog-header-values,
.catalog-header-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(.75rem, 2vw, 2rem);
}
@media (min-width: 768px) {
  .catalog-header-top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .catalog-header-values { grid-column: 2; justify-content: center; }
  .catalog-header-info { grid-column: 3; justify-content: flex-end; }
}
.catalog-header-main {
  gap: 12px clamp(1rem, 3vw, 3rem);
  min-height: 98px;
  padding-block: 16px;
}
#header-logo { position: relative; flex: none; display: inline-flex; align-items: center; transform: translateY(31px); }
.catalog-logo-beta { position: absolute; left: 89%; bottom: calc(100% - 4px); transform: translateX(-50%); line-height: 1; color: #526049; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
#header-logo img { display: block; width: clamp(120px, 14vw, 184px); height: auto; }
.catalog-header-categories {
  margin-inline-start: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(.75rem, 1.6vw, 1.5rem);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.catalog-header-info a,
.catalog-header-categories a,
.catalog-header-cart a { color: inherit; }
.catalog-header-info a:hover,
.catalog-header-categories a:hover { text-decoration: underline; text-underline-offset: .25em; }
.catalog-header-cart { flex: none; }
.catalog-header-cart #cart { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 1.65rem; }
.catalog-header-cart #cart .badge { background: #526049; }
@media (max-width: 767px) {
  #header-logo { transform: translateY(5px); }
  .catalog-header-top-inner { flex-wrap: wrap; padding-block: 8px; }
  .catalog-header-info { display: none; }
  .catalog-header-main { flex-wrap: wrap; min-height: 0; padding-block: 12px; }
  .catalog-header-cart { margin-inline-start: auto; }
  .catalog-header-categories { order: 1; flex: 1 0 100%; justify-content: flex-start; margin: 0; }
  .catalog-header-categories a { padding-block: 4px; }
}

#box-latest-products-secondhand .product > .link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#box-latest-products-secondhand .product .info {
  margin-top: auto;
}
#box-latest-products-secondhand .secondhand-material {
  margin-bottom: .35rem;
  color: #526049;
  font-size: .85rem;
  line-height: 1.35;
}

.admin-quick-edit {
  margin: 2rem 0;
  text-align: center;
}
.admin-quick-edit a {
  display: inline-block;
  padding: .8rem 1.4rem;
  border: 1px solid #dce2d7;
  border-radius: 7px;
  color: #344735;
  background: #f5f7f3;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.admin-quick-edit a:hover { background: #eaf0e7; text-decoration: underline; }
.admin-quick-edit a:focus-visible { outline: 2px solid #526049; outline-offset: 3px; }

/* Family apps */
.homepage-apps { max-width: 1040px; margin: clamp(5rem, 10vw, 9rem) auto 5rem; padding: 0 clamp(1rem, 3vw, 2rem); text-align: center; color: #293c32; }
.homepage-apps-eyebrow { margin: 0 0 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.homepage-apps h2 { max-width: 740px; margin: 0 auto 1.5rem; font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.homepage-apps-intro { max-width: 680px; margin: 0 auto 3rem; color: #606960; font-size: 1.1rem; line-height: 1.65; text-wrap: balance; }
.homepage-apps-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; text-align: left; }
.homepage-apps-links a { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem 2rem 1.75rem 0; border-top: 1px solid #dce2d9; color: #293c32; text-decoration: none; font-size: 1.5rem; font-weight: 500; transition: color .15s ease; }
.homepage-apps-links a:hover { color: #687852; }
.homepage-apps-links a:focus-visible { outline: 2px solid #526049; outline-offset: 6px; }
.homepage-apps-description { color: #606960; font-size: .95rem; font-weight: 400; }
.homepage-apps-arrow { position: absolute; right: .25rem; top: 1.75rem; font-size: 1.2rem; }
.homepage-apps-coming { margin: 2rem auto 1rem; color: #606960; line-height: 1.6; }
.homepage-apps-note { max-width: 600px; margin: 0 auto; color: #737b72; font-size: .85rem; line-height: 1.65; text-wrap: balance; }
@media (max-width: 575px) { .homepage-apps-links { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 576px) {
  .homepage-apps-links { grid-auto-flow: column; grid-template-rows: repeat(2, auto); }
  .homepage-apps-links a:nth-child(2n) { border-bottom: 1px solid #dce2d9; }
}


.catalog-header-categories {
  position: relative;
  align-self: stretch;
}



#site-menu { overflow-x: clip; overflow-y: visible; }






#site-menu { border-bottom: 0; }

@media (min-width: 768px) {
  .catalog-header-main {
    min-height: 78px;
    padding-block: 10px;
    display: grid;
    grid-template-columns: clamp(120px, 14vw, 184px) minmax(0, 1fr) clamp(120px, 14vw, 184px);
  }
  .catalog-header-categories {
    margin-inline-start: 0;
    justify-content: center;
    align-self: center;
  }
  .catalog-header-cart { justify-self: end; }
}
@media (max-width: 767px) {
  .catalog-header-categories { justify-content: center; }
}

.catalog-header-main { position: relative; }
#header-logo {
  background: #fff;
  box-shadow: 12px 0 #fff, -12px 0 #fff;
  z-index: 1;
}
@media (min-width: 768px) {
  #header-logo {
    position: absolute;
    left: calc(clamp(1rem, 4vw, 3rem) - 8px);
    box-shadow: calc(clamp(1rem, 4vw, 3rem) - 8px) 0 #fff, -12px 0 #fff;
    bottom: -4px;
    transform: translateY(50%);
  }
  .catalog-header-categories { grid-column: 2; }
  .catalog-header-cart { grid-column: 3; }
}

.customer-service-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 7rem) 1rem 3rem;
}
.customer-service-page #box-contact-us .row {
  display: flex;
  flex-direction: column;
}
.customer-service-page #box-contact-us [class*="col-md-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
}
.customer-service-page #box-contact-us .col-md-4 {
  margin-top: 2rem;
}

/* Leave room for the logo extending below the header divider. */
#site-menu + #content-wrapper {
  padding-top: 4rem;
}
@media (max-width: 767px) {
  #site-menu + #content-wrapper { padding-top: 1.5rem; }
}

@media (max-width: 767px) {
  #site-menu { border-bottom: 0; }
  .catalog-header-top-inner { padding-right: 4rem; min-height: 44px; }
  .catalog-header-main { position: static; justify-content: center; }
  #header-logo { margin-inline: auto; transform: none; }
  .catalog-header-cart {
    position: absolute;
    top: 0;
    right: 1rem;
    margin: 0;
  }
  .catalog-header-cart #cart { min-height: 44px; }
  .catalog-header-cart:has(.quantity:not(:empty)) { right: 1.5rem; }
  .catalog-header-cart #cart:has(.quantity:not(:empty)) { display: inline-flex; align-items: center; gap: 6px; }
  .catalog-header-cart #cart .badge.quantity:not(:empty) { position: static; display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 5px; border-radius: 999px; background: #000; color: #fff; font-size: 11px; line-height: 1; flex: none; }
  .catalog-header-categories { justify-content: center; }
}

@media (max-width: 767px) {
  .catalog-header-top {
    position: relative;
    background: #fff;
  }
  .catalog-header-top::before {
    content: "";
    position: absolute;
    inset: 0 calc(44px + 2rem) 0 0;
    background: #f3f0eb;
    border-bottom-right-radius: 20px;
    pointer-events: none;
  }
  .catalog-header-top-inner { position: relative; padding-right: calc(44px + 2rem); }
}

@media (max-width: 767px) {
  .catalog-header-main { padding-top: 44px; }
  .is-homepage #site-menu .catalog-header-main { padding-block: 0; min-height: 0; }
  .is-homepage #site-menu, .is-homepage #site-menu .catalog-header-top { background: #fff; }
}

@media (max-width: 767px) {
  .catalog-header-categories > a:first-child { order: -2; }
  .catalog-header-categories > .catalog-header-clothing { order: -1; }
}

@media (max-width: 767px) {
  #header-logo img { width: 180px; }
}

.search-size-picker { margin: 1rem auto; text-align: left; font-size: .95rem; }
.search-size-picker summary { cursor: pointer; color: #526049; text-align: right; padding: .5rem; }
.search-size-picker fieldset { border: 0; padding: .75rem 0; margin: 0; }
.search-size-picker legend { font-size: .9rem; }
.search-size-options { display: flex; flex-direction: column; gap: .5rem;  padding: .25rem; }
.search-size-options label { display: flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border: 1px solid #d5dcd2; border-radius: 8px; cursor: pointer; font-weight: 400; }
.search-size-options label:has(input:checked) { background: #edf2e8; border-color: #526049; }

.search-size-controls { position: relative; margin-top: .25rem; }
.search-selected-sizes { float: left; display: flex; flex-wrap: wrap; max-width: 65%; gap: .4rem; padding-top: .25rem; }
.search-selected-size { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .1rem .2rem .1rem .5rem; border-radius: 6px; background: #f1f1f1; color: #293c32; font-size: .95rem; }
.search-selected-size button { border: 0; background: transparent; color: inherit; cursor: pointer; min-width: 28px; min-height: 28px; font-size: 1.15rem; }
.search-selected-size button:focus-visible { outline: 2px solid #526049; }
.search-size-controls::after { content: ""; display: table; clear: both; }
.search-size-controls .search-size-picker { margin-top: 0; }
.search-size-controls .search-size-picker fieldset { clear: both; }

.search-size-picker summary { list-style: none; }
.search-size-picker summary::-webkit-details-marker { display: none; }
.search-size-picker[open] > summary { font-size: 1.5rem; line-height: 1; min-height: 40px; }

@media (max-width: 767px) {
  .catalog-header-categories { display: none; }
}

.search-all-sizes:not([hidden]) {
  display: table;
  width: auto;
  margin: .75rem auto 0;
  padding: .75rem 1rem;
  border: 1px solid #d5dcd2;
  border-radius: 10px;
  background: #f5f5f5;
  color: #293c32;
  font-size: .95rem;
  text-align: center;
  text-decoration: none;
}
.search-all-sizes:hover { background: #ededed; }
.search-all-sizes:focus-visible { outline: 2px solid #526049; outline-offset: 3px; }

.search-size-controls.has-selected-sizes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.search-size-controls.has-selected-sizes .search-selected-sizes {
  float: none;
  align-self: center;
  justify-content: center;
  max-width: 100%;
}
.search-size-controls.has-selected-sizes .search-all-sizes {
  align-self: center;
}
.search-size-controls.has-selected-sizes .search-size-picker {
  width: 100%;
  margin-top: .25rem;
}
.search-size-controls.has-selected-sizes .search-size-picker summary {
  text-align: center;
}

.search-size-picker[open] {
  position: relative;
  padding-top: 0;
}
.search-size-picker[open] > summary {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: .5rem;
  text-align: center;
  z-index: 1;
}
.search-size-picker[open] fieldset { padding-top: 0; }
.search-size-picker[open] legend {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: .65rem 48px .65rem 0;
}

.search-size-controls.has-selected-sizes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.search-size-controls.has-selected-sizes .search-selected-sizes {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  justify-content: flex-start;
}
.search-size-controls.has-selected-sizes .search-size-picker {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
.search-size-controls.has-selected-sizes .search-size-picker summary {
  text-align: right;
}
.search-size-controls.has-selected-sizes .search-size-picker[open] {
  grid-column: 1 / -1;
  grid-row: 2;
}
.search-size-controls .search-all-sizes:not([hidden]) {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: .75rem 0 0;
  padding: .25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.search-size-controls .search-all-sizes::after {
  content: "→";
  font-size: 1.3em;
  line-height: 1;
}
.search-size-controls .search-all-sizes:hover { background: transparent; color: #526049; }

.search-size-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(64px, auto) auto auto;
  align-items: start;
}
.search-size-controls .search-selected-sizes {
  grid-column: 1;
  grid-row: 1;
  float: none;
  justify-self: start;
  max-width: 100%;
}
.search-size-controls .search-size-picker {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
.search-size-controls .search-size-picker[open],
.search-size-controls.has-selected-sizes .search-size-picker[open] {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 1rem;
}
.search-size-controls .search-all-sizes:not([hidden]) {
  grid-column: 1 / -1;
  grid-row: 3;
}

.search-size-controls .search-all-sizes:not([hidden]) { text-decoration: none; }
.search-all-sizes > span { text-decoration: none; }
.search-size-controls .search-all-sizes::after {
  content: "";
  width: 20px;
  height: 16px;
  flex: 0 0 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 10h19M15 4l6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-size-controls {
  grid-template-rows: minmax(44px, auto) auto auto;
}
.search-size-controls .search-all-sizes:not([hidden]) {
  margin-top: .25rem;
  font-size: 1.05rem;
}

.search-size-controls .search-all-sizes:not([hidden]) {
  justify-self: center;
  text-align: center;
}

.search-size-controls.has-selected-sizes .search-size-picker:not([open]) > summary {
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .04em;
}

.search-size-controls.has-selected-sizes .search-selected-sizes {
  grid-column: 1;
  grid-row: 1;
}
.search-size-controls.has-selected-sizes .search-all-sizes:not([hidden]) {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin-top: .25rem;
  margin-left: .75rem;
  font-size: .95rem;
  text-align: right;
}
.search-size-controls.has-selected-sizes .search-size-picker {
  grid-column: 1 / -1;
  grid-row: 2;
}
.search-size-controls.has-selected-sizes .search-size-picker:not([open]) > summary {
  text-align: left;
  padding-left: 0;
}

.search-results-form { max-width: 480px; margin: 0 auto 1.5rem; padding: 0 1rem; }
.search-results-form > label { display: block; margin-bottom: .4rem; }
.search-results-form > .btn { margin-top: .5rem; }
.search-results-form .search-size-controls { grid-template-rows: minmax(36px, auto) auto auto; }

.search-size-controls.has-selected-sizes .search-size-picker:not([open]) > summary {
  color: #808080;
}

.homepage-apps-practical { white-space: nowrap; }

.listing .product,
.listing .product:hover {
  border: 0;
  box-shadow: none;
}

/* Keep the header layout stable while revealing its controls. */
@keyframes catalog-control-reveal {
  from { opacity: 0; visibility: hidden; transform: translateY(-5px); }
  to { opacity: 1; visibility: visible; transform: translateY(0); }
}
@keyframes catalog-divider-reveal {
  from { border-bottom-color: transparent; }
  to { border-bottom-color: #eeeae3; }
}
.catalog-header-cart:has(.quantity:empty) {
  animation: catalog-control-reveal 400ms ease-out 7.5s both;
}
.is-homepage .catalog-header-categories {
  animation: catalog-control-reveal 400ms ease-out 7s both;
}
.is-homepage #site-menu {
  animation: catalog-divider-reveal 400ms ease-out 7s both;
}
@media (prefers-reduced-motion: reduce) {
  .catalog-header-cart:has(.quantity:empty),
  .is-homepage .catalog-header-categories,
  .is-homepage #site-menu { animation-duration: 1ms; }
}

@keyframes homepage-intro-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.homepage-mobile-intro h2 {
  animation: homepage-intro-reveal 450ms ease-out both;
}
.homepage-mobile-intro .homepage-new-products {
  animation: homepage-intro-reveal 450ms ease-out 350ms both;
}
@media (prefers-reduced-motion: reduce) {
  .homepage-mobile-intro h2,
  .homepage-mobile-intro .homepage-new-products { animation: none; }
}

.catalog-header-info {
  animation: catalog-control-reveal 400ms ease-out 4s both;
}
@media (prefers-reduced-motion: reduce) {
  .catalog-header-info { animation-duration: 1ms; }
}

.homepage-intro .homepage-search-wrapper {
  animation: catalog-control-reveal 450ms ease-out 700ms both;
}
@media (prefers-reduced-motion: reduce) {
  .homepage-intro .homepage-search-wrapper { animation: none; }
}

/* Fade the complete logo without changing its existing position. */
@keyframes catalog-logo-reveal {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}
#header-logo {
  animation: catalog-logo-reveal 400ms ease-out 8s both;
}
#site-menu:has(.catalog-header-cart .quantity:not(:empty)) #header-logo {
  animation-delay: 8s;
}
@media (prefers-reduced-motion: reduce) {
  #header-logo { animation-duration: 1ms; }
}

/* Returning visitors and browsers without storage see everything immediately. */
html:not(.first-visit-reveal) .catalog-header-cart,
html:not(.first-visit-reveal) .catalog-header-categories,
html:not(.first-visit-reveal) #site-menu,
html:not(.first-visit-reveal) .catalog-header-info,
html:not(.first-visit-reveal) #header-logo,
html:not(.first-visit-reveal) .homepage-mobile-intro h2,
html:not(.first-visit-reveal) .homepage-new-products,
html:not(.first-visit-reveal) .homepage-search-wrapper {
  animation: none !important;
}

@media (max-width: 767px) {
  .catalog-header-values { display: none; }
}

@media (max-width: 767px) {
  .catalog-header-top { background: #fff; }
  .catalog-header-top::before { display: none; }
}

@media (max-width: 767px) {
  .search-size-controls:not(.has-selected-sizes) .search-size-picker:not([open]) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .search-size-controls:not(.has-selected-sizes) .search-size-picker:not([open]) > summary {
    text-align: center;
  }
}

.search-size-controls.has-selected-sizes {
  grid-template-columns: max-content minmax(0, 1fr);
}
.search-size-controls .search-all-sizes:not([hidden]) {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
.search-all-sizes > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

#box-childrens-books { border: 0; box-shadow: none; margin-top: clamp(3rem, 6vw, 5rem); }
#box-childrens-books h2 { text-align: center; }
#box-childrens-books .childrens-books-intro { max-width: 65ch; margin: .75rem auto clamp(2rem, 4vw, 3.5rem); padding-inline: 1rem; text-align: center; line-height: 1.6; }
#box-childrens-books .product { border: 0; }
#box-childrens-books .listing.products.columns { --book-columns: 1; display: flex; flex-wrap: wrap; justify-content: center; }
#box-childrens-books .listing.products.columns > .product { flex: 0 0 calc((100% - (var(--book-columns) - 1) * var(--gutter-x)) / var(--book-columns)); min-width: 0; }
@media (min-width: 360px) { #box-childrens-books .listing.products.columns { --book-columns: 2; } }
@media (min-width: 640px) { #box-childrens-books .listing.products.columns { --book-columns: 3; } }
@media (min-width: 880px) { #box-childrens-books .listing.products.columns { --book-columns: 4; } }
@media (min-width: 1200px) { #box-childrens-books .listing.products.columns { --book-columns: 5; } }
@media (min-width: 1420px) { #box-childrens-books .listing.products.columns { --book-columns: 6; } }

/* Keep the optional item label above the shared material/price baseline. */
#box-latest-products-secondhand .product .info { position: relative; }
#box-latest-products-secondhand .secondhand-item-label { position: absolute; bottom: 100%; left: 0; width: 100%; padding-bottom: .4rem; font-size: .95rem; line-height: 1.3; text-align: center; }

/* Center incomplete rows in the homepage new-products collection. */
#box-featured-products .listing.products.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
#box-featured-products .listing.products.columns > .product {
  flex: 0 1 220px;
  width: 220px;
  min-width: 0;
}
@media (max-width: 767px) {
  #box-featured-products .listing.products.columns > .product {
    flex-basis: calc((100% - var(--gutter-x)) / 2);
    width: calc((100% - var(--gutter-x)) / 2);
  }
}

/* Match the used-product columns at the four- and five-column breakpoints. */
@media (min-width: 880px) and (max-width: 1419px) {
  #box-featured-products .listing.products.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #box-featured-products .listing.products.columns > .product { width: auto; min-width: 0; }
  #box-featured-products .listing.products.columns > .product:nth-child(n+5) { display: none; }
}
@media (min-width: 992px) and (max-width: 1419px) {
  .homepage-container #box-featured-products { width: calc(100vw - 2 * clamp(1rem, 4vw, 3rem)); margin-inline-start: calc(50% - 50vw + clamp(1rem, 4vw, 3rem)); }
  .homepage-container #box-featured-products > .card-body { padding-inline: 0; }
}
@media (min-width: 1200px) and (max-width: 1419px) {
  #box-featured-products .listing.products.columns { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #box-featured-products .listing.products.columns > .product:first-child { grid-column: 2; }
  #box-featured-products .listing.products.columns > .product:nth-child(n+4) { display: none; }
}

.homepage-apps-intro:has(+ .homepage-apps-note) { margin-bottom: 1rem; }
.homepage-apps-note:has(+ .homepage-apps-links) { margin-bottom: 3rem; }

/* Soften this warm cover against the homepage's white background. */
#box-childrens-books .product .link[data-id="11"] img.image {
  filter: saturate(.78) contrast(.9) brightness(1.03);
}

@media (max-width: 767px) {
  #box-latest-products-secondhand > .card-body { display: flex; flex-direction: column; }
  #box-latest-products-secondhand .secondhand-collection-header { order: 2; margin-top: 1.5rem; }
  #box-latest-products-secondhand .secondhand-discover-heading { display: none; }
  #box-latest-products-secondhand .secondhand-discover { padding: 0; gap: 0; }
}

@media (max-width: 767px) { .new-products-intro-opening { display: block; } }

.catalog-mobile-menu { display: none; position: absolute; top: 12px; left: 1rem; z-index: 30; }
  .catalog-mobile-menu > summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; list-style: none; cursor: pointer; color: #43382f; }
  .catalog-mobile-menu > summary::marker,
  .catalog-mobile-menu > summary::-webkit-details-marker { display: none; }
  .catalog-mobile-menu > summary:focus-visible { outline: 2px solid #526049; outline-offset: 2px; }
  .catalog-mobile-menu nav { position: fixed; inset: 0 auto 0 0; width: max-content; max-width: 100vw; height: 100vh; height: 100dvh; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 4.5rem 1rem 1.5rem; background: #fff; border: 0; border-radius: 0; box-shadow: 8px 0 32px rgba(0,0,0,.1); z-index: 2; }
  .catalog-mobile-menu[open] nav { animation: catalog-menu-slide-in 260ms cubic-bezier(.2,.7,.2,1) both; }
  .catalog-menu-backdrop { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; border: 0; padding: 0; background: rgba(0,0,0,.18); z-index: 1; cursor: default; }
  .catalog-mobile-menu[open] .catalog-menu-backdrop { animation: catalog-menu-fade-in 260ms ease both; }
  .catalog-menu-close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #43382f; cursor: pointer; }
  .catalog-menu-close:focus-visible { outline: 2px solid #526049; outline-offset: 2px; }
  body.catalog-menu-open { overflow: hidden; }
  @keyframes catalog-menu-slide-in { from { transform: translateX(-100%); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
  @keyframes catalog-menu-fade-in { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .catalog-mobile-menu[open] nav, .catalog-mobile-menu[open] .catalog-menu-backdrop { animation: none; } }
  .catalog-mobile-menu nav a { display: block; padding: .7rem 1.25rem; color: #293c32; text-decoration: none; line-height: 1.4; }
  .catalog-mobile-menu nav a:hover, .catalog-mobile-menu nav a:focus-visible { background: #f5f5f5; }
@media (max-width: 767px) {
  .catalog-header-cart { top: 12px; }
  .catalog-mobile-menu { display: block; }
  .catalog-mobile-menu nav { padding-right: calc(1rem + 42px); }
}
@media (min-width: 768px) {
  .is-homepage .catalog-mobile-menu { display: block; top: 59px; left: clamp(1rem, 4vw, 3rem); }
}

@media (min-width: 768px) {
  #header-logo::before {
    content: "";
    position: absolute;
    right: 100%;
    top: -1rem;
    bottom: -1rem;
    width: 100vw;
    background: #fff;
    pointer-events: none;
  }
}

#box-latest-products-secondhand .secondhand-collection-bottom-link { display: flex; justify-content: flex-end; margin-top: 2rem; }
@media (max-width: 767px) {
  #box-latest-products-secondhand .secondhand-collection-bottom-link { display: none; }
}

/* Keep the current cart count and merchandise total together beside the basket. */
.catalog-header-cart #cart:has(.cart-summary:not([hidden])) { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.catalog-header-cart #cart .cart-summary { color: #777; font-size: .85rem; font-weight: 400; white-space: nowrap; line-height: 1.3; }
.catalog-header-cart #cart .cart-summary[hidden] { display: none; }
.catalog-header-cart #cart:has(.cart-summary:not([hidden])) .badge.quantity { display: none; }

#box-product form[name="buy_now_form"] .form-group:has(> button[name="add_cart_product"]) { text-align: center; }

/* Show the mobile topbar on the homepage only. */
@media (max-width: 767px) {
  #site-menu .catalog-header-top { display: none; }
  .is-homepage #site-menu .catalog-header-top { display: block; min-height: 42px; background: #f3f0eb; }
  .catalog-header-top-inner { min-height: 42px; padding: .25rem .75rem; justify-content: center; box-sizing: border-box; }
  .catalog-header-values { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem .85rem; font-size: .95rem; line-height: 1.4; }
  .catalog-header-values > span { white-space: nowrap; }
  .catalog-header-info { display: none; }
  .catalog-mobile-menu, .catalog-header-cart { top: 12px; }
  .is-homepage .catalog-mobile-menu, .is-homepage .catalog-header-cart { top: 54px; }
  .is-homepage #site-menu .catalog-header-main { min-height: 68px; }
}

/* A compact, grouped navigation drawer with a clear reading order. */
.catalog-mobile-menu nav { padding: 1.5rem 1.5rem 2rem; min-width: min(310px, 100vw); }
.catalog-menu-heading { padding: .4rem 3rem 1.5rem 0; color: #293c32; font-size: 1.05rem; font-weight: 600; }
.catalog-menu-group { margin: 0; padding: 1.1rem 0; border-top: 1px solid #e9e9e4; }
.catalog-menu-group h2 { margin: 0 0 .5rem; color: #85877f; font-size: .68rem; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.catalog-mobile-menu .catalog-menu-group a { display: flex; align-items: center; min-height: 44px; padding: .55rem .65rem; margin-inline: -.65rem; border-radius: 5px; font-size: 1rem; line-height: 1.35; }
.catalog-mobile-menu .catalog-menu-group:last-child a { color: #687067; font-size: .9rem; }
@media (max-width: 767px) {
  .catalog-mobile-menu nav { padding-right: calc(1.5rem + 42px); }
}

@media (max-width: 359px) {
  .is-homepage #site-menu .catalog-header-top, .catalog-header-top-inner { min-height: 58px; }
  .is-homepage .catalog-mobile-menu, .is-homepage .catalog-header-cart { top: 70px; }
}

.catalog-value-mobile { display: none; }
@media (max-width: 767px) {
  .catalog-value-desktop, .catalog-header-value-range { display: none; }
  .catalog-value-mobile { display: inline; }
  .is-homepage #site-menu .catalog-header-top, .catalog-header-top-inner { min-height: 42px; }
  .is-homepage .catalog-mobile-menu, .is-homepage .catalog-header-cart { top: 54px; }
}

.catalog-menu-group { padding-block: .85rem; }
.catalog-menu-group a[aria-current="page"] { background: #edf1e9; color: #293c32; font-weight: 600; }
.catalog-menu-sizes fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.catalog-menu-sizes legend { padding: 0; margin: 0; border: 0; color: #293c32; font-size: 1rem; font-weight: 500; }
.catalog-menu-sizes p { margin: .3rem 0 .65rem; color: #777e75; font-size: .75rem; line-height: 1.4; max-width: 28ch; }
.catalog-menu-size-options { display: grid; grid-template-columns: repeat(4, minmax(44px, 1fr)); gap: .4rem; }
.catalog-menu-size-options label { position: relative; margin: 0; cursor: pointer; }
.catalog-menu-size-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.catalog-menu-size-options span { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: .25rem; border: 1px solid transparent; border-radius: 5px; background: #f3f4f1; color: #39463d; font-weight: 400; }
.catalog-menu-size-options input:checked + span { background: #e4ebde; border-color: #526049; color: #293c32; font-weight: 600; }
.catalog-menu-size-options input:focus-visible + span { outline: 2px solid #526049; outline-offset: 2px; }
.catalog-menu-size-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; margin-top: .65rem; padding: .6rem .8rem; border: 0; border-radius: 5px; background: #293c32; color: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.catalog-menu-size-submit:disabled { background: #f3f4f1; color: #8a8e87; cursor: default; }
.collection-related-link { text-align: center; margin-bottom: 1.5rem; }
.delivery-information { max-width: 640px; margin: 2rem auto; padding: 0 1rem 3rem; color: #293c32; }
.delivery-information h1 { font-size: 1.8rem; }
.delivery-information h2 { margin-top: 2rem; font-size: 1.2rem; }
.delivery-information p { line-height: 1.6; }

@media (max-width: 639px) {
  #box-latest-products-secondhand:not(.size-filtered) .listing.products.columns > .product:nth-child(-n+6) { display: block; }
  #box-latest-products-secondhand:not(.size-filtered) .listing.products.columns > .product:nth-child(n+7) { display: none; }
}
@media (max-width: 767px) {
  #box-latest-products-secondhand .secondhand-collection-header { margin-bottom: 3rem; }
}

.homepage-product-comparison, .homepage-used-column, .homepage-new-column { display: contents; }
.homepage-products-title, .homepage-column-title { display: none; }
@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .65rem; margin: 4.5rem 0 3rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > .homepage-products-title { display: block; grid-column: 1 / -1; margin: 0 0 1rem; font: 400 clamp(2.5rem, 10vw, 3.5rem)/1.2 'Satisfy', cursive; text-align: center; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > :is(.homepage-used-column,.homepage-new-column) { display: block; min-width: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .homepage-column-title { display: block; margin: 0 0 1rem; color: #526049; font-size: 1rem; font-weight: 500; text-align: center; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) { width: 100%; margin: 0; padding: 0; border: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) > .card-body { padding: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(.homepage-new-title,.new-products-intro) { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .listing.products.columns { grid-template-columns: minmax(0,1fr); }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns { display: flex; flex-direction: column; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns > .product { width: 100%; flex: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .product:has([data-id="1000000030"]) { order: -1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .listing > .secondhand-collection-header { grid-column: 1; margin: 1.5rem 0 2rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .secondhand-discover-detail > span { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(.secondhand-discover-action,#box-featured-products .all-products-link) { font-size: .85rem; gap: .3rem; white-space: normal; }
}

/* Shared card geometry keeps the two mobile product columns in sync. */
@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) .listing.products.columns { gap: 1rem; margin: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .listing.products.columns > .product { padding: 0; margin: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .listing.products.columns > .product > .link { display: block; height: auto; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .image-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; overflow: hidden; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .image-wrapper img.image { width: 90%; height: 90%; aspect-ratio: auto !important; object-fit: contain; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .info { position: relative; height: 7rem; margin: 0; padding: .5rem 0 0; box-sizing: border-box; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .name { height: 2.6em; margin: 0; font-size: .9rem; line-height: 1.3; overflow: hidden; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .manufacturer-name { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .price-wrapper { position: absolute; inset: auto 0 .5rem; margin: 0; line-height: 1.4; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .secondhand-material { margin: 0 0 .3rem; font-size: .8rem; line-height: 1.3; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .secondhand-item-label { position: absolute; top: .5rem; bottom: auto; padding: 0; font-size: .9rem; line-height: 1.3; }
}

.heading-plain-r { font-family: Georgia, serif; font-style: italic; font-size: .79em; margin-inline: -.025em; }

.homepage-products-initial { display: inline-block; transform: translateY(-.12em); }

@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product :is(.name,.secondhand-material,.secondhand-item-label,.description,.manufacturer-name) { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .info { height: 3rem; }
}

.homepage-header-brand { display: none; }
@media (max-width: 767px) {
  .is-homepage #site-menu .catalog-header-main { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; min-height: 88px; padding-block: .75rem; gap: .5rem; }
  .homepage-header-brand { position: relative; display: block; grid-column: 2; justify-self: center; width: min(100%,150px); margin-top: .35rem; }
  .homepage-header-brand img { display: block; width: 100%; height: auto; }
  .homepage-header-brand, .homepage-header-brand * { pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
  .homepage-header-brand .catalog-logo-beta { font-size: .5rem; }
  .is-homepage .catalog-header-main .catalog-header-cart { position: static; grid-column: 3; margin: 0; }
  .is-homepage .catalog-header-main .catalog-header-cart #cart { display: flex; flex-direction: column; gap: 2px; min-width: 44px; }
  .is-homepage .catalog-header-cart #cart .cart-summary { font-size: .68rem; }
  .is-homepage .catalog-mobile-menu { top: 64px; }
}

.product-condition-badge { display: none; }
@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) .listing.products.columns { row-gap: .65rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .listing.products.columns > .product { position: relative; border-bottom: 1px solid #e7e7e7; border-radius: 0; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .image-wrapper { position: relative; aspect-ratio: 1.12; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .image-wrapper img.image { width: 82%; height: 82%; margin-top: 1rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .info { height: 2.5rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .product .product-condition-badge { display: inline-block; position: absolute; z-index: 1; top: .25rem; left: .25rem; padding: .25rem .5rem; border-radius: 6px; background: #f1f1f1; color: #666; font-size: .7rem; font-weight: 500; line-height: 1.2; }
  .homepage-product-comparison .homepage-used-column { position: relative; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .homepage-used-column::after { content: ''; position: absolute; top: .25rem; bottom: .25rem; right: calc(-.325rem - .5px); width: 1px; background: #e7e7e7; pointer-events: none; }
}

.homepage-product-links { display: none; }
@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) .listing.products.columns > .product:nth-child(-n+4) { display: block; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) .listing.products.columns > .product:nth-child(n+5) { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(.secondhand-collection-header,.secondhand-collection-bottom-link,.all-products-footer) { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > .homepage-product-links { display: flex; grid-column: 1 / -1; flex-direction: column; align-items: center; gap: .5rem; margin: 1.5rem 0 0; padding: 0 .25rem; }
  .homepage-product-links a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; color: #293c32; font-size: .9rem; text-align: center; text-decoration: none; }
  .homepage-product-links a:last-child { font-weight: 600; }
  .homepage-product-links svg { flex: none; }
  .homepage-product-links a:focus-visible { outline: 2px solid #526049; outline-offset: 4px; }
}

/* Eight mobile slots: used/new, used/new, new/used, used/used. */
@media (max-width: 767px) {
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) { row-gap: .65rem; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > .homepage-products-title { grid-row: 1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > :is(.homepage-used-column,.homepage-new-column),
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products),
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) > .card-body,
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) :is(#box-latest-products-secondhand,#box-featured-products) .listing.products.columns { display: contents; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) .homepage-used-column::after { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .listing.products.columns > .product:nth-child(-n+5) { display: block; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .listing.products.columns > .product:nth-child(n+6) { display: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:nth-child(1) { grid-row: 2; grid-column: 1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:nth-child(2) { grid-row: 3; grid-column: 1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:nth-child(3) { grid-row: 4; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:nth-child(4) { grid-row: 5; grid-column: 1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:nth-child(5) { grid-row: 5; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns > .product:nth-child(n) { display: none; width: auto; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns > .product:has([data-id="1000000030"]) { display: block; grid-row: 2; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns > :nth-child(1 of .product:not(:has([data-id="1000000030"]))) { display: block; grid-row: 3; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .listing.products.columns > :nth-child(2 of .product:not(:has([data-id="1000000030"]))) { display: block; grid-row: 4; grid-column: 1; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-latest-products-secondhand .product:is(:nth-child(1),:nth-child(2),:nth-child(4))::after,
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products .product:nth-child(2 of .product:not(:has([data-id="1000000030"])))::after { content: ''; position: absolute; top: .25rem; bottom: .25rem; right: 0; width: 1px; background: #e7e7e7; pointer-events: none; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) > .homepage-product-links { grid-row: 6; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products:not(:has([data-id="1000000030"])) .listing.products.columns > .product:nth-child(1) { display: block; grid-row: 2; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products:not(:has([data-id="1000000030"])) .listing.products.columns > .product:nth-child(2) { display: block; grid-row: 3; grid-column: 2; }
  .homepage-product-comparison:not(:has(#box-latest-products-secondhand.size-filtered)) #box-featured-products:not(:has([data-id="1000000030"])) .listing.products.columns > .product:nth-child(3) { display: block; grid-row: 4; grid-column: 1; }

}

.homepage-mobile-popular-sizes { display: none; }
@media (max-width: 767px) {
  .homepage-mobile-popular-sizes { display: block; margin: 1rem .25rem .25rem; text-align: left; }
  .homepage-mobile-popular-sizes p { margin: 0 0 .5rem; color: #7b8177; font-size: .78rem; line-height: 1.5; }
  .homepage-mobile-size-buttons { display: flex; flex-wrap: wrap; gap: .4rem; }
  .homepage-mobile-size-buttons button { min-width: 44px; min-height: 36px; padding: .2rem .65rem; border: 0; border-radius: 5px; background: #f2f2f2; color: #39463d; font: inherit; font-size: .95rem; cursor: pointer; }
  .homepage-mobile-size-buttons:has([aria-pressed="true"]) button[aria-pressed="false"] { opacity: .42; }
  .homepage-mobile-size-buttons:has([aria-pressed="true"]) button[aria-pressed="false"]:is(:hover,:focus-visible) { opacity: .84; }
  .homepage-mobile-size-buttons button:focus-visible { outline: 2px solid #526049; outline-offset: 3px; }
}
