/* CROW child theme */
:root {
	--crow-ink: #111;
	--crow-muted: #666;
	--crow-line: #e6e6e6;
	--crow-sand: #ece8e2;
	--crow-bg: #fff;
	--crow-font: "Cairo", Tahoma, Arial, sans-serif;
}
body.crow-theme,
body.crow-theme.ast-separate-container { background: var(--crow-bg); }
.crow-theme, .crow-theme h1, .crow-theme h2, .crow-theme h3, .crow-theme h4,
.crow-theme button, .crow-theme input, .crow-theme select, .crow-theme textarea,
.crow-theme .wc-block-components-text-input input,
.crow-theme .wp-block-woocommerce-checkout, .crow-theme .wp-block-woocommerce-cart { font-family: var(--crow-font) !important; }
.crow-theme { color: var(--crow-ink); }
.crow-theme h1, .crow-theme h2, .crow-theme h3, .crow-theme h4, .crow-theme .entry-title,
.crow-theme .woocommerce-loop-product__title, .crow-theme .product_title { color: var(--crow-ink) !important; }
.crow-theme .crow-hero__copy h1, .crow-theme .crow-footer h3, .crow-theme .crow-card span { color: #fff !important; }
.crow-theme #ast-scroll-top { display: none !important; }
.crow-theme a { color: inherit; }
.crow-theme *:focus-visible { outline: 2px solid var(--crow-ink); outline-offset: 3px; }
.crow-icon { display: block; }

/* ---------- Header ---------- */
.crow-header { position: sticky; top: 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--crow-line); }
.admin-bar .crow-header { top: 32px; }
.crow-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1440px; margin: 0 auto; padding: 10px 28px; min-height: 76px; }
.crow-header__start { display: flex; align-items: center; gap: 12px; }
.crow-header__end { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.crow-logo img { display: block; height: 52px; width: auto; }
.crow-nav .crow-menu { display: flex; flex-wrap: nowrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.crow-nav .crow-menu a { display: block; padding: 8px 0; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.crow-nav .crow-menu a:hover { opacity: .7; }
.crow-nav .sub-menu { display: none; }
.crow-action { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.crow-action:hover { background: rgba(0,0,0,.06); }
.crow-cart-count { position: absolute; top: 3px; left: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--crow-ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.crow-burger { display: none; background: none !important; border: 0; padding: 10px; color: inherit !important; cursor: pointer; }

.crow-header.is-overlay { position: absolute; inset-inline: 0; background: transparent; border-bottom: 0; color: #fff; }
.crow-header.is-overlay .crow-cart-count { background: #fff; color: var(--crow-ink); }
.crow-header.is-overlay .crow-action:hover { background: rgba(255,255,255,.15); }
.crow-header.is-overlay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); pointer-events: none; }
.crow-header.is-overlay .crow-header__inner { position: relative; }

/* Hide Astra leftovers if any. */
.crow-theme #masthead, .crow-theme .site-footer, .crow-theme .ast-mobile-header-wrap { display: none !important; }

/* ---------- Drawer ---------- */
.crow-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); }
.crow-drawer[hidden] { display: none; }
.crow-drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(86vw, 360px); background: #fff; padding: 18px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.crow-drawer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--crow-line); }
.crow-drawer__top img { height: 40px; width: auto; }
.crow-drawer__close { background: none !important; border: 0; color: var(--crow-ink) !important; padding: 8px; cursor: pointer; }
.crow-drawer .crow-menu { list-style: none; margin: 0; padding: 0; }
.crow-drawer .crow-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--crow-line); font-size: 17px; font-weight: 700; text-decoration: none; }
.crow-drawer .sub-menu { list-style: none; padding-inline-start: 14px; }
.crow-drawer__contact { margin-top: auto; display: flex; gap: 10px; padding-top: 16px; }
.crow-drawer__contact a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border: 1px solid var(--crow-ink); text-decoration: none; font-weight: 700; }
body.crow-drawer-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.crow-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; background: var(--crow-ink); color: #fff !important; border: 1px solid var(--crow-ink); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.crow-btn:hover { background: #fff; color: var(--crow-ink) !important; }
.crow-btn--outline { background: transparent; color: var(--crow-ink) !important; }
.crow-btn--outline:hover { background: var(--crow-ink); color: #fff !important; }
.crow-btn--ghost { background: rgba(17,17,17,.45); border-color: #fff; min-width: 170px; }
.crow-btn--ghost:hover { background: #fff; color: var(--crow-ink) !important; }

/* ---------- Home layout ---------- */
.crow-home-page .site-content > .ast-container { max-width: none; padding: 0; display: block; }
.crow-home h1, .crow-home h2, .crow-home h3, .crow-home p { margin: 0; }
.crow-hero { position: relative; height: min(88vh, 860px); min-height: 540px; background: #29231d; overflow: hidden; }
.crow-hero picture, .crow-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.crow-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%); }
.crow-hero__copy { position: absolute; z-index: 1; inset-inline: 24px; bottom: 48px; text-align: center; color: #fff; }
.crow-hero__copy h1 { color: #fff; font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; line-height: 1.3; margin-bottom: 20px; }

.crow-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--crow-ink); color: #fff; }
.crow-strip div, .crow-strip a { color: #fff !important; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; font-size: 15px; font-weight: 600; }

.crow-section { padding: 60px 24px; max-width: 1440px; margin: 0 auto; }
.crow-title { text-align: center; font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-bottom: 28px !important; }
.crow-center { text-align: center; margin-top: 30px; }

.crow-tabs { display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid var(--crow-line); margin-bottom: 28px; }
.crow-tab { background: none !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #777 !important; padding: 12px 10px !important; min-height: 48px; font-size: 15px; font-weight: 700; cursor: pointer; }
.crow-tab.is-active { color: var(--crow-ink) !important; border-bottom-color: var(--crow-ink); }

.crow-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--crow-sand); }
.crow-feature img { width: 100%; height: 520px; object-fit: cover; object-position: center 55%; display: block; }
.crow-feature__copy { padding: 56px; align-self: center; }
.crow-feature h2 { font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.crow-feature p { color: #555; line-height: 1.9; max-width: 460px; margin-bottom: 26px; }

.crow-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.crow-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #222; color: #fff !important; text-decoration: none; }
.crow-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.crow-card:hover img { transform: scale(1.04); }
.crow-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 60%); }
.crow-card span { position: absolute; z-index: 1; inset-inline: 24px; bottom: 24px; font-size: 24px; font-weight: 800; }

.crow-branches { background: #f6f5f3; padding: 60px 24px; }
.crow-branches__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.crow-branches article { background: #fff; padding: 28px; border-top: 2px solid var(--crow-ink); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.crow-branches h3 { font-size: 20px; font-weight: 800; }
.crow-branches p { color: var(--crow-muted); line-height: 1.8; flex: 1; }

/* ---------- Product grids (home + shop) ---------- */
.crow-theme ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px !important; margin: 0 !important; padding: 0 !important; }
.crow-theme ul.products::before, .crow-theme ul.products::after { display: none !important; }
.crow-theme ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; text-align: start; min-width: 0; padding: 0 !important; }
.crow-theme ul.products li.product img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; margin-bottom: 10px !important; background: #f3f3f3; }
.crow-theme ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; font-weight: 600; line-height: 1.6 !important; color: var(--crow-ink); }
.crow-theme ul.products li.product .price { color: var(--crow-ink) !important; font-weight: 800; font-size: 15px; }
.crow-theme ul.products li.product .ast-woo-product-category { font-size: 12px; color: #888; }
.crow-theme ul.products li.product .button { background: transparent !important; color: var(--crow-ink) !important; border: 1px solid var(--crow-ink) !important; border-radius: 0 !important; font-size: 13px; padding: 8px 14px !important; margin-top: 8px; }
.crow-theme ul.products li.product .button:hover { background: var(--crow-ink) !important; color: #fff !important; }
.crow-theme .onsale { background: var(--crow-ink) !important; border-radius: 0 !important; }

/* Shop / archive */
.crow-theme.woocommerce .woocommerce-products-header__title, .crow-theme .woocommerce-products-header h1 { font-weight: 800; }
.crow-theme .woocommerce-ordering select { border-radius: 0; }
.crow-theme.woocommerce-page:not(.crow-home-page) .site-content > .ast-container { max-width: 1440px; }

/* Single product */
.crow-theme.single-product div.product .product_title { font-size: 28px; font-weight: 800; }
.crow-theme.single-product div.product p.price { color: var(--crow-ink) !important; font-size: 24px; font-weight: 800; }
.crow-theme.single-product .variations select { min-height: 46px; border-radius: 0; border-color: #bbb; min-width: 200px; }
.crow-theme .single_add_to_cart_button, .crow-theme .checkout-button, .crow-theme #place_order,
.crow-theme .wc-block-components-button:not(.is-link), .crow-theme .woocommerce a.button.alt, .crow-theme .woocommerce button.button.alt {
	background: var(--crow-ink) !important; color: #fff !important; border-radius: 0 !important; min-height: 50px; font-weight: 700 !important;
}
.crow-theme .single_add_to_cart_button:hover { background: #333 !important; }
.crow-size-help { margin-top: 14px; font-size: 14px; color: var(--crow-muted); }
.crow-size-help a { color: var(--crow-ink); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.crow-footer { background: var(--crow-ink); color: #ddd; padding: 56px 24px 0; }
.crow-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; max-width: 1300px; margin: 0 auto; }
.crow-footer img { height: 54px; width: auto; margin-bottom: 14px; }
.crow-footer p { color: #aaa; line-height: 1.9; font-size: 14px; }
.crow-footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.crow-footer ul { list-style: none; margin: 0; padding: 0; }
.crow-footer li { margin-bottom: 10px; font-size: 14px; }
.crow-footer a { color: #ddd; text-decoration: none; }
.crow-footer a:hover { color: #fff; text-decoration: underline; }
.crow-footer__branches li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.crow-footer__branches strong { color: #fff; }
.crow-footer__branches span { color: #aaa; }
.crow-footer__branches a { font-size: 13px; }
.crow-footer__bottom { max-width: 1300px; margin: 40px auto 0; padding: 18px 0; border-top: 1px solid #2c2c2c; text-align: center; color: #888; font-size: 13px; }

.crow-wa-float { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.crow-wa-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.crow-nav { display: none; }
	.crow-burger { display: inline-flex; }
}
@media (max-width: 1024px) {
	.crow-theme ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.crow-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .crow-header { top: 46px; }
}
@media (max-width: 767px) {
	.crow-header__inner { padding: 6px 12px; min-height: 64px; gap: 8px; }
	.crow-logo img { height: 42px; }
	.crow-action { width: 40px; height: 40px; }
	.crow-hero { height: 600px; min-height: 0; }
	.crow-hero__copy { bottom: 30px; }
	.crow-hero__copy h1 { font-size: 28px; margin-bottom: 16px; }
	.crow-strip { grid-template-columns: 1fr; }
	.crow-strip div, .crow-strip a { justify-content: flex-start; padding: 10px 20px; font-size: 14px; }
	.crow-section { padding: 38px 16px; }
	.crow-title { font-size: 26px; margin-bottom: 18px !important; }
	.crow-tabs { gap: 6px; justify-content: space-between; }
	.crow-tab { font-size: 13px; padding: 10px 6px !important; }
	.crow-theme ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px !important; }
	.crow-theme .crow-home .crow-panel ul.products { grid-template-columns: none !important; grid-auto-flow: column !important; grid-auto-columns: 46% !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px !important; }
	.crow-home ul.products li.product { scroll-snap-align: start; }
	.crow-theme ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
	.crow-theme ul.products li.product .price { font-size: 14px; }
	.crow-feature { grid-template-columns: 1fr; }
	.crow-feature img { height: 380px; }
	.crow-feature__copy { padding: 30px 20px; }
	.crow-feature h2 { font-size: 28px; }
	.crow-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; }
	.crow-card { scroll-snap-align: start; }
	.crow-card span { font-size: 21px; inset-inline: 18px; bottom: 18px; }
	.crow-branches { padding: 38px 16px; }
	.crow-branches__grid { grid-template-columns: 1fr; gap: 14px; }
	.crow-footer { padding: 40px 20px 0; }
	.crow-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.crow-wa-float { width: 50px; height: 50px; left: 14px; bottom: 14px; }
}

/* ---------- Language switch ---------- */
.crow-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 34px; padding: 0 10px; border: 1px solid currentColor; font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .5px; margin-inline-end: 4px; }
.crow-lang:hover { background: var(--crow-ink); color: #fff !important; border-color: var(--crow-ink); }
.crow-header.is-overlay .crow-lang:hover { background: #fff; color: var(--crow-ink) !important; }
.crow-drawer__lang { padding-top: 10px; }
.crow-drawer__lang a { width: 100%; }
#trp-floater-ls, .trp-floating-switcher { display: none !important; }

/* ---------- How to order ---------- */
.crow-how__steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; }
.crow-how__steps li { counter-increment: s; border-top: 2px solid var(--crow-ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.crow-how__steps li::before { content: counter(s); font-size: 34px; font-weight: 800; line-height: 1; }
.crow-how__steps strong { font-size: 18px; }
.crow-how__steps span { color: var(--crow-muted); line-height: 1.8; font-size: 14px; }

/* ---------- Transfer payment box ---------- */
.crow-pay-box { border: 1px solid var(--crow-ink); background: #fafafa; padding: 16px 18px; margin-top: 10px; }
.crow-pay-box p { margin: 0 0 8px; }
.crow-pay-box__account strong { font-size: 18px; letter-spacing: .5px; }
.crow-pay-steps { margin: 8px 0 0; padding-inline-start: 20px; line-height: 1.9; }
.crow-theme #payment .crow-pay-steps li { display: list-item !important; list-style: decimal !important; text-align: start !important; margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; }
.crow-theme #payment .crow-pay-steps li::before, .crow-theme #payment .crow-pay-steps li::after { content: none !important; display: none !important; }
.crow-pay-wa { background: #25d366 !important; border-color: #25d366 !important; margin-top: 12px; }
.crow-pay-wa:hover { background: #1da851 !important; color: #fff !important; }
.crow-pay-thanks { margin: 0 0 30px; }
.crow-pay-thanks h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.crow-theme #payment .payment_box { background: #f3f3f3 !important; }
.crow-theme #payment .payment_box::before { border-bottom-color: #f3f3f3 !important; }
.crow-theme #payment ul.payment_methods li label { font-weight: 700; }

@media (max-width: 1024px) {
	.crow-how__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
	.crow-how__steps { grid-template-columns: 1fr; gap: 14px; }
	.crow-lang { min-width: 38px; height: 30px; padding: 0 6px; font-size: 12px; }
}

/* Branch address links in the strip */
.crow-strip__branch span { display: flex; flex-direction: column; line-height: 1.4; }
.crow-strip__branch small { font-size: 12.5px; font-weight: 400; color: #cfcfcf; }
.crow-strip a:hover span, .crow-strip a:hover small { text-decoration: underline; color: #fff; }
@media (max-width: 1024px) and (min-width: 768px) { .crow-strip { grid-template-columns: 1fr 1fr; } }

/* Thank-you confirmation box */
.crow-thanks { border: 1px solid var(--crow-ink); background: #fafafa; padding: 22px; margin: 0 0 30px; }
.crow-thanks h2 { font-size: 24px; font-weight: 800; margin: 0 0 10px; }
.crow-thanks p { margin: 0 0 10px; line-height: 1.9; }

/* Footer bottom: copyright + developer credit */
.crow-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.crow-footer__dev { font-size: 12.5px; color: #8a8a8a; }
.crow-footer__dev strong { color: #cfcfcf; font-weight: 700; }
.crow-footer__dev a { color: #cfcfcf; }
