:root {
  --bs-body-bg: #fbfaf7;
  --bs-body-color: #26211b;
  --site-bg: #fbfaf7;
  --site-foreground: #26211b;
  --site-muted: #756f66;
  --site-border: rgba(38, 33, 27, 0.12);
  --site-primary: #8a6a43;
  --site-primary-dark: #765936;
  --site-secondary: #f2eee7;
  --site-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--site-bg);
  color: var(--site-foreground);
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--site-foreground);
}

a {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, gap .2s ease, transform .2s ease;
}

.site-header {
  background: rgba(251, 250, 247, 0.86);
  border-bottom: 1px solid var(--site-border);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 82px;
}

.site-logo {
  width: auto;
  height: 40px;
}

@media (min-width: 768px) {
  .site-logo {
    height: 48px;
  }
}

.navbar .nav-link {
  color: rgba(38, 33, 27, 0.78);
  font-size: .92rem;
  font-weight: 500;
  padding-left: 0;
  padding-right: 0;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--site-primary);
}

.navbar .nav-link.active {
  font-weight: 600;
}

.hero-section {
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 8rem 0;
  }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--site-primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.kicker-line {
  width: 2.5rem;
  height: 1px;
  background: var(--site-primary);
  display: inline-block;
}

.hero-title {
  max-width: 680px;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 1.05;
}

.hero-title span,
.section-title span {
  color: var(--site-primary);
  font-style: italic;
}

.hero-text {
  max-width: 620px;
  color: var(--site-muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.75;
}

.btn {
  font-size: .92rem;
  font-weight: 500;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--site-primary);
  --bs-btn-border-color: var(--site-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--site-primary-dark);
  --bs-btn-hover-border-color: var(--site-primary-dark);
  --bs-btn-active-bg: var(--site-primary-dark);
  --bs-btn-active-border-color: var(--site-primary-dark);
}

.btn-outline-dark {
  --bs-btn-color: var(--site-foreground);
  --bs-btn-border-color: rgba(38, 33, 27, .22);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--site-primary);
  --bs-btn-hover-color: var(--site-primary);
}

.arrow {
  display: inline-block;
  transition: transform .2s ease;
}

a:hover .arrow,
.btn:hover .arrow {
  transform: translateX(3px);
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--site-shadow);
}

.corner {
  position: absolute;
  display: none;
  width: 6rem;
  height: 6rem;
  z-index: 0;
}

.corner-top {
  top: -1.5rem;
  left: -1.5rem;
  border-top: 2px solid var(--site-primary);
  border-left: 2px solid var(--site-primary);
}

.corner-bottom {
  right: -1.5rem;
  bottom: -1.5rem;
  border-right: 2px solid var(--site-primary);
  border-bottom: 2px solid var(--site-primary);
}

@media (min-width: 992px) {
  .corner {
    display: block;
  }
}

.about-strip {
  background: rgba(242, 238, 231, .55);
  padding: 5rem 0;
}

.gallery-preview {
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .about-strip,
  .gallery-preview {
    padding: 7rem 0;
  }
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.section-copy {
  color: var(--site-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section-copy strong {
  color: var(--site-foreground);
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--site-primary);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--site-primary-dark);
  gap: .72rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #eee8df;
  border-radius: 2px;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .7s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.site-footer {
  border-top: 2px solid rgba(138, 106, 67, .8);
  background: var(--site-bg);
}

.footer-logo {
  width: auto;
  height: 40px;
}

.footer-text,
.footer-link,
.footer-bottom {
  color: var(--site-muted);
  font-size: .92rem;
}

.footer-heading {
  margin-bottom: .8rem;
  color: var(--site-foreground);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-link {
  display: block;
  margin-bottom: .25rem;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus,
.footer-link.active {
  color: var(--site-primary);
}

.footer-bottom {
  border-top: 1px solid var(--site-border);
  font-size: .78rem;
}

@media (max-width: 767.98px) {
  .navbar {
    min-height: 70px;
  }

  .hero-section {
    padding-top: 4rem;
  }

  .hero-row {
    --bs-gutter-y: 3rem;
  }

  .navbar-collapse {
    border-top: 1px solid var(--site-border);
    margin-top: 1rem;
  }

  .navbar .nav-link {
    padding: .7rem 0;
  }
}


/* CMSMS + multipage additions */
.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
body > .skiptranslate,
.goog-te-gadget,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}
html,
body,
body.translated-ltr,
body.translated-rtl {
  top: 0 !important;
  margin-top: 0 !important;
}
.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}
#google_translate_element {
  position: fixed !important;
  left: -99999px !important;
  top: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-left: 1.35rem;
}
.lang-switch button {
  width: 34px;
  height: 25px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.lang-switch button:hover,
.lang-switch button:focus,
.lang-switch button.active {
  border-color: rgba(38,33,27,.22);
  background: #fff;
  transform: translateY(-1px);
}
.lang-switch img {
  width: 24px;
  height: 18px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}
.lang-switch .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.page-hero {
  padding: 5.5rem 0 4.5rem;
  background: var(--site-bg);
  border-bottom: 1px solid var(--site-border);
}
.page-hero.compact {
  padding: 5rem 0 4rem;
}
.page-title {
  max-width: 860px;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 1.05;
}
.page-intro,
.page-copy {
  max-width: 760px;
  color: var(--site-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
}
.prose p {
  margin: 0 0 1.15rem;
}
.prose strong {
  color: var(--site-foreground);
  font-weight: 600;
}
.feature-section,
.category-section,
.contact-page-section {
  padding: 5rem 0;
  background: rgba(242,238,231,.55);
}
.feature-card,
.category-card,
.contact-info-card,
.contact-form {
  border: 1px solid var(--site-border);
  background: rgba(255,255,255,.72);
  box-shadow: var(--site-shadow);
}
.feature-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 2px;
}
.feature-card h3,
.category-card h3,
.contact-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.08;
}
.feature-card p,
.category-card p,
.contact-info-card,
.contact-form label span {
  color: var(--site-muted);
}
.category-card {
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.category-card a {
  color: inherit;
  text-decoration: none;
}
.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-card-body {
  padding: 1.6rem;
}
.category-link-text {
  color: var(--site-primary);
  font-weight: 600;
  font-size: .92rem;
}
.contact-info-card,
.contact-form {
  border-radius: 2px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.info-row {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--site-border);
}
.info-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.info-row span {
  display: block;
  margin-bottom: .35rem;
  color: var(--site-primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.info-row a {
  color: var(--site-foreground);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label span {
  display: block;
  margin-bottom: .45rem;
  font-weight: 500;
}
.contact-form input:not([type="submit"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--site-border);
  background: #fff;
  border-radius: 2px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--site-foreground);
  outline: none;
}
.contact-form input:not([type="submit"]):focus,
.contact-form textarea:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 .2rem rgba(138,106,67,.12);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.alert-puertas {
  border: 1px solid var(--site-border);
  background: rgba(255,255,255,.72);
  color: var(--site-muted);
  border-radius: 2px;
  padding: 1rem 1.25rem;
}
@media (max-width: 767.98px) {
  .lang-switch {
    margin-left: 0;
    margin-top: 1rem;
  }
  .lang-switch button {
    width: 32px;
    height: 24px;
    font-size: 19px;
  }
  .page-hero,
  .page-hero.compact,
  .feature-section,
  .category-section,
  .contact-page-section {
    padding: 3.5rem 0;
  }
}


/* Lovable color + typography override
   Source palette from puertas-elegant-home Lovable CSS:
   --background oklch(98.5% .005 60) ~= #fdf9f7
   --foreground oklch(18% .01 30) ~= #16100f
   --primary oklch(42% .11 13) ~= #7d2e3c
   --secondary oklch(96% .008 60) ~= #f6f1ed
   --muted oklch(95% .008 60) ~= #f3ede9
   --muted-foreground oklch(45% .015 30) ~= #5d5250
   --border oklch(90% .01 60) ~= #e3ddd8
*/
:root {
  --bs-body-bg: #fdf9f7;
  --bs-body-color: #16100f;
  --site-bg: #fdf9f7;
  --site-foreground: #16100f;
  --site-muted: #5d5250;
  --site-border: #e3ddd8;
  --site-primary: #7d2e3c;
  --site-primary-dark: #682533;
  --site-primary-soft: #ffe4e5;
  --site-secondary: #f6f1ed;
  --site-muted-bg: #f3ede9;
  --site-card: #ffffff;
  --site-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.25);
}
html {
  background: var(--site-bg);
}
body {
  background: var(--site-bg);
  color: var(--site-foreground);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  color: var(--site-foreground);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.site-header {
  background: rgba(253, 249, 247, 0.86);
  border-bottom-color: var(--site-border);
  backdrop-filter: blur(12px);
}
.navbar {
  min-height: 80px;
}
.navbar .nav-link {
  color: rgba(22, 16, 15, 0.80);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.footer-link:hover,
.footer-link:focus,
.footer-link.active,
.text-link,
.category-link-text,
.info-row span,
.section-kicker,
.hero-title span,
.section-title span {
  color: var(--site-primary);
}
.section-kicker {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.20em;
}
.kicker-line,
.corner-top,
.corner-bottom {
  border-color: var(--site-primary);
}
.kicker-line {
  background: var(--site-primary);
}
.hero-section {
  padding: 6rem 0;
}
.hero-title,
.page-title {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero-title span,
.section-title span {
  font-style: italic;
}
.hero-text,
.page-intro,
.page-copy,
.section-copy,
.feature-card p,
.category-card p,
.contact-info-card,
.contact-form label span,
.footer-text,
.footer-link {
  color: var(--site-muted);
}
.hero-text,
.page-intro,
.page-copy {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.section-copy {
  font-size: 1rem;
  line-height: 1.75rem;
}
.section-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.feature-card h3,
.category-card h3,
.contact-form h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.btn,
.text-link,
.category-link-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.btn-primary {
  --bs-btn-color: #fefbf8;
  --bs-btn-bg: var(--site-primary);
  --bs-btn-border-color: var(--site-primary);
  --bs-btn-hover-color: #fefbf8;
  --bs-btn-hover-bg: var(--site-primary-dark);
  --bs-btn-hover-border-color: var(--site-primary-dark);
  --bs-btn-active-bg: var(--site-primary-dark);
  --bs-btn-active-border-color: var(--site-primary-dark);
}
.btn-outline-dark {
  --bs-btn-color: var(--site-foreground);
  --bs-btn-border-color: rgba(22, 16, 15, 0.22);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--site-primary);
  --bs-btn-hover-color: var(--site-primary);
}
.about-strip,
.feature-section,
.category-section,
.contact-page-section {
  background: var(--site-secondary);
}
.gallery-card {
  background: var(--site-muted-bg);
}
.feature-card,
.category-card,
.contact-info-card,
.contact-form {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--site-border);
  box-shadow: var(--site-shadow);
}
.contact-form input:not([type="submit"]),
.contact-form textarea {
  color: var(--site-foreground);
  border-color: var(--site-border);
  background: #fff;
}
.contact-form input:not([type="submit"]):focus,
.contact-form textarea:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.2rem rgba(125, 46, 60, 0.12);
}
.site-footer {
  background: var(--site-bg);
  border-top-color: var(--site-primary);
}
.footer-bottom {
  border-top-color: var(--site-border);
}
.lang-switch button:hover,
.lang-switch button:focus,
.lang-switch button.active {
  border-color: rgba(22, 16, 15, 0.22);
  background: #fff;
}
@media (min-width: 992px) {
  .hero-section {
    padding: 8rem 0;
  }
}
@media (max-width: 767.98px) {
  .navbar {
    min-height: 70px;
  }
  .hero-section,
  .page-hero,
  .page-hero.compact,
  .feature-section,
  .category-section,
  .contact-page-section {
    padding: 3.5rem 0;
  }
  .hero-title,
  .page-title {
    font-size: clamp(2.75rem, 13vw, 3.75rem);
  }
  .section-title {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
}


/* Puertas123 structured templates: Navigator menu + static gallery albums/details */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.text-md-end .footer-nav { align-items: flex-start; }
@media (min-width: 768px) { .text-md-end .footer-nav { align-items: flex-end; } }
.footer-nav .footer-link { margin-bottom: 0; }
.gallery-albums-section { background: var(--site-bg); padding: 2rem 0 6rem; }
.album-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 4px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.album-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125,46,60,.35);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.25);
}
.album-card a { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.album-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .7s ease; }
.album-card:hover img { transform: scale(1.04); }
.album-card-body { padding: 1.65rem 1.65rem 1.75rem; }
.album-card h2 { margin: 0 0 .8rem; font-size: clamp(1.65rem, 2.4vw, 2rem); line-height: 1.05; }
.album-card p { min-height: 3.25rem; margin: 0 0 1.4rem; color: var(--site-muted); line-height: 1.6; }
.album-card .text-link { color: var(--site-primary); }
.gallery-detail-section { background: var(--site-bg); padding: 1.5rem 0 6rem; }
.back-link { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 2rem; color: var(--site-primary); text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.back-link:hover { color: var(--site-primary-dark); }
.detail-grid { --bs-gutter-x: 2rem; --bs-gutter-y: 2.4rem; }
.detail-card { margin: 0; }
.detail-card a { color: inherit; text-decoration: none; }
.detail-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 20px 40px -28px rgba(0,0,0,.25); transition: transform .7s ease, box-shadow .25s ease; }
.detail-card:hover img { transform: scale(1.025); box-shadow: 0 24px 48px -28px rgba(0,0,0,.30); }
.detail-card figcaption { margin-top: .95rem; color: var(--site-foreground); font-size: .95rem; font-weight: 600; }
@media (max-width: 767.98px) {
  .gallery-albums-section, .gallery-detail-section { padding-bottom: 4rem; }
  .album-card p { min-height: 0; }
}

/* Footer + Gallery product page fixes 2026-06-07 */
.site-footer {
  border-top: 1px solid var(--site-primary);
  background: var(--site-bg);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 3rem 0 3.2rem;
  align-items: start;
}
.footer-brand,
.footer-contact,
.footer-navigation {
  min-width: 0;
}
.footer-logo {
  width: auto;
  height: 38px;
  object-fit: contain;
}
.footer-text {
  max-width: 360px;
  margin-top: 1.35rem;
}
.footer-heading {
  margin-bottom: 1rem;
  color: var(--site-foreground);
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-contact .footer-link,
.footer-navigation .footer-link,
.footer-navigation .nav-link {
  display: block;
  margin: 0 0 .42rem;
  padding: 0 !important;
  color: var(--site-muted) !important;
  font-size: .925rem;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: none;
}
.footer-contact .footer-link:hover,
.footer-navigation .footer-link:hover,
.footer-navigation .nav-link:hover,
.footer-navigation .nav-link.active {
  color: var(--site-primary) !important;
}
.footer-navigation {
  text-align: right;
}
.footer-navigation .footer-menu,
.footer-navigation .navbar-nav,
.footer-navigation .footer-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: .12rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.footer-navigation .nav-item,
.footer-navigation .footer-nav-item {
  margin: 0 !important;
  padding: 0 !important;
}
.footer-bottom {
  border-top: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: .78rem;
}
@media (max-width: 767.98px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.6rem 0;
  }
  .footer-navigation {
    text-align: left;
  }
  .footer-navigation .footer-menu,
  .footer-navigation .navbar-nav,
  .footer-navigation .footer-nav {
    align-items: flex-start !important;
  }
}

.gallery-product-section {
  background: var(--site-bg);
  padding: 4rem 0 6rem;
}
.flipbook-frame-wrap {
  margin-bottom: 4rem;
}
.flipbook-frame {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 1px solid var(--site-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,.28);
}
.products-gallery-head {
  margin-bottom: 1.5rem;
}
.puertas-products-gallery,
.puertas-gallery-grid {
  width: 100%;
}
.puertas-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .puertas-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .puertas-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.puertas-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--site-muted-bg);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.32);
}
.puertas-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.puertas-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22,16,15,0);
  transition: background-color .3s ease;
}
.puertas-gallery-item:hover img,
.puertas-gallery-item:focus img {
  transform: scale(1.08);
}
.puertas-gallery-item:hover::after,
.puertas-gallery-item:focus::after {
  background: rgba(22,16,15,.20);
}
.puertas-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(253,249,247,.96);
  backdrop-filter: blur(8px);
}
.puertas-lightbox.is-open {
  display: flex;
}
.puertas-lightbox__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--site-foreground);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px -24px rgba(0,0,0,.5);
}
.puertas-lightbox__close:hover {
  color: var(--site-primary);
}
.puertas-lightbox__img {
  max-width: min(1200px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.55);
}
.other-categories-section {
  background: var(--site-bg);
  padding: 0 0 6rem;
}
.other-categories-section .album-card img {
  aspect-ratio: 16 / 9;
}
@media (max-width: 767.98px) {
  .gallery-product-section {
    padding: 3rem 0 4rem;
  }
  .flipbook-frame {
    min-height: 360px;
  }
}

/* Puertas123 simple Galeria page 2026-06-07 */
.gallery-page-content-section {
  background: var(--site-bg);
  padding: 0 0 6rem;
}
.gallery-page-content {
  color: var(--site-muted);
}
.gallery-page-content .fp-iframe,
.gallery-page-content iframe.fp-iframe {
  display: block;
  width: 100% !important;
  min-height: 500px;
  border: 1px solid var(--site-border) !important;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,.28);
  margin-bottom: 3rem;
}
.gallery-page-content #gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.gallery-page-content .gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--site-muted-bg);
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.32);
}
.gallery-page-content .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-page-content .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22,16,15,0);
  transition: background-color .3s ease;
}
.gallery-page-content .gallery-item:hover img,
.gallery-page-content .gallery-item:focus img {
  transform: scale(1.08);
}
.gallery-page-content .gallery-item:hover::after,
.gallery-page-content .gallery-item:focus::after {
  background: rgba(22,16,15,.20);
}
.gallery-page-content #lightbox.hidden {
  display: none !important;
}
.gallery-page-content #lightbox:not(.hidden) {
  display: flex !important;
}
@media (min-width: 768px) {
  .gallery-page-content #gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .gallery-page-content #gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .gallery-page-content-section {
    padding-bottom: 4rem;
  }
  .gallery-page-content .fp-iframe,
  .gallery-page-content iframe.fp-iframe {
    min-height: 360px;
  }
}


/* Puertas123 feature card icons - added 2026-06-08 */
.feature-card .feature-icon {
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid rgba(125, 46, 60, 0.38);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--site-primary);
  margin-bottom: 2.25rem;
  background: rgba(255, 255, 255, 0.44);
}
.feature-card .feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.feature-card .feature-icon + h3 {
  margin-top: 0;
}
@media (max-width: 767.98px) {
  .feature-card .feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.5rem;
  }
}

/* Custom */
.contact-form:has(form) {
    display: block;
    gap: unset;
}
.contact-form input[type="submit"] {
    width: 100%;
}
#formTop {
    position: absolute;
    margin-top: -100px;
}
.captcha {
    overflow: hidden;
}
