/* /shop shell (Phase 1): header, menu, footer. Mobile first.
   Tokens from the FrameStore Print design system, prefixed so they never clash with Elementor. */
.cfs-shell {
	--cfs-ink: #1a1a1a;
	--cfs-text-strong: #1a1a1a;
	--cfs-text-body: #333333;
	--cfs-text-muted: #555555;
	--cfs-surface: #ffffff;
	--cfs-surface-sunken: #f1f1f1;
	--cfs-line: #e4e4e4;
	--cfs-primary: #da3832;
	--cfs-on-primary: #ffffff;
	--cfs-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0090a0;
	--cfs-shadow-lg: 0 18px 48px #1a1a1a24;
	--cfs-radius-sm: 5px;
	--cfs-font-display: Poppins, "Helvetica Neue", Arial, sans-serif;
	--cfs-font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
	font-family: var(--cfs-font-body);
	-webkit-font-smoothing: antialiased;
}
/* style.css pads the body (101px, 57px on phones) for the old fixed ElementsKit header. Our header is in flow. */
body { padding-top: 0; }
.cfs-shell *, .cfs-shell *::before, .cfs-shell *::after { box-sizing: inherit; }
.cfs-shell a { text-decoration: none; }
.cfs-shell .cfs-icon { display: block; flex: none; }
.cfs-shell button { font: inherit; margin: 0; }

/* Offer bar */
.cfs-offer { background: var(--cfs-ink); color: #fff; padding: 8px 16px; text-align: center; }
.cfs-offer__text { margin: 0; font-size: 12px; line-height: 16px; color: #fff; }
.cfs-offer__wide { display: none; }

/* Header: compact by default */
.cfs-header {
	position: relative; z-index: 50;
	display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px;
	padding: 10px 16px; background: var(--cfs-surface); border-bottom: 1px solid var(--cfs-line);
}
.cfs-header__logo { justify-self: center; display: block; line-height: 0; }
.cfs-header__logo img { display: block; height: 32px; width: auto; max-width: none; }
.cfs-header__nav, .cfs-header__phone { display: none; }
.cfs-header .cfs-header__menu,
.cfs-header .cfs-header__cart {
	position: relative; width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
	background: none; border: 0; border-radius: var(--cfs-radius-sm); color: var(--cfs-text-strong); cursor: pointer;
}
.cfs-header .cfs-header__menu:hover, .cfs-header .cfs-header__menu:focus { background: none; color: var(--cfs-text-strong); }
.cfs-header__count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--cfs-primary); color: var(--cfs-on-primary);
	font-family: var(--cfs-font-display); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.cfs-header__count[data-count="0"] { display: none; }
.cfs-shell a:focus-visible, .cfs-shell button:focus-visible { outline: none; box-shadow: var(--cfs-focus-ring); }

/* Phone menu */
.cfs-menu { position: fixed; inset: 0; z-index: 99999; background: rgba(26, 26, 26, .45); }
.cfs-menu[hidden] { display: none; }
.cfs-menu__panel {
	background: var(--cfs-surface); box-shadow: var(--cfs-shadow-lg); padding: 20px 20px 24px;
	display: flex; flex-direction: column; gap: 4px; max-height: 100%; overflow-y: auto;
}
.cfs-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cfs-menu__top img { display: block; height: 32px; width: auto; }
.cfs-menu .cfs-menu__close {
	width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
	background: none; border: 0; color: var(--cfs-text-strong); cursor: pointer; border-radius: var(--cfs-radius-sm);
}
.cfs-menu__nav { display: flex; flex-direction: column; border-bottom: 1px solid var(--cfs-line); }
.cfs-menu .cfs-menu__link {
	display: block; padding: 14px 0; border-top: 1px solid var(--cfs-line);
	font-family: var(--cfs-font-display); font-size: 18px; line-height: 24px; font-weight: 600; color: var(--cfs-text-strong);
}
.cfs-menu .cfs-menu__phone { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--cfs-text-body); }
.cfs-menu .cfs-menu__company { margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--cfs-text-muted); text-decoration: underline; text-underline-offset: 3px; }
html.cfs-menu-open, html.cfs-menu-open body { overflow: hidden; }

@media (min-width: 768px) {
	.cfs-offer { padding: 10px 48px; }
	.cfs-offer__text { font-size: 14px; line-height: 20px; }
	.cfs-offer__wide { display: inline; }
}

/* Full header from 960px */
@media (min-width: 960px) {
	.cfs-header { display: flex; gap: 32px; padding: 14px 32px; }
	.cfs-header .cfs-header__menu { display: none; }
	.cfs-header__logo { flex: none; }
	.cfs-header__logo img { height: 40px; }
	.cfs-header__nav { display: flex; gap: 4px; margin-left: auto; }
	.cfs-header .cfs-header__link {
		font-family: var(--cfs-font-display); font-size: 15px; line-height: 22px; font-weight: 500;
		color: var(--cfs-text-strong); padding: 8px 12px; border-radius: var(--cfs-radius-sm);
	}
	.cfs-header .cfs-header__link:hover { background: var(--cfs-surface-sunken); color: var(--cfs-text-strong); }
	.cfs-header .cfs-header__link.is-active { box-shadow: inset 0 -2px 0 var(--cfs-ink); border-radius: 0; }
	.cfs-header .cfs-header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--cfs-text-muted); white-space: nowrap; }
	.cfs-header .cfs-header__phone:hover { color: var(--cfs-text-strong); }
	.cfs-menu { display: none !important; }
}

/* Footer: stacked by default */
.cfs-footer { background: var(--cfs-ink); color: #fff; margin-top: 48px; }
.cfs-footer__inner { max-width: 1380px; margin: 0 auto; padding: 40px 16px 24px; }
.cfs-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.cfs-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.cfs-footer__brand img { display: block; height: 40px; width: auto; align-self: flex-start; }
.cfs-footer__brand p { margin: 0; font-size: 14px; line-height: 20px; color: #fff; opacity: .8; max-width: 34ch; }
.cfs-footer__col { display: flex; flex-direction: column; gap: 10px; }
.cfs-footer .cfs-footer__title {
	margin: 0 0 6px; font-family: var(--cfs-font-display); font-size: 12px; line-height: 16px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .6;
}
.cfs-footer a { color: #fff; opacity: .86; font-size: 14px; line-height: 20px; padding: 2px 0; }
.cfs-footer a:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cfs-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px;
	margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.cfs-footer__legal p { margin: 0; font-size: 12px; line-height: 16px; color: #fff; opacity: .6; }
.cfs-footer__legal-links { display: flex; gap: 20px; }
.cfs-footer .cfs-footer__legal-links a { font-size: 12px; line-height: 16px; }
/* Phones: the product page's fixed add-to-cart bar (style.css, max-width 767px) covers the last ~80px. */
@media (max-width: 767px) {
	body.single-product .cfs-footer__inner { padding-bottom: 104px; }
}

@media (min-width: 600px) {
	.cfs-footer__grid { grid-template-columns: 1fr 1fr; }
	.cfs-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
	.cfs-footer__inner { padding: 48px 40px 24px; }
	.cfs-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
	.cfs-footer__brand { grid-column: auto; }
}
