/* Tromic — minimal CMS-integration overrides. The template's own style.css does
   the heavy lifting; this only wires our header/footer helpers and keeps the
   primary accent driven by --theme-primary (defaults to the template red). */

:root { --theme-primary: #ee3231; --theme-primary-text: #ffffff; }

/* Primary-accent helpers used in our header/footer/compare bar */
.tromic-btn {
    display: inline-block; background: var(--theme-primary); color: #fff;
    padding: 10px 24px; border-radius: 3px; font-weight: 600; line-height: 1.2;
    text-transform: uppercase; letter-spacing: .3px; font-size: 13px; border: 0;
    transition: filter .2s ease;
}
.tromic-btn:hover { filter: brightness(.9); color: #fff; }

/* Header */
.header-top { background: #f6f7f9; padding: 8px 0; font-size: 13px; }
.header-top a:hover, .main-menu a:hover { color: var(--theme-primary); }
.main-menu ul li a { padding: 15px 0; display: inline-block; color: #212529; }
.header-search { position: relative; }
.header-search input { padding-right: 40px; min-width: 220px; }
.header-search .search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--theme-primary); }
.minicart-btn { color: #212529; }
.cart-count { font-size: 11px; }

/* Hero — big full-bleed slider (nagina-style height); no dark overlay/shade so
   the slider image shows cleanly. */
/* Hero shows the WHOLE uploaded banner at its native ratio — desktop banner
   (1920x750) via --bg-d, mobile banner (768x800) via --bg-m. No fixed height, so
   nothing is cropped and the mobile banner is actually used on phones. */
.main-slider-2 .slide-inner { background-image: var(--bg-d); background-size: cover; background-position: center; display: flex; align-items: center; position: relative; aspect-ratio: 1920 / 750; }
.main-slider-2 .slide-content { position: relative; z-index: 2; }
.main-slider-2 .slide-content .title { font-size: 48px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
@media (max-width: 767px){ .main-slider-2 .slide-inner { background-image: var(--bg-m, var(--bg-d)); aspect-ratio: 768 / 800; } .main-slider-2 .slide-content .title{ font-size: 26px; } }

/* Footer */
.footer-area { background: #14181c; color: #b9c0c8; }
.footer-area .widget-title { color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.footer-area a { color: #b9c0c8; }
.footer-area a:hover { color: var(--theme-primary); }
.footer-area .widget-list-item li { margin-bottom: 8px; }
.tromic-features { background: #fff; }
.tromic-social { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #b9c0c8; }
.tromic-social:hover { background: var(--theme-primary); border-color: var(--theme-primary); color: #fff; }

/* Quote-based price label */
.price-box .new-price { color: var(--theme-primary); }

/* Inner-page breadcrumb — branded dark background (only when no image is set) */
.tromic-breadcrumb { background: linear-gradient(120deg, #1a1d21 0%, #2b2f36 100%); position: relative; }
.tromic-breadcrumb .breadcrumb-heading { color: #fff; }
.tromic-breadcrumb .breadcrumb-item, .tromic-breadcrumb ul li, .tromic-breadcrumb ul li a { color: #d7dbe0; }
.tromic-breadcrumb ul li a:hover { color: var(--theme-primary); }
/* Uploaded banner image — no overlay/scrim (shows the image cleanly). */
.tromic-breadcrumb.has-bg-image { background: none; }
.tromic-breadcrumb.has-bg-image .breadcrumb-item { position: relative; z-index: 2; }
/* Compact strip (About/Products): keep the breadcrumb + background, ~10px space. */
.tromic-breadcrumb-compact { padding: 10px 0; min-height: 0; height: auto; }
.tromic-breadcrumb-compact .breadcrumb-heading { font-size: 20px; margin: 0 0 2px; }
.tromic-breadcrumb-compact ul { margin-bottom: 0; }

/* About — Our Work Gallery scrolls horizontally on mobile */
@media (max-width: 767px) {
    .about-gallery-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    .about-gallery-row .about-gallery-col { flex: 0 0 72%; max-width: 72%; scroll-snap-align: start; }
}

/* Shop sidebar */
.shop-sidebar .sidebar-widget-title { font-size: 18px; font-weight: 700; text-transform: uppercase; position: relative; padding-bottom: 10px; }
.shop-sidebar .sidebar-widget-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--theme-primary); }
.shop-sidebar .sidebar-category li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.shop-sidebar .sidebar-category li.active > a, .shop-sidebar .sidebar-category a:hover { color: var(--theme-primary); }
.shop-sidebar .sidebar-category span { color: #999; }
.shop-sidebar .sidebar-search .btn-primary { background: var(--theme-primary); border-color: var(--theme-primary); }

/* Pagination */
.pagination-area .pagination { gap: 6px; }
.pagination-area .page-link { color: #212529; border-radius: 4px; }
.pagination-area .page-item.active .page-link { background: var(--theme-primary); border-color: var(--theme-primary); color: #fff; }

/* Product details */
.product-details-title { font-weight: 800; }
.product-details-tab .nav-tabs .nav-link { color: #212529; font-weight: 600; border: 0; text-transform: uppercase; }
.product-details-tab .nav-tabs .nav-link.active { color: var(--theme-primary); border-bottom: 2px solid var(--theme-primary); }
.pro-thumb { padding: 6px; cursor: pointer; }
.pro-thumb:hover { border-color: var(--theme-primary) !important; }

/* Contact — method-card icons (red circle, white icon) in case the template's
   shipping-style-2 expects an <img> where we use a Pe-icon-7 glyph */
.shipping-style-2 .shipping-item { text-align: center; }
.shipping-style-2 .shipping-img { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--theme-primary); display: flex; align-items: center; justify-content: center; }
.shipping-style-2 .shipping-img span { color: #fff; font-size: 34px; line-height: 1; }
.shipping-style-2 .shipping-content .title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }

/* Contact form fields — belt-and-braces sizing on the template classes */
.contact-form-wrap .group-input { display: flex; flex-wrap: wrap; gap: 24px; }
.contact-form-wrap .group-input .form-field { flex: 1 1 45%; }
.contact-form .input-field, .contact-form .textarea-field {
    width: 100%; padding: 12px 18px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; color: #212529;
}
.contact-form .textarea-field { min-height: 150px; resize: vertical; }
.contact-form .input-field:focus, .contact-form .textarea-field:focus { border-color: var(--theme-primary); outline: none; }
.contact-map iframe, .contact-map-size { width: 100%; min-height: 420px; border: 0; }

/* About */
.about-sub-title { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.about-title { font-weight: 800; }

/* Top Category tiles — flush image, no card padding/spacing */
.product-category-item .product-category-img { background: transparent; border-radius: 0; padding: 0; text-align: center; display: block; overflow: hidden; }
.product-category-item .product-category-img img { height: 220px; width: 100%; max-width: 100%; object-fit: contain; }
.product-category-item .product-category-content { text-align: center; }
.product-category-item .product-category-content .title { font-size: 16px; font-weight: 600; margin-bottom: 0; }
.product-category-item .product-category-content .title a:hover { color: var(--theme-primary); }

/* Top Category + Featured Pumps carousels — nav arrows + track clipping */
.category-slider, .product-slider { overflow: hidden; }
.category-slider-nav, .product-slider-nav { gap: 8px; }
.category-button-prev, .category-button-next, .product-button-prev, .product-button-next {
    width: 42px; height: 42px; border: 1px solid #e0e0e0; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; cursor: pointer; font-size: 22px; color: #212529; transition: all .2s;
}
.category-button-prev:hover, .category-button-next:hover, .product-button-prev:hover, .product-button-next:hover {
    background: var(--theme-primary); border-color: var(--theme-primary); color: #fff;
}

/* Product cards — the template positions .product-content absolutely (an
   overlay revealed on hover). Our items always show their content, so pin it
   static below a consistent image box and keep the price/actions visible. */
.product-item { background: #fff; border: 1px solid #e7e7e7; border-radius: 4px; transition: box-shadow .2s ease; }
.product-item:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.product-item .product-img { position: relative; overflow: hidden; text-align: center; background: #fff; height: auto !important; }
.product-item .product-img img { width: auto; max-width: 100%; height: 230px; object-fit: contain; padding: 10px; display: inline-block; }
.product-item .product-content { position: static !important; bottom: auto !important; left: auto !important; padding: 12px 15px 18px !important; text-align: center; }
.product-item .product-name { display: block; font-weight: 600; color: #212529; font-size: 15px; margin-bottom: 6px; }
.product-item .product-name:hover { color: var(--theme-primary); }
.product-item .price-box,
.product-item:hover .price-box,
.product-item:hover .product-content .price-box { visibility: visible !important; opacity: 1 !important; margin-bottom: 10px; }
.product-item .product-add-action { position: static !important; opacity: 1 !important; visibility: visible !important; bottom: auto !important; }
.product-item .product-add-action ul { display: flex; justify-content: center; gap: 4px; list-style: none; padding: 0; margin: 8px 0 0; }
.product-item .product-add-action li { display: inline-flex; }
.product-item .product-add-action li,
.product-item .product-add-action a,
.product-item .product-add-action a i {
    border: none !important; outline: none !important; box-shadow: none !important; background: none !important; background-color: transparent !important;
}
.product-item .product-add-action a { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; }
.product-item .product-add-action a i {
    width: auto !important; height: auto !important; line-height: 1 !important; padding: 0 !important;
    color: #6c788c; font-size: 22px; transition: color .2s ease;
}
.product-item .product-add-action a:hover i { color: var(--theme-primary) !important; }
.product-item .sticker .on-sale { position: absolute; top: 10px; left: 10px; background: var(--theme-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; z-index: 2; }


/* About — Our Work Gallery */
.gallery-area .gallery-item { position: relative; overflow: hidden; display: block; }
.gallery-area .gallery-item img { transition: transform .4s ease; }
.gallery-area .gallery-item:hover img { transform: scale(1.06); }
.gallery-area .gallery-item::after { content: '\e618'; font-family: 'Pe-icon-7-stroke'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; background: rgba(238,50,49,.0); opacity: 0; transition: all .3s ease; }
.gallery-area .gallery-item:hover::after { background: rgba(238,50,49,.55); opacity: 1; }

/* About — Story About Factory + Work Gallery dark banner */
.about-story-text p { color: #6c788c; line-height: 1.9; }
.gallery-banner { background: #14181c; margin-top: -4px; }
.gallery-banner-title { color: #fff; font-weight: 600; font-size: 18px; }
.team-member-item .name { font-size: 18px; font-weight: 700; }
.team-member-item .designation { text-transform: uppercase; letter-spacing: .5px; font-size: 13px; }
.gallery-banner .btn { white-space: nowrap; width: auto; }
