/* AI Printers Storefront — design system
   Ink navy + process blue from the logo, CMYK accents used sparingly as a print-shop signature. */
:root {
	--aip-ink: #10164a;
	--aip-ink-2: #1e2766;
	--aip-blue: #005bdc;
	--aip-cyan: #00a2fb;
	--aip-magenta: #e5007d;
	--aip-yellow: #ffc20e;
	--aip-paper: #f4f7fd;
	--aip-paper-2: #eaf0fb;
	--aip-line: #dbe2ed;
	--aip-text: #2f3650;
	--aip-muted: #626b84;
	--aip-ok: #0a875a;
	--aip-radius: 14px;
	--aip-radius-sm: 10px;
	--aip-shadow: 0 1px 2px rgba(16, 22, 74, .06), 0 8px 24px rgba(16, 22, 74, .07);
	--aip-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--aip-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rz-color-primary: #005bdc;
	--rz-color-primary-light: #e8f0fd;
	--rz-background-color-primary: #005bdc;
	--rz-border-color-primary: #005bdc;
}

/* ---------- Base ---------- */
body.theme-razzi { color: var(--aip-text); -webkit-font-smoothing: antialiased; }
body.theme-razzi h1, body.theme-razzi h2, body.theme-razzi h3,
body.theme-razzi .product_title, body.theme-razzi .woocommerce-loop-product__title,
body.theme-razzi .page-header__title { font-family: var(--aip-head); color: var(--aip-ink); letter-spacing: -.01em; }
body.theme-razzi a:focus-visible, body.theme-razzi button:focus-visible, body.theme-razzi input:focus-visible,
body.theme-razzi select:focus-visible, body.theme-razzi textarea:focus-visible { outline: 2px solid var(--aip-blue); outline-offset: 2px; }
.aip-sr-h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Typography: Bricolage Grotesque (display) + Figtree (text & UI) */
body.theme-razzi,
body.theme-razzi :is(p, li, a, label, input, select, textarea, button, td, th, dd, dt, small, strong, b, em, blockquote, figcaption, .button, .elementor-button-text, .elementor-widget-text-editor, .elementor-icon-list-text, .price, .amount, .woocommerce-Price-amount, .wc-block-components-product-name),
body.theme-razzi span:where(:not([class*="icon"]):not([class*="eicon"]):not([class^="fa"]):not([class*=" fa-"]):not(.screen-reader-text)) {
	font-family: var(--aip-body) !important;
}
body.theme-razzi :is(h1, h2, h3, h4, .elementor-heading-title, .product_title, .woocommerce-loop-product__title, .page-header__title, .aip-shop-head__title, .widget-title, .wc-block-cart__totals-title, .related > h2) ,
body.theme-razzi :is(h1, h2, h3, h4) :is(a, span:not([class*="icon"])) {
	font-family: var(--aip-head) !important;
	font-optical-sizing: auto;
	letter-spacing: -0.02em;
}
body.theme-razzi :is(h1, .product_title, .aip-shop-head__title) { font-weight: 700; }
body.theme-razzi :is(h2, h3, .elementor-heading-title) { font-weight: 700; }
body.theme-razzi :is(h4, h5, h6) { font-family: var(--aip-body) !important; font-weight: 700; letter-spacing: 0; }
body.theme-razzi .main-navigation a, body.theme-razzi .menu a { font-weight: 600; letter-spacing: 0; }
body.theme-razzi { font-size: 16px; line-height: 1.6; }

/* Signature CMYK strip at the very top of the page */
body.theme-razzi::before {
	content: ""; display: block; height: 4px;
	background: linear-gradient(90deg, var(--aip-cyan) 0 25%, var(--aip-magenta) 25% 50%, var(--aip-yellow) 50% 75%, var(--aip-ink) 75% 100%);
}

/* ---------- Top bar & header ---------- */
#topbar.topbar { background: var(--aip-ink) !important; color: rgba(255, 255, 255, .86); border: 0; font-size: 13px; }
#topbar.topbar .razzi-topbar__text, #topbar.topbar .topbar-items, #topbar.topbar .socials-menu a, #topbar.topbar .menu a { color: rgba(255, 255, 255, .88) !important; }
#topbar.topbar a, #topbar .razzi-svg-icon { color: #fff; }
#topbar.topbar a:hover { color: var(--aip-yellow); }
.site-header .header-main, .site-header .header-contents { border-bottom-color: var(--aip-line); }
.site-header .main-navigation .nav-menu > li > a { font-weight: 600; color: var(--aip-ink); }
.site-header .main-navigation .nav-menu > li > a:hover,
.site-header .main-navigation .nav-menu > li.current-menu-item > a { color: var(--aip-blue); }
.site-header .header-cart .counter, .site-header .cart-counter, .site-header .counter { background: var(--aip-magenta); color: #fff; }

/* ---------- Buttons ---------- */
body.theme-razzi .button:not(.rz-loop_button):not(.wcboost-wishlist-button):not(.wcboost-products-compare-button):not(.razzi-qty-button),
body.theme-razzi .single-product div.product form.cart .single_add_to_cart_button,
body.theme-razzi .checkout-button, body.theme-razzi #place_order,
body.theme-razzi .wc-block-components-button:not(.is-link), body.theme-razzi .wpcf7-submit {
	background-color: var(--aip-ink) !important; border-color: var(--aip-ink) !important; color: #fff !important;
	border-radius: var(--aip-radius-sm); font-weight: 700; letter-spacing: .01em;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.theme-razzi .button:not(.rz-loop_button):not(.wcboost-wishlist-button):not(.wcboost-products-compare-button):not(.razzi-qty-button):hover,
body.theme-razzi .single-product div.product form.cart .single_add_to_cart_button:hover,
body.theme-razzi .checkout-button:hover, body.theme-razzi #place_order:hover,
body.theme-razzi .wc-block-components-button:not(.is-link):hover, body.theme-razzi .wpcf7-submit:hover {
	background-color: var(--aip-blue) !important; border-color: var(--aip-blue) !important;
	box-shadow: 0 6px 18px rgba(0, 91, 220, .25);
}
body.theme-razzi .single_add_to_cart_button:active { transform: translateY(1px); }
.single-product div.product .wcboost-wishlist-button, .single-product div.product .wcboost-products-compare-button {
	border-radius: var(--aip-radius-sm); border-color: var(--aip-line); color: var(--aip-ink);
}
.single-product div.product .wcboost-wishlist-button *, .single-product div.product .wcboost-products-compare-button * { background: transparent !important; }
.single-product div.product .wcboost-wishlist-button:hover, .single-product div.product .wcboost-products-compare-button:hover { border-color: var(--aip-blue); color: var(--aip-blue); }

/* ---------- Product cards ---------- */
ul.products li.product .product-inner { position: relative; }
ul.products li.product .product-thumbnail {
	border-radius: var(--aip-radius); overflow: hidden; background: var(--aip-paper);
	box-shadow: inset 0 0 0 1px var(--aip-line);
}
ul.products li.product .product-thumbnail img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
ul.products li.product:hover .product-thumbnail img { transform: scale(1.04); }
ul.products li.product .meta-cat, ul.products li.product .product-cat, ul.products li.product .meta-cat a {
	font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--aip-blue);
}
ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
ul.products li.product .woocommerce-loop-product__title a { color: var(--aip-ink); }
ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--aip-blue); }
ul.products li.product .price { color: var(--aip-ink); font-weight: 700; font-size: 16px; }
ul.products li.product .price .woocommerce-Price-currencySymbol { font-weight: 600; font-size: .82em; color: var(--aip-muted); }
ul.products li.product .product-loop__buttons .button,
ul.products li.product .product-loop__buttons a { border-radius: 999px; }

/* Home: remove the empty band between header and hero slider */
.home .elementor-element-a1cb34e { padding-top: 0 !important; }

/* ---------- Catalogue header ---------- */
.aip-shop-head { margin: 8px 0 28px; }
.aip-crumbs { font-size: 13px; color: var(--aip-muted); margin-bottom: 14px; }
.aip-crumbs a { color: var(--aip-muted); }
.aip-crumbs a:hover { color: var(--aip-blue); }
.aip-crumbs span { margin: 0 8px; opacity: .5; }
.aip-shop-head__row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--aip-line); }
.aip-shop-head__title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 10px; font-weight: 600; }
.aip-shop-head__intro { margin: 0; max-width: 62ch; color: var(--aip-muted); font-size: 16px; }
.aip-shop-head__quote { display: inline-flex; gap: 6px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--aip-paper); color: var(--aip-ink); font-size: 14px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--aip-line); }
.aip-shop-head__quote b { color: var(--aip-blue); }
.aip-shop-head__quote:hover { background: var(--aip-paper-2); }
.aip-chips { position: relative; display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 6px; }
.aip-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--aip-ink); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--aip-line); transition: all .15s ease; }
.aip-chip span { font-size: 12px; font-weight: 700; color: var(--aip-muted); background: var(--aip-paper); border-radius: 999px; padding: 1px 8px; }
.aip-chip:hover { box-shadow: inset 0 0 0 1.5px var(--aip-blue); color: var(--aip-blue); }
.aip-chip.is-active { background: var(--aip-ink); color: #fff; box-shadow: none; }
.aip-chip.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
.aip-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.aip-toolbar .woocommerce-result-count { margin: 0; color: var(--aip-muted); font-size: 14px; float: none; }
.aip-toolbar .woocommerce-ordering { margin: 0; float: none; }
.aip-toolbar .woocommerce-ordering select { border: 1px solid var(--aip-line); border-radius: var(--aip-radius-sm); padding: 9px 36px 9px 14px; font-weight: 600; color: var(--aip-ink); background-color: #fff; min-height: 42px; }

/* Theme duplicates of our catalogue header */
.post-type-archive-product .woocommerce-products-header .page-description { display: none; }
.razzi-catalog-page .catalog-toolbar .catalog-toolbar-tabs__title,
.razzi-catalog-page .catalog-toolbar .catalog-toolbar-tabs__content { display: none !important; }
@media (min-width: 1025px) { .razzi-catalog-page.sidebar-content .catalog-toolbar { display: none; } }
.razzi-catalog-page .widget-title, .razzi-catalog-page .products-filter__filter-name { font-family: var(--aip-head); color: var(--aip-ink); font-weight: 600; }

/* ---------- Single product ---------- */
.single-product div.product .product_title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.12; }
.single-product div.product .summary .price { color: var(--aip-ink); font-weight: 700; font-size: 26px; }
.single-product div.product .stock.in-stock { color: var(--aip-ok); font-weight: 700; }
.single-product div.product .woocommerce-product-gallery { border-radius: var(--aip-radius); overflow: hidden; background: var(--aip-paper); }
.single-product div.product .woocommerce-product-details__short-description { color: var(--aip-text); font-size: 16px; line-height: 1.65; }
.single-product div.product form.cart { flex-wrap: wrap; }
.single-product div.product form.cart .quantity { border-radius: var(--aip-radius-sm); }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 52px; }

/* Print details panel */
.aip-print { flex: 1 1 100%; width: 100%; margin: 4px 0 18px; padding: 18px; border-radius: var(--aip-radius); background: var(--aip-paper); box-shadow: inset 0 0 0 1px var(--aip-line); }
.aip-print__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--aip-ink); font-family: var(--aip-head); font-size: 17px; }
.aip-print__opt { margin-left: auto; font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--aip-muted); }
.aip-cmyk { display: inline-flex; gap: 3px; }
.aip-cmyk i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.aip-cmyk i:nth-child(1) { background: var(--aip-cyan); }
.aip-cmyk i:nth-child(2) { background: var(--aip-magenta); }
.aip-cmyk i:nth-child(3) { background: var(--aip-yellow); }
.aip-cmyk i:nth-child(4) { background: var(--aip-ink); }
.aip-drop { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border: 1.5px dashed #b7c4dc; border-radius: var(--aip-radius-sm); background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; margin: 0; }
.aip-drop:hover, .aip-drop.is-drag { border-color: var(--aip-blue); background: #f8fbff; }
.aip-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.aip-drop__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aip-paper-2); color: var(--aip-blue); }
.aip-drop__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aip-drop__text b { color: var(--aip-ink); font-size: 15px; }
.aip-drop__text small { color: var(--aip-muted); font-size: 12.5px; }
.aip-drop__file { font-size: 13px; font-weight: 700; color: var(--aip-ok); overflow-wrap: anywhere; }
.aip-drop.has-file { border-style: solid; border-color: var(--aip-ok); }
.aip-drop.has-file .aip-drop__icon { background: #e3f5ee; color: var(--aip-ok); }
.aip-drop.is-error { border-color: #d63638; }
.aip-drop.is-error .aip-drop__file { color: #d63638; }
.aip-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 12px; font-size: 14.5px; color: var(--aip-text); cursor: pointer; }
.aip-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--aip-blue); flex: 0 0 auto; }
.aip-notes { display: block; margin: 0; }
.aip-notes span { display: block; font-size: 13px; font-weight: 700; color: var(--aip-ink); margin-bottom: 6px; }
.aip-notes textarea { width: 100%; height: 88px !important; min-height: 72px; max-height: 220px; border: 1px solid var(--aip-line); border-radius: var(--aip-radius-sm); padding: 10px 12px; background: #fff; font-size: 15px; resize: vertical; }
.aip-notes textarea:focus { border-color: var(--aip-blue); }
form.cart.aip-uploading .single_add_to_cart_button { opacity: .7; pointer-events: none; }

/* Assurance block */
.aip-assure { margin: 22px 0 8px; display: grid; gap: 14px; }
.aip-quote { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: var(--aip-radius); background: var(--aip-ink); color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.45; position: relative; overflow: hidden; }
.aip-quote::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--aip-cyan), transparent 60%), radial-gradient(circle at 70% 70%, var(--aip-magenta), transparent 60%); opacity: .45; }
.aip-quote b { color: #fff; display: block; font-size: 15px; }
.aip-quote__cta { position: relative; z-index: 1; white-space: nowrap; font-weight: 700; color: var(--aip-ink); background: var(--aip-yellow); border-radius: 999px; padding: 10px 16px; }
.aip-quote:hover { color: #fff; }
.aip-quote:hover .aip-quote__cta { background: #fff; }
.aip-assure__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aip-assure__list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--aip-radius-sm); box-shadow: inset 0 0 0 1px var(--aip-line); font-size: 13px; color: var(--aip-muted); line-height: 1.35; }
.aip-assure__list li b { display: block; color: var(--aip-ink); font-size: 13.5px; }
.aip-assure__list li a { color: var(--aip-blue); font-weight: 700; }
.aip-ico { color: var(--aip-blue); flex: 0 0 auto; }

/* Tabs / related */
.single-product .woocommerce-tabs .tabs li a { font-family: var(--aip-head); font-weight: 600; }
.single-product .woocommerce-tabs .tabs li.active a { color: var(--aip-ink); }
.single-product .related.products > h2, .single-product .upsells.products > h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }

/* ---------- Cart (blocks) & checkout (classic) ---------- */
.wp-block-woocommerce-cart .wc-block-cart-items, .wp-block-woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-child,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block { border-radius: var(--aip-radius); }
.wp-block-woocommerce-cart .wc-block-cart__totals-title { font-family: var(--aip-head); color: var(--aip-ink); }
.wc-block-components-product-name { font-family: var(--aip-head); font-weight: 600; color: var(--aip-ink) !important; }
.wc-block-components-product-details { font-size: 13px; color: var(--aip-muted); }
.wc-block-components-product-details__name { font-weight: 700; color: var(--aip-ink); }
.woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-checkout-review-order { background: var(--aip-paper); border-radius: var(--aip-radius); padding: 22px; }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-family: var(--aip-head); font-weight: 600; color: var(--aip-ink); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single { border-radius: var(--aip-radius-sm) !important; border-color: var(--aip-line) !important; min-height: 46px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--aip-blue) !important; }
.woocommerce-checkout #payment { background: #fff; border-radius: var(--aip-radius-sm); box-shadow: inset 0 0 0 1px var(--aip-line); }
.woocommerce-checkout #payment div.payment_box { background: var(--aip-paper-2); border-radius: var(--aip-radius-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--aip-paper-2); }
.aip-checkout-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 16px; border-radius: var(--aip-radius-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--aip-line); font-size: 13.5px; line-height: 1.5; color: var(--aip-muted); }
.aip-checkout-note p { margin: 0; }
.aip-checkout-note b { color: var(--aip-ink); }
.aip-checkout-note a { color: var(--aip-blue); font-weight: 700; }
dl.variation, .wc-item-meta { font-size: 13px; color: var(--aip-muted); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--aip-blue) !important; border-radius: var(--aip-radius-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--aip-blue) !important; }

/* ---------- Account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--aip-blue); }
.woocommerce-account .woocommerce-orders-table .button { border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer .footer-widgets, .site-footer { border-top-color: var(--aip-line); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.aip-assure__list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.aip-shop-head { margin-bottom: 18px; }
	.aip-shop-head__row { padding-bottom: 16px; }
	.aip-shop-head__quote { width: 100%; justify-content: center; }
	.aip-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -15px; margin-right: -15px; padding: 2px 15px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.aip-chips::-webkit-scrollbar { display: none; }
	.aip-chip { flex: 0 0 auto; }
	.aip-toolbar { flex-wrap: wrap; }
	.aip-toolbar .woocommerce-ordering, .aip-toolbar .woocommerce-ordering select { width: 100%; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
	.aip-quote { flex-direction: column; align-items: flex-start; }
	.aip-print { padding: 14px; }
	.aip-drop { padding: 14px 12px; }
	.single-product div.product .summary .price { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	ul.products li.product .product-thumbnail img, body.theme-razzi .button { transition: none; }
}

/* Product pages: no sticky add-to-cart bar */
#razzi-sticky-add-to-cart, .razzi-sticky-add-to-cart { display: none !important; }

/* ---------- Contact Form 7: radio groups as selectable cards ---------- */
.wpcf7-form .wpcf7-radio { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 10px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item {
	position: relative; display: flex !important; align-items: center; margin: 0 !important; padding: 14px 16px; min-height: 56px;
	border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--aip-line); cursor: pointer;
	transition: box-shadow .15s ease, background-color .15s ease;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item input[type=radio] {
	position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important;
	opacity: 0; cursor: pointer; z-index: 2; appearance: none; -webkit-appearance: none;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
	display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--aip-ink);
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label::before {
	content: ""; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
	box-shadow: inset 0 0 0 2px #b7c4dc; transition: box-shadow .15s ease;
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item:hover { box-shadow: inset 0 0 0 1.5px var(--aip-blue); }
.wpcf7-form .wpcf7-radio .wpcf7-list-item:has(input:checked) { background: #f2f7ff; box-shadow: inset 0 0 0 2px var(--aip-blue); }
.wpcf7-form .wpcf7-radio .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label::before { box-shadow: inset 0 0 0 6px var(--aip-blue); }
.wpcf7-form .wpcf7-radio .wpcf7-list-item:has(input:focus-visible) { outline: 2px solid var(--aip-blue); outline-offset: 2px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item input[type=radio]:focus { outline: none; box-shadow: none; }
.wpcf7-form .wpcf7-checkbox input[type=checkbox], .wpcf7-form .wpcf7-acceptance input[type=checkbox] { width: 18px !important; height: 18px !important; accent-color: var(--aip-blue); vertical-align: -3px; }
@media (max-width: 600px) { .wpcf7-form .wpcf7-radio { grid-template-columns: 1fr; } }

/* ============================ FOOTER ============================ */
.site-footer.site-footer-dark {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column;
	background: #0b1038 !important; color: rgba(255, 255, 255, .7); border: 0 !important;
}
.site-footer.site-footer-dark::before { /* CMYK strip */
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
	background: linear-gradient(90deg, var(--aip-cyan) 0 25%, var(--aip-magenta) 25% 50%, var(--aip-yellow) 50% 75%, var(--aip-blue) 75%);
}
.site-footer.site-footer-dark::after { /* halftone + glow, same language as the hero */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(600px 380px at 92% 0%, rgba(0, 162, 251, .22), transparent 70%),
		radial-gradient(520px 340px at 0% 100%, rgba(229, 0, 125, .14), transparent 70%),
		radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.6px) 0 0 / 18px 18px;
}
.site-footer-dark .footer-container { position: relative; }

/* brand / contact band */
.aip-foot { order: 0; padding: 56px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.aip-foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 28px; flex-wrap: wrap; }
@media (min-width: 1100px) { .aip-foot__inner { flex-wrap: nowrap; } .aip-foot__actions { flex: 0 0 auto; flex-wrap: nowrap; } }
.aip-foot__brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
.aip-foot__logo { flex: 0 0 auto; display: grid; place-items: center; width: 150px; height: 86px; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); transform: rotate(-2deg); transition: transform .3s ease; }
.aip-foot__logo:hover { transform: rotate(0); }
.aip-foot__logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
body.theme-razzi .aip-foot__tag { margin: 0 0 6px; color: #fff !important; font-family: var(--aip-head) !important; font-weight: 800; font-size: clamp(22px, 1.9vw, 25px); line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; }
body.theme-razzi .aip-foot__sub { margin: 0; color: rgba(255, 255, 255, .62) !important; font-size: 14px; }
.aip-foot__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-footer-dark .aip-foot__chip {
	display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px;
	background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
	color: #fff !important; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none !important;
	transition: background-color .2s ease, box-shadow .2s ease;
}
.site-footer-dark .aip-foot__chip:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff !important; }
.aip-foot__chip small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 2px; }
.aip-foot__ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--aip-cyan); color: #fff; }
.aip-foot__ico[data-c="m"] { background: var(--aip-magenta); }
.site-footer-dark .aip-foot__quote {
	display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 12px;
	background: var(--aip-yellow); color: var(--aip-ink) !important; font-weight: 800; font-size: 15px; text-decoration: none !important;
	transition: background-color .2s ease, transform .2s ease;
}
.site-footer-dark .aip-foot__quote:hover { background: #fff; color: var(--aip-ink) !important; }
.site-footer-dark .aip-foot__quote svg { transition: transform .2s ease; }
.site-footer-dark .aip-foot__quote:hover svg { transform: translateX(3px); }
body.aip-home .aip-foot__quote { display: none; } /* the homepage CTA sits directly above */

/* widgets */
.site-footer-dark .footer-widgets { order: 1; padding: 52px 0 34px !important; border: 0 !important; background: none !important; }
.site-footer-dark .footer-widgets-area-1 > .widget_block:not(.widget_text),
.site-footer-dark .widget-title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important;
	color: #fff !important; font-family: var(--aip-body) !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .14em !important; text-transform: uppercase;
}
.site-footer-dark .footer-widgets-area-1 > .widget_block:not(.widget_text)::before,
.site-footer-dark .widget-title::before { content: ""; flex: 0 0 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--aip-cyan) 0 33%, var(--aip-magenta) 33% 66%, var(--aip-yellow) 66%); }
.site-footer-dark .widget-title .razzi-svg-icon { margin-left: auto; color: rgba(255, 255, 255, .6); }
.site-footer-dark .widget { margin-bottom: 18px; }
.site-footer-dark .footer-widgets p, .site-footer-dark .footer-widgets .textwidget { color: rgba(255, 255, 255, .66) !important; font-size: 15px; line-height: 1.7; }
.site-footer-dark .footer-widgets-area-1 p { max-width: 34ch; }
.site-footer-dark .widget_nav_menu ul { margin: 0; padding: 0; list-style: none; }
.site-footer-dark .widget_nav_menu li { margin: 0 0 10px; padding: 0; }
.site-footer-dark .widget_nav_menu li a {
	position: relative; display: inline-flex; align-items: center; gap: 0; padding: 0;
	color: rgba(255, 255, 255, .78) !important; font-size: 15px; font-weight: 500; text-decoration: none !important;
	transition: color .18s ease, gap .18s ease;
}
.site-footer-dark .widget_nav_menu li a::before { content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--aip-yellow); transition: width .18s ease, margin .18s ease; }
.site-footer-dark .widget_nav_menu li a:hover { color: #fff !important; }
.site-footer-dark .widget_nav_menu li a:hover::before { width: 12px; margin-right: 8px; }
.site-footer-dark .aipi-row { margin: 0 0 14px; }
.site-footer-dark .aipi-row p { margin: 0; }
.site-footer-dark .aipi-lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 3px; }
.site-footer-dark .aipi-row a { color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.site-footer-dark .aipi-row a.aipi-big { font-family: var(--aip-head) !important; font-size: 22px; letter-spacing: -0.01em; }
.site-footer-dark .aipi-row a:hover { color: var(--aip-yellow) !important; }

/* oversized outline wordmark */
.aip-foot__mark { order: 2; position: relative; overflow: hidden; height: clamp(54px, 11vw, 168px); pointer-events: none; user-select: none; }
.aip-foot__mark span {
	position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap;
	font-family: var(--aip-head) !important; font-weight: 800; font-size: clamp(72px, 15.5vw, 236px); line-height: .9; letter-spacing: -0.05em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
	background: linear-gradient(90deg, rgba(0, 162, 251, .11), rgba(229, 0, 125, .10) 50%, rgba(255, 194, 14, .10));
	-webkit-background-clip: text; background-clip: text;
}

/* bottom bar */
.site-footer-dark .footer-main { order: 3; position: relative; z-index: 1; padding: 20px 0 !important; background: rgba(0, 0, 0, .28) !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; }
.site-footer-dark .footer-main .copyright { color: rgba(255, 255, 255, .6) !important; font-size: 14px; }
.site-footer-dark .footer-main .copyright a { color: var(--aip-cyan) !important; font-weight: 600; }
.site-footer-dark .footer-main .copyright a:hover { color: var(--aip-yellow) !important; }
.site-footer-dark .footer-payments { display: none !important; } /* theme demo card logos — no card payments are offered */

@media (max-width: 1024px) {
	.aip-foot__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
	.aip-foot { padding: 44px 0 30px; }
	.aip-foot__brand { flex-direction: column; align-items: flex-start; gap: 18px; }
	.aip-foot__logo { width: 132px; height: 76px; }
	.aip-foot__actions { width: 100%; flex-direction: column; align-items: stretch; }
	.site-footer-dark .aip-foot__quote { justify-content: center; }
	.site-footer-dark .footer-widgets { padding: 30px 0 10px !important; }
	.site-footer-dark .footer-widgets .widget { padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.site-footer-dark .footer-main { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.aip-foot__logo { transform: none; transition: none; }
}
