/* ==========================================================================
   LogiStore – base theme styles
   Colors/fonts are also registered as Elementor Global Colors/Fonts by the
   demo setup, so you can change them in Elementor → Site Settings.
   ========================================================================== */
:root {
	--ls-primary: #0C3B4A;
	--ls-primary-2: #008080;
	--ls-accent: #FF8C42;
	--ls-accent-dark: #E86F22;
	--ls-text: #4A5568;
	--ls-heading: #0C3B4A;
	--ls-light: #F4F6FA;
	--ls-border: #E2E8F0;
	--ls-white: #FFFFFF;
	--ls-radius: 8px;
	--ls-shadow: 0 10px 30px rgba(12, 59, 74, .08);
	--ls-font-head: "Poppins", system-ui, sans-serif;
	--ls-font-body: "Inter", system-ui, sans-serif;
	--ls-container: 1200px;
}

body {
	font-family: var(--ls-font-body);
	color: var(--ls-text);
	background: var(--ls-white);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ls-font-head);
	color: var(--ls-heading);
	line-height: 1.25;
	font-weight: 700;
}
a { color: var(--ls-accent); transition: color .2s; }
a:hover { color: var(--ls-accent-dark); }
img { max-width: 100%; height: auto; }

.ls-container {
	max-width: var(--ls-container);
	margin: 0 auto;
	padding: 0 20px;
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* Buttons ---------------------------------------------------------------- */
.ls-btn,
.elementor-button.ls-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--ls-accent); color: #fff !important;
	font-family: var(--ls-font-head); font-weight: 600; font-size: 15px;
	padding: 14px 28px; border-radius: var(--ls-radius); border: 0;
	text-decoration: none; transition: background .2s, transform .2s;
}
.ls-btn:hover { background: var(--ls-accent-dark); transform: translateY(-2px); }
.ls-btn--sm { padding: 10px 20px; font-size: 14px; }

/* Top bar ---------------------------------------------------------------- */
.ls-topbar { background: var(--ls-primary); color: #C9D3E0; font-size: 13px; }
.ls-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; flex-wrap: wrap; }
.ls-topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.ls-topbar a { color: #C9D3E0; text-decoration: none; }
.ls-topbar a:hover { color: #fff; }
.ls-ico { color: var(--ls-accent); margin-right: 6px; }

/* Header ----------------------------------------------------------------- */
.ls-header {
	position: sticky; top: 0; z-index: 999;
	background: #fff; border-bottom: 1px solid var(--ls-border);
	transition: box-shadow .25s;
}
.admin-bar .ls-header { top: 32px; }
.ls-header.is-scrolled { box-shadow: var(--ls-shadow); }
.ls-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.ls-header__brand img, .ls-header__brand .custom-logo { max-height: 56px; width: auto; display: block; }
.ls-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.ls-nav__list > li { position: relative; }
.ls-nav__list a {
	display: block; padding: 10px 14px; color: var(--ls-heading);
	font-family: var(--ls-font-head); font-weight: 500; font-size: 15px; text-decoration: none;
}
.ls-nav__list a:hover,
.ls-nav__list .current-menu-item > a,
.ls-nav__list .current_page_item > a { color: var(--ls-accent); }
.ls-nav__list .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px 0; margin: 0;
	background: #fff; box-shadow: var(--ls-shadow); border-radius: var(--ls-radius);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.ls-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ls-header__actions { display: flex; align-items: center; gap: 18px; }
.ls-cart { position: relative; color: var(--ls-heading); display: inline-flex; }
.ls-cart__count {
	position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px;
	background: var(--ls-accent); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.ls-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.ls-menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--ls-heading); margin: 5px 0; transition: .25s; }
.ls-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ls-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.ls-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.ls-menu-toggle { display: block; order: 3; }
	.ls-header__actions .ls-btn { display: none; }
	.ls-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: #fff;
		box-shadow: var(--ls-shadow); max-height: 0; overflow: hidden; transition: max-height .3s;
	}
	.ls-nav.is-open { max-height: 80vh; overflow: auto; }
	.ls-nav__list { flex-direction: column; padding: 10px 20px; }
	.ls-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
}
@media (max-width: 782px) { .admin-bar .ls-header { top: 46px; } }
@media (max-width: 600px) { .ls-topbar__hours { display: none; } }

/* Page banner (shop / inner pages without Elementor) ----------------------- */
.ls-page-banner {
	position: relative; background: var(--ls-primary) center/cover no-repeat; padding: 90px 0; margin-bottom: 60px;
}
.ls-page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(12, 59, 74, .75); }
.ls-page-banner .ls-container { position: relative; }
.ls-page-banner h1 { color: #fff; margin: 0; font-size: clamp(32px, 5vw, 48px); }

/* Footer ----------------------------------------------------------------- */
.ls-footer { background: var(--ls-primary); color: #A9B6C8; font-size: 15px; }
.ls-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 80px; padding-bottom: 60px;
}
.ls-footer h4 { color: #fff; font-size: 18px; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.ls-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--ls-accent); border-radius: 2px; }
.ls-footer__about img { max-height: 56px; width: auto; margin-bottom: 18px; }
.ls-footer a { color: #A9B6C8; text-decoration: none; }
.ls-footer a:hover { color: var(--ls-accent); }
.ls-footer__links, .ls-footer__contact { list-style: none; margin: 0; padding: 0; }
.ls-footer__links li, .ls-footer__contact li { margin-bottom: 10px; }
.ls-social { display: flex; gap: 10px; margin-top: 18px; }
.ls-social a {
	width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.ls-social a:hover { background: var(--ls-accent); color: #fff; }
.ls-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 14px; text-align: center; }
@media (max-width: 1024px) { .ls-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ls-footer__grid { grid-template-columns: 1fr; padding-top: 56px; } }

/* Elementor helpers (added as CSS classes in the demo templates) ----------- */
.ls-card { background: #fff; border-radius: 12px; box-shadow: var(--ls-shadow); transition: transform .25s, box-shadow .25s; }
.ls-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 59, 74, .14); }
.ls-eyebrow .elementor-heading-title { letter-spacing: 2px; text-transform: uppercase; }

/* Default (non-Elementor) content ----------------------------------------- */
.site-main:not(.ls-woo-main) .page-content,
.site-main:not(.ls-woo-main) .page-header { max-width: var(--ls-container); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* Forms ------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="search"], select, textarea {
	border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 12px 14px; font-size: 15px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ls-accent); box-shadow: 0 0 0 3px rgba(255, 140, 66, .15); }

/* Product search --------------------------------------------------------- */
.ls-header__search { flex: 1; max-width: 560px; }
.ls-search { display: flex; align-items: stretch; border: 2px solid var(--ls-border); border-radius: 30px; overflow: hidden; background: #fff; }
.ls-search:focus-within { border-color: var(--ls-primary-2); }
.ls-search__cat { border: 0 !important; border-right: 1px solid var(--ls-border) !important; border-radius: 0 !important; background: var(--ls-light) !important; padding: 0 12px !important; max-width: 150px; font-size: 14px; }
.ls-search__input { flex: 1; border: 0 !important; box-shadow: none !important; padding: 10px 14px !important; min-width: 0; }
.ls-search__btn { border: 0; background: var(--ls-primary-2); color: #fff; padding: 0 18px; cursor: pointer; }
.ls-search__btn:hover { background: var(--ls-primary); }
@media (max-width: 1024px) { .ls-header__inner { flex-wrap: wrap; } .ls-header__search { order: 5; flex-basis: 100%; max-width: none; padding-bottom: 12px; } }

/* Product carousel ------------------------------------------------------- */
.ls-carousel { position: relative; }
.ls-carousel__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ls-carousel__track::-webkit-scrollbar { display: none; }
.woocommerce .ls-carousel__list.products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); grid-template-columns: none; gap: 24px; margin: 0; padding: 6px 2px 16px; }
.ls-carousel__list li.product { scroll-snap-align: start; }
.ls-carousel__nav { position: absolute; top: 40%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--ls-shadow); font-size: 28px; line-height: 1; color: var(--ls-primary); cursor: pointer; }
.ls-carousel__nav:hover { background: var(--ls-accent); color: #fff; }
.ls-carousel__nav--prev { left: -18px; }
.ls-carousel__nav--next { right: -18px; }
@media (max-width: 1024px) { .woocommerce .ls-carousel__list.products { grid-auto-columns: calc((100% - 2 * 24px) / 3); } }
@media (max-width: 767px) { .woocommerce .ls-carousel__list.products { grid-auto-columns: 70%; } .ls-carousel__nav { display: none; } }
