/* Catalog */
.giler-catalog { display:grid; grid-template-columns:minmax(190px,260px) 1fr; gap:2.5rem; margin:2rem auto 5rem; }
.giler-catalog__filters { height:max-content; padding:1.35rem; border:1px solid #dce3e7; background:#fff; }
.giler-search, .giler-filter { display:grid; gap:.65rem; margin:0 0 1.4rem; font-weight:700; }
.giler-filter { padding:0; border:0; }
.giler-filter label { display:block; font-size:.9rem; font-weight:500; }
.giler-filter small, .giler-catalog__count { color:#617181; }
.giler-search input, .giler-quote-form input, .giler-quote-form select, .giler-quote-form textarea { width:100%; padding:.75rem; border:1px solid #cbd5da; font:inherit; }
.giler-filter-actions, .giler-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; }
.giler-filter-actions button, .giler-quote-form button { padding:.8rem 1.1rem; border:0; color:#fff; background:#093f6d; font:inherit; font-weight:700; cursor:pointer; }
.giler-filter-actions a, .giler-whatsapp { color:#093f6d; }
.giler-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:1.25rem; }
.giler-empty { padding:2rem; background:#fff; }
.giler-product .wp-block-post-featured-image img { width:100%; height:auto; }
.giler-whatsapp { padding:.67rem 1rem; border:1px solid #093f6d; text-decoration:none; font-weight:700; }
.giler-related { margin-top:5rem; }
.giler-quote-form { display:grid; grid-template-columns:1fr 1fr; gap:1rem; max-width:820px; margin:2rem auto 5rem; }
.giler-quote-form label { display:grid; gap:.45rem; font-weight:700; }
.giler-form__wide { grid-column:1 / -1; }
.giler-quote-form button { width:max-content; }
.giler-form__notice { padding:1rem; background:#dcefdc; }
.giler-hp { position:absolute !important; left:-9999px !important; }

/* Product cards */
.giler-product-card { display:flex; min-width:0; border:1px solid #dce3e7; background:#fff; transition:border-color .18s ease; }
.giler-product-card:hover { border-color:#ca1524; }
.giler-product-card a { display:flex; width:100%; min-height:100%; flex-direction:column; padding:14px 14px 16px; color:#132333; text-decoration:none; }
.giler-product-card__image { display:block; height:180px; overflow:hidden; border-bottom:1px solid #dce3e7; background:#fff; }
.giler-product-card__image img, .giler-product-card__empty { display:block; width:100%; height:100%; padding:12px; background:#fff; object-fit:contain; transition:transform .28s ease; }
.giler-product-card:hover .giler-product-card__image img { transform:scale(1.025); }
.giler-product-card__body { display:flex; min-height:112px; flex:1; flex-direction:column; padding-top:16px; }
.giler-product-card__meta { margin:0 0 8px; color:#093f6d; font-size:12px; font-weight:800; line-height:1.3; text-transform:uppercase; }
.giler-product-card__title { margin:0 0 8px; color:#132333; font-size:18px; font-weight:700; line-height:1.15; overflow-wrap:anywhere; }
.giler-product-card__more { display:flex; min-height:36px; align-items:center; justify-content:center; margin-top:auto; border:1px solid #093f6d; color:#093f6d; font-size:16px; font-weight:800; transition:color .18s ease, background-color .18s ease; }
.giler-product-card:hover .giler-product-card__more { color:#fff; background:#093f6d; }

/* Featured carousel */
.giler-featured-products { position:relative; }
.giler-featured-products__controls { display:flex; justify-content:flex-end; gap:8px; margin:-4px 0 40px; }
.giler-featured-products__controls button { display:grid; width:44px; height:44px; padding:0; border:1px solid #093f6d; place-items:center; color:#093f6d; background:transparent; font-size:30px; line-height:1; cursor:pointer; transition:color .18s ease, background-color .18s ease; }
.giler-featured-products__controls button:hover { color:#fff; background:#093f6d; }
.giler-featured-products__track { display:grid; grid-auto-columns:calc((100% - 48px) / 4); grid-auto-flow:column; gap:16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; }
.giler-featured-products__track::-webkit-scrollbar { display:none; }
.giler-featured-products__track .giler-product-card { min-height:324px; box-sizing:border-box; scroll-snap-align:start; }
.giler-featured-products__track .giler-product-card a { height:auto; box-sizing:border-box; }
.giler-featured-products__pagination { display:flex; justify-content:center; gap:8px; margin:28px 0 36px; }
.giler-featured-products__pagination button { width:22px; height:4px; padding:0; border:0; border-radius:2px; background:#ca1524; opacity:.35; cursor:pointer; }
.giler-featured-products__pagination button.is-current { width:34px; opacity:1; }
.giler-featured-products__all { display:flex; width:max-content; min-height:58px; align-items:center; justify-content:center; margin:auto; padding:0 36px; color:#fff; background:#093f6d; font-weight:800; text-decoration:none; }
.giler-featured-products__all:hover { background:#031d33; }

@media (max-width:1023px) { .giler-featured-products__track { grid-auto-columns:calc((100% - 16px) / 2); } }
@media (max-width:767px) { .giler-catalog, .giler-quote-form { grid-template-columns:1fr; } .giler-form__wide { grid-column:auto; } }
@media (max-width:767px) { .giler-featured-products__track { grid-auto-columns:100%; } .giler-featured-products__controls { margin-bottom:24px; } .giler-featured-products__all { width:100%; } }


/* Brand carousel */
.giler-brands-carousel { position:relative; }
.giler-brands-carousel__controls { display:flex; justify-content:flex-end; gap:8px; margin:-4px 0 40px; }
.giler-brands-carousel__controls button { display:grid; width:44px; height:44px; padding:0; border:1px solid #093f6d; place-items:center; color:#093f6d; background:transparent; font-size:30px; line-height:1; cursor:pointer; transition:color .18s ease, background-color .18s ease; }
.giler-brands-carousel__controls button:hover { color:#fff; background:#093f6d; }
.giler-brand-grid { display:grid; grid-auto-columns:calc((100% - 48px) / 4); grid-auto-flow:column; gap:16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; }
.giler-brand-grid::-webkit-scrollbar { display:none; }
.giler-brand-card { display:flex; min-height:180px; flex-direction:column; align-items:center; justify-content:center; padding:24px 18px; border:1px solid #dce3e7; color:#132333; background:#fff; text-align:center; text-decoration:none; scroll-snap-align:start; transition:border-color .18s ease; }
.giler-brand-card:hover { border-color:#ca1524; }
.giler-brand-card__logo { width:min(100%,140px); height:56px; margin:0 0 18px; object-fit:contain; }
.giler-brand-card__empty { min-height:56px; margin-bottom:18px; color:#093f6d; font-weight:800; }
.giler-brand-card strong { color:#132333; font-size:16px; }
.giler-brand-card span { margin-top:8px; color:#617181; font-size:12px; line-height:1.35; }
.giler-brands-carousel__pagination { display:flex; justify-content:center; gap:8px; margin:28px 0 36px; }
.giler-brands-carousel__pagination button { width:22px; height:4px; padding:0; border:0; border-radius:2px; background:#ca1524; opacity:.35; cursor:pointer; }
.giler-brands-carousel__pagination button.is-current { width:34px; opacity:1; }
.giler-brands__all .wp-block-button__link { min-height:58px; padding:18px 36px; border-radius:0; color:#fff; background:#093f6d; font-weight:800; }
.giler-brands__all .wp-block-button__link:hover { background:#031d33; }
@media (max-width:1023px) { .giler-brand-grid { grid-auto-columns:calc((100% - 16px) / 2); } }
@media (max-width:767px) { .giler-brand-grid { grid-auto-columns:100%; } .giler-brands-carousel__controls { margin-bottom:24px; } }
