/* VokeMart restyle for the Prime theme. Presentation only. Scoped to header, home, collection, product page and footer; checkout/order form untouched. */
html:root{--vm-ink:#14213d;--vm-navy:#213b6e;--vm-green:#22b77e;--vm-green-d:#0f8a5c;--vm-paper:#f4f2ed;--vm-line:#e5e1d8;--vm-muted:#667085;
 --body-bg:#f4f2ed;--header-height-desktop:143px!important}
main.container_class{padding-top:18px!important}
html body{background:var(--vm-paper)!important;font-family:'Tajawal',system-ui,sans-serif}

/* ===== header ===== */
.ab-theme .ab-header{background:#fff!important;box-shadow:0 1px 0 var(--vm-line)!important;border:0!important}
.ab-theme .ab-header::before{content:"الدفع عند الاستلام والشحن لجميع محافظات مصر";display:block;background:var(--vm-ink);color:#e8ecf5;font-size:13px;text-align:center;padding:6px 12px;line-height:1.4}
.ab-theme .ab-header,.ab-theme .ab-header-inner{min-height:0!important}
.ab-theme .ab-header{padding-block:0!important}
.ab-theme .ab-header-inner{gap:0!important}
.ab-theme .ab-header-row--main{padding-block:10px!important}
.ab-theme .ab-logo img{height:54px!important;width:auto!important;filter:none!important}
.ab-theme .ab-header-search-form{border:2px solid var(--vm-navy)!important;border-radius:12px!important;background:#fff!important;overflow:hidden;padding:0!important;min-height:46px!important}
.ab-theme .ab-header-search-input{background:transparent!important;border:0!important;box-shadow:none!important;font-size:15px!important}
.ab-theme .ab-header-search-submit{border-radius:0!important;height:46px!important;background:var(--vm-navy)!important;color:#fff!important;border-radius:0!important;width:52px!important;height:auto!important;align-self:stretch;position:static!important;inset:auto!important;margin:0!important}
.ab-theme .ab-header-search-submit svg{stroke:#fff}
.ab-theme .ab-header-row--nav{padding-block:4px!important;background:var(--vm-navy)!important;box-shadow:0 0 0 100vmax var(--vm-navy);clip-path:inset(0 -100vmax);margin-top:0!important}
.ab-theme .ab-nav a{color:#eaf0ff!important;font-weight:500!important;font-size:14px!important}
.ab-theme .ab-nav a:hover{background:rgba(255,255,255,.1)!important}
html body .ab-theme .ab-header-offers-btn{background:#9b0f1e!important;color:#fff!important;font-weight:800!important;border-radius:8px!important;border:0!important;box-shadow:0 2px 8px rgba(155,15,30,.35)!important;padding:7px 16px!important;transition:background .2s,transform .2s,box-shadow .2s}
html body .ab-theme .ab-header-offers-btn:hover{background:#7a0a17!important;filter:none;transform:translateY(-1px);box-shadow:0 4px 12px rgba(122,10,23,.45)!important}
html body .ab-theme .ab-mobile-offers-btn{background:#9b0f1e!important;color:#fff!important;font-weight:800!important;border-radius:10px!important}
html body .ab-theme .ab-mobile-offers-btn:hover,html body .ab-theme .ab-mobile-offers-btn:active{background:#7a0a17!important}

/* ===== announcement marquee -> slim strip ===== */
.ab-marquee-section{--mq-font-size-dt:15px!important;--mq-font-size-mb:13px!important;--mq-lh-dt:40px!important;--mq-lh-mb:34px!important;--mq-bg:#14213d!important;--mq-weight:500!important;border-radius:12px;overflow:hidden}
.ab-marquee-section .ab-marquee-band{border-radius:12px}

/* ===== section headings ===== */
.home_section_container h3{color:var(--vm-navy)!important;font-weight:800!important}
.home_section_container .description{color:var(--vm-muted)!important}
.ab-featured-title,.ab-plist-title{color:var(--vm-ink)!important;font-weight:800!important;font-size:22px!important}
.ab-featured-viewall,.ab-plist-viewall-btn{color:var(--vm-navy)!important;font-weight:700!important}

/* ===== category carousel -> cards ===== */
.carouselWrapper .category_card{background:#fff;border:1px solid var(--vm-line);border-radius:12px;padding:14px 8px 12px;margin-bottom:8px!important;transition:box-shadow .2s,transform .2s}
.carouselWrapper .category_card:hover{box-shadow:0 8px 22px rgba(20,33,61,.12);transform:translateY(-2px)}
.carouselWrapper .category_card>div:first-child{margin-bottom:8px!important}
.carouselWrapper .category_card_img{width:96px!important;height:96px!important;background:#f1f3f8!important}
.carouselWrapper .category_card_name{font-size:15px!important;font-weight:800!important;color:var(--vm-navy)!important}
.swiper-pagination-bullet-active{background:var(--vm-navy)!important}

/* ===== banners ===== */
.home_banner,.home_banner_img{border-radius:14px!important}

/* ===== product cards (home sliders, featured, collection grid) ===== */
.ab-plist-card,.ab-featured-card,.ab-pgrid-card{background:#fff!important;border:1px solid var(--vm-line)!important;border-radius:12px!important;overflow:hidden;box-shadow:none!important;transition:box-shadow .2s,transform .2s}
.ab-plist-card:hover,.ab-featured-card:hover,.ab-pgrid-card:hover{box-shadow:0 8px 22px rgba(20,33,61,.12)!important;transform:translateY(-2px)}
.ab-plist-media,.ab-featured-media,.ab-pgrid-media{border-radius:0!important}
.ab-plist-name,.ab-featured-name,.ab-pgrid-name{color:var(--vm-ink)!important;font-weight:700!important;font-size:14px!important;line-height:1.5!important}
.ab-plist-price,.ab-featured-price,.ab-pgrid-price{color:var(--vm-navy)!important;font-weight:800!important;font-size:17px!important}
.ab-price-old{color:#98a2b3!important;font-size:12.5px!important}
.ab-sale-badge,.ab-plist-badge,.ab-featured-badge,.ab-pgrid-badge{background:var(--vm-red,#c03939)!important;color:#fff!important;border-radius:6px!important;font-weight:800!important;font-size:12px!important}
.ab-featured-hero{border-radius:12px!important;border:1px solid var(--vm-line)!important;background:#fff!important}
.ab-featured-hero-cta{background:var(--vm-green)!important;color:#04291a!important;font-weight:800!important;border-radius:8px!important}
.ab-plist-viewall-btn{border-radius:8px!important}
.ab-pgrid-card .ab-pgrid-compare{display:none!important}

/* ===== collection page ===== */
.category_section_header_title{color:var(--vm-ink)!important;font-weight:800!important}

/* ===== product page ===== */
.ab-pd-name{color:var(--vm-ink)!important;font-weight:800!important}
.ab-pd-price-sale,.ab-pd-price{color:var(--vm-navy)!important;font-weight:800!important}
.ab-pd-discount-badge{background:var(--vm-red,#c03939)!important;color:#fff!important;border-radius:6px!important}
.ab-gallery-main-media,.ab-gallery-thumb{border-radius:12px!important;border-color:var(--vm-line)!important;background:#fff}
.ab-breadcrumbs a{color:var(--vm-navy)!important}
.ab-pd-more-products__link{color:var(--vm-green-d)!important}

/* ===== footer ===== */
.ab-footer{background:var(--vm-ink)!important;color:#c9d1e4!important;border:0!important}
.ab-footer-top{background:transparent!important}
.ab-footer-subscribe-section{background:#1d2f57;border-radius:14px;padding:22px 24px!important}
.ab-footer-subscribe-title,.ab-footer-heading{color:#fff!important;font-weight:800!important}
.ab-footer-subscribe-desc,.ab-footer-subscribe-fine,.ab-footer-copy,.ab-footer-powered,.ab-footer-powered a{color:#b4bfd8!important}
.ab-footer-subscribe-input{background:#fff!important;border:0!important;border-radius:10px!important;color:var(--vm-ink)!important}
.ab-footer-subscribe-btn{background:var(--vm-green)!important;color:#04291a!important;border-radius:10px!important;font-weight:800!important;border:0!important}
.ab-footer-links a,.ab-footer-contact-item,.ab-footer-legal a{color:#c9d1e4!important}
.ab-footer-links a:hover,.ab-footer-contact-item:hover,.ab-footer-legal a:hover{color:#fff!important}
.ab-footer-contact-icon{color:#7be3b6!important}
/* social icons: VokeBlog footer look (40px rounded squares, lift + brand fill + glow on hover) */
html body .ab-footer-social-icons{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important}
html body .ab-footer-social-link{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-width:40px;padding:0!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:all .3s ease!important}
html body .ab-footer-social-img{width:16px!important;height:16px!important;background-color:#c9d1e4!important;transition:background-color .3s ease!important}
html body .ab-footer-social-link:hover{transform:translateY(-4px)!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(0,0,0,.35)}
html body .ab-footer-social-link:hover .ab-footer-social-img{background-color:#fff!important}
html body .ab-footer-social-link[aria-label="Facebook"]:hover{background:#1877F2!important;box-shadow:0 6px 20px rgba(24,119,242,.45)}
html body .ab-footer-social-link[aria-label="YouTube"]:hover{background:#FF0000!important;box-shadow:0 6px 20px rgba(255,0,0,.4)}
html body .ab-footer-social-link[aria-label="TikTok"]:hover{background:#000!important;border-color:rgba(254,44,85,.6)!important;box-shadow:0 6px 20px rgba(254,44,85,.35)}
html body .ab-footer-social-link[aria-label="Instagram"]:hover{background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF)!important;box-shadow:0 6px 20px rgba(221,42,123,.4)}
html body .ab-footer-social-link[aria-label*="WhatsApp" i]:hover,html body .ab-footer-social-link[href*="wa.me"]:hover,html body .ab-footer-social-link[href*="whatsapp.com"]:hover{background:#25D366!important;box-shadow:0 6px 20px rgba(37,211,102,.4)}
html body .ab-footer-social-link[aria-label*="Telegram" i]:hover,html body .ab-footer-social-link[href*="t.me"]:hover{background:#26A5E4!important;box-shadow:0 6px 20px rgba(38,165,228,.4)}

/* ===== collection price filter (added by JS) ===== */
#vm-price-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:10px 14px;background:#fff;border:1px solid var(--vm-line);border-radius:12px;max-width:100%}
#vm-price-filter .vm-pf-label{font-weight:800;color:var(--vm-navy);font-size:14px}
#vm-price-filter input{width:96px;border:1px solid var(--vm-line);border-radius:8px;padding:7px 10px;font:inherit;font-size:14px;background:#f7f8fb;color:var(--vm-ink);-moz-appearance:textfield}
#vm-price-filter input:focus{outline:2px solid var(--vm-navy);outline-offset:0;background:#fff}
#vm-price-filter button{border:0;background:#e9eef8;color:var(--vm-navy);border-radius:8px;padding:7px 12px;font:inherit;font-weight:700;font-size:13px;cursor:pointer}
#vm-price-filter .vm-pf-count{color:var(--vm-muted);font-size:13px;margin-inline-start:auto}
html body .ab-price-sale,html body .ab-pd-price-sale,html body .ab-plist-price,html body .ab-featured-price,html body .ab-pgrid-price{color:var(--vm-navy)!important}
html body .ab-footer-contact-item,html body .ab-footer-contact-item span{color:#c9d1e4!important}
html body .ab-footer-contact-item:hover,html body .ab-footer-contact-item:hover span{color:#fff!important}
html body .ab-footer-links a,html body .ab-footer-links li,html body .ab-footer-legal a,html body .ab-footer-accordion-trigger{color:#c9d1e4!important}
html body .ab-footer-heading{color:#fff!important}
html body .ab-footer-links a:hover,html body .ab-footer-legal a:hover{color:#fff!important}
html body .ab-footer-legal-divider{background:rgba(255,255,255,.25)!important}
html body .ab-footer{--ft-text:#ffffff!important;--ft-bg:#14213d!important}
html body .ab-footer--kids .ab-footer-links a{color:rgba(255,255,255,.78)!important}
html body .ab-footer--kids .ab-footer-links a:hover{color:#fff!important;opacity:1}
html body .ab-footer-subscribe-input::placeholder{color:#667085!important;opacity:1}
html body .ab-footer-subscribe-input{color:#14213d!important}

/* ===== safety net: never leave platform fade-in wrappers invisible ===== */
.p_details_container,.p_content_container,.animate-slideIn,.animate-fadeIn{opacity:1!important}
html body .category_card_img{background-color:#fff!important}

/* static category grid (replaces the moving carousel) */
html body .carouselWrapper:has(.category_card) .swiper-wrapper{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 14px;transform:none!important;width:100%!important;height:auto!important;transition:none!important}
html body .carouselWrapper:has(.category_card) .swiper-slide{width:auto!important;margin:0!important;height:auto!important}
html body .carouselWrapper:has(.category_card) .swiper{overflow:visible!important}
html body .carouselWrapper:has(.category_card) .slider_buttons_container,
html body .carouselWrapper:has(.category_card) .swiper-pagination,
html body .carouselWrapper:has(.category_card) .swiper-button-next,
html body .carouselWrapper:has(.category_card) .swiper-button-prev{display:none!important}
html body .carouselWrapper:has(.category_card) .category_card{margin-bottom:0!important}
html body .carouselWrapper:has(.category_card) .category_card_img{width:100%!important;height:auto!important;aspect-ratio:1/1;max-width:207px}
html body .carouselWrapper:has(.category_card) .category_card>div:first-child{display:flex;justify-content:center}
html body .carouselWrapper:has(.category_card) .category_card_name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35;margin-top:6px}
@media (max-width:767px){html body .carouselWrapper:has(.category_card) .swiper-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}html body .carouselWrapper:has(.category_card) .category_card_img{max-width:108px}html body .carouselWrapper:has(.category_card) .category_card_name{font-size:13px}}
html body .carouselWrapper:has(.category_card) .swiper-slide>div,html body .carouselWrapper:has(.category_card) .category_card{height:100%}
@media (min-width:768px){html body .carouselWrapper:has(.category_card) .swiper-wrapper{display:flex!important;flex-wrap:wrap;justify-content:center;gap:18px 14px}html body .carouselWrapper:has(.category_card) .swiper-slide{flex:0 0 calc((100% - 56px)/5)!important;width:calc((100% - 56px)/5)!important}}
/* no COD line under product cards */
html body .ab-plist-info::after,html body .ab-featured-info::after,html body .ab-pgrid-info-link::after{content:none!important;display:none!important}

/* ===== v2 UI polish (CSS only) ===== */
/* subcategory circles: fixed size, soft placeholder, consistent label */
html body .ab-cat-circle{width:64px;height:64px;flex:0 0 64px;background-color:#e9edf3!important;overflow:hidden}
html body .ab-cat-circle img{width:100%;height:100%;object-fit:cover;display:block}
html body .ab-cat-label{font-size:12px;line-height:1.35;text-align:center}
/* product cards: full names (up to 3 lines), aligned price row */
html body .ab-pgrid-name,html body .ab-plist-name,html body .ab-featured-name{-webkit-line-clamp:3!important;line-clamp:3!important;min-height:3.3em;line-height:1.1!important;overflow:hidden}
html body .ab-pgrid-card,html body .ab-pgrid-info,html body .ab-pgrid-info-link{display:flex;flex-direction:column}
html body .ab-pgrid-card{height:100%}
html body .ab-pgrid-info{flex:1}
html body .ab-pgrid-info-link{flex:1}
html body .ab-pgrid-price-row{margin-top:auto!important;padding-top:6px;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
/* product page: offer tag no longer overlaps the title */
html body .bundles_item{padding-top:2.5rem!important}
html body .bundles_item>.absolute{width:max-content;max-width:none;top:-1px!important;margin-inline-start:12px!important}
html body .bundles_label{font-size:11px;line-height:1.2;padding:4px 10px!important;white-space:nowrap}
html body .bundles_item{border-width:2px;border-color:#d6dae0}
html body .bundles_item[class*="border-black"],html body .bundles_item[class*="border-gray-900"],html body .bundles_item[class*="border-2"]{border-color:#1b2b4a!important}
/* gallery full width + tighter top spacing */
@media (max-width:767px){
html body .p_gallery_container,html body .ab-gallery,html body .ab-gallery-main-col{width:100%!important;max-width:100%!important}
html body .p_details_container{padding-top:0!important;margin-top:-18px}
html body .p_gallery_container{margin-bottom:-12px}
}
/* cart drawer: bigger tap targets, wider on phones */
html body .custom-trash-btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px}
html body .cart-item-quantity-counter button{min-width:36px;min-height:36px}
@media (max-width:480px){html body .pointer-events-auto.w-full.max-w-md{max-width:100%!important}html body .pointer-events-none.fixed.inset-y-0.left-0.flex{padding-inline-start:0!important}}
html body .bundles_item:not(:has(.bundles_label)){padding-top:.75rem!important}
/* names: never clipped */
html body .ab-pgrid-name,html body .ab-plist-name,html body .ab-featured-name{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;overflow:visible!important;min-height:2.4em;max-height:none!important}
@media (max-width:340px){html body .add_to_cart_btn{white-space:nowrap;padding-inline:8px!important}}
