/* ==========================================================================
   3D Vecta — Brand layer (Brand Guidelines · Edition 2026)
   Source of truth: https://claude.ai/artifact/A4irWSimEJzQzj12Ga1sVE
   Loaded after the Aora parent + child styles. RTL-safe (uses logical props).
   ========================================================================== */

:root {
	--vecta-navy:  #1A4870;  /* primary */
	--vecta-ink:   #0A0A0A;  /* text, dark grounds */
	--vecta-paper: #F7F3F2;  /* page background */
	--vecta-mist:  #C5D1DC;
	--vecta-steel: #8CA2B7;
	--vecta-slate: #3A4350;  /* secondary text */
	--vecta-grey:  #5A6472;  /* captions */
	--vecta-line:  #D9DEE4;  /* borders */
	--vecta-tint:  #EEF2F5;
	--vecta-white: #FFFFFF;
	--vecta-head: 'Cairo', system-ui, sans-serif;
	--vecta-body: 'Open Sans', 'Cairo', system-ui, sans-serif;
	--vecta-radius: 4px;
}

/* ---------- Base ---------- */
body,
body.rtl { background: var(--vecta-paper); color: var(--vecta-ink); font-family: var(--vecta-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6,
.heading-tbay-title, .widget-title, .product_title, .page-title,
.elementor-heading-title { font-family: var(--vecta-head); color: var(--vecta-ink); letter-spacing: -.01em; }
h1, .product_title, .page-title { font-weight: 800; }
h2, h3 { font-weight: 700; }
a { color: var(--vecta-navy); }
a:hover, a:focus { color: var(--vecta-ink); }
::selection { background: var(--vecta-mist); color: var(--vecta-ink); }
:focus-visible { outline: 2px solid var(--vecta-navy); outline-offset: 2px; }

/* ---------- Header ---------- */
.tbay_header-template { background: var(--vecta-white); }
.tbay_header-template .elementor-element-9196acd { background: var(--vecta-white); border-bottom: 1px solid var(--vecta-line); }
.tbay_header-template .header-logo img { max-height: 52px; width: auto; }
/* second row = category toggle + main menu on Vecta Navy */
.tbay_header-template .elementor-element-2637743 { background: var(--vecta-navy) !important; }
.tbay_header-template .elementor-element-2637743 .navbar-nav > li > a,
.tbay_header-template .elementor-element-2637743 .category-inside-title,
.tbay_header-template .elementor-element-2637743 .category-inside-title i,
.tbay_header-template .elementor-element-2637743 .menu-category-menu-container .category-inside-title { color: var(--vecta-white) !important; font-family: var(--vecta-head); font-weight: 700; }
.tbay_header-template .elementor-element-2637743 .navbar-nav > li > a:hover,
.tbay_header-template .elementor-element-2637743 .navbar-nav > li.active > a { color: var(--vecta-mist) !important; }
.tbay_header-template .tbay-search-form .form-control { border-color: var(--vecta-line); border-radius: var(--vecta-radius); font-family: var(--vecta-body); }
.tbay_header-template .tbay-search-form .button-search,
.tbay_header-template .tbay-search-form .btn { background: var(--vecta-navy) !important; border-color: var(--vecta-navy) !important; color: #fff !important; }
.tbay_header-template .cart-icon .mini-cart-items,
.tbay_header-template .count_wishlist,
.tbay_header-template .mini-cart-items { background: var(--vecta-navy) !important; color: #fff !important; }
/* dropdowns */
.tbay_header-template .dropdown-menu,
.tbay_header-template .category-inside-content { border-top: 3px solid var(--vecta-navy); border-radius: 0 0 var(--vecta-radius) var(--vecta-radius); }

/* ---------- Buttons ---------- */
.button, button.button, input[type="submit"], .btn-theme, .btn-primary,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit,
.single_add_to_cart_button, .checkout-button, #place_order, .add_to_cart_button {
	background: var(--vecta-navy) !important; border-color: var(--vecta-navy) !important; color: var(--vecta-white) !important;
	font-family: var(--vecta-head); font-weight: 700; border-radius: var(--vecta-radius) !important; transition: background-color .15s ease;
}
.button:hover, button.button:hover, input[type="submit"]:hover, .btn-theme:hover, .btn-primary:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .single_add_to_cart_button:hover,
.checkout-button:hover, #place_order:hover, .add_to_cart_button:hover {
	background: var(--vecta-ink) !important; border-color: var(--vecta-ink) !important;
}

/* ---------- Product cards (shop, category, home) ---------- */
.product-block { background: var(--vecta-white); border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); transition: border-color .15s ease, box-shadow .15s ease; overflow: hidden; }
.product-block:hover { border-color: var(--vecta-navy); box-shadow: 0 6px 18px rgba(26, 72, 112, .10); }
.product-block .name, .product-block .name a { font-family: var(--vecta-head); font-weight: 600; color: var(--vecta-ink); }
.product-block .image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; background: var(--vecta-tint); }
.price, .woocommerce-Price-amount, ins .woocommerce-Price-amount { color: var(--vecta-navy) !important; font-weight: 700; }
del .woocommerce-Price-amount { color: var(--vecta-grey) !important; font-weight: 400; }
.onsale, .product-block .onsale, span.onsale, .saled { background: var(--vecta-navy) !important; color: #fff !important; border-radius: var(--vecta-radius); font-family: var(--vecta-head); }
.featured, .hot { background: var(--vecta-ink) !important; color: #fff !important; }
.star-rating span::before, .star-rating::before { color: var(--vecta-navy); }

/* ---------- Shop / archive ---------- */
.woocommerce-products-header, .tbay-breadscrumb { background: var(--vecta-white); border-bottom: 1px solid var(--vecta-line); }
.tbay-breadscrumb .page-title, .tbay-breadscrumb .breadcrumb a { color: var(--vecta-ink); }
.woof_container h4, .widget_product_categories .widget-title { font-family: var(--vecta-head); font-weight: 700; }
.woof .irs--round .irs-bar, .woof .irs-bar { background: var(--vecta-navy) !important; }
.woof .irs--round .irs-handle { border-color: var(--vecta-navy) !important; }
.woocommerce-pagination .page-numbers li .current,
.woocommerce-pagination .page-numbers li a:hover { background: var(--vecta-navy) !important; border-color: var(--vecta-navy) !important; color: #fff !important; }
.display-mode .btn.active, .display-mode a.active { color: var(--vecta-navy) !important; }

/* ---------- Single product ---------- */
.single-product .product_title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.woocommerce-tabs .nav-tabs > li.active > a, .woocommerce-tabs ul.tabs li.active a { color: var(--vecta-navy) !important; border-color: var(--vecta-navy) !important; }
.variable-items-wrapper .variable-item.selected, .variable-items-wrapper .variable-item:hover { box-shadow: 0 0 0 2px var(--vecta-navy) !important; }

/* ---------- Cart & checkout (mobile-first usability) ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	min-height: 48px; font-size: 16px; /* 16px stops iOS zoom-on-focus */
	border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); background: var(--vecta-white);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--vecta-navy); box-shadow: 0 0 0 3px rgba(26, 72, 112, .15); outline: 0; }
.woocommerce form .form-row label { font-weight: 600; color: var(--vecta-slate); }
#order_review, .cart_totals { background: var(--vecta-white); border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); padding: 20px; }
.woocommerce-checkout #payment { background: var(--vecta-tint); border-radius: var(--vecta-radius); }
@media (max-width: 767px) {
	#place_order, .checkout-button, .single_add_to_cart_button, .woocommerce-cart .actions .button { width: 100% !important; min-height: 52px; font-size: 17px; }
	.woocommerce-cart table.cart td.actions .coupon { display: flex; flex-direction: column; gap: 8px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; }
	.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
	.quantity .qty { min-height: 44px; font-size: 16px; }
}

/* ---------- Footer ---------- */
#tbay-footer, .tbay-footer { background: var(--vecta-ink) !important; color: #C9D1DA; }
#tbay-footer .elementor-section { background-color: transparent !important; }
#tbay-footer h1, #tbay-footer h2, #tbay-footer h3, #tbay-footer h4,
#tbay-footer .elementor-heading-title, #tbay-footer .heading-tbay-title { color: var(--vecta-white) !important; }
#tbay-footer, #tbay-footer p, #tbay-footer .elementor-text-editor { color: #C9D1DA !important; }
#tbay-footer a { color: var(--vecta-white) !important; }
#tbay-footer a:hover { color: var(--vecta-mist) !important; }
#tbay-footer .elementor-social-icon { background: var(--vecta-navy) !important; }
#tbay-footer input[type="email"] { background: #1b1f24; border-color: #2c3440; color: #fff; }

/* ---------- Mobile app-bar (bottom) & mobile header ---------- */
.footer-device-mobile { background: var(--vecta-white); border-top: 1px solid var(--vecta-line); }
.footer-device-mobile .active a, .footer-device-mobile a:hover, .footer-device-mobile a:hover i { color: var(--vecta-navy) !important; }
.topbar-device-mobile { background: var(--vecta-white) !important; border-bottom: 1px solid var(--vecta-line); }
.topbar-device-mobile .mobile-logo img { max-height: 40px; width: auto; }

/* ---------- Page loader & misc ---------- */
.tbay-page-loader .loader-inner, .tbay-page-loader { background: var(--vecta-paper) !important; }
.back-to-top, #back-to-top { background: var(--vecta-navy) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--vecta-navy) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--vecta-navy) !important; }
img { height: auto; }

/* ---------- Fixes after first visual review ---------- */
.tbay_header-template .elementor-element-9196acd,
.tbay_header-template .elementor-element-9196acd > .elementor-container { background: var(--vecta-white) !important; background-image: none !important; }
.tbay_header-template .elementor-element-2637743 .btn-canvas-menu,
.tbay_header-template .elementor-element-2637743 .btn-canvas-menu i,
.tbay_header-template .elementor-element-2637743 .toggle-canvas-icon-title,
.tbay_header-template .elementor-element-2637743 h4,
.tbay_header-template .elementor-element-2637743 .tbay-element-product-recently-viewed,
.tbay_header-template .elementor-element-2637743 .tbay-element-product-recently-viewed * { color: var(--vecta-white) !important; }
.tbay_header-template .elementor-element-2637743 .toggle-canvas-icon-title { font-family: var(--vecta-head); font-weight: 700; margin: 0; }
/* service icon boxes on the home page */
.elementor-icon-box-icon .elementor-icon { background-color: var(--vecta-tint) !important; color: var(--vecta-navy) !important; fill: var(--vecta-navy) !important; }
.elementor-icon-box-title { font-family: var(--vecta-head); font-weight: 700; color: var(--vecta-ink); }
.elementor-icon-box-description { color: var(--vecta-slate); }

/* ---------- Home: hero, section titles, category tiles ---------- */
.vecta-hero { position: relative; overflow: hidden; }
.vecta-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(135deg, transparent 0 58%, rgba(140,162,183,.22) 58% 72%, transparent 72%),
	            linear-gradient(225deg, transparent 0 70%, rgba(255,255,255,.06) 70% 80%, transparent 80%),
	            linear-gradient(45deg, rgba(10,10,10,.18) 0 18%, transparent 18%); }
.vecta-hero .elementor-container { position: relative; z-index: 1; }
.vecta-hero .elementor-heading-title, .vecta-hero p, .vecta-hero .elementor-widget-text-editor { color: #fff !important; }
.vecta-hero .vecta-eyebrow .elementor-heading-title { color: var(--vecta-mist) !important; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.vecta-hero .elementor-button { background: #fff !important; color: var(--vecta-navy) !important; font-family: var(--vecta-head); font-weight: 700; border-radius: var(--vecta-radius); }
.vecta-hero .vecta-btn-ghost .elementor-button { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.vecta-hero .elementor-button:hover { background: var(--vecta-ink) !important; color: #fff !important; }
.vecta-section-title .elementor-heading-title { font-weight: 800; font-size: clamp(24px, 3vw, 34px); }
.vecta-kicker .elementor-heading-title { color: var(--vecta-navy) !important; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vecta-cats ul.products li.product-category, .vecta-cats .product-category { background: #fff; border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); overflow: hidden; transition: border-color .15s; }
.vecta-cats .product-category:hover { border-color: var(--vecta-navy); }
.vecta-cats .product-category img { aspect-ratio: 1/1; object-fit: cover; width: 100%; margin: 0 !important; }
.vecta-cats .product-category h2, .vecta-cats .woocommerce-loop-category__title { font-family: var(--vecta-head); font-size: 16px !important; font-weight: 700; padding: 12px; margin: 0; text-align: center; }
.vecta-cats .product-category mark.count { background: none; color: var(--vecta-grey); font-weight: 400; }

/* ---------- Home layout fixes ---------- */
.elementor-section.vecta-hero { background-color: var(--vecta-navy) !important; }
.vecta-cats ul.products, .vecta-cats .woocommerce ul.products, .vecta-cats .products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; padding: 0; list-style: none; }
.vecta-cats ul.products::before, .vecta-cats ul.products::after { display: none !important; }
.vecta-cats ul.products li.product-category { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
@media (max-width: 991px) { .vecta-cats ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .vecta-cats ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
/* Aora wraps loops as .display-products > .row > li */
.vecta-cats .display-products > .row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }
.vecta-cats .display-products > .row::before, .vecta-cats .display-products > .row::after { display: none !important; }
.vecta-cats .display-products > .row > li { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; list-style: none; background: #fff; border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); overflow: hidden; }
.vecta-cats .display-products > .row > li:hover { border-color: var(--vecta-navy); }
.vecta-cats .display-products > .row > li img { aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block; }
@media (max-width: 991px) { .vecta-cats .display-products > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .vecta-cats .display-products > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.vecta-cats .elementor-shortcode, .vecta-cats .woocommerce, .vecta-cats .display-products, .vecta-cats .display-products > .row { width: 100% !important; max-width: none !important; float: none !important; }
.vecta-cats .woocommerce, .vecta-cats .display-products { display: block !important; }
/* Elementor buttons outside the hero follow the primary button style */
.elementor-widget-button:not(.vecta-btn-ghost) .elementor-button { background-color: var(--vecta-navy); color: #fff; font-family: var(--vecta-head); font-weight: 700; border-radius: var(--vecta-radius); }
.elementor-widget-button:not(.vecta-btn-ghost) .elementor-button:hover { background-color: var(--vecta-ink); }
/* sale badge: compact pill everywhere (was stretching on single product) */
.onsale, span.onsale, .single-product .onsale, .product-block .onsale { display: inline-block !important; width: auto !important; min-width: 0 !important; height: auto !important; line-height: 1.6 !important; padding: 2px 8px !important; font-size: 12px !important; border-radius: 3px !important; }
@media (max-width: 575px) {
	.vecta-cats .display-products > .row > li h2, .vecta-cats .woocommerce-loop-category__title { font-size: 14px !important; padding: 8px !important; }
	.vecta-cats .product-category mark.count { display: none; }
}
/* Category archive header: title only (theme printed the full-size category image here) */
.woocommerce-products-header > img { display: none !important; }
.woocommerce-products-header { background: transparent; border: 0; padding: 0 0 12px; }
.woocommerce-products-header__title { font-weight: 800; font-size: clamp(26px, 3vw, 36px); position: relative; padding-bottom: 10px; }
.woocommerce-products-header__title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 48px; height: 3px; background: var(--vecta-navy); }
/* filter sidebar */
.tbay-sidebar-shop .widget, .sidebar .widget { background: #fff; border: 1px solid var(--vecta-line); border-radius: var(--vecta-radius); padding: 16px; }
.woof_list li label:hover, .woof_list .woof_checkbox_label_selected { color: var(--vecta-navy) !important; }
