/* Site-specific overrides on top of the theme (loaded after style.css). */

/* Nothing may widen the page beyond the viewport. */
html, body { overflow-x: hidden; }
.row > [class*="col-"] { min-width: 0; }

/* The theme's hamburger is absolutely positioned; anchor it to the white header row. */
.header > .container { position: relative; }

/* Header: logo | menu | cart on one flexible row (the theme's fixed grid
   columns wrapped the menu onto two lines between 768 and 1199 px). */
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__bar__logo { flex: 0 0 auto; }
.header__bar__nav { flex: 1 1 auto; min-width: 0; }
.header__bar__cart { flex: 0 0 auto; }
.header__menu ul { flex-wrap: nowrap; }
.header__menu ul li { white-space: nowrap; }
.header__top__right { white-space: nowrap; }
.header__top__links { display: inline-flex; align-items: center; gap: 0 10px; }
/* The logout control is a form button; style it exactly like the bar's links. */
.header__top__links .link-button,
.header__top__links a {
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 0;
    display: inline-block;
    line-height: 1;
}
.header__top__links .link-button:hover,
.header__top__links a:hover { color: #e53637; text-decoration: none; }
.header__top__links form { display: inline-block; margin: 0; line-height: 1; }
.header__top__links .text-white { opacity: .4; }
.offcanvas__links .link-button {
    color: #111111;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 20px;
}
@media (min-width: 768px) and (max-width: 1199px) {
    .header__menu ul li { margin-right: 22px; }
    .header__menu ul li a { font-size: 15px; }
    .header__logo { padding: 22px 0; }
    .header__logo img { max-height: 32px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .header__menu ul li { margin-right: 14px; }
    .header__menu ul li a { font-size: 14px; }
    .header__logo img { max-height: 26px; }
    .header__nav__option .price { display: none; }
}

/* Cart: icon, count and total are one link. The theme positions every span
   inside the link as the count badge, so the total needs normal flow. */
.header__nav__option { display: flex; justify-content: flex-end; align-items: center; padding: 0; line-height: 1; }
.header__nav__option a.cart-link { display: inline-flex; align-items: center; margin-right: 0; line-height: 1; position: relative; }
.header__nav__option a.cart-link img { display: block; }
.header__nav__option a.cart-link .price { position: static; font-size: 15px; font-weight: 700; color: #111; margin: 0 0 0 10px; top: 0; line-height: 1; }
.header__nav__option a.cart-link:hover .price { color: #e53637; }
.offcanvas__nav__option a.cart-link .price { position: static; font-weight: 700; margin-left: 8px; }

/* Header logo must never force the page wider than the viewport. */
.header__logo img,
.offcanvas__logo img {
    max-width: 100%;
    height: auto;
    max-height: 48px;
}
@media (max-width: 767px) {
    /* Logo and hamburger on one centred row. */
    .header > .container { display: flex; align-items: center; justify-content: space-between; }
    .header__bar { flex: 1 1 auto; min-width: 0; }
    .header__logo { padding: 14px 0; line-height: 0; }
    .header__logo img { max-width: 100%; max-height: 32px; }
    .canvas__open { position: static; flex: 0 0 auto; margin-left: 14px; }
    /* keep the cart icon on phones (the theme hid it), drop the amount on small ones */
    .header__nav__option { display: flex; margin-left: 12px; }
    .header__bar { gap: 12px; }
}
@media (max-width: 575px) {
    .header__nav__option a.cart-link .price { display: none; }
}

/* One button style: Bootstrap's blue primary becomes the theme's black. */
.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:focus {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
    box-shadow: none;
}
.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}
.btn-link { color: #111111; }
.btn-link:hover { color: #e53637; }

/* Product cards: the theme absolutely positions anchors in the card text
   (meant for its add-to-cart link). Our title link must flow normally. */
.product__item__text h6 a {
    position: static;
    display: block;
    padding: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
}
.product__item__text { text-align: center; }
.product__item__text h6 { min-height: 40px; }

/* Product cards: brand on its own line under the title. */
.product__item__text .product__brand {
    display: block;
    font-size: 12px;
    color: #888888;
    margin: -4px 0 6px;
}
.product__item__text h6 { margin-bottom: 4px; }

/* Product card frame + stock badge (shared include). */
.product__item { border: 2px solid #80808029; padding: 3px; margin-bottom: 30px; background: #fff; }
.product__item__pic { position: relative; }
.stock-badge {
    position: absolute; top: 10px; left: 10px;
    background: #dc3545; color: #fff; font-size: 12px; font-weight: 600;
    padding: 3px 8px; border-radius: 4px;
}

/* Section headings used on home, related products. */
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.section-heading h2, .related-title { font-size: 28px; font-weight: 600; margin: 0 0 30px; }
.section-heading h2 { margin: 0; }
.section-heading a { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #111; border-bottom: 2px solid #111; }

/* Service cards: same image frame for every card. */
.service-card { border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; height: 100%; display: flex; flex-direction: column; background: #fff; }
.service-card__img { height: 220px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h5 { font-size: 18px; margin-bottom: 10px; }
.service-card__body p { color: #6c757d; flex: 1; }
.service-card__price { font-weight: 700; margin-bottom: 14px; }

/* Contact strip on the home page. */
.cta-strip { background: #111; color: #fff; padding: 48px 0; }
.cta-strip h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.cta-strip p { color: #bbb; margin: 0; }
.cta-strip a.phone { color: #fff; font-size: 26px; font-weight: 700; text-decoration: none; }
.cta-strip .primary-btn { margin-top: 16px; }

/* Footer: three columns, contact block. */
.footer__widget h6 { margin-bottom: 18px; }
.footer__widget ul li a { transition: color .2s; }
.footer__contact p { color: #b7b7b7; margin: 0 0 8px; line-height: 1.6; }
.footer__contact a { color: #fff; }
.footer__brand { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 14px; display: block; }

/* Hero: hide slider arrows on phones, they collide with the text. */
@media (max-width: 767px) {
    .hero__slider.owl-carousel .owl-nav { display: none; }
}

/* ---------- Product page ---------- */
.pdp { padding: 24px 0 60px; }
.pdp-breadcrumb { font-size: 14px; color: #888; margin-bottom: 24px; }
.pdp-breadcrumb a { color: #111; }
.pdp-breadcrumb a::after { content: "›"; margin: 0 8px; color: #bbb; }

.pdp-gallery__main { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid #ececec; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp-gallery__img { display: none; max-width: 92%; max-height: 92%; width: auto; height: auto; object-fit: contain; }
.pdp-gallery__img.active { display: block; }
.pdp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-gallery__thumb { width: 72px; height: 72px; padding: 4px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; cursor: pointer; }
.pdp-gallery__thumb.active { border-color: #111; }
.pdp-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp-blueprint { margin-top: 28px; }
.pdp-blueprint h6 { font-weight: 700; margin-bottom: 10px; }
.pdp-blueprint__wrap { position: relative; border: 1px solid #ececec; border-radius: 8px; overflow: hidden; }
.pdp-blueprint__wrap img { width: 100%; display: block; }
.pdp-hotspot { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; text-align: center; line-height: 28px; font-weight: 700; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }

.pdp-panel { text-align: left; }
.pdp-panel__meta { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pdp-panel__meta a { color: #888; }
.pdp-panel__meta .sep { margin: 0 8px; }
.pdp-panel__title { font-size: 28px; line-height: 1.25; font-weight: 700; margin-bottom: 12px; }
.pdp-panel__teaser { color: #6c757d; margin-bottom: 22px; }

.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; padding: 18px 0; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; margin-bottom: 22px; }
.pdp-price__now { font-size: 34px; font-weight: 700; color: #111; line-height: 1; }
.pdp-price__was { font-size: 18px; color: #999; text-decoration: line-through; }
.pdp-price__vat { flex-basis: 100%; font-size: 13px; color: #6c757d; margin-top: 8px; }

.pdp-option { margin-bottom: 20px; }
.pdp-option__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pdp-option__label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: #6c757d; }
.pdp-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-pill { display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; margin: 0; background: #fff; transition: border-color .15s, box-shadow .15s; }
.opt-pill:hover { border-color: #111; }
.opt-pill.active { border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.opt-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-pill__name { font-weight: 700; font-size: 15px; color: #111; }
.opt-pill__price { font-size: 13px; color: #6c757d; margin-top: 2px; }
.opt-pill.active .opt-pill__price { color: #111; }

.pdp-swatches { display: flex; gap: 10px; }
.swatch { margin: 0; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ccc; padding: 2px; }
.swatch.active { box-shadow: 0 0 0 2px #111; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; }

.pdp-buy { display: flex; gap: 12px; align-items: stretch; margin-top: 6px; }
.qty-box { display: inline-flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; height: 50px; }
.qty-box input { width: 54px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: #f5f5f5; font-size: 20px; cursor: pointer; color: #111; }
.qty-btn:hover { background: #e9e9e9; }
.pdp-add.primary-btn { flex: 1; text-align: center; padding: 0 20px; line-height: 50px; height: 50px; white-space: nowrap; }
@media (max-width: 575px) {
    .pdp-buy { flex-wrap: wrap; }
    .pdp-add.primary-btn { flex-basis: 100%; }
}
.pdp-stock { font-size: 14px; margin-top: 12px; font-weight: 600; }
.pdp-stock.in { color: #1e7e34; }
.pdp-stock.out { color: #dc3545; margin-bottom: 12px; }

.pdp-trust { list-style: none; padding: 16px 0 0; margin: 24px 0 0; border-top: 1px solid #ececec; }
.pdp-trust li { font-size: 14px; color: #555; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.pdp-trust li .fa { font-size: 16px; color: #111; width: 20px; text-align: center; }
.pdp-trust a { color: #111; font-weight: 600; }

.pdp-tabs { margin-top: 48px; }
.pdp-tabs__nav { border-bottom: 1px solid #e5e5e5; margin-bottom: 24px; }
.pdp-tabs__nav .nav-link { color: #888; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; padding: 12px 0; margin-right: 32px; border: 0; border-bottom: 2px solid transparent; }
.pdp-tabs__nav .nav-link.active { color: #111; border-bottom-color: #111; background: none; }
.pdp-tags { color: #888; font-size: 13px; margin-top: 20px; }

/* Rich text from the editor, rendered in site typography. */
.rich { font-size: 15px; line-height: 1.7; color: #333; max-width: 900px; }
.rich p, .rich ul, .rich ol, .rich table { margin-bottom: 14px; }
.rich ul, .rich ol { padding-left: 22px; }
.rich li { margin-bottom: 4px; }
.rich li > p { margin-bottom: 4px; }
.rich h3, .rich h4, .rich h5, .rich h6 { font-weight: 700; margin: 22px 0 10px; font-size: 18px; }
.rich strong { color: #111; }
.rich img { max-width: 100%; height: auto; display: block; margin: 12px 0; }
.rich table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rich td, .rich th { border: 1px solid #e5e5e5; padding: 8px 10px; vertical-align: top; }
.rich th { background: #f7f7f7; text-align: left; }
.rich a { color: #111; text-decoration: underline; }

@media (max-width: 991px) {
    .pdp-panel { margin-top: 28px; }
    .pdp-panel__title { font-size: 24px; }
}

/* ---------- Checkout steps + confirmation ---------- */
.stepper { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: .5rem; color: #6c757d; font-weight: 600; }
.step .bubble { width: 28px; height: 28px; border-radius: 50%; background: #e9ecef; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.step.active { color: #111; }
.step.active .bubble { background: #111; color: #fff; }
.step.done { color: #1e7e34; }
.step.done .bubble { background: #d4edda; color: #1e7e34; }

.confirm { max-width: 1100px; }
.confirm__head { display: flex; gap: 20px; align-items: flex-start; border: 1px solid #e5e5e5; border-left: 5px solid #1e7e34; border-radius: 10px; padding: 24px 26px; margin-bottom: 24px; background: #fff; }
.confirm__head h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.confirm__head p { margin: 0 0 4px; }
.confirm__icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: #d4edda; color: #1e7e34; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.confirm__status { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 12px; background: #fff3cd; color: #856404; font-size: 13px; font-weight: 600; vertical-align: middle; }
.confirm__card { border: 1px solid #e5e5e5; border-radius: 10px; padding: 20px 22px; margin-bottom: 20px; background: #fff; }
.confirm__card h5 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.confirm__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 4px; }
.confirm__card p { color: #333; }
.confirm__table { width: 100%; font-size: 14px; margin-bottom: 14px; border-collapse: collapse; }
.confirm__table th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #888; padding: 6px 8px; border-bottom: 1px solid #e5e5e5; text-align: left; }
.confirm__table td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.confirm__table .r { text-align: right; white-space: nowrap; }
.confirm__table tfoot td { border-bottom: 0; padding: 6px 8px; color: #555; }
.confirm__table tfoot tr.total td { font-weight: 700; color: #111; font-size: 16px; border-top: 1px solid #e5e5e5; padding-top: 10px; }
.confirm__table tfoot tr.muted td { color: #888; font-size: 13px; }
.confirm__next ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 14px; }
.confirm__next li { counter-increment: s; position: relative; padding: 0 0 16px 40px; }
.confirm__next li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.confirm__next li strong { display: block; margin-bottom: 2px; }
.confirm__next li span { color: #6c757d; font-size: 14px; }
.confirm__account { background: #fafafa; }
.confirm__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.small { font-size: 13px; }
@media (max-width: 575px) {
    .confirm__head { flex-direction: column; padding: 20px; }
}

/* ---------- Cart page ---------- */
.cartpage__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.cartpage__head h2 { font-size: 28px; font-weight: 700; margin: 0; }
.cartpage__panel { border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 84px 1fr 130px 110px 36px; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #eee; }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 84px; height: 84px; border: 1px solid #eee; border-radius: 6px; background: #fafafa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-line__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-line__title { display: block; font-weight: 700; color: #111; margin-bottom: 2px; }
.cart-line__title:hover { color: #e53637; text-decoration: none; }
.cart-line__qty.qty-box { height: 42px; justify-self: center; }
.cart-line__qty input { width: 46px; }
.cart-line__qty .qty-btn { width: 36px; font-size: 18px; }
.cart-line__total { font-weight: 700; font-size: 16px; text-align: right; white-space: nowrap; }
.cart-line__remove { border: 0; background: none; color: #999; font-size: 16px; cursor: pointer; padding: 6px; border-radius: 50%; }
.cart-line__remove:hover { color: #e53637; background: #fbeaea; }
.cartpage__empty { text-align: center; padding: 60px 20px; }
.cartpage__empty .fa { font-size: 44px; color: #ccc; margin-bottom: 14px; }
.cartpage__empty h4 { font-weight: 700; margin-bottom: 6px; }
.cartpage__empty .primary-btn { margin-top: 10px; }
.cartpage__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; gap: 10px; }
.cart-clear__confirm { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #333; background: #fff5f5; border: 1px solid #f1c0c0; border-radius: 6px; padding: 6px 10px; }
.cart-clear__confirm .btn-sm { padding: 4px 10px; font-size: 13px; }
.cartpage__summary { border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; padding: 20px 22px; position: sticky; top: 90px; }
.cartpage__summary h5 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; color: #444; }
.sum-row.total { border-top: 1px solid #e5e5e5; margin-top: 6px; padding-top: 12px; font-weight: 700; color: #111; font-size: 18px; }
.sum-row.muted { color: #888; padding-top: 0; }
.cartpage__summary .primary-btn.btn-block { display: block; text-align: center; margin: 14px 0; }
.cartpage__trust { list-style: none; padding: 12px 0 0; margin: 0 0 10px; border-top: 1px solid #eee; }
.cartpage__trust li { font-size: 13px; color: #666; margin-bottom: 6px; }
.cartpage__trust .fa { width: 18px; color: #111; }
@media (max-width: 767px) {
    .cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info remove" "img qty total"; row-gap: 10px; column-gap: 12px; padding: 14px; }
    .cart-line__img { grid-area: img; width: 64px; height: 64px; }
    .cart-line__info { grid-area: info; min-width: 0; }
    .cart-line__qty.qty-box { grid-area: qty; justify-self: start; }
    .cart-line__total { grid-area: total; align-self: center; justify-self: end; }
    .cart-line__remove { grid-area: remove; justify-self: end; align-self: start; }
    .cartpage__summary { position: static; margin-top: 20px; }
}

/* ---------- About page ---------- */
.aboutpage__intro { margin-bottom: 40px; }
.aboutpage__img { border-radius: 12px; overflow: hidden; border: 1px solid #e5e5e5; }
.aboutpage__img img { width: 100%; height: auto; display: block; }
.aboutpage__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e53637; margin-bottom: 10px; }
.aboutpage__intro h2 { font-size: 30px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.aboutpage__lead { font-size: 17px; color: #222; }
.aboutpage__intro p { color: #555; line-height: 1.7; }
.aboutpage__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.aboutpage__facts > [class*="col-"] { margin-bottom: 20px; }
.fact { height: 100%; border: 1px solid #e5e5e5; border-radius: 10px; padding: 20px 18px; background: #fff; }
.fact .fa { font-size: 24px; color: #111; margin-bottom: 12px; display: block; }
.fact strong { display: block; margin-bottom: 6px; font-size: 15px; }
.fact span { color: #6c757d; font-size: 14px; line-height: 1.5; }
.aboutpage__card { border: 1px solid #e5e5e5; border-radius: 10px; padding: 20px 22px; background: #fff; height: 100%; }
.aboutpage__card h5 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.aboutpage__card p { margin-bottom: 8px; color: #333; }
.aboutpage__card .fa { width: 20px; color: #111; }
.aboutpage__card a:not(.btn) { color: #111; }
.aboutpage__req { color: #444; line-height: 1.8; font-size: 14px; }
@media (max-width: 991px) {
    .aboutpage__img { margin-bottom: 24px; }
    .aboutpage__intro h2 { font-size: 24px; }
}

/* ---------- Services ---------- */
.services__intro { max-width: 720px; margin-bottom: 30px; }
.services__intro h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.services__intro p { color: #555; font-size: 16px; }
.services__steps { margin-top: 30px; }
.services__steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.step-card { position: relative; border: 1px solid #e5e5e5; border-radius: 10px; padding: 22px 20px 16px; background: #fff; height: 100%; margin-bottom: 16px; }
.step-card__n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; font-weight: 700; margin-bottom: 12px; }
.step-card strong { display: block; margin-bottom: 6px; }
.step-card p { color: #6c757d; font-size: 14px; margin: 0; }
.service-card h5 a { color: #111; }
.service-card h5 a:hover { color: #e53637; text-decoration: none; }

.service-detail__img { border-radius: 12px; overflow: hidden; border: 1px solid #e5e5e5; margin-bottom: 24px; }
.service-detail__img img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.service-detail__title { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.service-detail__lead { font-size: 17px; color: #222; margin-bottom: 20px; }
.service-detail__body { color: #444; line-height: 1.75; }
.service-detail__body h4 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.service-detail__body p { margin-bottom: 14px; }
.service-detail__box { border: 1px solid #d9d9d9; border-radius: 10px; padding: 22px; background: #fff; margin-bottom: 20px; }
.service-detail__price-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.service-detail__price { font-size: 30px; font-weight: 700; margin: 4px 0 8px; }
.service-detail__box .primary-btn.btn-block { display: block; text-align: center; margin: 14px 0 12px; }
.service-detail__phone { display: block; text-align: center; font-weight: 700; color: #111; font-size: 18px; margin-bottom: 8px; }
.service-detail__phone .fa { margin-right: 6px; }
.service-detail__box .pdp-trust { margin-top: 14px; }
.service-detail__others { border: 1px solid #e5e5e5; border-radius: 10px; padding: 18px 20px; background: #fff; }
.service-detail__others h5 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.service-detail__other { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f0f0f0; color: #111; }
.service-detail__other:first-of-type { border-top: 0; }
.service-detail__other:hover { color: #e53637; text-decoration: none; }
.service-detail__other img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: 0 0 56px; }
.service-detail__other span { display: flex; flex-direction: column; }
.service-detail__other small { color: #888; }
@media (max-width: 991px) {
    .service-detail__box { margin-top: 24px; }
    .service-detail__title { font-size: 24px; }
}

/* Honeypot field: off-screen, never visible. */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Legal pages */
.legal { font-size: 15px; line-height: 1.8; color: #333; }
.legal p { margin-bottom: 14px; }
.legal h3, .legal h4 { font-weight: 700; margin: 22px 0 8px; font-size: 18px; }

/* ---------- Header search (sits inside the black top bar, same height as its text line) ---------- */
.header__top .row { align-items: center; }
.header__top__left { display: flex; align-items: center; min-height: 100%; }
.hsearch { position: relative; display: flex; align-items: center; width: 100%; max-width: 300px; margin: 0; }
.hsearch input { width: 100%; height: 28px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; border-radius: 14px; padding: 0 32px 0 14px; font-size: 12px; letter-spacing: .3px; transition: background .15s, border-color .15s; }
.hsearch input::placeholder { color: #9a9a9a; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; }
.hsearch input:focus { outline: none; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.hsearch input::-webkit-search-cancel-button { filter: invert(1); }
.hsearch button { position: absolute; right: 2px; top: 2px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: #bbb; cursor: pointer; font-size: 12px; line-height: 24px; padding: 0; }
.hsearch button:hover { color: #fff; }
.hsearch__drop { position: absolute; left: 0; right: 0; top: 34px; min-width: 300px; background: #fff; color: #111; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 1000; overflow: hidden; text-align: left; text-transform: none; letter-spacing: 0; }
.hsearch__item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #111; border-top: 1px solid #f0f0f0; }
.hsearch__item:first-child { border-top: 0; }
.hsearch__item:hover, .hsearch__item.sel { background: #f5f5f5; text-decoration: none; color: #111; }
.hsearch__item img { width: 36px; height: 36px; object-fit: contain; background: #fafafa; border-radius: 4px; flex: 0 0 36px; }
.hsearch__item .t { flex: 1; font-size: 13px; line-height: 1.3; }
.hsearch__item .p { font-size: 13px; font-weight: 700; white-space: nowrap; }
.hsearch__item .out { color: #dc3545; font-size: 11px; }
.hsearch__all { display: block; padding: 8px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #111; background: #fafafa; border-top: 1px solid #eee; }
.msearch { display: flex; align-items: center; position: relative; margin: 0 0 12px; }
.msearch input { width: 100%; height: 40px; border: 1px solid #ddd; border-radius: 20px; padding: 0 40px 0 14px; }
.msearch button { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border: 0; background: transparent; color: #111; }
@media (max-width: 767px) { .header__top__left { display: none; } }

/* ---------- Mobile filter drawer ---------- */
.filters-toggle { display: none; }
.filters-head { display: none; }
.filters-backdrop { display: none; }
@media (max-width: 991px) {
    .filters-toggle { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 10px 16px; border: 1px solid #111; border-radius: 6px; background: #fff; font-weight: 700; cursor: pointer; }
    .filters-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1040; opacity: 0; pointer-events: none; transition: opacity .2s; display: block; }
    .filters-backdrop.open { opacity: 1; pointer-events: auto; }
    .shop__sidebar { position: fixed; top: 0; left: 0; bottom: 0; height: 100%; width: 380px; max-width: 100%; margin: 0 !important; background: #fff; z-index: 1050; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 20px 60px !important; transform: translateX(-105%); transition: transform .25s; box-shadow: 0 0 40px rgba(0,0,0,.25); }
    .shop__sidebar.open { transform: translateX(0); }
    .shop__sidebar .shop__sidebar__accordion { padding-bottom: 20px; }
    .filters-head { display: flex; align-items: center; justify-content: space-between; margin: -16px -20px 12px; padding: 14px 20px; font-size: 18px; background: #fff; border-bottom: 1px solid #eee; position: sticky; top: -16px; z-index: 2; }
    .filters-head button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
    body.filters-lock { overflow: hidden; }
}
@media (max-width: 575px) {
    .shop__sidebar { width: 100%; box-shadow: none; }
    .filters-backdrop { display: none !important; }
}

/* ---------- Add-to-cart toast ---------- */
.cart-toast { position: fixed; right: 16px; bottom: 16px; z-index: 9998; display: flex; align-items: center; gap: 12px; max-width: 420px; background: #111; color: #fff; padding: 14px 16px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3); transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .25s; }
.cart-toast.show { transform: none; opacity: 1; pointer-events: auto; }
.cart-toast__icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #1e7e34; display: flex; align-items: center; justify-content: center; }
.cart-toast__text { font-weight: 600; font-size: 14px; }
.cart-toast__sub { font-size: 12px; color: #bbb; margin-top: 2px; }
.cart-toast__btn { background: #fff; color: #111; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.cart-toast__btn:hover { background: #e53637; color: #fff; text-decoration: none; }
.cart-toast__close { border: 0; background: none; color: #999; font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 575px) { .cart-toast { left: 16px; right: 16px; max-width: none; flex-wrap: wrap; } .cart-toast__btn { flex-basis: 100%; text-align: center; } }
.pdp-quote { margin-top: 12px; }

/* ---------- Brand strip (home) ---------- */
.brands { padding: 10px 0 40px; }
.brands__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 36px; padding: 18px 10px; border-top: 1px solid #ececec; border-bottom: 1px solid #ececec; }
.brands__item { display: flex; align-items: center; justify-content: center; height: 54px; padding: 4px 6px; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.brands__item img { max-height: 46px; max-width: 130px; width: auto; height: auto; object-fit: contain; }
.brands__item:hover { opacity: 1; filter: none; }
@media (max-width: 575px) { .brands__row { gap: 6px 20px; } .brands__item { height: 42px; } .brands__item img { max-height: 32px; max-width: 96px; } }

/* ---------- Product gallery zoom ---------- */
.pdp-gallery__main { cursor: zoom-in; }
.pdp-zoom { display: none; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pdp-zoom.active { display: flex; }
.pdp-gallery__hint { position: absolute; right: 12px; bottom: 12px; background: rgba(17,17,17,.75); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 12px; pointer-events: none; }
.mfp-bg { background: #111; opacity: .92; }
.mfp-figure figcaption .mfp-title { color: #ddd; }

/* ---------- Profile / orders ---------- */
.profile__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.profile__head h2 { font-size: 28px; font-weight: 700; margin: 0 0 4px; }
.profile__actions { display: flex; align-items: center; gap: 6px; }
.profile__title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.order-card { border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; margin-bottom: 18px; overflow: hidden; }
.order-card.canceled { opacity: .75; }
.order-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid #eee; }
.order-card__total { font-weight: 700; font-size: 18px; }
.order-card__total small { font-weight: 400; font-size: 12px; margin-left: 6px; }
.order-card__canceled { padding: 12px 20px; color: #721c24; background: #f8d7da; font-weight: 600; }
.timeline { list-style: none; display: flex; margin: 0; padding: 18px 20px 6px; }
.timeline li { flex: 1; position: relative; text-align: center; font-size: 12px; color: #999; padding-top: 22px; }
.timeline li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #ddd; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd; z-index: 1; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e5e5e5; }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: #1e7e34; }
.timeline li.done span { background: #1e7e34; box-shadow: 0 0 0 1px #1e7e34; }
.timeline li.done::before { background: #1e7e34; }
.timeline li.current { color: #111; font-weight: 700; }
.order-card__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 14px 20px; }
.order-card__items { list-style: none; margin: 0; padding: 0; }
.order-card__items li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 6px 0; border-bottom: 1px solid #f3f3f3; font-size: 14px; }
.order-card__items li:last-child { border-bottom: 0; }
.order-card__meta { font-size: 13px; color: #444; }
.order-card__meta div { margin-bottom: 6px; }
.order-card__meta .lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #999; }
.order-card__foot { display: flex; align-items: center; gap: 6px; padding: 10px 20px 14px; border-top: 1px solid #eee; }
.order-card__foot form { margin: 0; }
@media (max-width: 767px) {
    .order-card__body { grid-template-columns: 1fr; }
    .timeline li { font-size: 10px; }
}

/* Price helper lines. */
.vat-note { font-size: 13px; color: #6c757d; }

/* Category cards on the home page. */
.cat-grid > [class*="col-"] { margin-bottom: 30px; }
.cat-card {
    display: flex; flex-direction: column; height: 100%;
    border: 1px solid #e8e8e8; border-radius: 10px; background: #fff; overflow: hidden;
    color: #111; text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat-card:hover { border-color: #111; box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); color: #111; text-decoration: none; }
.cat-card__img { height: 240px; flex: 0 0 240px; background: #fafafa; display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.cat-card__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cat-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.cat-card__cta { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #666; }
.cat-card:hover .cat-card__cta { color: #111; }
.cat-card__cta .fa { margin-left: 6px; }
@media (max-width: 767px) {
    .cat-grid > [class*="col-"] { margin-bottom: 16px; }
    .cat-card__img { padding: 10px; height: 140px; flex-basis: 140px; }
    .cat-card__body { padding: 12px; }
    .cat-card__body h3 { font-size: 15px; }
    .cat-card__cta { font-size: 11px; }
}

/* Breadcrumb with long product names must wrap, not overflow. */
.product__details__breadcrumb { white-space: normal; word-break: break-word; }
.product__details__breadcrumb a,
.product__details__breadcrumb span { display: inline; white-space: normal; }

/* Product page: size buttons wrap; text column never exceeds its width. */
.product__details__option__size > div { display: flex; flex-wrap: wrap; }
.product__details__option__size label { margin-bottom: 6px; white-space: nowrap; }
.product__details__text, .product__details__content { max-width: 100%; overflow-wrap: anywhere; }
.product__details__content > .container,
.product__details__pic > .container { padding-left: 0; padding-right: 0; max-width: 100%; }
@media (max-width: 991px) {
    .product__details__content .row { margin-left: 0; margin-right: 0; }
    .product__details__content .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767px) {
    .product__details__text h4 { font-size: 22px; }
    .product__details__pic .nav-tabs { flex-direction: row; }
}
