/* ----------------------------------------------------------------------
   OPAS / Al Arooj Ventures — site overrides on top of Techno theme
   Phase 1 / M1 Foundation
   Keeps the original Techno layout (flat-slider, flat-banner-box,
   flat-imagebox); adds OPAS branding, category overlays, strips, and
   the floating WhatsApp button.
---------------------------------------------------------------------- */

:root {
    --opas-primary: #0b3d91;
    --opas-primary-dark: #082c69;
    --opas-accent: #f7941d;
    --opas-success: #25d366;
    --opas-ink: #1a2330;
    --opas-muted: #6b7280;
    --opas-soft: #f5f7fb;
    --opas-line: #e5e9f2;
}

/* -------- Brand text logo (placeholder until bitmap logo is supplied) -------- */
#logo .brand-text {
    display: inline-block;
    line-height: 1.1;
    color: var(--opas-primary);
    font-weight: 700;
    font-size: 22px;
}
#logo .brand-text strong { color: var(--opas-primary); }
#logo .brand-text small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--opas-muted);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* -------- Header tweaks (keep template look but tighten) -------- */
.header-top { background: var(--opas-ink); color: #cfd6e0; }
.header-top a { color: #cfd6e0; }
.header-top a:hover { color: var(--opas-accent); }
.flat-infomation .phone a { color: var(--opas-accent); font-weight: 600; }

/* Search bar without category dropdown — kill the 191px left padding the
   template reserves for .cat-wrap, so the placeholder/cursor sit at the start. */
.top-search .form-search--simple .box-search { width: 100%; }
.top-search .form-search--simple .box-search input[type="text"] {
    width: 100%;
    padding-left: 18px !important;
}

/* -------- Buttons used in CTAs and contact strips -------- */
.btn-primary-opas, .btn-secondary-opas, .btn-whatsapp, .btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 0;
    cursor: pointer;
    font-size: 14px;
}
.btn-primary-opas { background: var(--opas-accent); color: #fff; }
.btn-primary-opas:hover { background: #d97e0c; color: #fff; text-decoration: none; }
.btn-secondary-opas { background: #fff; color: var(--opas-primary); border: 1px solid var(--opas-primary); }
.btn-secondary-opas:hover { background: var(--opas-primary); color: #fff; text-decoration: none; }
.btn-whatsapp { background: var(--opas-success); color: #fff; }
.btn-whatsapp:hover { background: #1eba59; color: #fff; text-decoration: none; }
.btn-whatsapp.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-call { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); margin-left: 8px; }
.btn-call:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }

/* -------- Category banner-box overlays -------- */
.cat-banner { position: relative; overflow: hidden; }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-banner__overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(11,61,145,0.85) 0%, rgba(11,61,145,0.25) 60%, transparent 100%);
    color: #fff;
    transition: background 0.2s ease;
}
.cat-banner:hover .cat-banner__overlay { background: linear-gradient(to top, rgba(11,61,145,0.92) 0%, rgba(11,61,145,0.45) 70%, transparent 100%); }

/* First-row category cards: text BELOW image (not overlaid) */
.cat-row-overlay .cat-banner {
    background: transparent;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s ease;
}
.cat-row-overlay .cat-banner:hover {
    transform: translateY(-2px);
}
.cat-row-overlay .cat-banner a {
    display: block;
    color: var(--opas-ink);
    text-decoration: none;
}
.cat-row-overlay .cat-banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.cat-row-overlay .cat-banner__overlay,
.cat-row-overlay .cat-banner:hover .cat-banner__overlay {
    position: static !important;
    inset: auto !important;
    padding: 18px 18px 22px !important;
    background: transparent !important;
    color: var(--opas-ink);
    display: block;
    text-align: left;
}
.cat-row-overlay .cat-banner__overlay h3 {
    color: var(--opas-ink) !important;
    font-size: 18px;
    margin: 0 0 6px;
}
.cat-row-overlay .cat-banner__overlay p {
    color: var(--opas-muted) !important;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
}
.cat-row-overlay .cat-banner__cta {
    display: inline-block;
    color: var(--opas-accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.cat-row-overlay .cat-banner:hover .cat-banner__cta { color: var(--opas-primary); }
.cat-banner__overlay h3 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
}
.cat-banner__overlay p {
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.cat-banner__cta {
    display: inline-block;
    color: var(--opas-accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.cat-banner__cta i { margin-left: 4px; }
.cat-banner--tall { min-height: 100%; }
.cat-banner--wide .cat-banner__overlay h3 { font-size: 26px; }

/* -------- All-categories strip -------- */
.flat-categories-strip { padding: 30px 0; background: var(--opas-soft); border-top: 1px solid var(--opas-line); border-bottom: 1px solid var(--opas-line); }
.cat-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cat-strip__item {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 999px;
    padding: 8px 18px;
    color: var(--opas-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.cat-strip__item:hover {
    background: var(--opas-primary);
    color: #fff;
    border-color: var(--opas-primary);
    text-decoration: none;
}

/* -------- Authorized distributor strip -------- */
.flat-distributor-strip {
    background: var(--opas-primary);
    color: #fff;
    padding: 36px 0;
}
.flat-distributor-strip h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.flat-distributor-strip p { margin: 0; color: rgba(255,255,255,0.85); }
.flat-distributor-strip .btn-secondary-opas { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.flat-distributor-strip .btn-secondary-opas:hover { background: #fff; color: var(--opas-primary); }
.flat-distributor-strip .btn-whatsapp { margin-left: 8px; }

/* -------- Floating WhatsApp -------- */
.whatsapp-floating {
    position: fixed;
    right: 20px; bottom: 20px;
    background: var(--opas-success);
    color: #fff;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37,211,102,0.35);
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease;
}
.whatsapp-floating:hover {
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.whatsapp-floating i { font-size: 22px; }
.whatsapp-floating__label { font-size: 14px; }
@media (max-width: 575px) {
    .whatsapp-floating__label { display: none; }
    .whatsapp-floating { padding: 14px; }
}

/* -------- Footer additions -------- */
.contact-info { list-style: none; padding: 0; margin: 16px 0 0; }
.contact-info li { padding: 4px 0; font-size: 13px; }
.contact-info i { width: 18px; color: var(--opas-accent); }
.pay-badge {
    display: inline-block;
    background: #fff;
    color: var(--opas-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

/* -------- Categories page (3-per-row) -------- */
.categories-page .flat-row-title { text-align: center; margin-bottom: 36px; }
.categories-page .flat-row-title h3 {
    font-size: 28px;
    color: var(--opas-ink);
    margin: 0 0 8px;
    font-weight: 700;
}
.categories-page .flat-row-title p {
    color: var(--opas-muted);
    margin: 0;
    max-width: 640px;
    margin: 0 auto;
}
.categories-page > .container > .row:last-child > div { margin-bottom: 24px; }
.cat-card {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}
.cat-card:hover {
    border-color: var(--opas-primary);
    box-shadow: 0 14px 28px rgba(11,61,145,0.10);
    transform: translateY(-3px);
}
.cat-card .box-image {
    background: var(--opas-soft);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-card .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cat-card:hover .box-image img { transform: scale(1.04); }
.cat-card .box-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.cat-card .cat-name a {
    font-size: 18px;
    font-weight: 700;
    color: var(--opas-ink);
    text-decoration: none;
    line-height: 1.3;
}
.cat-card .cat-name a:hover { color: var(--opas-primary); }
.cat-card .cat-desc {
    color: var(--opas-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0 16px;
    flex: 1;
}
.cat-card .btn-more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--opas-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--opas-primary);
    border-radius: 5px;
    transition: all 0.15s ease;
}
.cat-card .btn-more a:hover {
    background: var(--opas-primary);
    color: #fff;
    text-decoration: none;
}

/* -------- Breadcrumb (plain text, no background/border/buttons) -------- */
.flat-breadcrumb {
    background: transparent !important;
    border: 0 !important;
    padding: 14px 0 !important;
    margin: 0 !important;
}
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 13px;
}
.breadcrumbs li,
.breadcrumbs li.trail-item,
.breadcrumbs li.trail-end {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    display: inline-flex;
    align-items: center;
}
.breadcrumbs li a {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    color: var(--opas-muted);
    text-decoration: none;
    font-weight: 400;
    line-height: 1.4;
}
.breadcrumbs li a:hover { color: var(--opas-primary); text-decoration: underline; }
.breadcrumbs li span {
    color: var(--opas-muted);
    display: inline-flex;
    padding: 6px 6px;
}
.breadcrumbs li span img { display: none; }                 /* hide template arrow PNGs */
.breadcrumbs li span i { font-size: 11px; opacity: 0.6; }
.breadcrumbs .trail-end a { color: var(--opas-ink); font-weight: 600; cursor: default; overflow: visible !important; }
.breadcrumbs .trail-end a:hover { color: var(--opas-ink) !important; text-decoration: none; background: transparent !important; }
/* Kill Techno's orange "slide-in" pseudo-element on the current page link */
.breadcrumbs .trail-end a::before,
.breadcrumbs .trail-end a:hover::before { display: none !important; content: none !important; background: transparent !important; transform: none !important; }

/* -------- Shop main padding -------- */
#shop {
    padding: 0 0 60px !important;
    margin-top: 0 !important;
}
#shop .sidebar .widget .widget-content {
    margin-bottom: 0;
}
#shop .sidebar .widget-brands .widget-title h3 {
    margin-bottom: 0;
}

/* ====================================================================
   NEUTRALISE Techno's product-card hover animations on the pages we
   build with our own flex grid (shop, single-product related, home
   featured). Techno's shortcodes.css uses position:absolute on
   .box-bottom and 435px min-heights on .imagebox — we want a flat,
   static card that always shows the price + cart row.
==================================================================== */
#shop .product-box,
.related-products .product-box,
.flat-imagebox .product-box {
    overflow: visible;
}
#shop .product-box .imagebox,
.related-products .product-box .imagebox,
.flat-imagebox .product-box .imagebox {
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    border: 0 !important;
    z-index: auto !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
#shop .product-box .box-image,
.related-products .product-box .box-image,
.flat-imagebox .product-box .box-image {
    margin-bottom: 0 !important;
    line-height: 1 !important;
    height: auto !important;
}
#shop .product-box .box-bottom,
.related-products .product-box .box-bottom,
.flat-imagebox .product-box .box-bottom {
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
}
#shop .product-box:hover .imagebox,
.related-products .product-box:hover .imagebox,
.flat-imagebox .product-box:hover .imagebox {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* Techno draws decorative <hr>-like lines around .cat-name a using ::before / ::after.
   Hide them for our cleaner product cards. */
#shop .product-box .cat-name a::before,
#shop .product-box .cat-name a::after,
.related-products .product-box .cat-name a::before,
.related-products .product-box .cat-name a::after,
.flat-imagebox .product-box .cat-name a::before,
.flat-imagebox .product-box .cat-name a::after {
    display: none !important;
}
/* Techno's .product-name has min-height:63px which makes our cards too tall */
#shop .product-box .product-name,
.related-products .product-box .product-name,
.flat-imagebox .product-box .product-name {
    min-height: 0 !important;
    margin-top: 0 !important;
}
/* Techno's add-to-cart anchor is a red pill — neutralise so our flat button shows */
#shop .product-box .btn-add-cart a,
.related-products .product-box .btn-add-cart a,
.flat-imagebox .product-box .btn-add-cart a {
    background: transparent !important;
    color: var(--opas-primary) !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px !important;
}
#shop .product-box .compare-wishlist,
.related-products .product-box .compare-wishlist,
.flat-imagebox .product-box .compare-wishlist {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    padding: 0 !important;
}
#shop .product-box .compare-wishlist a,
.related-products .product-box .compare-wishlist a,
.flat-imagebox .product-box .compare-wishlist a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 12px 18px !important;
    line-height: 1.4 !important;
    width: 100% !important;
}
#shop .product-box .box-bottom,
.related-products .product-box .box-bottom,
.flat-imagebox .product-box .box-bottom {
    align-items: stretch !important;
}
#shop .product-box .btn-add-cart a::before,
.related-products .product-box .btn-add-cart a::before,
.flat-imagebox .product-box .btn-add-cart a::before {
    display: none !important;
}
#shop .product-box .btn-add-cart a:hover,
.related-products .product-box .btn-add-cart a:hover,
.flat-imagebox .product-box .btn-add-cart a:hover {
    background: var(--opas-primary) !important;
    color: #fff !important;
}
/* item-new badge — Techno makes it a 45×45 round red dot in the corner.
   Switch to a small tag pill we set up earlier. */
#shop .product-box .imagebox .item-new,
#shop .product-box .imagebox .item-sale,
.related-products .product-box .imagebox .item-new,
.related-products .product-box .imagebox .item-sale,
.flat-imagebox .product-box .imagebox .item-new,
.flat-imagebox .product-box .imagebox .item-sale {
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    background: var(--opas-accent) !important;
    font-size: 11px !important;
    z-index: 3 !important;
}

/* ====================================================================
   SHOP PAGE
==================================================================== */
#shop { padding: 40px 0 60px; }
#shop .sidebar .widget {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 8px;
    padding: 18px 18px 14px;
    margin-bottom: 18px;
}
#shop .sidebar .widget-title h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--opas-ink);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--opas-line);
}
#shop .cat-list.style1 { list-style: none; padding: 0; margin: 0; }
#shop .cat-list.style1 li { padding: 6px 0; border-bottom: 1px dashed var(--opas-line); }
#shop .cat-list.style1 li:last-child { border-bottom: 0; }
#shop .cat-list.style1 li a {
    display: flex;
    justify-content: space-between;
    color: var(--opas-ink);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}
#shop .cat-list.style1 li a i {
    font-style: normal;
    color: var(--opas-muted);
    font-size: 12px;
}
#shop .cat-list.style1 li:hover a,
#shop .cat-list.style1 li.is-active a {
    color: var(--opas-primary);
    font-weight: 600;
}

#shop .price-ranges { list-style: none; padding: 0; margin: 0; }
#shop .price-ranges li { padding: 4px 0; font-size: 14px; }
#shop .price-ranges label { cursor: pointer; }
#shop .price-ranges input { margin-right: 8px; }

#shop .box-checkbox { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#shop .box-checkbox.scroll { max-height: 200px; overflow-y: auto; padding-right: 4px; }
#shop .box-checkbox .check-box { padding: 0; }
#shop .box-checkbox .check-box input[type="checkbox"] { display: none; }
#shop .box-checkbox .check-box label {
    display: inline-block;
    background: var(--opas-soft);
    border: 1px solid var(--opas-line);
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}
#shop .box-checkbox .check-box label:hover { border-color: var(--opas-primary); color: var(--opas-primary); }
#shop .box-checkbox .check-box input:checked + label {
    background: var(--opas-primary);
    color: #fff;
    border-color: var(--opas-primary);
}

#shop .product-list-sidebar { list-style: none; padding: 0; margin: 0; }
#shop .product-list-sidebar li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--opas-line);
}
#shop .product-list-sidebar li:last-child { border-bottom: 0; }
#shop .product-list-sidebar .img { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 4px; overflow: hidden; background: var(--opas-soft); }
#shop .product-list-sidebar .img img { width: 100%; height: 100%; object-fit: cover; }
#shop .product-list-sidebar .info { flex: 1; }
#shop .product-list-sidebar .name a {
    color: var(--opas-ink);
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    font-weight: 600;
}
#shop .product-list-sidebar .name a:hover { color: var(--opas-primary); }
#shop .product-list-sidebar .price { color: var(--opas-primary); font-size: 13px; font-weight: 700; margin-top: 4px; }

/* -------- Shop main area -------- */
#shop .shop-banner {
    background: linear-gradient(135deg, var(--opas-primary), var(--opas-primary-dark));
    color: #fff;
    border-radius: 8px;
    padding: 26px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
#shop .shop-banner .eyebrow { font-size: 11px; letter-spacing: 0.6px; opacity: 0.7; margin: 0 0 4px; }
#shop .shop-banner h2 { color: #fff; font-size: 22px; margin: 0 0 4px; font-weight: 700; }
#shop .shop-banner p { margin: 0; opacity: 0.85; font-size: 13px; }
#shop .shop-banner__price { font-size: 14px; opacity: 0.85; }
#shop .shop-banner__price strong { display: block; font-size: 22px; color: var(--opas-accent); }

#shop .flat-row-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--opas-line); margin-bottom: 18px; }
#shop .flat-row-title h3 { font-size: 22px; margin: 0; color: var(--opas-ink); font-weight: 700; }
#shop .flat-row-title span { color: var(--opas-muted); font-size: 13px; }

#shop .sort-product { display: flex; justify-content: flex-end; margin-bottom: 18px; }
#shop .sort-product .sort { display: flex; gap: 10px; }
#shop .sort-product select {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--opas-ink);
}

#shop .sort-box > div { margin-bottom: 22px; }
#shop .product-box {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.2s ease;
}
#shop .product-box:hover { border-color: var(--opas-primary); box-shadow: 0 12px 24px rgba(11,61,145,0.08); transform: translateY(-2px); }
#shop .product-box .imagebox { display: flex; flex-direction: column; height: 100%; position: relative; }
#shop .product-box .item-new {
    position: absolute; top: 12px; left: 12px;
    background: var(--opas-accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.4px;
}
#shop .product-box .box-image {
    background: var(--opas-soft);
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
}
#shop .product-box .box-image img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 18px; }
#shop .product-box .box-content { padding: 16px 16px 12px; flex: 1; }
#shop .product-box .cat-name a { color: var(--opas-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; }
#shop .product-box .product-name { margin: 6px 0 10px; }
#shop .product-box .product-name a { color: var(--opas-ink); font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.3; }
#shop .product-box .product-name a:hover { color: var(--opas-primary); }
#shop .product-box .price .sale { color: var(--opas-primary); font-size: 17px; font-weight: 700; }
#shop .product-box .price .regular { color: var(--opas-muted); font-size: 13px; text-decoration: line-through; margin-left: 6px; }
#shop .product-box .box-bottom { display: flex; gap: 0; border-top: 1px solid var(--opas-line); }
#shop .product-box .btn-add-cart { flex: 1; }
#shop .product-box .btn-add-cart a {
    display: block;
    text-align: center;
    padding: 12px;
    color: var(--opas-primary);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
#shop .product-box .btn-add-cart img { display: none; }
#shop .product-box .btn-add-cart a:hover { background: var(--opas-primary); color: #fff; }
#shop .product-box .compare-wishlist {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-left: 1px solid var(--opas-line);
}
#shop .product-box .compare-wishlist a { color: var(--opas-success); font-weight: 600; font-size: 13px; text-decoration: none; }

#shop .pagination-shop { margin-top: 30px; display: flex; justify-content: center; }
.pagination-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.pagination-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 10px;
    border: 1px solid var(--opas-line);
    border-radius: 5px;
    color: var(--opas-ink);
    text-decoration: none;
    font-weight: 600;
}
.pagination-list li a:hover { border-color: var(--opas-primary); color: var(--opas-primary); }
.pagination-list li.active a { background: var(--opas-primary); color: #fff; border-color: var(--opas-primary); }

/* ====================================================================
   SINGLE PRODUCT PAGE — minimal additions on top of Techno's native CSS
==================================================================== */
/* Techno's .product-detail.style3 floats .status-product left so it sits
   beside a star-rating sibling. We removed the star rating (no reviews
   in Phase 1), so without a clearfix the price wraps around the float
   and the regular (struck-through) price ends up in the top-right. */
.product-detail.style3 .reviewed::after {
    content: "";
    display: block;
    clear: both;
}
.product-detail.style3 .content-detail .price {
    clear: both;
    text-align: left;
    padding-top: 6px;
}
.product-detail.style3 .content-detail .price .regular {
    display: block;
    font-size: 14px;
    color: #919191;
    text-decoration: line-through;
    margin-bottom: 4px;
}
.product-detail.style3 .content-detail .price .sale {
    display: block;
    font-size: 30px;
    color: #f28b00;
    font-weight: 700;
    line-height: 1.1;
}

/* Hide the browser-native number-input spinner on the product detail
   page, otherwise it overlays our custom + / − buttons on hover/focus. */
.quanlity input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.quanlity input[type="number"]::-webkit-outer-spin-button,
.quanlity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add-to-Cart button — match Techno's .box-cart.style2 .btn-add-cart a
   pill style, but for our <button> element (we need a form to POST). */
.box-cart.style2 .btn-add-cart {
    display: block;
    margin-bottom: 14px;
}
.box-cart.style2 .btn-add-cart button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    line-height: 1;
    padding: 0 30px;
    color: #fff;
    background: #f92400;
    border: 0;
    border-radius: 30px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease;
    text-align: center;
    font-family: inherit;
}
.box-cart.style2 .btn-add-cart button:hover { background: #2d2d2d; }
.box-cart.style2 .btn-add-cart button img {
    height: 16px;
    width: auto;
    padding: 0;
    filter: brightness(0) invert(1);
}

/* Inquire-on-WhatsApp link below the Add-to-Cart button */
.box-cart.style2 .compare-wishlist {
    display: block;
    margin-left: 0;
    text-align: center;
    margin-top: 4px;
}
.box-cart.style2 .compare-wishlist a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--opas-success);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.box-cart.style2 .compare-wishlist a:hover { color: #1eba59; }

/* Only one element doesn't ship with Techno styles: the specs table
   we render inside the Technical Specs tab. */
.specs-table {
    width: 100%;
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: collapse;
    margin-top: 14px;
}
.specs-table th, .specs-table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid var(--opas-line);
    font-size: 14px;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: 0; }
.specs-table th {
    background: var(--opas-soft);
    color: var(--opas-ink);
    font-weight: 600;
    width: 30%;
    min-width: 180px;
}
.specs-table td { color: var(--opas-muted); }

/* ====================================================================
   CART · CHECKOUT · ORDER CONFIRMATION
==================================================================== */
.flat-shop-cart, .flat-checkout, .flat-order-confirmation { padding: 50px 0 80px; }
.cart-flash {
    background: #fff7e6;
    border-left: 4px solid var(--opas-accent);
    color: var(--opas-ink);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.cart-flash.error { background: #fff1f0; border-left-color: #d92d20; }

.btn-block {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Empty cart */
.cart-empty {
    background: #fff;
    border: 1px dashed var(--opas-line);
    border-radius: 10px;
    text-align: center;
    padding: 70px 30px;
}
.cart-empty i { font-size: 56px; color: var(--opas-line); }
.cart-empty h3 { margin: 18px 0 6px; font-size: 22px; color: var(--opas-ink); }
.cart-empty p { color: var(--opas-muted); margin-bottom: 18px; }

/* Cart table */
.cart-table-wrap {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 10px;
    overflow: hidden;
    overflow-x: auto;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--opas-soft);
    color: var(--opas-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.6px;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--opas-line);
}
.cart-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--opas-line);
    vertical-align: middle;
}
.cart-table tr:last-child td { border-bottom: 0; }
.cart-table .cart-img { width: 80px; }
.cart-table .cart-img img {
    width: 64px; height: 64px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--opas-soft);
    padding: 4px;
}
.cart-table .cart-name a { color: var(--opas-ink); font-weight: 600; text-decoration: none; }
.cart-table .cart-name a:hover { color: var(--opas-primary); }
.cart-table .cart-name .sku {
    font-family: monospace;
    font-size: 11px;
    color: var(--opas-muted);
    margin-bottom: 2px;
}
.cart-table .cart-price { color: var(--opas-ink); white-space: nowrap; }
.cart-table .cart-total { color: var(--opas-primary); font-weight: 700; white-space: nowrap; }
.cart-table .cart-remove button {
    background: none;
    border: 0;
    color: #d92d20;
    cursor: pointer;
    font-size: 16px;
}
.cart-table .qty-form { display: flex; align-items: center; gap: 6px; margin: 0; }

.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--opas-line);
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.qty-stepper .qty-btn {
    width: 20px;
    height: 30px;
    padding: 0;
    background: var(--opas-soft);
    border: 0;
    color: var(--opas-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    transition: all 0.15s ease;
}
.qty-stepper .qty-btn:hover { background: var(--opas-primary); color: #fff; }
.qty-stepper input[type="number"] {
    width: 52px;
    height: 30px;
    border: 0;
    border-left: 1px solid var(--opas-line);
    border-right: 1px solid var(--opas-line);
    text-align: left;
    padding: 0 8px;
    font-weight: 600;
    color: var(--opas-ink);
    font-size: 13px;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-stepper input[type="number"]:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--opas-primary); }
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-update {
    background: var(--opas-soft);
    border: 1px solid var(--opas-line);
    color: var(--opas-ink);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
.qty-update:hover { background: var(--opas-primary); color: #fff; border-color: var(--opas-primary); }

.cart-actions { margin-top: 18px; }

/* Cart summary sidebar */
.cart-summary, .checkout-summary {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 10px;
    padding: 24px 22px;
    position: sticky;
    top: 18px;
}
.cart-summary h3, .checkout-summary h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--opas-ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--opas-line);
}
.cart-summary dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 16px;
    row-gap: 0;
    align-items: baseline;
}
.cart-summary dt, .cart-summary dd { padding: 8px 0; margin: 0; }
.cart-summary dt { color: var(--opas-muted); white-space: nowrap; }
.cart-summary dd { text-align: right; color: var(--opas-ink); white-space: nowrap; word-break: keep-all; }
.cart-summary .grand { font-size: 18px; font-weight: 700; border-top: 1px dashed var(--opas-line); padding-top: 14px; }
.cart-summary .grand + .grand { color: var(--opas-primary); }
.cart-summary dt.grand,
.cart-summary dd.grand { padding-top: 16px; }
.cart-summary .free { color: var(--opas-success); font-weight: 700; }
.cart-summary__note, .checkout-summary__note { margin-top: 14px; font-size: 12px; color: var(--opas-muted); text-align: center; }
.cart-summary .btn-primary-opas, .checkout-summary .btn-primary-opas { margin-top: 10px; }

/* Checkout form */
.checkout-section {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 18px;
}
.checkout-section h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--opas-ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--opas-line);
}
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; color: var(--opas-ink); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--opas-line);
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
    color: var(--opas-ink);
    transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    border-color: var(--opas-primary);
    outline: 0;
}

.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--opas-line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0;
}
.payment-option:hover { border-color: var(--opas-primary); }
.payment-option input[type="radio"] { margin-top: 4px; accent-color: var(--opas-primary); }
.payment-option:has(input:checked) { border-color: var(--opas-primary); background: rgba(11,61,145,0.04); }
.payment-option__name { font-weight: 700; color: var(--opas-ink); margin-bottom: 2px; }
.payment-option p { margin: 0; font-size: 13px; color: var(--opas-muted); }

/* Checkout summary table */
.checkout-summary__table { width: 100%; border-collapse: collapse; }
.checkout-summary__table th, .checkout-summary__table td { padding: 10px 4px; border-bottom: 1px solid var(--opas-line); font-size: 14px; }
.checkout-summary__table th { color: var(--opas-muted); font-weight: 600; font-size: 12px; }
.checkout-summary__table .text-right { text-align: right; white-space: nowrap; }
.checkout-summary__name { color: var(--opas-ink); font-weight: 600; }
.checkout-summary__sku { color: var(--opas-muted); font-size: 12px; font-family: monospace; }
.checkout-summary__table tfoot td { padding: 10px 4px; }
.checkout-summary__table tfoot tr.grand td { color: var(--opas-primary); font-size: 18px; font-weight: 700; padding-top: 14px; }

/* Order confirmation */
.order-confirmed {
    background: #fff;
    border: 1px solid var(--opas-line);
    border-radius: 12px;
    padding: 40px 36px;
    text-align: center;
}
.order-confirmed__icon { color: var(--opas-success); font-size: 64px; margin-bottom: 12px; }
.order-confirmed h1 { color: var(--opas-ink); font-size: 28px; margin: 0 0 8px; font-weight: 700; }
.order-confirmed > p { color: var(--opas-muted); }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--opas-soft); border-radius: 8px; padding: 18px; margin: 24px 0; text-align: left; }
.order-meta > div span { display: block; font-size: 11px; color: var(--opas-muted); text-transform: uppercase; letter-spacing: 0.6px; }
.order-meta > div strong { font-size: 14px; color: var(--opas-ink); }
.order-confirmed h3 { text-align: left; margin: 22px 0 10px; font-size: 16px; color: var(--opas-ink); }
.confirm-items { width: 100%; border-collapse: collapse; text-align: left; }
.confirm-items th, .confirm-items td { padding: 10px 8px; border-bottom: 1px solid var(--opas-line); font-size: 13px; }
.confirm-items th { color: var(--opas-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.confirm-items code { font-family: monospace; font-size: 12px; }
.confirm-items .text-right { text-align: right; }
.confirm-items tfoot tr.grand td { color: var(--opas-primary); font-weight: 700; font-size: 15px; padding-top: 12px; border-top: 1px dashed var(--opas-line); }
.confirm-address { font-style: normal; line-height: 1.7; color: var(--opas-ink); background: var(--opas-soft); border-radius: 8px; padding: 14px 16px; text-align: left; font-size: 14px; }
.confirm-actions { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 767px) {
    .order-meta { grid-template-columns: 1fr; }
    .cart-table th, .cart-table td { font-size: 12px; padding: 10px 8px; }
    .cart-summary, .checkout-summary { position: static; margin-top: 18px; }
}

/* -------- Placeholder/coming-soon page eyebrow chip -------- */
.hero-eyebrow {
    display: inline-block;
    background: rgba(11,61,145,0.10);
    color: var(--opas-primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .flat-distributor-strip { text-align: center; }
    .flat-distributor-strip .text-md-right { margin-top: 14px; }
    .cat-banner__overlay { padding: 16px; }
    .cat-banner__overlay h3 { font-size: 18px; }
    .cat-banner--wide .cat-banner__overlay h3 { font-size: 20px; }
}

/* -------- Contact iconboxes: Font Awesome icons centered in circle -------- */
.flat-iconbox .iconbox.style2 {
    height: auto;
    padding: 28px 18px 22px;
    text-align: center;
    margin-bottom: 24px;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.flat-iconbox .iconbox.style2:hover {
    border-color: var(--opas-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11,61,145,0.08);
}
.flat-iconbox .iconbox.style2 .box-header {
    margin-bottom: 6px;
}
.flat-iconbox .iconbox.style2 .box-header .image {
    position: static;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    line-height: 78px;
    margin: 0 auto 14px;
    border: 2px solid var(--opas-line);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flat-iconbox .iconbox.style2 .box-header .image:before {
    display: none;
}
.flat-iconbox .iconbox.style2 .box-header .image i {
    position: static;
    top: 0;
    left: 0;
    line-height: 1;
}
.flat-iconbox .iconbox.style2 .box-header .title { margin-top: 0; }
.flat-iconbox .iconbox.style2 .box-header .title h3 { margin: 0 0 4px; font-size: 18px; }
.flat-iconbox .iconbox.style2 .box-content p { margin-bottom: 4px; color: var(--opas-muted); }
.flat-iconbox .iconbox.style2 .box-content a { color: var(--opas-ink); }
.flat-iconbox .iconbox.style2 .box-content a:hover { color: var(--opas-accent); }

/* -------- Contact form: spacing & textarea alignment -------- */
#form-contact .form-box.one-half.half-left  { padding-right: 12px; padding-left: 0; }
#form-contact .form-box.one-half.half-right { padding-left: 12px;  padding-right: 0; }
#form-contact .form-box { margin-bottom: 18px; }
#form-contact .form-box label { margin-bottom: 8px; display: block; }
#form-contact .form-box textarea {
    padding-left: 30px;
    padding-top: 14px;
}

/* -------- Shop list toolbar: title + count + sort on one row -------- */
.shop-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--opas-line);
    margin-bottom: 22px;
}
.shop-toolbar__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--opas-ink);
    flex: 0 0 auto;
}
.shop-toolbar__count {
    flex: 1 1 auto;
    color: var(--opas-muted);
    font-size: 14px;
}
.shop-toolbar__sort {
    flex: 0 0 auto;
    margin: 0;
}
.shop-toolbar__sort select {
    height: 38px;
    padding: 4px 32px 4px 14px;
    font-size: 13px;
    border: 1px solid var(--opas-line);
    border-radius: 6px;
    background: #fff;
    min-width: 200px;
    cursor: pointer;
}
@media (max-width: 575px) {
    .shop-toolbar { gap: 8px; }
    .shop-toolbar__count { flex: 1 1 100%; order: 3; }
    .shop-toolbar__sort  { flex: 1 1 100%; order: 2; }
    .shop-toolbar__sort select { width: 100%; }
}

/* -------- Centered title block under hero slider -------- */
.flat-page-title-block { padding: 48px 0 40px; }
.flat-page-title-block h3 {
    color: var(--opas-ink);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}
.flat-page-title-block .subscibe {
    color: var(--opas-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* -------- Shop mega-menu CTA button -------- */
#mainnav .submenu .mega-cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--opas-line);
    display: flex;
    justify-content: center;
}
#mainnav .submenu .btn-explore-more,
#mainnav .submenu .btn-explore-more:hover,
#mainnav .submenu .btn-explore-more:focus {
    color: var(--opas-accent) !important;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    border: 0;
    padding: 0;
    box-shadow: none;
}
#mainnav .submenu .btn-explore-more:hover { color: var(--opas-primary) !important; }
#mainnav .submenu .btn-explore-more i { margin-left: 6px; }

/* -------- Vertical category cards (text left, image right) -------- */
.cat-row-promo { margin-top: 18px; }
.cat-row-promo .banner-box { margin-bottom: 30px; }
.cat-row-promo > .col-md-6 { padding-left: 22px; padding-right: 22px; }
.cat-row-promo .cat-banner-vertical {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--opas-ink);
    min-height: 170px;
    transition: transform .25s ease;
}
.cat-row-promo .cat-banner-vertical:hover {
    transform: translateY(-2px);
}
.cat-row-promo .cat-vertical__text {
    flex: 1 1 55%;
    padding: 22px 24px;
}
.cat-row-promo .cat-vertical__text h3 {
    color: var(--opas-ink);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.cat-row-promo .cat-vertical__text h3 strong { color: var(--opas-accent); }
.cat-row-promo .cat-vertical__text p {
    color: var(--opas-muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 12px;
}
.cat-row-promo .cat-vertical__text .cat-banner__cta {
    color: var(--opas-accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.cat-row-promo .cat-banner-vertical:hover .cat-banner__cta { color: var(--opas-primary); }
.cat-row-promo .cat-vertical__image {
    flex: 0 0 45%;
    align-self: stretch;
}
.cat-row-promo .cat-vertical__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 575px) {
    .cat-row-promo .cat-banner-vertical { flex-direction: column; }
    .cat-row-promo .cat-vertical__image { flex: 0 0 auto; width: 100%; }
    .cat-row-promo .cat-vertical__image img { height: 180px; }
}

/* -------- Align top-bar / logo / nav left edges -------- */
.header-middle #logo { margin-left: 0; }
#mainnav { padding-left: 0; }
#mainnav > ul.menu > li:first-child > a { padding-left: 0; }

/* -------- Header logo: vertically centered with top/bottom breathing room -------- */
.header-middle #logo {
    display: flex;
    align-items: center;
    min-height: 100px;
    padding: 14px 0;
    line-height: 1;
    margin-bottom: 0;
}
.header-middle #logo > a {
    display: inline-flex;
    align-items: center;
}
.header-middle #logo img {
    max-height: 64px;
    width: auto;
    display: block;
}

/* -------- Full-bleed home hero slider -------- */
section.flat-row.flat-slider > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
section.flat-row.flat-slider > .container > .row {
    margin-left: 0;
    margin-right: 0;
}
section.flat-row.flat-slider > .container > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}
/* Slide layout: text left (60%) + image right (36%) — totals 96% so they sit on one line */
section.flat-row.flat-slider .slider-item .item-text {
    width: 60% !important;
    box-sizing: border-box;
}
section.flat-row.flat-slider .slider-item .item-image {
    width: 36%;
    max-width: 520px;
    padding: 40px 40px 30px 0;
    box-sizing: border-box;
    float: right;
    display: block;
}
section.flat-row.flat-slider .slider-item .item-image img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    margin-left: auto;
}
@media (max-width: 767px) {
    section.flat-row.flat-slider .slider-item .item-text { width: 100% !important; }
    section.flat-row.flat-slider .slider-item .item-image {
        width: 100%;
        max-width: 100%;
        float: none;
        padding: 18px;
    }
    section.flat-row.flat-slider .slider-item .item-image img { max-height: 240px; }
}
section.flat-row.flat-slider .slider-item .item-text {
    padding-left: max(15px, calc((100vw - 1170px) / 2 + 15px));
    padding-right: 30px;
    box-sizing: border-box;
}
section.flat-row.flat-slider .slider-item .item-text .content-item .price .sale {
    margin-left: 0;
    padding-left: 40px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
section.flat-row.flat-slider .slider-item .item-text .content-item .regular {
    margin-left: 0;
}

/* ============================================================
   Mobile / tablet header responsiveness
   - Show the hamburger toggle and give the orange nav bar a
     height to contain it (the desktop menu is removed from this
     bar by main.js and re-rendered below #header on mobile).
   - Re-center and compact the logo on phones (overrides the
     unscoped desktop .header-middle #logo flex rule above).
   ============================================================ */
@media (max-width: 991px) {
    /* The orange header-bottom would collapse once the nav is moved
       out on mobile; keep enough height for the floated hamburger. */
    .header-bottom .col-md-12,
    .header-bottom .col-12 {
        min-height: 58px;
    }
    .header-bottom .btn-menu {
        display: block;
        float: right;
        top: 9px;
        margin: 0;
    }
}

@media (max-width: 767px) {
    /* Center the logo and trim its height so it sits neatly above
       the search bar instead of left-aligned and oversized. */
    .header-middle #logo {
        justify-content: center;
        min-height: 64px;
        padding: 10px 0;
        text-align: center;
    }
    .header-middle #logo > a {
        justify-content: center;
    }
    /* Stacked header columns get a little breathing room. */
    .header-middle .top-search {
        padding: 6px 0 10px;
    }
    .header-middle .box-cart {
        padding: 4px 0 12px;
    }
}
