.gms-empty{padding:22px;border:1px dashed #9fbcdc;border-radius:12px;background:#f4f9ff;color:#3f5f82;text-align:center}
.gms-card{overflow:hidden;border:1px solid #dbe6f3;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(19,51,80,.05)}
.gms-card-image{display:block;height:190px;overflow:hidden;background:#e7eff8}
.gms-card-image img{width:100%;height:100%;object-fit:cover}
.gms-card-copy{padding:18px}.gms-card-copy h3{margin:0 0 8px}.gms-card-copy p{font-size:13px}
.gms-banner{min-height:410px;display:flex;align-items:center;color:#fff;background-image:linear-gradient(90deg,rgba(3,22,48,.88),rgba(3,22,48,.2)),var(--gms-banner);background-size:cover;background-position:center}
.gms-banner>div>div{max-width:620px;padding:70px 0}.gms-banner h2{font-size:clamp(36px,5vw,58px);color:#fff}.gms-banner-text,.gms-banner-text p{color:#eff8ff}
.gms-contact-block{padding:28px;border:1px solid #cddff2;border-radius:16px;background:#f4faff}.gms-contact-block .btn{margin:8px 8px 0 0}.gms-whatsapp{background:#07994a;color:#fff!important}

/* Keep the linked cover inside its own fixed-height row. */
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product]{display:flex;flex-direction:column;min-width:0;height:auto;align-self:stretch}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product][hidden]{display:none!important}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image{display:block;position:relative;flex:0 0 184px;width:100%;height:184px;min-height:184px;max-height:184px;overflow:hidden;background:#e7eff8}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image img{display:block;width:100%;height:100%;max-height:100%;object-fit:cover}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-info{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;padding:17px 15px}
.catalog-grid[data-gms-catalog] .product-info h3{overflow-wrap:anywhere}
.catalog-grid[data-gms-catalog] .product-info .product-actions{margin-top:auto}
.gms-product-no-image{display:grid;height:100%;place-items:center;padding:18px;color:#5e7793;font-size:13px;text-align:center}


/* Uniform catalog cards and a compact gallery; full media opens in a dialog. */
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product]{align-self:stretch}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image{height:184px;min-height:184px;max-height:184px;flex:0 0 184px}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image img{height:100%;width:100%;object-fit:cover}
.catalog-grid[data-gms-catalog] .product-info small{display:block;min-height:17px}
.catalog-grid[data-gms-catalog] .product-info h3{height:44px;min-height:44px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.catalog-grid[data-gms-catalog] .product-info p{height:72px;min-height:72px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}
.catalog-grid[data-gms-catalog] .product-info .product-actions{margin-top:auto}
.product-detail{align-items:start}
.product-detail .product-main-photo{height:440px;background:#eef3f9}
.product-detail .product-main-photo img,.product-detail .product-main-photo video{display:block;width:100%;height:100%;object-fit:cover}
.product-detail .product-main-photo img{cursor:zoom-in}
.product-detail .product-main-photo:empty{display:none}
.product-detail .gms-gallery-controls,.gms-modal-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.gms-gallery-controls button,.gms-modal-controls button,.gms-viewer-close{border:1px solid #bdd5ef;border-radius:9px;padding:10px 15px;background:#fff;color:#074b96;cursor:pointer;font:inherit}
.gms-gallery-controls button:disabled,.gms-modal-controls button:disabled{opacity:.45;cursor:default}
.gms-gallery-controls[hidden]{display:none!important}
.gms-media-dialog{width:94vw;max-width:1300px;max-height:94dvh;padding:16px;border:0;border-radius:12px;background:#fff;color:#123}
.gms-media-dialog::backdrop{background:rgba(0,12,30,.85)}
.gms-viewer-close{display:block;margin:0 0 10px auto}
.gms-enlarged-media{display:flex;justify-content:center;align-items:center;height:calc(90dvh - 130px)}
.gms-enlarged-media img,.gms-enlarged-media video{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.gms-modal-controls{margin-top:10px}
@media(max-width:600px){.product-detail .product-main-photo{height:320px}.gms-gallery-controls button{padding:9px 12px}}

/* Whole foreground image with a decorative, blurred copy behind it. */
.product-detail .product-main-photo{position:relative;isolation:isolate}
.product-detail .product-main-photo > img:not(.gms-gallery-backdrop){position:relative;z-index:1;object-fit:contain;background:transparent}
.product-detail .product-main-photo > img.gms-gallery-backdrop,
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image img.gms-cover-backdrop{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;filter:blur(18px) brightness(.82);pointer-events:none;z-index:0;max-height:none}
.catalog-grid[data-gms-catalog] > .product-card[data-gms-product] > .product-image img.gms-cover-foreground{position:relative;z-index:1;object-fit:contain;background:transparent}
.product-detail .gms-gallery-controls{display:block}
.gms-thumbnail-strip{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:9px}
.gms-thumbnail-strip > button{padding:9px 0}
.gms-thumbnail-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.gms-gallery-controls .gms-gallery-thumbnail{position:relative;padding:0;height:100px;min-width:0;overflow:hidden;border:2px solid transparent;border-radius:9px;background:#eef3f9}
.gms-gallery-thumbnail[aria-current="true"]{border-color:#0870d8;box-shadow:0 0 0 2px #0870d822}
.gms-gallery-thumbnail img,.gms-gallery-thumbnail video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.gms-gallery-thumbnail span{position:absolute;inset:0;display:grid;place-items:center;color:white;text-shadow:0 1px 5px #000;z-index:1}
.gms-gallery-footer{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px}
@media(max-width:600px){.gms-gallery-controls .gms-gallery-thumbnail{height:76px}.gms-thumbnail-strip{gap:6px;grid-template-columns:30px minmax(0,1fr) 30px}.gms-thumbnail-tray{gap:6px}}

/* Isolate carousel layout from the legacy .thumbs > div 140px rule. */
.product-detail .product-photos{min-width:0}
.product-detail .gms-gallery-controls{display:block;width:100%;min-width:0;margin-top:12px}
.product-detail .gms-gallery-controls > .gms-thumbnail-strip{display:grid;width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:visible;background:transparent;grid-template-columns:36px minmax(0,1fr) 36px;gap:9px}
.product-detail .gms-gallery-controls > .gms-gallery-footer{display:flex;width:100%;height:auto;min-height:0;max-height:none;margin:10px 0 0;padding:0;border:0;border-radius:0;overflow:visible;background:transparent;justify-content:center}
.product-detail .gms-thumbnail-tray{width:100%;min-width:0}
.product-detail .gms-gallery-thumbnail{display:block;width:100%;box-sizing:border-box}
@media(max-width:600px){.product-detail .gms-gallery-controls > .gms-thumbnail-strip{grid-template-columns:30px minmax(0,1fr) 30px;gap:6px}}
.gms-gallery-footer{flex-wrap:wrap}
.product-detail .product-main-photo > img:not(.gms-gallery-backdrop),.product-detail .product-main-photo > video{animation:gms-media-appear .3s ease-out}
@keyframes gms-media-appear{from{opacity:.35}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.product-detail .product-main-photo > img,.product-detail .product-main-photo > video{animation:none}}

/* Make the catalog category trigger recognizably clickable. */
.store-bar .store-all{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 15px;border:1px solid rgba(255,255,255,.55);border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;user-select:none;transition:background .15s,border-color .15s,box-shadow .15s}
.store-bar .store-all *{cursor:pointer;user-select:none}
.store-bar .store-all:hover,.store-bar .store-all[aria-expanded="true"]{background:rgba(255,255,255,.24);border-color:#fff;box-shadow:0 3px 10px #00285e25}
.store-bar .store-all:focus-visible{outline:3px solid #fff;outline-offset:3px}
.store-bar .store-all .mini-arrow{display:block;width:9px;height:9px;margin:0 2px 5px 6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;font-size:0;line-height:0;transform:rotate(45deg);transition:transform .15s}
.store-bar .store-all[aria-expanded="true"] .mini-arrow{transform:translateY(4px) rotate(225deg)}
.store-bar .store-category-menu a:focus-visible{background:#eaf4ff;outline:2px solid #075dba;outline-offset:-2px}
.gms-simple-quote{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.gms-simple-whatsapp{justify-content:center;background:#07994a!important;color:#fff!important}
.gms-email-toggle{display:flex;justify-content:center;width:100%;list-style:none;cursor:pointer;user-select:none;background:#edf5ff;color:#0756b2;border:1px solid #c9dff7}
.gms-email-toggle::-webkit-details-marker{display:none}
.gms-email-toggle:focus-visible{outline:2px solid #0870d8;outline-offset:3px}
.gms-email-quote>.contact-form{margin-top:14px;padding:22px;border:1px solid #d6e3f1;border-radius:12px;background:#f7fbff}
.gms-email-quote:not([open])>.contact-form{display:none}
.gms-filter-row{display:flex;align-items:center;gap:6px;min-width:0}
.gms-filter-row .cat-choice{flex:1;min-width:0;margin:12px 0;font-size:13px}
.gms-category-expand{flex:none;border:0;border-radius:6px;padding:5px 9px;background:#edf5ff;color:#0759b9;cursor:pointer;font-size:18px;line-height:1}
.gms-category-expand[aria-expanded="true"]{transform:rotate(180deg)}
.gms-category-children{margin-left:10px;padding-left:10px;border-left:1px solid #dce8f4}
.gms-category-children[hidden]{display:none!important}
.gms-category-children .cat-choice{font-size:12px}
.catalog-grid[data-gms-catalog] .product-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Category navigation: square selection, clear active rows, immediate child models. */
.cat-choice{position:relative;display:flex!important;align-items:center;gap:11px;padding:10px 12px;border-radius:9px;cursor:pointer;line-height:1.4;transition:background .15s,color .15s}
.cat-choice:hover{background:#f0f6ff}.cat-choice:has(input:checked){background:#e5f0ff;color:#064da4;font-weight:700}
.cat-choice input[type=radio]{appearance:none;-webkit-appearance:none;flex:0 0 19px;width:19px;height:19px;margin:0;border:1px solid #adc9e8;border-radius:4px;background:#fff;cursor:pointer;display:grid;place-content:center}
.cat-choice input[type=radio]:checked{background:#0867d2;border-color:#0867d2}.cat-choice input[type=radio]:checked:after{content:"";width:9px;height:5px;border:solid white;border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}
.cat-choice input:focus-visible{outline:3px solid #7ab7ff;outline-offset:3px}.gms-filter-row .cat-choice{margin:3px 0;min-height:44px}.gms-category-expand{width:32px;height:32px;background:transparent;border:1px solid #dce8f4;font-size:20px}.gms-category-expand:hover{background:#e5f0ff}.gms-category-children{margin-left:12px;padding-left:8px}.gms-category-children .cat-choice{font-size:13px}
.gms-category-empty[hidden]{display:none!important}.gms-category-empty{padding:24px;background:white;border:1px solid #dce8f4;border-radius:12px;color:#416180}

/* Light accordion panels inspired by the supplied reference. */
.catalog-sidebar{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.catalog-sidebar>h3{padding:0 2px 18px!important;margin-bottom:0!important;border:0!important}
.catalog-sidebar>.cat-choice,.catalog-sidebar>.gms-category-branch{background:#fff;border:1px solid #e0e8f0;border-radius:0;margin:0 0 9px!important}
.catalog-sidebar>.cat-choice{padding:17px 15px!important;min-height:56px;font-size:14px}
.catalog-sidebar>.gms-category-branch>.gms-filter-row{min-height:56px;padding:0 8px 0 3px}
.gms-filter-row .cat-choice{padding:14px 11px;margin:0!important;min-height:56px;font-weight:400;font-size:14px;border-radius:0;color:#0751a5;gap:10px}
.gms-filter-row{gap:0}.gms-filter-row:has(input:checked){background:#f3f8ff}.cat-choice:has(input:checked){background:transparent;color:#0751a5;font-weight:600}.cat-choice:hover{background:transparent}
.catalog-sidebar>.gms-category-branch>.gms-filter-row>.cat-choice input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;pointer-events:none}
.catalog-sidebar>.gms-category-branch>.gms-filter-row>.cat-choice:has(input:focus-visible){outline:2px solid #7ab7ff;outline-offset:-3px}
.gms-category-expand,.gms-category-expand:hover{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:40px;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;color:#6d7c8c;cursor:pointer;transform:none!important}
.gms-category-expand svg{width:15px;height:15px;transition:transform .2s ease}.gms-category-expand[aria-expanded=true] svg{transform:rotate(180deg)}.gms-category-expand:hover{color:#0561bf}.gms-category-expand:focus-visible{outline:2px solid #7ab7ff;outline-offset:-3px}
.gms-category-children{border-left:0;margin:0 10px;padding:0 0 8px 8px}.gms-category-children .gms-filter-row .cat-choice{font-size:13px;color:#294a6b;min-height:44px;padding:11px 6px;line-height:1.5}.gms-category-children .gms-category-children{border-left:1px solid #e4ecf4;margin-left:14px;padding-left:10px}.gms-category-children .gms-filter-row:has(input:checked){border-radius:5px;background:#edf5ff}.cat-choice input[type=radio]{flex-basis:18px;width:18px;height:18px;border-radius:2px;border-color:#b9cfe4}.catalog-sidebar .sidebar-help{margin-top:22px}
@media(prefers-reduced-motion:reduce){.gms-category-expand svg{transition:none}}

.gms-project-form{padding:0;background:transparent;border:0;box-shadow:none}.gms-project-form .door-quote-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.gms-project-form .door-quote-actions .btn{width:100%;min-width:0;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;margin:0;min-height:47px;padding:12px 10px}.gms-project-form .door-whatsapp{background:#049d4d;color:#fff}.gms-project-form form>label{display:block;margin-bottom:16px}.gms-project-form>small{display:block;margin-top:14px}@media(max-width:510px){.gms-project-form .door-quote-actions{grid-template-columns:1fr}}
.gms-project-form label{display:grid;font-size:12px;font-weight:600;gap:7px;color:#2b4264}.gms-project-form input,.gms-project-form textarea{width:100%;padding:12px 13px;border:1px solid #d1e0ef;border-radius:8px;background:white;font-size:13px;color:#14335b}.gms-project-form textarea{min-height:130px;resize:vertical}.gms-project-form input:focus,.gms-project-form textarea:focus{outline:2px solid #a3ceff;outline-offset:1px}.gms-project-form .gm-consent input{width:16px;height:16px}
