/* ==========================================================================
   Al Jamal – Storefront structural redesign layer (visual only)
   Loaded after aj-store.css. Delete both <link> tags to roll back.
   Brand: Inter; primary #07509d; neutrals #222/#444/#777/#eee/#f8f9fa/#fff
   ========================================================================== */
:root { --aj-container: 1280px; --aj-gap: clamp(16px, 2vw, 28px); }
@media (min-width: 1400px) { body .container { max-width: var(--aj-container); } }

/* ---- Section headings (home) ---- */
body .aj-section-head {
    display: block; text-align: left; font-size: clamp(26px, 3vw, 38px); font-weight: 700;
    letter-spacing: -.02em; color: var(--aj-ink); margin: 56px 0 28px; position: relative; padding-bottom: 18px;
}
body .aj-section-head::after { content:""; position:absolute; left:0; bottom:0; width:56px; height:3px; background: var(--aj-primary); border-radius: 3px; }
body .aj-eyebrow { display:block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--aj-primary); margin-bottom: 8px; }

/* ---- Header: two tiers, sticky, elegant ---- */
body .ec-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); }
body .ec-header .ec-header-bottom .ec-flex { display: grid; grid-template-columns: auto minmax(260px, 520px) auto; justify-content: space-between; align-items: center; gap: 32px; width: 100%; }
body .ec-header .header-logo img { max-height: 48px; transition: max-height .3s ease; }
body .ec-header .ec-header-search, body .ec-header .header-search { width: 100%; max-width: none; position: relative; }
body .ec-header .ec-search-group-form { position: relative; width: 100%; }
body .ec-header .ec-search-group-form input[type="text"] { width: 100%; }
body .ec-header .ec-search-group-form button.submit { position: absolute; border: 0; }
body #ec-main-menu-desk { border-top: 1px solid var(--aj-line); margin-top: 12px; }
body #ec-main-menu-desk .ec-main-menu > ul { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a {
    display: inline-flex; align-items: center; gap: 6px; padding: 16px 18px; font-size: 13px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: var(--aj-ink); position: relative; transition: color var(--aj-ease);
}
body #ec-main-menu-desk .ec-main-menu > ul > li > a::after {
    content:""; position:absolute; left:18px; right:18px; bottom: 9px; height: 2px; background: var(--aj-primary);
    transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
body #ec-main-menu-desk .ec-main-menu > ul > li:hover > a { color: var(--aj-primary); }
body #ec-main-menu-desk .ec-main-menu > ul > li:hover > a::after { transform: scaleX(1); }
body #ec-main-menu-desk .mega-menu {
    width: min(960px, 92vw); left: 50%; transform: translateX(-50%); padding: 28px 32px; background:#fff;
    border: 1px solid var(--aj-line); border-radius: 18px; box-shadow: var(--aj-shadow-lg); margin-top: 0;
}
body #ec-main-menu-desk .mega-menu > li.d-flex { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 22px; }
body #ec-main-menu-desk .menu_title { display:flex; flex-direction: column; align-items:center; gap: 10px; text-align:center; }
body #ec-main-menu-desk .menu_title img { width: 72px; height: 72px; object-fit: contain; padding: 8px; border-radius: 16px; background: var(--aj-bg); transition: transform .3s ease, background .3s; }
body #ec-main-menu-desk .menu_title:hover img { transform: translateY(-3px); background: var(--aj-primary-soft); }
body #ec-main-menu-desk .menu_title a { font-weight: 600; font-size: 14px; color: var(--aj-ink); border: 0 !important; }
body #ec-main-menu-desk .sub-menu.menu1 { padding: 8px; min-width: 190px; background:#fff; border:1px solid var(--aj-line); border-radius: 14px; box-shadow: var(--aj-shadow-lg); }
body #ec-main-menu-desk .sub-menu.menu1 a { padding: 9px 14px; display:block; border-radius: 8px; font-size: 14px; }
body #ec-main-menu-desk .sub-menu.menu1 a:hover { background: var(--aj-primary-soft); color: var(--aj-primary); }

/* Mobile top bar + drawer */
@media (max-width: 991px) {
    body .ec-header .ec-header-bottom.d-lg-none .row { display:grid; grid-template-columns: auto 1fr; align-items:center; gap: 14px; }
    body .ec-header .ec-header-bottom.d-lg-none .col { width:auto; flex: none; padding: 0; }
    body .ec-header .ec-header-bottom.d-lg-none .header-logo img { max-height: 38px; }
    body .ec-header .ec-header-bottom.d-lg-none .header-search input { height: 42px; border-radius: 999px; padding: 0 44px 0 16px; background: var(--aj-bg); border:1px solid var(--aj-line); width:100%; }
}
body .ec-side-cart.ec-mobile-menu { background:#fff; width: min(360px, 88vw); box-shadow: var(--aj-shadow-lg); border-radius: 0; }
body .ec-mobile-menu .ec-menu-title { display:flex; justify-content: space-between; align-items:center; padding: 18px 22px; border-bottom: 1px solid var(--aj-line); }
body .ec-mobile-menu .ec-menu-title .menu_title { font-size: 18px; font-weight: 700; color: var(--aj-ink); }
body .ec-mobile-menu .ec-close { font-size: 26px; line-height:1; background: var(--aj-bg); width: 38px; height: 38px; border-radius: 50%; border:0; }
body .ec-mobile-menu .ec-menu-content > ul > li > a { display:flex; align-items:center; padding: 14px 22px; font-weight: 600; font-size: 15px; color: var(--aj-ink); border-bottom: 1px solid var(--aj-line); }
body .ec-mobile-menu .ec-menu-content > ul > li > a:hover { color: var(--aj-primary); background: var(--aj-primary-soft); }
body .ec-mobile-menu img { border-radius: 10px; object-fit: contain; background: var(--aj-bg); }
body .ec-nav-toolbar { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--aj-line); box-shadow: 0 -6px 24px rgba(34,34,34,.06); }
body .ec-nav-toolbar .ec-nav-panel-icons a { color: var(--aj-ink); }
body .ec-nav-toolbar .ec-nav-panel-icons a:hover { color: var(--aj-primary); }

/* ---- Hero ---- */
body .ec-main-slider { padding: 20px 0 0; }
body .ec-main-slider .ec-slider { width: calc(100% - 2*var(--aj-gap)); max-width: 1680px; margin: 0 auto; border-radius: 24px; box-shadow: none; }
body .ec-main-slider .ec-slide-item {
    min-height: clamp(380px, 62vh, 680px) !important; height: auto !important;
    background-size: cover !important; background-position: center !important; position: relative; align-items: flex-end; border-radius: 24px;
}
body .ec-main-slider .ec-slide-item::before {
    content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,0) 75%);
}
body .ec-main-slider .ec-slide-item .container { position: relative; z-index: 2; padding-bottom: clamp(36px, 7vw, 84px); align-self: flex-end !important; }
body .ec-main-slider .ec-slide-content { max-width: 560px; text-align: left; }
body .ec-slide-content .ec-slide-title { font-size: clamp(32px, 5vw, 64px); line-height: 1.05; margin-bottom: 16px; }
body .ec-slide-content .ec-slide-desc p { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; margin-bottom: 26px; color: rgba(255,255,255,.88); }
body .ec-slide-content .btn { background:#fff !important; color: var(--aj-ink) !important; border-color:#fff !important; border-radius: 999px; padding: 14px 34px; font-weight: 600; }
body .ec-slide-content .btn:hover { background: var(--aj-primary) !important; color:#fff !important; border-color: var(--aj-primary) !important; }
body .ec-main-slider .swiper-pagination { bottom: 24px; }
body .ec-main-slider .swiper-buttons { position:absolute; right: 28px; bottom: 28px; display:flex; gap: 10px; z-index: 5; }
body .ec-main-slider .swiper-buttons .swiper-button-next, body .ec-main-slider .swiper-buttons .swiper-button-prev { position: static; margin: 0; }

/* ---- Category tab strip ---- */
body .ec-pro-tab-nav { display:flex; flex-wrap:nowrap; overflow-x:auto; gap: 12px; padding: 6px 2px 18px; margin: 0 0 12px; list-style:none; justify-content: flex-start; scrollbar-width: thin; }
body .ec-pro-tab-nav .tab-box { flex: 0 0 auto; }
body .ec-pro-tab-nav .nav-link { display:inline-flex; align-items:center; gap: 10px; white-space: nowrap; }
body .ec-pro-tab-nav .nav-link img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
body .ec-pro-tab-nav .nav-link.active img { filter: brightness(0) invert(1); }

/* ---- Product cards: editorial, image-first ---- */
body .ec-product-content { margin-bottom: var(--aj-gap); }
body .ec-product-inner { background: transparent; border: 0; border-radius: 0; box-shadow:none; overflow: visible; transform:none; }
body .ec-product-inner:hover { transform:none; box-shadow:none; }
body .ec-product-inner .ec-pro-image-outer { position: relative; border-radius: 18px !important; overflow: hidden; background: var(--aj-bg); }
body .ec-product-inner .ec-pro-image { aspect-ratio: 4 / 5; display:flex; align-items:center; justify-content:center; padding: 6%; }
body .ec-product-inner .ec-pro-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
body .ec-product-inner:hover .ec-pro-image img { transform: scale(1.07); }
body .ec-product-inner .ec-pro-image-outer::after { content:""; position:absolute; inset:0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(34,34,34,.06); pointer-events:none; }
body .ec-product-inner .wishlist.heart {
    position:absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.92); border-radius: 50%; box-shadow: none; opacity: 0; transform: translateY(-4px); transition: all .25s ease;
}
body .ec-product-inner:hover .wishlist.heart, body .ec-product-inner .wishlist.heart:has(.fa-heart) { opacity: 1; transform:none; }
@media (hover: none) { body .ec-product-inner .wishlist.heart { opacity: 1; transform: none; } }
body .ec-product-inner .wishlist.heart i { color: var(--aj-primary); font-size: 16px; }
body .ec-product-inner .ec-pro-content { padding: 16px 4px 0; text-align: left; }
body .ec-product-inner .ec-pro-stitle { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--aj-muted); font-weight: 600; margin: 0 0 6px; }
body .ec-product-inner .ec-pro-title { font-size: 15px; line-height: 1.4; margin: 0 0 8px; font-weight: 500; }
body .ec-product-inner .ec-pro-title a { display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; }
body .ec-product-inner .ec-price .new-price { font-size: 15px; font-weight: 700; color: var(--aj-ink); }
body .ec-product-inner .ec-price .new-price s { color: var(--aj-muted); font-weight: 400; margin-right: 6px; }

/* ---- Offer / promo banners: full-bleed editorial ---- */
body .ec-offer-section { padding: 0; margin: 48px 0; }
body .ec-offer-section .container-fluid { padding: 0 var(--aj-gap); max-width: 1680px; }
body .ec-offer-section .ec-pos { margin: 0; min-height: clamp(340px, 46vw, 520px); border-radius: 24px; overflow: hidden; position: relative; background-size: cover !important; background-position: center !important; display:flex; align-items: center; }
body .ec-offer-section .ec-pos .overlay { background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 70%) !important; opacity: 1 !important; position:absolute; inset:0; }
body .ec-offer-section .ec-pos > .container { position: relative; z-index: 2; }
body .ec-offer-section .ec-offer-inner { box-shadow: none; border-radius: 0; background: transparent; }
body .ec-offer-section .ec-offer-content { padding: 20px 0; max-width: 520px; text-align:left; }
body .ec-offer-section .ec-offer-title { font-size: clamp(28px, 4vw, 52px); color:#fff; line-height: 1.08; margin-bottom: 14px; }
body .ec-offer-section .ec-offer-desc, body .ec-offer-section .ec-offer-content p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 24px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow:hidden; }
body .ec-offer-section .ec-offer-btn a { background:#fff !important; color: var(--aj-ink) !important; border-color:#fff !important; }
body .ec-offer-section .ec-offer-btn a:hover { background: var(--aj-primary) !important; color:#fff !important; }

/* ---- Footer: structured grid ---- */
body .ec-footer { padding: 0; margin-top: 72px; }
body .ec-footer .footer-top { padding: 72px 0 40px; background: transparent; border: 0; }
body .ec-footer .footer-top .row { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 40px; margin: 0; }
body .ec-footer .footer-top .row > [class*="col-"] { width:auto; max-width:none; padding: 0; flex: none; }
body .ec-footer .ec-footer-logo { margin-bottom: 20px; }
body .ec-footer .ec-footer-info p { font-size: 14px; line-height: 1.8; max-width: 380px; }
body .ec-footer .ec-footer-heading { margin-bottom: 20px; font-size: 12px; letter-spacing: .16em; }
body .ec-footer .ec-footer-links ul { padding:0; margin:0; list-style:none; display:flex; flex-direction: column; gap: 11px; align-items: flex-start !important; }
body .ec-footer .ec-footer-link a { position: relative; transition: padding-left .25s ease; }
body .ec-footer .ec-footer-link a:hover { padding-left: 6px; }
body .ec-footer .footer-bottom-social ul { flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; margin: 0; padding:0; list-style: none; max-width: 170px; }
body .ec-footer .footer-bottom-social ul > div { display:contents; }
body .ec-footer .footer-bottom-social li { margin: 0; }
body .ec-footer .footer-bottom-social a { width: 42px; height: 42px; display:flex; align-items:center; justify-content:center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transition: all .25s ease; }
body .ec-footer .footer-bottom-social a:hover { background: var(--aj-primary); border-color: var(--aj-primary); color:#fff !important; transform: translateY(-3px); }
body .ec-footer .footer-bottom { padding: 22px 0; }
body .ec-footer .footer-bottom .row { margin:0; }
body .ec-footer .footer-copy { width:100%; text-align:center; }
body .ec-footer .footer-bottom-copy { font-size: 13px; }

@media (max-width: 1199px) { body .ec-footer .footer-top .row { grid-template-columns: 1fr 1fr 1fr; } body .ec-footer .ec-footer-info:first-child { grid-column: 1 / -1; } }
@media (max-width: 767px) {
    body .ec-footer .footer-top { padding: 48px 0 24px; }
    body .ec-footer .footer-top .row { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    body .ec-footer .footer-top .ec-footer-cont-social { grid-column: 1 / -1; }
    body .ec-main-slider .ec-slider { width: calc(100% - 24px); }
    body .ec-main-slider .swiper-buttons { display:none; }
    body .ec-offer-section .container-fluid { padding: 0 12px; }
    body .aj-section-head { margin-top: 36px; }
    body { padding-bottom: 64px; }
}

/* ---- Fixes after visual review ---- */
body .ec-header .header-logo img { width: 190px !important; max-height: none !important; height: auto; padding: 6px 0 !important; }
body .ec-header .ec-header-bottom.d-lg-none .header-logo img { width: 130px !important; }
body .ec-header .ec-header-cat { background: var(--aj-primary); border-top: 0; }
body .ec-header .ec-header-cat .row { align-items: center; flex-wrap: nowrap; }
body .ec-header .ec-category-toggle, body .ec-header .ec-category-title, body .ec-header .ec-category-toggle i { color: #fff !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
body #ec-main-menu-desk { border-top: 0; margin: 0; background: transparent !important; flex: 1 1 auto !important; }
body #ec-main-menu-desk .ec-main-menu > ul { flex-wrap: nowrap; justify-content: flex-end; gap: 0; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a { color: #fff !important; padding: 18px 14px; font-size: 12.5px; white-space: nowrap; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a i { color: rgba(255,255,255,.7) !important; transform: rotate(90deg); font-size: 10px; }
body #ec-main-menu-desk .ec-main-menu > ul > li:hover > a { color: #fff !important; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a::after { background: #fff; left: 14px; right: 14px; bottom: 10px; }
body #ec-main-menu-desk .sub-menu.menu1 a { color: var(--aj-ink) !important; }
body #ec-main-menu-desk .mega-menu, body #ec-main-menu-desk .mega-menu li { color: var(--aj-ink); }
@media (min-width: 992px) and (max-width: 1280px) { body #ec-main-menu-desk .ec-main-menu > ul > li > a { padding: 18px 9px; font-size: 11.5px; letter-spacing: .04em; } }

body .ec-pro-tab-nav { flex-wrap: nowrap !important; justify-content: flex-start !important; }
body .ec-product-ab .nav-link, body .ec-pro-tab-nav .nav-link { box-shadow: none !important; }
@media (min-width: 992px) { body .ec-product-content { flex: 0 0 25%; max-width: 25%; } }

/* ---- Offer banner fixes ---- */
body .ec-offer-section .ec-ofr-bnr, body .ec-offer-section .ec-ofr-bnr-1 { height: auto !important; min-height: clamp(360px, 44vw, 560px); }
body .ec-offer-section .ec-offer-inner { position: static !important; padding: 0 !important; top: auto; }
body .ec-offer-section .ec-offer-btn { background: transparent !important; display: inline-block; }
body .ec-offer-section .ec-offer-content .ec-offer-btn a {
    display: inline-flex; align-items: center; height: auto; line-height: 1; padding: 15px 34px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; width: auto;
}
body .ec-offer-section .ec-ofr-bnr-1 { background: var(--aj-bg); }
body .ec-offer-section .ec-ofr-bnr-1 .ec-offer-title, body .ec-offer-section .ec-ofr-bnr-1 .ec-offer-content p { color: var(--aj-ink); }

/* ---- Menu fit ---- */
body .ec-header .ec-category-block, body .ec-header .col.ec-category-block { flex: 0 0 auto !important; max-width: none; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a { padding: 18px 10px; font-size: 12px; letter-spacing: .05em; }
@media (min-width: 1400px) { body #ec-main-menu-desk .ec-main-menu > ul > li > a { padding: 18px 14px; font-size: 12.5px; } }

/* ---- Regression fixes ---- */
body .ec-header .ec-category-block, body .ec-header .col.ec-category-block { flex: 0 0 170px !important; max-width: 170px !important; }
body #ec-main-menu-desk { flex: 1 1 0 !important; min-width: 0 !important; width: auto !important; }
body #ec-main-menu-desk .nav-desk, body #ec-main-menu-desk .nav-desk .row, body #ec-main-menu-desk .ec-main-menu { width: 100%; max-width: 100%; margin: 0; padding: 0; }
body .ec-header .ec-header-cat .ec-category-menu { margin: 0; }
@media (max-width: 991px) {
    body .ec-header .ec-header-bottom.d-lg-none .row { grid-template-columns: 120px minmax(0, 1fr) !important; margin: 0; }
    body .ec-header .ec-header-bottom.d-lg-none .header-search, body .ec-header .ec-header-bottom.d-lg-none .header-search form { width: 100%; max-width: 100%; position: relative; }
    body .ec-header .ec-header-bottom.d-lg-none .header-search button.submit { position:absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--aj-primary); color:#fff; border:0; }
    body .ec-header .ec-header-bottom.d-lg-none .header-search button.submit i { color:#fff; }
}

/* ---- Inner-page header (user-inner layout) ---- */
body .ec-header > #ec-main-menu-desk { background: var(--aj-primary) !important; width: 100% !important; flex: none !important; }
body .ec-header > #ec-main-menu-desk .container-fluid { max-width: var(--aj-container); margin: 0 auto; padding: 0 12px; }
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul { justify-content: flex-start; }
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li > a { background: transparent !important; color: #fff !important; padding: 16px 14px; }
body .ec-header .header-search { position: relative; }
body .ec-header .ec-btn-group-form { position: relative; width: 100%; display: block; }
body .ec-header .ec-btn-group-form input[type="text"], body .ec-header .ec-btn-group-form .form-control {
    width: 100%; height: 48px !important; border-radius: 999px !important; border: 1px solid var(--aj-line) !important;
    background: var(--aj-bg) !important; padding: 0 56px 0 22px !important;
}
body .ec-header .ec-btn-group-form button.submit {
    position: absolute !important; top: 5px !important; right: 5px !important; width: 38px !important; height: 38px !important; min-width: 0;
    border-radius: 50% !important; background: var(--aj-primary) !important; border: 0 !important; color:#fff; display:flex; align-items:center; justify-content:center; padding: 0 !important;
}
body .ec-header .ec-btn-group-form button.submit i { color:#fff !important; font-size: 15px; }
body .ec-header .ec-header-bottons .ec-btn-desc:not(.login-button) { display: none; }
body .ec-header .ec-header-bottons .login-button { display: inline-block; }
body .ec-header .ec-header-bottom .ec-flex { display: grid; grid-template-columns: auto minmax(260px, 520px) auto; justify-content: space-between; align-items: center; gap: 32px; width: 100%; }
body .ec-header .ec-header-bottom .ec-flex > .align-self-center { width: auto; flex: none; max-width: none; }
body .ec-header .ec-header-bottom .ec-flex > .align-self-center:nth-child(2) { width: 100%; }

/* ==== Inner pages: titles, breadcrumb, editorial content ==== */
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li:first-child > a { background: rgba(255,255,255,.14) !important; }
body .ec-breadcrumb { background: var(--aj-bg); padding: 18px 0; border: 0; }
body .ec-breadcrumb-list { display:flex; align-items:center; gap: 10px; margin:0; padding:0; list-style:none; font-size: 13px; }
body .ec-breadcrumb-item a { color: var(--aj-muted); font-weight: 500; }
body .ec-breadcrumb-item.active, body .ec-breadcrumb-item.active a { color: var(--aj-primary); font-weight: 600; }
body .section-title, body .ec-title { text-align: left; margin: 0 0 36px; }
body .section-title .ec-title, body .section-title h2, body .ec-title, body .section-title.text-center .ec-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; color: var(--aj-ink); position: relative; padding-bottom: 18px; display:block; text-align:left; }
body .section-title .ec-title::after, body h2.ec-title::after { content:""; position:absolute; left:0; bottom:0; width:56px; height:3px; background: var(--aj-primary); border-radius:3px; }
body .section-title .ec-title::before { display:none; }
body .ec-bg-title { display: none; }
body .section-title { text-align: left !important; }

/* About: editorial split */
body .ec-cms-block-inner, body .ec-abcms-block { display: grid; grid-template-columns: 1fr; gap: 20px; }
body .ec-cms-block img, body .ec-abcms-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; }
body .ec-cms-block h3, body .ec-abcms-block h3, body .ec-cms-block h4 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
body .ec-cms-block p, body .ec-abcms-block p { line-height: 1.85; text-align: left !important; color: var(--aj-text); font-size: 16px; }

/* Testimonials */
body .ec-test-item, body .ec-test-inner { background: var(--aj-white); border: 0; border-radius: 22px; box-shadow: var(--aj-shadow); padding: 28px; }
body .ec-test-desc { font-size: 17px; line-height: 1.8; color: var(--aj-ink); font-style: normal; }
body .ec-test-name { color: var(--aj-primary) !important; font-weight: 700; font-size: 16px; }
body .ec-test-designation { color: var(--aj-muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
body .ec-test-img img { border-radius: 50%; object-fit: cover; }

/* FAQ accordion */
body .ec-faq-block { border: 1px solid var(--aj-line); border-radius: 16px; margin-bottom: 14px; padding: 6px 22px; background:#fff; transition: box-shadow var(--aj-ease); }
body .ec-faq-block:hover { box-shadow: var(--aj-shadow); }
body .ec-faq-title { font-weight: 600; color: var(--aj-ink); font-size: 16px; }
body .ec-faq-content { color: var(--aj-text); line-height: 1.8; }

/* Contact: do not apply promo-banner treatment */
body .ec-contact-wrap, body .ec_contact_info { border: 1px solid var(--aj-line); border-radius: 18px; padding: 26px; background:#fff; box-shadow: var(--aj-shadow); }
body .ec-contact-item { margin-bottom: 18px; }
body .ec_contact_map iframe, body .ec-contact-map iframe, body iframe { border-radius: 18px; }
body .ec-offer-section:has(.ec-contact-wrap) { margin: 0; }

/* Cart / checkout / account polish */
body .ec-cart-leftside, body .ec-sidebar-wrap, body .ec-checkout-leftside { border-radius: 18px; }
body .ec-bill-wrap label { font-size: 13px; font-weight: 600; color: var(--aj-ink); margin-bottom: 6px; display:block; }
body .ec-vendor-dashboard-card, body .ec-vendor-setting-card { border-radius: 20px; }
body .ec-page-content { padding-top: 24px; }
@media (min-width: 992px) {
    body .ec-cms-block-inner, body .ec-abcms-block { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

/* ---- Revert About grid (broke markup); keep simple refinements ---- */
body .ec-cms-block-inner, body .ec-abcms-block { display: block !important; grid-template-columns: none !important; gap: 0 !important; }
@media (min-width: 992px) { body .ec-cms-block-inner, body .ec-abcms-block { display: block !important; grid-template-columns: none !important; } }
body .ec-cms-block img, body .ec-abcms-block img { width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; border-radius: 22px; }
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li:first-child > a { background: transparent !important; }
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li > a { background: transparent !important; }
body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li > a.ec-category-toggle, body .ec-header > #ec-main-menu-desk .ec-main-menu > ul > li.ec-cat-first > a { background: rgba(255,255,255,.14) !important; }
body .ec-cms-block p { text-align: left !important; }

/* ==== Clash fixes (round 2) ==== */
html, body { overflow-x: clip; max-width: 100%; }
body .ec-header, body section, body footer { max-width: 100%; }

/* Menu chevrons inline with text */
body #ec-main-menu-desk .ec-main-menu > ul > li > a i,
body #ec-main-menu-desk .ec-main-menu > ul > li > a .fa { position: static !important; transform: none !important; margin: 0 0 0 4px !important; top: auto !important; right: auto !important; line-height: 1; font-size: 10px; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a { line-height: 1.2; }
body #ec-main-menu-desk .ec-main-menu > ul > li > a::before { display: none !important; }
body #ec-main-menu-desk .mega-menu { max-width: 96vw; }

/* Hero + banners: show the image properly (ratio-based height, no heavy crop) */
body .ec-main-slider .ec-slide-item { min-height: 0 !important; aspect-ratio: 21 / 9; background-size: cover !important; background-position: center right !important; }
body .ec-offer-section .ec-ofr-bnr, body .ec-offer-section .ec-ofr-bnr-1 { min-height: 0 !important; aspect-ratio: 21 / 9; background-size: cover !important; background-position: center right !important; }
@media (max-width: 991px) {
    body .ec-main-slider .ec-slide-item, body .ec-offer-section .ec-ofr-bnr, body .ec-offer-section .ec-ofr-bnr-1 { aspect-ratio: auto; min-height: 380px !important; }
}
body .ec-offer-section .ec-offer-btn, body .ec-offer-section .ec-offer-content .ec-offer-btn { margin: 0 !important; padding: 0 !important; }
body .ec-offer-section .ec-offer-content { padding-left: 0 !important; margin-left: 0 !important; }
body .ec-offer-section .ec-offer-content .ec-offer-btn a { margin: 0 !important; }
body .ec-slide-content .ec-slide-desc .btn { margin-left: 0 !important; }

/* Footer logo: keep original artwork on a white chip (no filter) */
body .ec-footer .ec-footer-logo img { filter: none !important; background: #fff; padding: 12px 16px; border-radius: 14px; width: 210px; max-width: 100%; height: auto; max-height: none; }
/* Footer text + links readable, no wide letter-spacing/justify */
body .ec-footer .ec-footer-info p { text-align: left !important; }
body .ec-footer .ec-footer-link a { letter-spacing: 0 !important; font-weight: 500; }
body .ec-footer .footer-bottom-copy, body .ec-footer .ec-copy { text-align: center; }

/* Footer social icons: outlined circles, white glyphs */
body .ec-footer .footer-bottom-social a { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.35) !important; width: 42px; height: 42px; }
body .ec-footer .footer-bottom-social a i { color: #fff !important; font-size: 16px; line-height: 1; }
body .ec-footer .footer-bottom-social a:hover { background: var(--aj-primary) !important; border-color: var(--aj-primary) !important; }
body .ec-footer .footer-bottom-social li { list-style: none; background: transparent !important; }
body .ec-footer .footer-top .row { padding: 0; }
body .ec-footer .footer-bottom .container, body .ec-footer .footer-bottom .row { border: 0; }
body .ec-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
body .ec-footer .footer-bottom .footer-copy { border: 0; }

/* Section title alignment */
body .section-title { padding: 0; margin-bottom: 32px; }
body .section-title .ec-title, body .section-title h2 { margin-left: 0 !important; padding-left: 0 !important; text-indent: 0; }
body .section-title p, body .section-title .sub-title, body .section-title .ec-title + p { text-align: left !important; margin: 8px 0 0; position: static; }

/* Auth pages: single card, centered title */
body .ec-login-wrapper, body .ec-register-wrapper { background: transparent; border: 0; box-shadow: none; padding: 0; max-width: 560px; }
body .ec-login-wrapper .ec-title, body .ec-register-wrapper .ec-title, body .ec-login-wrapper .section-title, body .ec-login-container .ec-title { text-align: center !important; padding-left: 0; }
body .ec-login-wrapper .ec-title::after, body .ec-register-wrapper .ec-title::after { left: 50%; transform: translateX(-50%); }
body .ec-login-container, body .ec-login-form { box-shadow: none; }
body .ec-login-wrap .btn, body .ec-login-wrap button[type="submit"] { background: var(--aj-primary) !important; border-color: var(--aj-primary) !important; color:#fff !important; border-radius: 999px; }
/* Footer text */
body .ec-footer p, body .ec-footer .ec-footer-widget p { text-align: left !important; text-justify: auto; letter-spacing: 0; }
