/* =========================================================================
   Star Center — main stylesheet (RTL-first)
   ========================================================================= */

:root {
	--navy: #16245b;
	--navy-dark: #0e183f;
	--navy-light: #24357d;
	--accent: #e2231a;
	--accent-dark: #b9150d;
	--ink: #1c2331;
	--muted: #6b7280;
	--line: #e5e8ee;
	--bg: #ffffff;
	--bg-alt: #f4f6f9;
	--bg-soft: #eef1f6;
	--white: #ffffff;
	--wa: #25d366;
	--star: #f5a623;
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 3px rgba(16, 24, 40, .08);
	--shadow: 0 6px 20px rgba(16, 24, 40, .10);
	--shadow-lg: 0 18px 50px rgba(16, 24, 40, .16);
	--container: 1280px;
	--header-h: 0px;
	--font: 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	direction: rtl;
	color: var(--ink);
	background: var(--bg);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; color: var(--navy); font-weight: 800; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; right: -9999px; top: 0; z-index: 1000;
	background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { right: 0; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.icon--caret { width: 16px; height: 16px; }
.icon--up { transform: rotate(-90deg); }

/* ----------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
	transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 19px; height: 19px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(226,35,26,.28); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f0f2f7; color: var(--navy-dark); }
.btn--ghost { background: var(--bg-alt); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--navy); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #1da851; color: #fff; }
.btn--lg { padding: 15px 30px; font-size: 17px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ================================================================== HEADER */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__hours li, .topbar__contact a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.topbar__hours .icon, .topbar__contact .icon { width: 16px; height: 16px; }
.topbar__promo { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; }
.topbar__promo .icon { width: 17px; height: 17px; }
.topbar__contact a:hover { color: #fff; }

.header-main { background: #fff; border-bottom: 1px solid var(--line); }
.header-main__inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.nav-toggle { display: none; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 9px; color: var(--navy); }
.site-branding { flex: none; }
.site-branding .custom-logo-link { display: block; }
.site-branding img.custom-logo { max-height: 64px; width: auto; }
.site-branding__text strong { display: block; font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1; }
.site-branding__text span { display: block; font-size: 13px; color: var(--accent); font-weight: 700; }

.header-search { flex: 1 1 auto; }
.search-form { display: flex; align-items: stretch; background: var(--bg-alt); border: 2px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s; }
.search-form:focus-within { border-color: var(--navy); background: #fff; }
.search-form input[type="search"] { flex: 1; border: 0; background: transparent; padding: 13px 20px; font-size: 15px; color: var(--ink); outline: none; font-family: inherit; }
.search-form button { border: 0; background: var(--navy); color: #fff; padding: 0 22px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.search-form button:hover { background: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-action { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 10px; color: var(--navy); transition: background .15s; }
.header-action:hover { background: var(--bg-alt); color: var(--navy); }
.header-action .icon { width: 26px; height: 26px; }
.header-action__label { font-size: 13px; font-weight: 600; line-height: 1.2; }
.header-cart { position: relative; }
.header-cart__icon { position: relative; display: inline-flex; }
.header-cart__count {
	position: absolute; inset-block-start: -7px; inset-inline-start: -8px; min-width: 19px; height: 19px;
	background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Primary nav */
.primary-nav { background: var(--navy); }
.primary-menu { display: flex; flex-wrap: wrap; align-items: center; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 15px;
	padding: 14px 18px; transition: background .15s;
}
.primary-menu > li > a:hover { background: rgba(255,255,255,.10); color: #fff; }
.primary-menu .menu-item--sale > a { color: #ffd2cf; }
.primary-menu .icon--caret { transition: transform .15s; }
.primary-menu .sub-menu {
	position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 230px; background: #fff;
	box-shadow: var(--shadow); border-radius: 0 0 10px 10px; padding: 8px; z-index: 60;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.primary-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 7px; color: var(--ink); font-size: 14.5px; }
.primary-menu .sub-menu a:hover { background: var(--bg-alt); color: var(--navy); }

/* Mobile drawer */
.mobile-drawer {
	position: fixed; inset-block: 0; inset-inline-start: 0; width: 320px; max-width: 86vw; background: #fff;
	z-index: 200; transform: translateX(-105%); transition: transform .28s ease; display: flex; flex-direction: column;
	box-shadow: var(--shadow-lg);
}
[dir="rtl"] .mobile-drawer { transform: translateX(105%); }   /* RTL: hide off the right edge */
body.drawer-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--navy); color: #fff; font-weight: 800; }
.mobile-drawer__close { background: transparent; border: 0; color: #fff; padding: 4px; }
.mobile-drawer__body { padding: 14px 16px; overflow-y: auto; }
.mobile-menu li a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-menu li a:hover { color: var(--accent); }
.mobile-drawer__contact { display: grid; gap: 10px; margin-top: 18px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(14,24,63,.5); z-index: 150; }

/* ========================================== HOMEPAGE HERO ROW + CATEGORY RAIL */
.home-hero-row { display: grid; grid-template-columns: 272px 1fr; gap: 18px; padding-block: 22px; align-items: stretch; }
.home-hero-row__main { min-width: 0; }
.cat-rail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.cat-rail__head { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; padding: 14px 18px; }
.cat-rail__head .icon { width: 20px; height: 20px; }
.cat-rail__list { flex: 1; display: flex; flex-direction: column; }
.cat-rail__item { border-bottom: 1px solid var(--line); }
.cat-rail__item:last-child { border-bottom: 0; }
.cat-rail__item a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--ink); font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s; }
.cat-rail__item a:hover { background: var(--bg-alt); color: var(--accent); }
.cat-rail__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft) center/cover no-repeat; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.cat-rail__name { flex: 1; display: flex; align-items: center; gap: 8px; }
.cat-rail__name .icon { width: 18px; height: 18px; color: var(--accent); }
.cat-rail__chev { color: var(--muted); display: flex; }
.cat-rail__chev .icon { width: 15px; height: 15px; transform: scaleX(-1); }
.cat-rail__item a:hover .cat-rail__chev { color: var(--accent); }
.cat-rail__item--all a { background: var(--bg-alt); font-weight: 800; color: var(--navy); }
.cat-rail__item--all a:hover { background: var(--navy); color: #fff; }

/* ================================================================ HERO SLIDER */
.hero-slider { position: relative; overflow: hidden; background: var(--navy-dark); border-radius: var(--radius); height: 100%; }
.hero-slider__track { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease; background-size: cover; background-position: center; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,24,63,.94) 0%, rgba(14,24,63,.80) 45%, rgba(14,24,63,.35) 100%); }
.hero-slide__inner { position: relative; z-index: 2; min-height: 462px; display: flex; align-items: center; padding: 48px 50px; }
.hero-slide__content { max-width: 560px; color: #fff; }
.hero-slide__eyebrow { font-weight: 700; color: #ffd2cf; margin: 0 0 14px; font-size: 15px; }
.hero-slide__title { color: #fff; font-size: clamp(28px, 4vw, 50px); font-weight: 900; line-height: 1.12; margin: 0 0 18px; }
.hero-slide__title span { color: #ff6a5f; }
.hero-slide__text { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.92); margin: 0 0 28px; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slider .btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-slider .btn--outline:hover { background: #fff; color: var(--navy); }
.hero-slider__arrow { position: absolute; inset-block-start: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .15s; }
.hero-slider__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-slider__arrow--prev { inset-inline-start: 18px; }
.hero-slider__arrow--next { inset-inline-end: 18px; }
.hero-slider__arrow--next .icon { transform: scaleX(-1); }
.hero-slider__dots { position: absolute; inset-block-end: 18px; inset-inline-start: 0; inset-inline-end: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-slider__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: all .15s; }
.hero-slider__dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

/* USP bar */
.usp-bar { background: #fff; border-bottom: 1px solid var(--line); }
.usp-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 18px; }
.usp { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.usp .icon { width: 30px; height: 30px; color: var(--accent); flex: none; }
.usp strong { display: block; color: var(--navy); font-size: 15px; }

/* =============================================================== SECTIONS */
.home-section { padding-block: 56px; }
.home-section--alt { background: var(--bg-alt); }
.home-section--cats { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__title { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.section-head__title .icon { color: var(--accent); width: 26px; height: 26px; }
.section-head__title--sale { color: var(--accent); }
.section-head__sub { color: var(--muted); margin: 8px 0 0; font-size: 16px; }
.section-head__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.section-head__link .icon { width: 18px; height: 18px; transform: scaleX(-1); }
.section-head__link:hover { color: var(--accent); }

/* Category grid — full-bleed image tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.cat-card { list-style: none; }
.cat-card__link { position: relative; display: block; height: 240px; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-sm); }
.cat-card__media { position: absolute; inset: 0; background: var(--navy-light) center/cover no-repeat; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-card__link:hover .cat-card__media { transform: scale(1.09); }
.cat-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,46,.94) 6%, rgba(11,18,46,.55) 42%, rgba(11,18,46,.10) 100%); transition: background .25s; }
.cat-card__link:hover .cat-card__shade { background: linear-gradient(to top, rgba(11,18,46,.96) 6%, rgba(20,32,82,.62) 45%, rgba(226,35,26,.18) 100%); }
.cat-card__content { position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 2; padding: 18px 18px 20px; color: #fff; }
.cat-card__name { display: block; font-size: 18px; font-weight: 800; line-height: 1.25; }
.cat-card__count { display: inline-block; font-size: 12.5px; font-weight: 600; opacity: .9; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.cat-card__cta { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-8px) scale(.85); transition: opacity .25s, transform .25s; }
.cat-card__cta .icon { width: 18px; height: 18px; }
.cat-card__link:hover { box-shadow: var(--shadow-lg); }
.cat-card__link:hover .cat-card__cta { opacity: 1; transform: translateY(0) scale(1); }
.cat-card__link::after { content: ""; position: absolute; inset-block-end: 0; inset-inline: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: inline-start; transition: transform .3s; z-index: 3; }
.cat-card__link:hover::after { transform: scaleX(1); }

/* Promo banners */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 230px; display: flex; }
.promo-card--navy { background: linear-gradient(120deg, var(--navy), var(--navy-light)); }
.promo-card--red { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); }
.promo-card::after { content: ""; position: absolute; inset-block-start: -60px; inset-inline-start: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.promo-card__body { position: relative; z-index: 2; padding: 32px; color: #fff; align-self: center; }
.promo-card__eyebrow { font-weight: 700; opacity: .85; margin: 0 0 8px; }
.promo-card__title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 10px; }
.promo-card__text { color: rgba(255,255,255,.9); margin: 0 0 20px; }

/* Brands — animated infinite marquee */
.brand-marquee { position: relative; overflow: hidden; padding-block: 8px; margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.brand-track { display: flex; align-items: center; width: max-content; direction: ltr; animation: brand-scroll 48s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.brand-logo { flex: none; width: 230px; height: 138px; margin-inline: 9px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 14px 18px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.brand-logo:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
	.brand-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
	.brand-marquee { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
	.brand-logo { width: 180px; height: 116px; margin-inline: 7px; padding: 12px 16px; }
}

/* About */
.home-section--about { background: var(--navy); color: #fff; }
.home-section--about .section-head__title { color: #fff; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about-grid__text p { color: rgba(255,255,255,.88); font-size: 17px; }
.about-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.about-list .icon { color: #ff8a80; width: 24px; height: 24px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-section--about .btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.home-section--about .btn--outline:hover { background: #fff; color: var(--navy); }
.about-grid__card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.about-grid__card h3 { color: var(--navy); font-size: 22px; }
.about-contact { display: grid; gap: 14px; margin: 16px 0 22px; }
.about-contact li { display: flex; align-items: flex-start; gap: 12px; }
.about-contact .icon { color: var(--accent); width: 22px; height: 22px; flex: none; }

/* ================================================================= FOOTER */
.footer-benefits { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.footer-benefit { display: flex; align-items: center; gap: 14px; }
.footer-benefit .icon { width: 38px; height: 38px; color: var(--accent); flex: none; }
.footer-benefit strong { display: block; color: var(--navy); font-size: 16px; }
.footer-benefit span { color: var(--muted); font-size: 13.5px; }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.78); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; padding-block: 52px; }
.footer-col__title { color: #fff; font-size: 18px; margin-bottom: 18px; }
.footer-about-text { font-size: 14.5px; line-height: 1.7; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { max-height: 60px; width: auto; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.10); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; text-transform: lowercase; }
.footer-social a:hover { background: var(--accent); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.footer-links a:hover { color: #fff; padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact .icon { width: 20px; height: 20px; color: #ff8a80; flex: none; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: #fff; }
.site-footer__bottom { background: rgba(0,0,0,.25); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.copyright { margin: 0; font-size: 13.5px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icons span { background: rgba(255,255,255,.12); border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 600; color: #fff; }

/* Floating buttons */
.float-whatsapp { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 120; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.45); transition: transform .15s ease, box-shadow .15s ease; }
.float-whatsapp:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(37,211,102,.55); }
.float-whatsapp .icon { width: 30px; height: 30px; }
.back-to-top { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 120; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============================================================ PAGE / BLOG */
.page-shell { padding-block: 40px 60px; }
.page-head { margin-bottom: 26px; }
.page-head__title { font-size: clamp(26px, 3vw, 38px); }
.page-head__meta, .page-head__desc { color: var(--muted); }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); margin: 1em 0; }
.single-post__thumb, .single-page__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__thumb img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.post-card__title { font-size: 19px; margin: 0; }
.post-card__meta { color: var(--muted); font-size: 13px; margin: 0; }
.no-results, .no-products { color: var(--muted); padding: 30px 0; }

/* Pagination */
.pagination, .woocommerce-pagination { margin-top: 36px; }
.pagination .nav-links, .woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span, .woocommerce-pagination a, .woocommerce-pagination span {
	min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy);
}
.pagination .current, .woocommerce-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================= RESPONSIVE */
@media (max-width: 1024px) {
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
	.header-action__label { display: none; }
}

@media (max-width: 880px) {
	.primary-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.topbar__hours { display: none; }
	.home-hero-row { grid-template-columns: 1fr; padding-block: 14px; }
	.cat-rail { display: none; }
	.hero-slide__inner { min-height: 360px; padding: 36px 30px; }
	.usp-bar__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.about-grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.header-main__inner { flex-wrap: wrap; gap: 12px 16px; min-height: 0; padding-block: 14px; }
	.header-search { order: 3; flex-basis: 100%; }
	.site-branding { margin-inline-end: auto; }
	.promo-grid { grid-template-columns: 1fr; }
	.footer-benefits__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.section-head--center { align-items: center; }
}

@media (max-width: 560px) {
	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.cat-card__link { height: 180px; }
	.cat-card__name { font-size: 15px; }
	.post-grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; gap: 28px; }
	.topbar__promo { font-size: 12px; }
	.topbar__contact { margin-inline-start: auto; }
	.hero-slide__actions .btn { flex: 1; }
	.hero-slide__inner { min-height: 340px; }
	.usp-bar__grid { grid-template-columns: 1fr; }
	.hero-slider__arrow { display: none; }
	.site-footer__bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
	.footer-benefits__grid { grid-template-columns: 1fr; }
}
