.bird-shop [hidden] { display: none !important; }
.bird-shop .bs-invoice-summary { white-space: pre-wrap; }
.bird-shop .bs-load-more { display: block; margin: 2rem auto 0; }
body[data-bird-shop-page] { margin: 0; }
.bird-shop .bs-section .bs-kicker { color: #183C32; }
.bird-shop .bs-gallery__thumb { margin: 0; min-width: 0; }
.bird-shop .bs-product-information { margin-top: 2rem; }
.bird-shop .bs-product-description { white-space: pre-line; line-height: 1.7; }

/* Catálogo de productos para aves — sistema Premium Natural Luxury. */
.bird-shop {
  --bs-ink: #183C32;
  --bs-deep: #102D25;
  --bs-blue: #183C32;
  --bs-blue-hover: #285447;
  --bs-blue-soft: #D7C6A4;
  --bs-paper: #F5F1E7;
  --bs-wash: #ECE7DB;
  --bs-line: #DED9CC;
  --bs-copy: #303832;
  --bs-muted: #4E5952;
  --bs-white: #fff;
  box-sizing: border-box;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 64px);
  color: var(--bs-copy);
  font: 400 1rem/1.7 "Inter", system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.bird-shop *,
.bird-shop *::before,
.bird-shop *::after { box-sizing: border-box; }

.bird-shop h1,
.bird-shop h2,
.bird-shop h3,
.bird-shop h4 {
  margin: 0;
  color: var(--bs-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.14;
}

.bird-shop h1 { font-size: clamp(2.1rem, 5vw, 4.35rem); }
.bird-shop h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.bird-shop h3 { font-size: clamp(1.1rem, 1.8vw, 1.38rem); }
.bird-shop p { margin: 0; }
.bird-shop a { color: var(--bs-blue); text-underline-offset: .2em; }
.bird-shop a:hover { color: var(--bs-ink); }
.bird-shop :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--bs-blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--bs-white);
}
.bird-shop [hidden] { display: none !important; }

.bs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--bs-muted);
  font-size: .82rem;
}
.bs-breadcrumbs a { color: inherit; }
.bs-breadcrumbs__separator { color: #4E5952; }

.bs-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .55fr);
  align-items: end;
  gap: 32px;
  overflow: hidden;
  padding: clamp(26px, 5.5vw, 64px);
  color: #F5F1E7;
  background: var(--bs-ink);
  border-left: 4px solid var(--bs-blue);
}
.bs-hero::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  box-shadow: 0 0 0 38px #ffffff08, 0 0 0 76px #ffffff05;
  content: "";
}
.bs-hero__copy { max-width: 760px; }
.bs-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--bs-blue-soft);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.bs-hero h1,
.bs-hero h2 { color: var(--bs-white); }
.bs-hero__copy > p {
  max-width: 670px;
  margin-top: 16px;
  color: #E5E1D7;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.bs-hero__aside {
  justify-self: end;
  max-width: 250px;
  padding: 17px 0 0 18px;
  border-left: 1px solid #ffffff40;
  color: #E5E1D7;
  font-size: .88rem;
}

.bs-section { margin-top: clamp(34px, 5vw, 58px); }
.bs-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.bs-section-heading p { max-width: 620px; margin-top: 8px; color: var(--bs-muted); }

.bs-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bs-category {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  color: var(--bs-copy);
  background: var(--bs-wash);
  border: 1px solid var(--bs-line);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.bs-category:hover {
  color: var(--bs-copy) !important;
  background: #F5F1E7;
  border-color: #B99B68;
  transform: translateY(-3px);
}
.bs-category h3 { max-width: 90%; }
.bs-category p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--bs-muted);
  font-size: .9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.bs-category__image {
  position: absolute;
  inset: 0 0 auto auto;
  width: 44%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: .22;
  transition: opacity .2s ease, transform .2s ease;
}
.bs-category:hover .bs-category__image { opacity: .38; transform: scale(1.035); }
.bs-category__copy { position: relative; z-index: 1; max-width: 76%; }
.bs-category__arrow { margin-top: 13px; color: var(--bs-blue); font-size: .84rem; font-weight: 600; }

.bs-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--bs-line);
}
.bs-toolbar__controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}
.bs-field { display: grid; gap: 6px; min-width: 0; }
.bs-field label,
.bs-field__label {
  color: var(--bs-ink);
  font-size: .82rem;
  font-weight: 600;
}
.bs-field input,
.bs-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--bs-copy);
  background: var(--bs-white);
  border: 1px solid #B9B8AE;
  border-radius: 2px;
  font: inherit;
}
.bs-toolbar__search { width: min(100%, 350px); }
.bs-toolbar__sort { width: min(100%, 220px); }
.bs-result-count { color: var(--bs-muted); font-size: .88rem; white-space: nowrap; }

.bs-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.bs-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bs-white);
  border: 1px solid var(--bs-line);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bs-product:hover {
  border-color: #B99B68;
  box-shadow: 0 9px 24px #102d250c;
  transform: translateY(-3px);
}
.bs-product__image-link {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  background: #F5F1E7;
}
.bs-product__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 310px;
  object-fit: contain;
  padding: 12px;
  transition: transform .24s ease;
}
.bs-product:hover .bs-product__image { transform: scale(1.035); }
.bs-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 18px 19px;
}
.bs-product__brand {
  margin-bottom: 5px;
  color: var(--bs-muted);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bs-product h3 { font-size: 1.12rem; }
.bs-product h3 a { color: var(--bs-ink); text-decoration: none; }
.bs-product h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bs-product__description {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px !important;
  color: var(--bs-muted);
  font-size: .88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.bs-product__price {
  margin-top: auto;
  padding-top: 17px;
  color: var(--bs-ink);
  font: 600 1.15rem/1.3 "Inter", system-ui, sans-serif;
}
.bs-product__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 12px;
  color: var(--bs-blue);
  font-size: .86rem;
  font-weight: 600;
}
.bs-empty {
  margin-top: 20px;
  padding: clamp(24px, 5vw, 46px);
  color: var(--bs-copy);
  background: var(--bs-wash);
  border-left: 3px solid var(--bs-blue);
}
.bs-empty h2 { font-size: 1.35rem; }
.bs-empty p { margin-top: 7px; color: var(--bs-muted); }

.bs-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: start;
  gap: clamp(28px, 5vw, 66px);
}
.bs-detail--no-image { grid-template-columns: minmax(0, 820px); }
.bs-gallery { min-width: 0; }
.bs-gallery__main {
  display: grid;
  min-height: 420px;
  place-items: center;
  margin: 0;
  background: #F5F1E7;
  border: 1px solid var(--bs-line);
}
.bs-gallery__main img {
  display: block;
  width: 100%;
  height: min(58vw, 540px);
  min-height: 360px;
  object-fit: contain;
  padding: clamp(12px, 3vw, 28px);
}
.bs-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}
.bs-gallery__thumb {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 5px;
  background: #F5F1E7;
  border: 1px solid var(--bs-line);
}
.bs-gallery__thumb img { width: 100%; height: 78px; object-fit: contain; }
.bird-shop button.bs-gallery__thumb {
  width: 100%;
  color: inherit;
  border-radius: 4px;
  cursor: pointer;
}
.bird-shop .bs-gallery__thumb[aria-pressed="true"] { border: 2px solid #1B3D2F; background: #E9EDE5; }
.bird-shop :is(.bs-gallery__thumb, .bs-gallery__zoom, .bs-product__photos):focus-visible {
  outline: 3px solid #96712E;
  outline-offset: 3px;
}
.bs-gallery__zoom {
  position: relative;
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1B3D2F;
  cursor: zoom-in;
}
.bs-gallery__zoom-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #FFFDF6;
  font-size: .78rem;
}
.bs-photo-status { min-height: 1.5em; margin: 8px 0; font-size: .83rem; color: var(--bs-muted); }
.bird-shop .bs-product__photos {
  min-height: 44px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--bs-line);
  border-radius: 0;
  background: #F5F1E7;
  color: #1B3D2F;
  font: inherit;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.bird-shop .bs-photo-dialog {
  width: min(1040px, calc(100vw - 24px));
  max-width: none;
  max-height: 94vh;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid #CFC7B6;
  border-radius: 10px;
  background: #FFFDF6;
  color: #243D32;
  box-shadow: 0 20px 80px #0006;
  overflow: auto;
}
.bs-photo-dialog::backdrop { background: #10271FD9; }
.bs-photo-dialog__panel { padding: clamp(12px, 3vw, 26px); }
.bs-photo-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bird-shop .bs-photo-dialog__header h2 { margin: 0; font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.35; }
.bird-shop .bs-photo-dialog :is(.bs-photo-dialog__close, .bs-photo-dialog__previous, .bs-photo-dialog__next) {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #CFC7B6;
  border-radius: 6px;
  background: #FFFDF6;
  color: #1B3D2F;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.bs-photo-dialog__stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 6px; min-height: 220px; margin-top: 12px; touch-action: pan-y; }
.bs-photo-dialog__image { width: 100%; height: min(55vh, 580px); object-fit: contain; }
.bs-photo-dialog__thumbs { display: flex; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.bird-shop .bs-photo-dialog__thumbs .bs-gallery__thumb { flex: 0 0 76px; width: 76px; min-height: 66px; }
.bs-photo-dialog__thumbs .bs-gallery__thumb img { height: 58px; }
.bs-photo-dialog__product { display: inline-block; padding: 12px 0; text-decoration: underline; }
.bs-photo-dialog button:disabled { opacity: .35; cursor: default; }
.bs-photo-dialog button:focus-visible { outline: 3px solid #96712E; outline-offset: 2px; }
.bs-detail__copy { min-width: 0; }
.bs-detail__brand {
  margin-bottom: 8px;
  color: var(--bs-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bs-detail__intro { margin-top: 18px !important; color: var(--bs-copy); font-size: 1.04rem; }
.bs-detail__sku { margin-top: 12px !important; color: var(--bs-muted); font-size: .82rem; }
.bs-detail__price {
  margin-top: 20px;
  color: var(--bs-ink);
  font: 600 clamp(1.5rem, 3vw, 2rem)/1.2 "Inter", system-ui, sans-serif;
}
.bs-detail__price-note { margin-top: 5px !important; color: var(--bs-muted); font-size: .82rem; }
.bs-detail__features,
.bs-detail__specifications { margin-top: 28px; }
.bs-detail__features h2,
.bs-detail__specifications h2 { margin-bottom: 12px; font-size: 1.18rem; }
.bs-detail__features ul { margin: 0; padding-left: 1.25rem; }
.bs-detail__features li { margin: .45em 0; padding-left: .2rem; }
.bs-spec-list { margin: 0; border-top: 1px solid var(--bs-line); }
.bs-spec-list__row {
  display: grid;
  grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bs-line);
}
.bs-spec-list dt { color: var(--bs-muted); font-size: .88rem; }
.bs-spec-list dd { margin: 0; color: var(--bs-copy); font-size: .9rem; font-weight: 500; }

.bs-enquiry {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--bs-wash);
  border-top: 3px solid var(--bs-blue);
}
.bs-enquiry h2 { font-size: 1.3rem; }
.bs-enquiry > p { margin-top: 7px; color: var(--bs-muted); font-size: .9rem; }
.bs-enquiry__fields { display: grid; gap: 15px; margin-top: 18px; }
.bs-enquiry__options { display: grid; gap: 13px; }
.bs-enquiry__quantity { max-width: 150px; }
.bs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  color: var(--bs-white) !important;
  background: var(--bs-blue);
  border: 1px solid var(--bs-blue);
  border-radius: 2px;
  font: 600 .93rem/1.4 "Inter", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.bs-button:hover { color: var(--bs-white) !important; background: var(--bs-blue-hover); border-color: var(--bs-blue-hover); transform: translateY(-2px); }
.bs-enquiry .bs-button { width: 100%; margin-top: 18px; }

.bs-invoice-intro {
  max-width: 800px;
  margin: 18px 0 0 !important;
  color: var(--bs-copy);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.bs-invoice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
  gap: clamp(22px, 4vw, 48px);
  margin-top: clamp(30px, 5vw, 54px);
  padding: clamp(22px, 4vw, 42px);
  background: var(--bs-wash);
  border: 1px solid var(--bs-line);
  border-top: 3px solid var(--bs-blue);
}
.bs-invoice-panel h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.bs-invoice-summary {
  min-height: 90px;
  margin-top: 15px !important;
  padding: 15px 17px;
  color: var(--bs-copy);
  background: var(--bs-white);
  border-left: 2px solid var(--bs-blue);
}
.bs-invoice-actions { display: grid; align-content: start; gap: 12px; }
.bs-invoice-actions p { margin-bottom: 4px; color: var(--bs-muted); font-size: .91rem; }
.bs-invoice-actions a { width: 100%; }
.bs-button--outline {
  color: var(--bs-ink) !important;
  background: transparent;
  border-color: #B99B68;
}
.bs-button--outline:hover { color: var(--bs-ink) !important; background: var(--bs-white); border-color: var(--bs-blue); }
.bs-invoice-note {
  margin-top: 18px !important;
  color: var(--bs-muted);
  font-size: .88rem;
}

@media (max-width: 980px) {
  .bs-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .bs-gallery__main { min-height: 340px; }
  .bs-gallery__main img { min-height: 300px; }
}
@media (max-width: 720px) {
  .bird-shop { width: min(100% - 28px, 1240px); padding-block: 24px; }
  .bs-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px; }
  .bs-hero__aside { justify-self: start; max-width: 440px; }
  .bs-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bs-product__image-link, .bs-product__image { min-height: 190px; }
  .bs-detail { grid-template-columns: minmax(0, 1fr); }
  .bs-gallery__main { min-height: 330px; }
  .bs-gallery__main img { width: min(100%, 650px); height: min(75vw, 480px); min-height: 300px; }
  .bs-invoice-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .bs-category-grid { grid-template-columns: minmax(0, 1fr); }
  .bs-category { min-height: 155px; }
  .bs-toolbar { align-items: stretch; flex-direction: column; }
  .bs-toolbar__controls { align-items: stretch; flex-direction: column; }
  .bs-toolbar__search, .bs-toolbar__sort { width: 100%; }
  .bs-result-count { align-self: flex-start; }
  .bs-product-grid { gap: 9px; }
  .bs-product__image-link, .bs-product__image { min-height: 155px; }
  .bs-product__body { padding: 13px 12px 15px; }
  .bs-product h3 { font-size: 1rem; }
  .bs-product__description { font-size: .82rem; -webkit-line-clamp: 2; }
  .bs-product__price { font-size: 1.02rem; }
  .bs-detail__copy h1 { font-size: 2.25rem; }
  .bs-gallery__main { min-height: 260px; }
  .bs-gallery__main img { height: 75vw; min-height: 250px; }
  .bs-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bs-spec-list__row { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.2fr); }
}
@media (prefers-reduced-motion: reduce) {
  .bird-shop *,
  .bird-shop *::before,
  .bird-shop *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Request form on /tienda/aves/solicitar-factura/ (FormSubmit) */
.bs-invoice-actions .bs-field textarea { width: 100%; min-height: 110px; padding: 10px 12px; font: inherit; border: 1px solid var(--bs-line); background: var(--bs-white); color: var(--bs-ink); }
.bs-invoice-actions .bs-field input { width: 100%; }
.bs-invoice-actions button.bs-button { width: 100%; cursor: pointer; }
@media (max-width: 760px) { .bs-invoice-panel { grid-template-columns: 1fr; } }
