/*
Theme Name:   iPrickU Storefront
Theme URI:    https://shop.ipricku.com
Description:  Child theme for Storefront that matches ipricku.com: dark charcoal panels, teal accents, Jost and brush-script type, double chevrons, ring-dot grids and pill buttons. Adds a homepage launch banner, a trust strip and a product-page help note, all editable under Appearance > Customize > iPrickU. Your products and settings are untouched.
Author:       Paul (iPrickU)
Template:     storefront
Version:      2.2.0
Requires PHP: 7.4
Text Domain:  ipricku-storefront
*/

/* ---------------------------------------------------------------
   Tokens, measured from ipricku.com. Change a value here and it
   changes everywhere.
   --------------------------------------------------------------- */
:root {
	--ipu-teal:     #00dce4; /* brand teal: PAUL, chevrons, links, active states */
	--ipu-bg:       #222a34; /* page background */
	--ipu-bg-alt:   #2e333a; /* alternate section background */
	--ipu-panel:    #1c202a; /* cards, inputs, badges */
	--ipu-white:    #ffffff; /* headings */
	--ipu-text:     #c0c4ca; /* body copy */
	--ipu-muted:    #959ba3; /* meta, small print (5:1 on bg) */
	--ipu-outline:  #a3a7ab; /* pill buttons and input outlines */
	--ipu-line:     rgba(255,255,255,.12); /* hairline dividers */
	--ipu-dot:      rgba(255,255,255,.42); /* ring-dot grids */
	--ipu-sale:     #ff8a8a; /* sale price / strike */

	--ipu-sans:   "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--ipu-script: "Caveat Brush", "Segoe Script", "Bradley Hand", cursive;

	--ipu-radius-card: 24px;
	--ipu-radius-img:  16px;
	--ipu-radius-pill: 999px;
	--ipu-gutter: clamp(16px, 4vw, 40px);

	/* Icons as masks so they take the teal from the token */
	--ipu-chevrons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3.5l7 7 7-7M5 12l7 7 7-7' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ipu-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h16M13 5.5l6.5 6.5L13 18.5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ipu-rings: radial-gradient(circle, transparent 2.6px, var(--ipu-dot) 2.9px, var(--ipu-dot) 4px, transparent 4.3px);
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
html body,
html body.custom-background {
	background: var(--ipu-bg) !important;
	color: var(--ipu-text);
	font-family: var(--ipu-sans);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .entry-title, body .page-title,
body.single-product div.product .product_title {
	font-family: var(--ipu-sans);
	font-weight: 600;
	color: var(--ipu-white);
	line-height: 1.15;
}

body p, body li, body td, body th, body label, body dd, body dt { color: inherit; }
body strong, body b { color: var(--ipu-white); font-weight: 600; }

body a { color: var(--ipu-teal); text-decoration: none; }
body a:hover, body a:focus { color: var(--ipu-white); }

body :focus-visible {
	outline: 2px solid var(--ipu-teal);
	outline-offset: 3px;
}

body .site-content,
body #content,
body .site-main { background: transparent; }

body hr { background-color: var(--ipu-line); }

/* Page and archive titles: big uppercase with teal chevrons above */
body .woocommerce-products-header__title.page-title,
body .entry-header .entry-title,
body .storefront-product-section .section-title {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(32px, 5vw, 56px);
	text-align: center;
}
body .woocommerce-products-header__title.page-title::before,
body .storefront-product-section .section-title::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin: 0 auto 14px;
	background: var(--ipu-teal);
	-webkit-mask: var(--ipu-chevrons) center / contain no-repeat;
	mask: var(--ipu-chevrons) center / contain no-repeat;
}
body .woocommerce-products-header { text-align: center; padding-bottom: 1em; }
body .term-description { max-width: 60ch; margin: 0 auto; color: var(--ipu-text); }

/* Breadcrumbs */
body .storefront-breadcrumb { background: transparent; margin-bottom: 1.5em; padding: 1em 0 0; }
body .woocommerce-breadcrumb { font-size: 14px; color: var(--ipu-muted); }
body .woocommerce-breadcrumb a { color: var(--ipu-muted); }
body .woocommerce-breadcrumb a:hover { color: var(--ipu-teal); }
body .woocommerce-breadcrumb .breadcrumb-separator { color: var(--ipu-teal); }

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
body .site-header {
	background-color: var(--ipu-bg) !important;
	border-bottom: 1px solid var(--ipu-line);
	padding-top: 1.4em;
	margin-bottom: 0;
}
body .site-header a,
body .main-navigation ul li a,
body .site-header-cart .cart-contents,
body .site-header .widget_shopping_cart a {
	color: var(--ipu-white);
}
body .main-navigation ul li a {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
}
body .main-navigation ul li a:hover,
body .main-navigation ul li.current-menu-item > a,
body .main-navigation ul li.current_page_item > a,
body .site-header-cart .cart-contents:hover {
	color: var(--ipu-teal);
}
body .main-navigation ul.menu ul,
body .main-navigation ul.nav-menu ul,
body .site-header-cart .widget_shopping_cart {
	background-color: var(--ipu-panel);
	border-radius: 0 0 var(--ipu-radius-img) var(--ipu-radius-img);
}
body .site-header-cart .cart-contents .count { color: var(--ipu-teal); opacity: 1; }
body .site-search .widget_product_search input[type="search"],
body .site-search .widget_product_search input[type="text"] {
	background: var(--ipu-panel);
	border: 2px solid var(--ipu-outline);
	border-radius: var(--ipu-radius-pill);
	color: var(--ipu-white);
	padding-left: 2.6em;
}
body .site-search .widget_product_search form::before { color: var(--ipu-teal); }
body .storefront-primary-navigation { background: transparent; }
body .site-header .site-logo-link img,
body .site-header .custom-logo-link img { max-width: 210px; height: auto; }

/* Mobile menu */
body .menu-toggle {
	color: var(--ipu-white);
	border: 2px solid var(--ipu-outline);
	border-radius: var(--ipu-radius-pill);
	background: transparent;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 13px;
}
body .menu-toggle::before, body .menu-toggle::after,
body .menu-toggle span::before { background-color: var(--ipu-teal); }
body .handheld-navigation { background: var(--ipu-bg); }
body .handheld-navigation ul li a { color: var(--ipu-white); }
body .handheld-navigation .dropdown-toggle { color: var(--ipu-teal); }

/* Storefront handheld footer bar */
body .storefront-handheld-footer-bar { background: var(--ipu-panel); border-top: 1px solid var(--ipu-line); box-shadow: none; }
body .storefront-handheld-footer-bar ul li > a { color: var(--ipu-white); background: transparent; }
body .storefront-handheld-footer-bar ul li > a:hover { color: var(--ipu-teal); }
body .storefront-handheld-footer-bar ul li.cart .count { background: var(--ipu-teal); color: var(--ipu-panel); border-color: var(--ipu-panel); }
body .storefront-handheld-footer-bar ul li.search .site-search { background: var(--ipu-panel); }

/* ---------------------------------------------------------------
   Shared brand pieces
   --------------------------------------------------------------- */
/* "HELLO, MY NAME IS" style label */
.ipu-label {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-white);
}
.ipu-teal { color: var(--ipu-teal); }

/* "I AM A  Professional Body Piercer" style tagline */
.ipu-tagline {
	margin: 0 0 22px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 14px;
	color: var(--ipu-white);
}
.ipu-tagline__small {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
}
.ipu-script {
	font-family: var(--ipu-script);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
	color: var(--ipu-white);
}

/* Double chevron icon */
.ipu-chevrons {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: var(--ipu-teal);
	-webkit-mask: var(--ipu-chevrons) center / contain no-repeat;
	mask: var(--ipu-chevrons) center / contain no-repeat;
	flex: none;
}

/* Link with teal arrow, like "See Jewelry ->" */
.ipu-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-weight: 600;
	color: var(--ipu-white);
}
.ipu-arrow-link::after {
	content: "";
	width: 22px;
	height: 22px;
	background: var(--ipu-teal);
	-webkit-mask: var(--ipu-arrow) center / contain no-repeat;
	mask: var(--ipu-arrow) center / contain no-repeat;
	transition: transform .2s ease;
}
.ipu-arrow-link:hover { color: var(--ipu-teal); }
.ipu-arrow-link:hover::after { transform: translateX(4px); }

/* Ring-dot grid decoration */
.ipu-dots {
	position: absolute;
	width: 150px;
	height: 150px;
	background-image: var(--ipu-rings);
	background-size: 22px 22px;
	pointer-events: none;
	-webkit-mask: radial-gradient(circle at center, #000 45%, transparent 72%);
	mask: radial-gradient(circle at center, #000 45%, transparent 72%);
}

/* ---------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------- */
.ipu-trust {
	background: var(--ipu-panel);
	border-bottom: 1px solid var(--ipu-line);
}
.ipu-trust__list {
	list-style: none;
	margin: 0 auto;
	padding: 14px var(--ipu-gutter);
	max-width: 1180px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 36px;
}
.ipu-trust__item {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ipu-white);
	line-height: 1.4;
}
.ipu-trust__item .ipu-chevrons { width: 18px; height: 18px; }
@media (max-width: 720px) {
	.ipu-trust__list { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------
   Launch banner (homepage), modelled on the ipricku.com hero
   --------------------------------------------------------------- */
.ipu-launch {
	position: relative;
	overflow: hidden;
	background: var(--ipu-bg);
}
.ipu-launch__inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(36px, 6vw, 80px) var(--ipu-gutter) clamp(48px, 7vw, 96px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.ipu-launch__watermark {
	position: absolute;
	left: -2%;
	bottom: -0.32em;
	font-family: var(--ipu-script);
	font-size: clamp(140px, 22vw, 320px);
	line-height: 1;
	color: rgba(255,255,255,.035);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}
.ipu-launch__copy { position: relative; z-index: 1; min-width: 0; }
.ipu-launch__title {
	margin: 0 0 14px;
	font-family: var(--ipu-sans);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: clamp(48px, 8vw, 104px);
	line-height: .95;
	color: var(--ipu-teal);
	text-shadow: 6px 6px 0 rgba(0,0,0,.55);
	text-wrap: balance;
}
.ipu-launch__text {
	font-size: 18px;
	max-width: 44ch;
	margin: 0 0 30px;
	color: var(--ipu-text);
}
.ipu-launch__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 32px;
	align-items: center;
}

.ipu-launch__media {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	justify-self: center;
	aspect-ratio: 1 / 1;
}
.ipu-launch__media .ipu-dots--a { top: -6%; right: -4%; }
.ipu-launch__media .ipu-dots--b { bottom: 2%; left: -10%; }
.ipu-launch__main,
.ipu-launch__thumb {
	position: absolute;
	display: block;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ipu-panel);
}
.ipu-launch__main {
	inset: 8%;
	/* thin dark ring, thin grey stroke, then the offset shadow from ipricku.com */
	box-shadow: 0 0 0 5px var(--ipu-bg), 0 0 0 7px rgba(255,255,255,.22), 14px 16px 0 rgba(0,0,0,.35);
}
.ipu-launch__thumb {
	width: 27%;
	aspect-ratio: 1 / 1;
	box-shadow: 0 0 0 5px var(--ipu-bg), 0 0 0 7px rgba(255,255,255,.22), 10px 12px 0 rgba(0,0,0,.35);
}
.ipu-launch__thumb--1 { top: 2%; left: 0; }
.ipu-launch__thumb--2 { bottom: 4%; right: 0; }
.ipu-launch__main img,
.ipu-launch__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.ipu-launch__main:hover img,
.ipu-launch__thumb:hover img { transform: scale(1.05); }

/* "26+ YEARS OF EXPERIENCE" style badge */
.ipu-badge {
	position: absolute;
	left: 4%;
	bottom: 2%;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 26px 12px 22px;
	background: var(--ipu-panel);
	border: 2px solid var(--ipu-outline);
	border-radius: var(--ipu-radius-pill);
	box-shadow: 8px 10px 0 rgba(0,0,0,.3);
}
.ipu-badge__num {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	color: var(--ipu-white);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ipu-badge__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	line-height: 1.35;
	color: var(--ipu-white);
}
.ipu-badge__label span { display: block; color: var(--ipu-teal); }

.ipu-launch__media--single .ipu-launch__main { inset: 4%; }

@media (max-width: 860px) {
	.ipu-launch__inner { grid-template-columns: minmax(0, 1fr); }
	.ipu-launch__media { max-width: 420px; }
}

/* ---------------------------------------------------------------
   Section heading, like "WHAT I DO / MY Services"
   --------------------------------------------------------------- */
.ipu-section-head {
	text-align: center;
	margin: 0 auto 36px;
	max-width: 640px;
}
.ipu-section-head .ipu-chevrons { display: block; margin: 0 auto 14px; width: 34px; height: 34px; }
.ipu-section-head__title {
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
	color: var(--ipu-white);
}
.ipu-section-head__sub {
	margin: 6px 0 0;
	display: flex;
	justify-content: center;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
}
.ipu-section-head__small {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-teal);
}
.ipu-section-head__text { margin: 14px auto 0; max-width: 52ch; color: var(--ipu-text); }

/* ---------------------------------------------------------------
   Essentials grid (homepage)
   --------------------------------------------------------------- */
.ipu-ess {
	position: relative;
	overflow: hidden;
	background: var(--ipu-bg-alt);
}
.ipu-ess__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) var(--ipu-gutter);
}
.ipu-ess__watermark {
	position: absolute;
	right: -2%;
	bottom: -0.3em;
	font-family: var(--ipu-script);
	font-size: clamp(140px, 22vw, 320px);
	line-height: 1;
	color: rgba(255,255,255,.035);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}
.ipu-ess .woocommerce { margin: 0; }
.ipu-ess ul.products { margin-bottom: 0; }
.ipu-ess ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
.ipu-ess__more { margin: 28px 0 0; text-align: center; }

/* ---------------------------------------------------------------
   Buttons: pill outline with offset shadow, like ipricku.com
   --------------------------------------------------------------- */
body button, body .button, body input[type="submit"], body input[type="button"],
body .added_to_cart, body .widget a.button,
body .ipu-btn,
body.single-product div.product form.cart .button,
body .wc-block-components-button:not(.is-link) {
	background-color: var(--ipu-panel);
	border: 2px solid var(--ipu-outline);
	color: var(--ipu-white);
	border-radius: var(--ipu-radius-pill);
	font-family: var(--ipu-sans);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .12em;
	padding: 1em 2.2em;
	text-decoration: none;
	box-shadow: 6px 8px 0 rgba(0,0,0,.28);
	transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
body button:hover, body .button:hover, body input[type="submit"]:hover,
body input[type="button"]:hover, body .ipu-btn:hover,
body.single-product div.product form.cart .button:hover,
body .wc-block-components-button:not(.is-link):hover {
	background-color: var(--ipu-panel);
	border-color: var(--ipu-teal);
	color: var(--ipu-teal);
	transform: translate(2px, 2px);
	box-shadow: 4px 5px 0 rgba(0,0,0,.28);
}
/* The money buttons get the solid teal fill */
body .button.alt, body button.alt, body input[type="submit"].alt,
body .checkout-button, body #place_order,
body.single-product div.product form.cart .single_add_to_cart_button {
	background-color: var(--ipu-teal);
	border-color: var(--ipu-teal);
	color: var(--ipu-panel);
}
body .button.alt:hover, body button.alt:hover, body .checkout-button:hover,
body #place_order:hover,
body.single-product div.product form.cart .single_add_to_cart_button:hover {
	background-color: var(--ipu-teal);
	border-color: var(--ipu-teal);
	color: var(--ipu-panel);
}
body .button.disabled, body .button:disabled, body button:disabled,
body.single-product div.product form.cart .single_add_to_cart_button.disabled {
	opacity: .55;
	transform: none;
}

/* ---------------------------------------------------------------
   Product grids: dark cards like the "What I do" cards
   --------------------------------------------------------------- */
body ul.products li.product {
	background: var(--ipu-panel);
	border-radius: var(--ipu-radius-card);
	padding: 14px 14px 22px;
	text-align: left;
	display: flex;
	flex-direction: column;
}
body ul.products li.product .woocommerce-LoopProduct-link { display: block; flex: 1 1 auto; }
body ul.products li.product img,
body ul.products li.product .wp-post-image {
	border-radius: var(--ipu-radius-img);
	margin: 0 0 16px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	background: var(--ipu-bg);
}
body ul.products li.product .woocommerce-loop-product__title,
body ul.products li.product h2,
body ul.products li.product h3 {
	font-family: var(--ipu-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ipu-white);
	padding: 0 6px;
	margin-bottom: 8px;
}
body ul.products li.product .price {
	display: block;
	padding: 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ipu-teal);
	margin-bottom: 14px;
	font-variant-numeric: tabular-nums;
}
body ul.products li.product .price del { color: var(--ipu-muted); }
body ul.products li.product .price ins { color: var(--ipu-teal); text-decoration: none; }
/* "Select options" becomes an arrow link */
body ul.products li.product .button {
	align-self: flex-start;
	margin: 0 6px;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--ipu-white);
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
body ul.products li.product .button::after {
	content: "";
	width: 20px;
	height: 20px;
	background: var(--ipu-teal);
	-webkit-mask: var(--ipu-arrow) center / contain no-repeat;
	mask: var(--ipu-arrow) center / contain no-repeat;
	transition: transform .2s ease;
}
body ul.products li.product .button:hover {
	background: transparent;
	color: var(--ipu-teal);
	transform: none;
	box-shadow: none;
}
body ul.products li.product .button:hover::after { transform: translateX(4px); }
body ul.products li.product .button.loading::after { opacity: .5; }

body .onsale {
	background: var(--ipu-teal);
	color: var(--ipu-panel);
	border: 0;
	border-radius: var(--ipu-radius-pill);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 12px;
	padding: .35em 1em;
}
body .star-rating span::before, body .star-rating::before { color: var(--ipu-teal); }

body .storefront-product-section { margin-bottom: 4em; }
body .storefront-product-section .section-title { margin-bottom: 1.2em; }

/* Shop toolbar */
body .storefront-sorting { border-bottom: 1px solid var(--ipu-line); padding-bottom: 1.2em; margin-bottom: 2em; }
body .woocommerce-result-count { color: var(--ipu-muted); font-size: 14px; }
body .woocommerce-ordering select { min-width: 220px; }

/* Sidebar filters */
body .widget-area .widget { margin-bottom: 2.4em; }
body .widget-area .widget .widget-title,
body .widget-area .widget h3,
body .widget-area .widget .wp-block-heading {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-white);
	border-bottom: 1px solid var(--ipu-line);
	padding-bottom: .8em;
	display: flex;
	align-items: center;
	gap: 10px;
}
body .widget-area .widget .widget-title::before,
body .widget-area .widget h3::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: var(--ipu-teal);
	-webkit-mask: var(--ipu-chevrons) center / contain no-repeat;
	mask: var(--ipu-chevrons) center / contain no-repeat;
}
body .widget-area .widget ul li { font-size: 15px; color: var(--ipu-muted); }
body .widget-area .widget a { color: var(--ipu-text); }
body .widget-area .widget a:hover { color: var(--ipu-teal); }
body .widget_layered_nav ul li.chosen a,
body .widget_layered_nav ul li.chosen a::before { color: var(--ipu-teal); }
body .widget_price_filter .ui-slider .ui-slider-range,
body .widget_price_filter .ui-slider .ui-slider-handle { background-color: var(--ipu-teal); }
body .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: var(--ipu-panel); }

/* Pagination: the timeline dots from ipricku.com */
body .woocommerce-pagination,
body .storefront-sorting .woocommerce-pagination { padding: 0; border: 0; }
body .woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 0;
	background: transparent;
}
body .woocommerce-pagination .page-numbers li {
	display: inline-flex;
	align-items: center;
	border: 0;
	background: transparent;
}
body .woocommerce-pagination .page-numbers li + li::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--ipu-outline);
}
body .woocommerce-pagination .page-numbers li .page-numbers {
	width: 34px;
	height: 34px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--ipu-outline);
	border-radius: 50%;
	background: var(--ipu-bg);
	color: var(--ipu-white);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
body .woocommerce-pagination .page-numbers li .page-numbers.dots { border-color: transparent; }
body .woocommerce-pagination .page-numbers li .page-numbers.current {
	background: var(--ipu-teal);
	border-color: var(--ipu-teal);
	color: var(--ipu-panel);
}
body .woocommerce-pagination .page-numbers li a.page-numbers:hover {
	border-color: var(--ipu-teal);
	color: var(--ipu-teal);
}

/* ---------------------------------------------------------------
   Single product
   --------------------------------------------------------------- */
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .woocommerce-product-gallery__wrapper { border-radius: var(--ipu-radius-card); }
body.single-product div.product .woocommerce-product-gallery img {
	border-radius: var(--ipu-radius-card);
	background: var(--ipu-panel);
}
body.single-product div.product .flex-control-thumbs li img { border-radius: 12px; opacity: .6; }
body.single-product div.product .flex-control-thumbs li img.flex-active,
body.single-product div.product .flex-control-thumbs li img:hover { opacity: 1; }
body.single-product div.product .product_title {
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 600;
	margin-bottom: .4em;
}
body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product .woocommerce-variation-price .price {
	font-size: 28px;
	font-weight: 600;
	color: var(--ipu-teal);
	font-variant-numeric: tabular-nums;
}
body.single-product div.product .woocommerce-product-details__short-description,
body.single-product div.product .woocommerce-Tabs-panel--description {
	color: var(--ipu-text);
	max-width: 62ch;
}
body.single-product div.product table.variations,
body.single-product div.product table.variations th,
body.single-product div.product table.variations td {
	background: transparent;
	border: 0;
	padding: .35em 0;
}
body.single-product div.product table.variations th label,
body.single-product div.product table.variations td.label label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-white);
}
body.single-product div.product table.variations select { width: 100%; max-width: 360px; }
body.single-product div.product .reset_variations { color: var(--ipu-muted); font-size: 14px; }
body.single-product div.product form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
body.single-product div.product form.variations_form { display: block; }
body.single-product div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
body.single-product div.product .quantity .qty { width: 5em; text-align: center; }
body.single-product div.product .product_meta {
	font-size: 14px;
	color: var(--ipu-muted);
	border-top: 1px solid var(--ipu-line);
}
body.single-product div.product .product_meta a { color: var(--ipu-text); }
body.single-product div.product .product_meta a:hover { color: var(--ipu-teal); }

/* Tabs */
body .woocommerce-tabs { border-top: 1px solid var(--ipu-line); }
body .woocommerce-tabs ul.tabs { border: 0; }
body .woocommerce-tabs ul.tabs li { border: 0; }
body .woocommerce-tabs ul.tabs li a {
	color: var(--ipu-muted);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 13px;
}
body .woocommerce-tabs ul.tabs li.active a,
body .woocommerce-tabs ul.tabs li a:hover { color: var(--ipu-teal); }
body .woocommerce-tabs ul.tabs li.active::after { color: var(--ipu-teal); }
body .woocommerce-Tabs-panel h2 { font-size: 22px; }
body table.woocommerce-product-attributes th,
body table.woocommerce-product-attributes td { background: transparent; border-bottom: 1px solid var(--ipu-line); }
body #reviews .commentlist li .comment_container { background: var(--ipu-panel); border-radius: var(--ipu-radius-img); }

/* Related / upsells */
body .related.products > h2, body .upsells.products > h2, body .cross-sells > h2 {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(24px, 3vw, 32px);
}

/* Help note under add to cart, modelled on the contact icons */
.ipu-help {
	margin: 2em 0 1em;
	display: flex;
	align-items: flex-start;
	gap: 0;
	max-width: 560px;
}
.ipu-help__icon {
	flex: none;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	border: 2px solid var(--ipu-outline);
	background: var(--ipu-panel);
	box-shadow: 5px 6px 0 rgba(0,0,0,.28);
	display: grid;
	place-items: center;
	color: var(--ipu-white);
}
.ipu-help__icon svg { width: 26px; height: 26px; }
.ipu-help__connector {
	flex: none;
	width: 36px;
	height: 2px;
	margin-top: 32px;
	background: var(--ipu-outline);
}
.ipu-help__body { padding-left: 16px; min-width: 0; }
.ipu-help__lead {
	margin: 0 0 4px;
	font-family: var(--ipu-script);
	font-size: 30px;
	line-height: 1.2;
	color: var(--ipu-white);
}
.ipu-help__text { margin: 0; font-size: 16px; color: var(--ipu-text); }
.ipu-help__links { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.ipu-help__links a { color: var(--ipu-teal); }
.ipu-help__links a:hover { color: var(--ipu-white); }

/* ---------------------------------------------------------------
   Forms: pill fields like the contact form
   --------------------------------------------------------------- */
body input[type="text"], body input[type="email"], body input[type="tel"],
body input[type="password"], body input[type="search"], body input[type="number"],
body input[type="url"], body textarea, body select,
body .select2-container .select2-selection--single,
body .input-text {
	background-color: var(--ipu-panel);
	border: 2px solid var(--ipu-outline);
	border-radius: var(--ipu-radius-pill);
	box-shadow: none;
	color: var(--ipu-white);
	font-family: var(--ipu-sans);
	font-size: 16px;
	padding: .75em 1.3em;
}
body textarea { border-radius: 28px; }
body select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.8em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2300dce4' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.1em center;
	background-size: 16px 16px;
}
body select option { background: var(--ipu-panel); color: var(--ipu-white); }
body input:focus, body textarea:focus, body select:focus,
body .input-text:focus { border-color: var(--ipu-teal); background-color: var(--ipu-panel); color: var(--ipu-white); }
body ::placeholder { color: var(--ipu-muted); opacity: 1; }
body label, body .form-row label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-white);
}
body .required { color: var(--ipu-teal); }
body .select2-container .select2-selection--single { height: auto; }
body .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ipu-white); line-height: 1.5; padding: 0; }
body .select2-dropdown { background: var(--ipu-panel); border-color: var(--ipu-outline); color: var(--ipu-white); }
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ipu-teal); color: var(--ipu-panel); }
body .select2-search--dropdown .select2-search__field { border-radius: 12px; }

/* Notices */
body .woocommerce-message, body .woocommerce-info, body .woocommerce-noreviews, body p.no-comments {
	background: var(--ipu-panel);
	color: var(--ipu-text);
	border-left: 0;
	border: 2px solid var(--ipu-teal);
	border-radius: var(--ipu-radius-img);
}
body .woocommerce-message::before, body .woocommerce-info::before { color: var(--ipu-teal); }
body .woocommerce-message a, body .woocommerce-info a { color: var(--ipu-teal); }
body .woocommerce-message .button, body .woocommerce-info .button { box-shadow: none; }
body .woocommerce-error {
	background: var(--ipu-panel);
	border: 2px solid var(--ipu-sale);
	border-radius: var(--ipu-radius-img);
	color: var(--ipu-text);
}

/* Tables, cart, checkout, account */
body table, body table th, body table td,
body table:not(.has-background) th,
body table:not(.has-background) tbody td,
body table:not(.has-background) tbody tr:nth-child(2n) td {
	background-color: transparent;
	color: var(--ipu-text);
	border-color: var(--ipu-line);
}
body table.shop_table,
body .cart-collaterals .cart_totals,
body #order_review,
body .woocommerce-checkout-review-order-table,
body .woocommerce-MyAccount-content,
body form.checkout_coupon, body form.login, body form.register {
	background: var(--ipu-panel);
	border-radius: var(--ipu-radius-card);
	border: 0;
}
body form.checkout_coupon, body form.login, body form.register,
body .woocommerce-MyAccount-content { padding: 1.6em; }
body table.cart td.product-remove a.remove { color: var(--ipu-sale) !important; }
body table.cart .product-thumbnail img { border-radius: 12px; }
body #payment, body #payment .payment_methods li, body #payment .payment_box {
	background: var(--ipu-bg) !important;
	color: var(--ipu-text);
	border-radius: var(--ipu-radius-img);
}
body #payment .payment_box::before { border-bottom-color: var(--ipu-bg) !important; }
body .woocommerce-MyAccount-navigation ul li a { color: var(--ipu-text); font-weight: 600; }
body .woocommerce-MyAccount-navigation ul li.is-active a,
body .woocommerce-MyAccount-navigation ul li a:hover { color: var(--ipu-teal); }
body .woocommerce-MyAccount-navigation ul li { border-color: var(--ipu-line); }

/* Block cart and checkout, if you use them */
body .wc-block-components-totals-wrapper,
body .wc-block-components-panel,
body .wc-block-cart-items { border-color: var(--ipu-line); }
body .wc-block-components-text-input input,
body .wc-block-components-combobox .wc-block-components-combobox-control input { background: var(--ipu-panel); color: var(--ipu-white); }
body .wc-block-components-product-name { color: var(--ipu-white); }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
body .site-footer {
	background-color: var(--ipu-panel) !important;
	color: var(--ipu-text);
	padding-top: 3.5em;
	border-top: 1px solid var(--ipu-line);
}
body .site-footer h1, body .site-footer h2, body .site-footer h3,
body .site-footer .widget-title, body .site-footer .widget h3,
body .site-footer .wp-block-heading {
	color: var(--ipu-white);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	border-bottom-color: var(--ipu-line);
}
body .site-footer a { color: var(--ipu-teal); }
body .site-footer a:hover { color: var(--ipu-white); }
body .site-footer label { color: var(--ipu-white); }
body .site-info { color: var(--ipu-muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
	.ipu-launch__main img, .ipu-launch__thumb img,
	.ipu-arrow-link::after, body ul.products li.product .button::after,
	body .button, body .ipu-btn, body button { transition: none !important; }
	.ipu-launch__main:hover img, .ipu-launch__thumb:hover img { transform: none; }
}

/* New arrivals grid: alternate band, so banner / new / essentials read as separate sections */
.ipu-new { position: relative; background: var(--ipu-bg-alt); }
.ipu-new + .ipu-ess { background: var(--ipu-bg); }
.ipu-new .woocommerce { margin: 0; }
.ipu-new ul.products { margin-bottom: 0; }

/* Sidebar filter plugins (WBW Product Filter and similar) */
body .widget-area input[type="checkbox"],
body .widget-area input[type="radio"] { accent-color: var(--ipu-teal); }
body .widget-area .wpfFilterWrapper,
body .widget-area .wpfFilterWrapper label,
body .widget-area .wpfFilterWrapper li { color: var(--ipu-text); font-size: 15px; }
body .widget-area .wpfFilterWrapper .wpfFilterTitle,
body .widget-area .wpfFilterWrapper .wfpTitle {
	color: var(--ipu-white);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
}
body .widget-area .wpfFilterWrapper .wpfCount,
body .widget-area .wpfFilterWrapper .wpfValue + span { color: var(--ipu-muted); }
body .widget-area .wpfFilterWrapper label:hover { color: var(--ipu-teal); }
body .widget-area .wpfFilterButtons button,
body .widget-area .wpfClearButton { box-shadow: none; }

/* ---------------------------------------------------------------
   Contact section and map, like the ipricku.com contact page
   --------------------------------------------------------------- */
.ipu-contact {
	position: relative;
	overflow: hidden;
	background: var(--ipu-bg-alt);
	border-top: 1px solid var(--ipu-line);
}
.ipu-contact__watermark {
	position: absolute;
	left: -2%;
	top: 38%;
	font-family: var(--ipu-script);
	font-size: clamp(140px, 22vw, 320px);
	line-height: 1;
	color: rgba(255,255,255,.035);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}
.ipu-contact__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) var(--ipu-gutter) clamp(40px, 6vw, 72px);
}
.ipu-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.ipu-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.ipu-contact__item { display: flex; align-items: flex-start; margin: 0; }
.ipu-contact__icon {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 2px solid var(--ipu-outline);
	background: var(--ipu-panel);
	box-shadow: 5px 6px 0 rgba(0,0,0,.28);
	display: grid;
	place-items: center;
	color: var(--ipu-white);
}
.ipu-contact__icon svg { width: 26px; height: 26px; }
.ipu-contact__connector { flex: none; width: 40px; height: 2px; margin-top: 35px; background: var(--ipu-outline); }
.ipu-contact__body { padding-left: 18px; min-width: 0; }
.ipu-contact__label { margin: 0 0 2px; font-family: var(--ipu-script); font-size: 32px; line-height: 1.2; color: var(--ipu-white); }
.ipu-contact__value { margin: 0; color: var(--ipu-text); overflow-wrap: anywhere; }
.ipu-contact__value a { color: var(--ipu-teal); }
.ipu-contact__form { position: relative; min-width: 0; }
.ipu-contact__dots { left: -70px; bottom: -40px; z-index: 0; }
.ipu-contact__form > * { position: relative; z-index: 1; }
.ipu-contact__fallback {
	background: var(--ipu-panel);
	border-radius: var(--ipu-radius-card);
	padding: 32px;
}
.ipu-contact__fallback p { margin: 0 0 22px; }

/* WPForms inside the contact section */
.ipu-contact .wpforms-container {
	--wpforms-field-background-color: var(--ipu-panel);
	--wpforms-field-border-color: var(--ipu-outline);
	--wpforms-field-border-size: 2px;
	--wpforms-field-border-radius: 999px;
	--wpforms-field-text-color: var(--ipu-white);
	--wpforms-label-color: var(--ipu-white);
	--wpforms-label-sublabel-color: var(--ipu-muted);
	--wpforms-label-error-color: #ff8a8a;
	--wpforms-button-background-color: var(--ipu-panel);
	--wpforms-button-border-color: var(--ipu-outline);
	--wpforms-button-border-size: 2px;
	--wpforms-button-border-radius: 999px;
	--wpforms-button-text-color: var(--ipu-white);
	--wpforms-page-break-color: var(--ipu-teal);
	margin: 0 !important;
}
.ipu-contact .wpforms-container .wpforms-field-label,
.ipu-contact .wpforms-container label.wpforms-field-label {
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--ipu-white) !important;
}
.ipu-contact .wpforms-container .wpforms-required-label { color: var(--ipu-teal) !important; }
.ipu-contact .wpforms-container input[type="text"],
.ipu-contact .wpforms-container input[type="email"],
.ipu-contact .wpforms-container input[type="tel"],
.ipu-contact .wpforms-container input[type="number"],
.ipu-contact .wpforms-container select {
	background-color: var(--ipu-panel) !important;
	border: 2px solid var(--ipu-outline) !important;
	border-radius: 999px !important;
	color: var(--ipu-white) !important;
	height: auto !important;
	padding: .8em 1.3em !important;
	max-width: 100% !important;
}
.ipu-contact .wpforms-container textarea {
	background-color: var(--ipu-panel) !important;
	border: 2px solid var(--ipu-outline) !important;
	border-radius: 28px !important;
	color: var(--ipu-white) !important;
	padding: 1em 1.3em !important;
	max-width: 100% !important;
}
.ipu-contact .wpforms-container input:focus,
.ipu-contact .wpforms-container textarea:focus { border-color: var(--ipu-teal) !important; box-shadow: none !important; }
.ipu-contact .wpforms-container .wpforms-submit-container { text-align: right; }
.ipu-contact .wpforms-container button[type="submit"] {
	background-color: var(--ipu-panel) !important;
	border: 2px solid var(--ipu-outline) !important;
	border-radius: 999px !important;
	color: var(--ipu-white) !important;
	font-family: var(--ipu-sans) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: uppercase;
	letter-spacing: .12em;
	padding: 1em 2.4em !important;
	height: auto !important;
	box-shadow: 6px 8px 0 rgba(0,0,0,.28) !important;
}
.ipu-contact .wpforms-container button[type="submit"]:hover { border-color: var(--ipu-teal) !important; color: var(--ipu-teal) !important; }
.ipu-contact .wpforms-container .wpforms-confirmation-container-full {
	background: var(--ipu-panel) !important;
	border: 2px solid var(--ipu-teal) !important;
	color: var(--ipu-text) !important;
	border-radius: var(--ipu-radius-img);
}

/* Map: full width, grayscale like the main site */
.ipu-contact__map {
	position: relative;
	z-index: 1;
	height: clamp(320px, 42vw, 480px);
	background: var(--ipu-panel);
}
.ipu-contact__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(.95);
}

@media (max-width: 860px) {
	.ipu-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.ipu-contact__dots { display: none; }
}

/* Product pages without a sidebar: photo and details share the width evenly */
@media (min-width: 768px) {
	body.ipu-no-sidebar.single-product div.product .woocommerce-product-gallery {
		width: 50%;
		margin-right: 5%;
	}
	body.ipu-no-sidebar.single-product div.product .summary {
		width: 45%;
		margin-right: 0;
	}
	body.ipu-no-sidebar .content-area { width: 100%; float: none; margin-right: 0; }
}

/* ---------------------------------------------------------------
   iPrickU footer: follow, studio, shop links, subscribe
   --------------------------------------------------------------- */
.ipu-footer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 48px;
	padding: 1em 0 3em;
}
.ipu-footer__col { min-width: 0; }
body .site-footer .ipu-footer__title {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	font-family: var(--ipu-script);
	font-size: 30px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.2;
	color: var(--ipu-white);
}
.ipu-footer__line { margin: 0 0 10px; color: var(--ipu-text); }
body .site-footer .ipu-footer__line a { color: var(--ipu-text); text-decoration: underline; text-decoration-color: var(--ipu-teal); text-underline-offset: 4px; }
body .site-footer .ipu-footer__line a:hover { color: var(--ipu-teal); }
.ipu-footer__btn { margin: 22px 0 26px; }
body .site-footer .ipu-footer__btn .ipu-btn { color: var(--ipu-white); }
body .site-footer .ipu-footer__btn .ipu-btn:hover { color: var(--ipu-teal); }
.ipu-footer__badge { margin: 0; }
.ipu-footer__badge a { display: inline-block; opacity: .9; transition: opacity .15s ease; }
.ipu-footer__badge a:hover { opacity: 1; }
.ipu-footer__badge img { display: block; width: 220px; max-width: 100%; height: auto; }

/* Social icons in your circle style */
.ipu-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ipu-social li { margin: 0; }
body .site-footer .ipu-social a {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid var(--ipu-outline);
	background: var(--ipu-bg);
	color: var(--ipu-white);
	display: grid;
	place-items: center;
	box-shadow: 3px 4px 0 rgba(0,0,0,.28);
	transition: border-color .15s ease, color .15s ease;
}
body .site-footer .ipu-social a:hover { border-color: var(--ipu-teal); color: var(--ipu-teal); }
.ipu-social svg { width: 20px; height: 20px; }

/* Shop links */
.ipu-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ipu-footer__links li { margin: 0; }
body .site-footer .ipu-footer__links a { color: var(--ipu-text); }
body .site-footer .ipu-footer__links a:hover { color: var(--ipu-teal); }

/* Subscribe */
.ipu-footer__signup { display: grid; gap: 12px; margin-top: 6px; }
body .site-footer .ipu-footer__signup input[type="email"] {
	width: 100%;
	background: var(--ipu-bg);
	border: 2px solid var(--ipu-outline);
	border-radius: var(--ipu-radius-pill);
	color: var(--ipu-white);
	padding: .8em 1.3em;
}
body .site-footer .ipu-footer__signup .ipu-btn { justify-self: start; color: var(--ipu-white); }
.ipu-signup-msg { margin: 0; color: var(--ipu-teal); font-size: 15px; }

/* Bottom links row (shows once you assign a menu) */
.ipu-footer__bottom { border-top: 1px solid var(--ipu-line); padding: 1.4em 0 .4em; }
.ipu-footer__bottom-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.ipu-footer__bottom-links li { margin: 0; padding: 0 16px; border-left: 1px solid var(--ipu-line); }
.ipu-footer__bottom-links li:first-child { padding-left: 0; border-left: 0; }
body .site-footer .ipu-footer__bottom-links a { color: var(--ipu-text); font-size: 15px; }
body .site-footer .ipu-footer__bottom-links a:hover { color: var(--ipu-teal); }

@media (max-width: 960px) {
	.ipu-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.ipu-footer { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

/* ---------------------------------------------------------------
   Fixes after first live preview
   --------------------------------------------------------------- */
/* Tagline: white, and tidy under the logo */
body .site-header .site-description,
body .site-header .site-branding .site-description {
	color: var(--ipu-white);
	opacity: 1;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .04em;
	margin: 6px 0 0;
}
body .site-header .site-title a { color: var(--ipu-white); }

/* Product grids inside the iPrickU sections: our own 4-column grid,
   because Storefront only sizes grids inside the main content area */
.ipu-new ul.products,
.ipu-ess ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
}
.ipu-new ul.products::before, .ipu-new ul.products::after,
.ipu-ess ul.products::before, .ipu-ess ul.products::after { content: none; display: none; }
.ipu-new ul.products li.product,
.ipu-ess ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}
@media (max-width: 860px) {
	.ipu-new ul.products,
	.ipu-ess ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* Clean homepage: hide the empty content area between the sections and the footer */
body.ipu-clean-front #content { display: none; }

/* Belt and braces: keep section product images inside their cards */
.ipu-new ul.products li.product img,
.ipu-ess ul.products li.product img { max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* Storefront adds a 4.236em gap under the header on the homepage and on pages
   without breadcrumbs (.home.page .site-header, .no-wc-breadcrumb .site-header).
   The trust strip and banner handle spacing, so remove it everywhere. */
html body .site-header,
html body.home .site-header,
html body.no-wc-breadcrumb .site-header,
html body.home.page:not(.page-template-template-homepage) .site-header,
html body.home.blog .site-header {
	margin-bottom: 0 !important;
}

/* Mobile bottom bar: solid buttons so Storefront's tucked-away search box can't show through,
   and keep that box hidden until the search button is tapped */
html body .storefront-handheld-footer-bar ul li > a {
	background-color: var(--ipu-panel) !important;
	color: var(--ipu-white);
	position: relative;
	z-index: 2;
}
html body .storefront-handheld-footer-bar ul li > a::before { color: var(--ipu-white); opacity: 1; }
html body .storefront-handheld-footer-bar ul li.search .site-search {
	background: var(--ipu-panel);
	border-top: 1px solid var(--ipu-line);
	z-index: 1;
}
html body .storefront-handheld-footer-bar ul li.search:not(.active) .site-search {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}
html body .storefront-handheld-footer-bar ul li.search.active .site-search {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}
html body .storefront-handheld-footer-bar ul li.search.active > a::before,
html body .storefront-handheld-footer-bar ul li > a:hover::before { color: var(--ipu-teal); }

/* Phones: only the first trust line, centered on one tidy row */
@media (max-width: 720px) {
	.ipu-trust__list { align-items: center; padding-top: 10px; padding-bottom: 10px; }
	.ipu-trust__item:not(:first-child) { display: none; }
	.ipu-trust__item { justify-content: center; text-align: center; font-size: 12px; }
}

/* ---------------------------------------------------------------
   Checkout on a light card. Payment boxes (WooPayments / Stripe) draw
   inside their own frames and copy the page's colors, so the checkout
   uses dark text on light here and stays readable everywhere.
   --------------------------------------------------------------- */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout form.woocommerce-checkout,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout .woocommerce-form-login-toggle {
	--ipu-ck-bg: #f4f6f7;
	--ipu-ck-ink: #1c202a;
	--ipu-ck-muted: #4a525c;
	--ipu-ck-line: #cfd5da;
	--ipu-ck-link: #00747a; /* darker teal, readable on light (5.4:1) */
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout form.woocommerce-checkout {
	background: var(--ipu-ck-bg);
	color: var(--ipu-ck-ink);
	border-radius: var(--ipu-radius-card);
	padding: clamp(18px, 3vw, 36px);
	box-shadow: 10px 12px 0 rgba(0,0,0,.28);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout *,
body.woocommerce-checkout form.woocommerce-checkout * { border-color: var(--ipu-ck-line); }

/* text, headings, labels */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout p,
body.woocommerce-checkout .wp-block-woocommerce-checkout span,
body.woocommerce-checkout .wp-block-woocommerce-checkout label,
body.woocommerce-checkout .wp-block-woocommerce-checkout legend,
body.woocommerce-checkout .wp-block-woocommerce-checkout h1,
body.woocommerce-checkout .wp-block-woocommerce-checkout h2,
body.woocommerce-checkout .wp-block-woocommerce-checkout h3,
body.woocommerce-checkout .wp-block-woocommerce-checkout td,
body.woocommerce-checkout .wp-block-woocommerce-checkout th,
body.woocommerce-checkout form.woocommerce-checkout,
body.woocommerce-checkout form.woocommerce-checkout p,
body.woocommerce-checkout form.woocommerce-checkout span,
body.woocommerce-checkout form.woocommerce-checkout label,
body.woocommerce-checkout form.woocommerce-checkout h3,
body.woocommerce-checkout form.woocommerce-checkout td,
body.woocommerce-checkout form.woocommerce-checkout th,
body.woocommerce-checkout form.woocommerce-checkout strong {
	color: var(--ipu-ck-ink) !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout label,
body.woocommerce-checkout form.woocommerce-checkout label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
	font-weight: 500;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__description *,
body.woocommerce-checkout .wc-block-components-validation-error,
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-privacy-policy-text p,
body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wc-block-checkout__terms span {
	color: var(--ipu-ck-muted) !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout a,
body.woocommerce-checkout form.woocommerce-checkout a {
	color: var(--ipu-ck-link) !important;
	text-decoration: underline;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout form.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 15px !important;
	color: var(--ipu-ck-ink) !important;
}

/* panels inside the card */
body.woocommerce-checkout .wp-block-woocommerce-checkout [class*="__container"],
body.woocommerce-checkout .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__actions,
body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout form.woocommerce-checkout #payment,
body.woocommerce-checkout form.woocommerce-checkout #payment .payment_methods li,
body.woocommerce-checkout form.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout form.woocommerce-checkout #order_review,
body.woocommerce-checkout form.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout form.woocommerce-checkout table,
body.woocommerce-checkout form.woocommerce-checkout table td,
body.woocommerce-checkout form.woocommerce-checkout table th {
	background: transparent !important;
	color: var(--ipu-ck-ink) !important;
}
body.woocommerce-checkout form.woocommerce-checkout #payment .payment_box::before { border-bottom-color: transparent !important; }

/* fields: white pills with dark text */
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="text"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="email"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="tel"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="number"],
body.woocommerce-checkout .wp-block-woocommerce-checkout select,
body.woocommerce-checkout .wp-block-woocommerce-checkout textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout form.woocommerce-checkout .input-text,
body.woocommerce-checkout form.woocommerce-checkout select,
body.woocommerce-checkout form.woocommerce-checkout .select2-container .select2-selection--single {
	background-color: #ffffff !important;
	color: var(--ipu-ck-ink) !important;
	border: 2px solid var(--ipu-ck-line) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout input:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout select:focus,
body.woocommerce-checkout form.woocommerce-checkout .input-text:focus {
	border-color: var(--ipu-ck-link) !important;
	outline: 2px solid rgba(0,116,122,.25);
	outline-offset: 1px;
}
/* floating labels inside block fields */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-blocks-components-select__label {
	color: var(--ipu-ck-muted) !important;
	font-size: 14px !important;
}
body.woocommerce-checkout .wc-blocks-components-select__select { background: #fff !important; color: var(--ipu-ck-ink) !important; border-radius: 14px !important; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ipu-ck-ink) !important; }
body.woocommerce-checkout .select2-dropdown { background: #fff !important; color: var(--ipu-ck-ink) !important; }

/* checkboxes and radios */
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout .wp-block-woocommerce-checkout input[type="radio"],
body.woocommerce-checkout form.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout form.woocommerce-checkout input[type="radio"] { accent-color: var(--ipu-ck-link); }
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: #fff !important;
	border: 2px solid var(--ipu-ck-muted) !important;
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--ipu-ck-ink) !important; }
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
	background: #fff !important;
	border-radius: 14px;
}
body.woocommerce-checkout .wc-block-components-radio-control__input { background: #fff !important; border-color: var(--ipu-ck-muted) !important; }
body.woocommerce-checkout .wc-block-components-radio-control__input:checked::before { background: var(--ipu-ck-ink) !important; }

/* step numbers on the left of each block checkout step */
body.woocommerce-checkout .wc-block-components-checkout-step::before,
body.woocommerce-checkout .wc-block-components-checkout-step::after { background: var(--ipu-ck-line) !important; }

/* order summary sidebar of the block checkout */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	background: #ffffff !important;
	border-radius: 18px;
	padding: 18px !important;
	color: var(--ipu-ck-ink) !important;
}
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-formatted-money-amount { color: var(--ipu-ck-ink) !important; }

/* Place order: solid teal pill with dark text (already readable) */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
	background: var(--ipu-teal) !important;
	border: 2px solid var(--ipu-teal) !important;
	color: var(--ipu-panel) !important;
	border-radius: var(--ipu-radius-pill) !important;
	box-shadow: 6px 8px 0 rgba(0,0,0,.2) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button *,
body.woocommerce-checkout #place_order * { color: var(--ipu-panel) !important; }

/* "Return to cart" link on the dark side of the page */
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button { color: var(--ipu-ck-link) !important; }
