/* All rules are scoped to this catalog; Elementor typography remains inherited. */
.flc-gallery, .flc-gallery *, .flc-specs, .flc-specs *, .flc-catalog, .flc-catalog *, .flc-page { box-sizing: border-box; }
.flc-gallery { width: 100%; min-width: 0; --flc-radius: 10px; --flc-accent: #142747; }
.flc-gallery__stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--flc-radius); background: #f5f4f1; }
.flc-gallery__main-link { display: block; width: 100%; height: 100%; color: #142747; }
.flc-gallery .flc-gallery__main { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0; }
.flc-gallery--cover .flc-gallery__main { object-fit: cover; }
.flc-gallery__zoom-icon { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #142747; box-shadow: 0 1px 6px #0002; pointer-events: none; }
.flc-gallery__thumb-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 8px; align-items: center; margin-top: 12px; --flc-thumb-gap: 10px; }
.flc-gallery__thumbs { display: flex; flex-wrap: nowrap; gap: var(--flc-thumb-gap, 10px); min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; direction: ltr; }
.flc-gallery__thumbs::-webkit-scrollbar { display: none; }
/* Keep the 1.1.2 strip geometry when theme/Elementor rules redefine galleries. */
.flc-gallery[data-flc-gallery] > .flc-gallery__thumb-row > .flc-gallery__thumbs { display: flex !important; flex-flow: row nowrap !important; min-width: 0; width: 100%; overflow-x: auto !important; overflow-y: hidden !important; }
.flc-gallery[data-flc-gallery] > .flc-gallery__thumb-row > .flc-gallery__thumbs > .flc-gallery__thumb { flex: 0 0 calc((100% + var(--flc-thumb-gap, 10px)) / var(--flc-thumbs, 4) - var(--flc-thumb-gap, 10px)) !important; }
.flc-gallery .flc-gallery__thumb { display: block; flex: 0 0 calc((100% + var(--flc-thumb-gap, 10px)) / var(--flc-thumbs, 4) - var(--flc-thumb-gap, 10px)); min-width: 0; aspect-ratio: 1; margin: 0; padding: 0; border: 2px solid transparent; border-radius: var(--flc-radius); overflow: hidden; background: #f5f4f1; cursor: pointer; opacity: .72; scroll-snap-align: start; }
.flc-gallery .flc-gallery__arrow, .flc-gallery .flc-gallery__thumb-arrow { display: none; align-items: center; justify-content: center; padding: 0; border: 1px solid #ddd; background: #fff; color: #142747; cursor: pointer; }
.flc-gallery--ready .flc-gallery__arrow, .flc-gallery--ready .flc-gallery__thumb-arrow { display: flex; }
.flc-gallery .flc-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 1px 6px #0002; z-index: 1; }
.flc-gallery__arrow--prev { left: 12px; }
.flc-gallery__arrow--next { right: 12px; }
.flc-gallery .flc-gallery__thumb-arrow { width: 28px; min-height: 44px; border-radius: 6px; font: inherit; font-size: 28px; line-height: 1; }
.flc-gallery__playback { display: none; justify-content: flex-end; margin-top: 6px; }
.flc-gallery--ready .flc-gallery__playback { display: flex; }
.flc-gallery .flc-gallery__autoplay { padding: 5px 8px; border: 0; border-radius: 4px; background: transparent; color: #142747; cursor: pointer; font: inherit; font-size: 12px; min-height: 32px; }
.flc-gallery .flc-gallery__arrow:hover, .flc-gallery .flc-gallery__thumb-arrow:hover, .flc-gallery .flc-gallery__autoplay:hover { background: #f5f4f1; color: #142747; }
.flc-gallery .flc-gallery__thumb:hover, .flc-gallery .flc-gallery__thumb[aria-pressed="true"] { opacity: 1; border-color: var(--flc-accent); }
.flc-gallery .flc-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flc-gallery a:focus-visible, .flc-gallery button:focus-visible, .flc-card__link:focus-visible, .flc-quote:focus-visible { outline: 3px solid #1976d2; outline-offset: 3px; }
.flc-gallery .flc-gallery__dialog { position: fixed; inset: 0; max-width: min(1100px, 94vw); max-height: 94vh; width: max-content; margin: auto; padding: 54px 18px 18px; border: 0; border-radius: 10px; background: #fff; color: #142747; overflow: auto; }
.flc-gallery__dialog:not([open]) { display: none; }
.flc-gallery__dialog::backdrop { background: rgb(0 0 0 / .82); }
.flc-gallery .flc-gallery__enlarged { display: block; width: auto; max-width: 100%; height: auto; max-height: 72vh; object-fit: contain; margin: auto; }
.flc-gallery .flc-gallery__close { position: absolute; top: 8px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #ddd; border-radius: 50%; font: inherit; font-size: 28px; line-height: 1; color: #142747; background: #fff; cursor: pointer; }
.flc-gallery__dialog-nav { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
/* Only the native Woo image slot needs a column; Elementor owns widget widths. */
.flc-woo-gallery { min-width: 0; width: 100%; margin-bottom: 2em; }
.woocommerce div.product > .flc-woo-gallery { width: 48%; float: left; }
html[dir="rtl"] .woocommerce div.product > .flc-woo-gallery { float: right; }
.elementor-widget-woocommerce-product-images .flc-woo-gallery { margin-bottom: 0; }
@media (max-width: 768px) { .woocommerce div.product > .flc-woo-gallery, html[dir="rtl"] .woocommerce div.product > .flc-woo-gallery { width: 100%; float: none; } }
.flc-gallery .flc-gallery__dialog-nav button { min-width: 48px; min-height: 40px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #142747; padding: 4px 12px; cursor: pointer; font: inherit; font-size: 24px; }
.flc-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; }
.flc-specs { width: 100%; border-collapse: collapse; border: 1px solid #c9c5bf; margin: 0; font: inherit; }
.flc-specs th, .flc-specs td { padding: 10px 12px; vertical-align: top; border: 0; border-bottom: 1px dotted #d4d0ca; text-align: left; overflow-wrap: anywhere; }
.flc-specs th { width: 27%; border-right: 1px solid #c9c5bf; font-weight: 600; background: #f5f3ee; }
.flc-specs tr:last-child > * { border-bottom: 0; }
.flc-quote { display: inline-block; padding: 12px 22px; border-radius: 6px; background: #d0b472; color: #142747; text-decoration: none; font: inherit; font-weight: 600; text-align: center; }
.flc-quote:hover { background: #142747; color: #fff; }
.flc-page { width: min(1240px, calc(100% - 40px)); margin: 40px auto 60px; }
.flc-product__overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.flc-product__images, .flc-product__summary { min-width: 0; }
.flc-product__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin: 18px 0 24px; overflow-wrap: anywhere; }
.flc-breadcrumb { font-size: .875em; line-height: 1.7; overflow-wrap: anywhere; }
.flc-product__excerpt { margin-bottom: 24px; }
.flc-product__quote { margin-top: 28px; }
.flc-product__description { margin-top: 48px; overflow-wrap: anywhere; }
.flc-product__description img { max-width: 100%; height: auto; }
.flc-archive__header { margin-bottom: 32px; }
.flc-catalog { display: grid; grid-template-columns: repeat(var(--flc-columns, 4), minmax(0, 1fr)); gap: 20px; }
.flc-card { min-width: 0; border: 1px solid #e8e3da; border-radius: 10px; background: #fff; overflow: hidden; }
.flc-card__link { display: flex; flex-direction: column; height: 100%; padding: 12px; color: #142747; text-decoration: none; }
.flc-card .flc-card__image, .flc-card__placeholder { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5f4f1; border-radius: 6px; }
.flc-card .flc-card__title { margin: 14px 0; font-size: 18px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.flc-card__more { align-self: flex-start; margin-top: auto; padding: 8px 14px; border-radius: 5px; background: #d0b472; color: #142747; font-size: 14px; font-weight: 600; }
.flc-pagination { margin-top: 32px; }
.flc-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.flc-pagination .page-numbers { display: inline-block; padding: 7px 12px; border: 1px solid #ddd; border-radius: 4px; }
.flc-pagination ul.page-numbers { display: flex; padding: 0; border: 0; }
.flc-pagination .current { background: #142747; color: #fff; }
@media (max-width: 1024px) { .flc-catalog { grid-template-columns: repeat(var(--flc-tablet-columns, 3), minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .flc-page { width: calc(100% - 28px); margin-top: 24px; }
    .flc-product__overview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .flc-gallery__thumb-row { --flc-thumb-gap: 7px; gap: 5px; margin-top: 8px; }
    .flc-gallery .flc-gallery__arrow { width: 38px; height: 38px; }
    .flc-gallery .flc-gallery__dialog { max-width: 96vw; padding-right: 8px; padding-left: 8px; }
    .flc-catalog { grid-template-columns: repeat(var(--flc-mobile-columns, 2), minmax(0, 1fr)); gap: 12px; }
    .flc-card__link { padding: 8px; }
    .flc-card .flc-card__title { font-size: 16px; }
    .flc-specs th, .flc-specs td { padding: 9px; }
}
