/* ShadeSuits theme. Loaded after the default stylesheet and overrides it. */
:root {
	--turquoise: #1CA6B3;
	--teal: #185461;
	--charcoal: #33474F;
	--peach: #FD9B72;
	--peach-hover: #FEB291; /* lighter, not deeper: charcoal text needs the contrast */
	--coral: #FD9B72;
	--coral-text: #B8452F; /* coral darkened for small text: 5.3:1 on white */
	--seafoam: #A0E0E5;
	--cream: #F6D7BC;
	--white: #FFFFFF;
	--grey: #9AD2DA;
	--green: #51C38C;
	--green-bg: #E4F5EC;
	--green-text: #1F6B47;
	--error-bg: #FBE9E5;
	--radius: 14px;
	--shadow: 0 4px 18px rgba(24, 84, 97, .09);
}

/* Base */
html { -webkit-text-size-adjust: 100%; }
body {
	font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--charcoal);
	background: var(--white);
}
h1, h2, h3, h4, h5, h6 { color: var(--teal); font-weight: 800; line-height: 1.2; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
a { color: var(--teal); text-decoration: underline; text-decoration-color: var(--turquoise); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--teal); text-decoration-thickness: 2px; }
label { font-size: 16px; font-weight: 700; }
.fa { font-size: inherit; }
legend { font-size: 20px; font-weight: 800; color: var(--teal); border-color: var(--grey); }
hr { border-color: var(--grey); }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }
.ss-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--white); padding: 8px 14px; }
.ss-skip:focus { left: 8px; top: 8px; }
.ss-hp { position: absolute; left: -9999px; }
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg { display: inline; }
#content { min-height: 200px; }

/* Forms */
select.form-control, textarea.form-control, input.form-control, .input-group input, .input-group select, .input-group .dropdown-menu,
input[type="text"].form-control, input[type="password"].form-control, input[type="email"].form-control, input[type="tel"].form-control, input[type="date"].form-control {
	font-size: 16px;
}
.form-control {
	height: 46px;
	color: var(--charcoal);
	background: var(--white);
	border: 1.5px solid var(--grey);
	border-radius: 10px;
	box-shadow: none;
}
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(28, 166, 179, .2); }
.input-group .input-group-addon { font-size: 15px; height: auto; background: var(--cream); color: var(--teal); border-color: var(--grey); }
div.required .control-label:before { color: var(--coral-text); }
.text-danger { color: var(--coral-text); }
.has-error .form-control { border-color: var(--coral-text); }
.has-error .control-label { color: var(--coral-text); }

/* Buttons: peach means buy */
.btn {
	font-weight: 800;
	font-size: 16px;
	padding: 10px 20px;
	border-radius: 999px;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-lg { font-size: 18px; padding: 14px 30px; border-radius: 999px; }
.btn-sm { font-size: 15px; padding: 7px 16px; border-radius: 999px; }
.btn-xs { font-size: 12px; padding: 3px 8px; }
.btn-primary, .btn-primary:focus, .btn-primary.disabled, .btn-primary[disabled] {
	color: var(--charcoal);
	background-color: var(--peach);
	background-image: none;
	border: 0;
	text-shadow: none;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary:active:hover {
	color: var(--charcoal);
	background-color: var(--peach-hover);
	background-image: none;
	text-decoration: none;
}
.btn-default, .btn-default:focus, .btn-info, .btn-info:focus {
	color: var(--teal);
	background-color: var(--white);
	background-image: none;
	border: 2px solid var(--turquoise);
	text-shadow: none;
}
.btn-default:hover, .btn-default:active, .btn-default.active, .btn-info:hover, .btn-info:active, .btn-default:active:hover {
	color: var(--teal);
	background-color: var(--seafoam);
	background-image: none;
	border-color: var(--turquoise);
	text-decoration: none;
}
.btn-danger, .btn-danger:hover, .btn-danger:focus { color: var(--white); background: var(--coral-text); border: 0; }
.btn-link { color: var(--teal); }
.buttons { margin: 1.2em 0; }

/* Messages. The add-to-cart message is a toast because the header may be out of view */
.alert { border: 0; border-radius: 10px; font-weight: 600; }
.alert-success { background: var(--green-bg); color: var(--green-text); }
.alert-success a { color: var(--green-text); text-decoration-color: currentColor; font-weight: 800; }
.alert-danger { background: var(--error-bg); color: var(--coral-text); }
.alert-danger a { color: var(--coral-text); text-decoration-color: currentColor; }
.alert-info { background: var(--seafoam); color: var(--teal); }
.alert-dismissible {
	position: fixed;
	top: 16px;
	right: 16px;
	left: auto;
	z-index: 1300;
	width: calc(100% - 32px);
	max-width: 420px;
	margin: 0;
	box-shadow: 0 8px 28px rgba(24, 84, 97, .25);
}
.panel-body .alert-dismissible, .modal-body .alert-dismissible {
	position: static;
	width: auto;
	max-width: none;
	margin-bottom: 15px;
	box-shadow: none;
}

/* Top bar */
.ss-topbar { background: #1EA6B4; color: var(--white); font-size: 14px; font-weight: 700; padding: 7px 0; text-align: center; }
.ss-topbar .container { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.ss-topbar .fa { color: var(--seafoam); margin-right: 4px; }

/* Header */
.ss-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 10px rgba(24, 84, 97, .08); }
.ss-header-row { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.ss-header-row:before, .ss-header-row:after { display: none; }
.ss-logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.ss-logo img { width: 110px; height: 110px; margin: -13px 0 -13px -42px; transition: width .15s, height .15s, margin .15s; } /* overlaps the top bar and hero; the margins keep the header's size unchanged */
.ss-header.is-stuck .ss-logo img { width: 68px; height: 68px; margin: 0; } /* would be cut off by the top of the screen */
@media (min-width: 1200px) and (max-width: 1250px) {
	.ss-logo img { margin-left: -14px; } /* narrow side gutter at these widths */
}
.ss-tagline { font-size: 12px; font-weight: 800; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.ss-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-width: 44px;
	height: 44px;
	padding: 0;
	font-size: 20px;
	color: var(--teal);
	background: none;
	border: 0;
	border-radius: 50%;
	text-decoration: none;
}
.ss-icon-btn:hover, .ss-icon-btn:focus { color: var(--teal); background: var(--grey); }
.ss-nav-toggle { display: none; }
.ss-header-icons { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.ss-header-icons .dropdown-menu a { text-decoration: none; }
.dropdown-menu { font-size: 16px; border: 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(24, 84, 97, .18); padding: 8px; }
.dropdown-menu li > a { color: var(--teal); border-radius: 8px; padding: 7px 12px; font-weight: 600; }
.dropdown-menu li > a:hover, .dropdown-menu li > a:focus { color: var(--teal); background: var(--seafoam); background-image: none; }
.ss-search-panel { background: var(--cream); padding: 12px 0; }
.ss-search-panel[hidden] { display: none; }
#search { margin: 0 auto; max-width: 640px; }
#search .input-lg { height: 46px; border-radius: 999px 0 0 999px; font-size: 16px; line-height: 1.4; }
#search .btn-lg { height: 46px; padding: 0 20px; border-radius: 0 999px 999px 0; line-height: 1; }

/* Cart */
#cart { margin: 0; }
#cart > button, #cart.open > button { background: none; border: 0; box-shadow: none; color: var(--teal); text-shadow: none; }
#cart > button:hover { background: var(--grey); }
#cart-total { display: inline-flex; align-items: center; }
.ss-cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
	color: var(--white);
	background: var(--teal);
	border-radius: 9px;
}
#cart .dropdown-menu { background: var(--white); min-width: 360px; max-height: 80vh; overflow: auto; padding: 12px; }
#cart .dropdown-menu table { margin-bottom: 8px; }
#cart .dropdown-menu li > div { min-width: 0; padding: 0; }
#cart .dropdown-menu td { border-color: var(--grey); vertical-align: middle; font-size: 15px; }
#cart .dropdown-menu p { margin: 10px 0; }
.ss-remove { width: 28px; height: 28px; padding: 0; color: var(--teal); background: var(--grey); border: 0; border-radius: 50%; }
.ss-remove:hover { background: var(--error-bg); color: var(--coral-text); }
.ss-cart-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Main navigation */
.ss-nav { flex: 1 1 auto; }
.ss-nav ul { list-style: none; margin: 0; padding: 0; }
.ss-nav > ul { display: flex; justify-content: center; gap: 4px; }
.ss-nav a { display: block; padding: 10px 12px; font-size: 16px; font-weight: 700; color: var(--teal); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.ss-nav a:hover, .ss-nav a:focus { background: var(--seafoam); color: var(--teal); }
.ss-has-sub { position: relative; }
.ss-sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1001;
	min-width: 190px;
	padding: 8px !important;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(24, 84, 97, .18);
}
.ss-has-sub:hover .ss-sub, .ss-has-sub:focus-within .ss-sub { display: block; }
.ss-sub-all { border-top: 1px solid var(--grey); margin-top: 6px; padding-top: 6px; }

/* Hero */
.ss-hero { position: relative; display: flex; align-items: center; min-height: clamp(400px, calc(27.6vw + 50px), calc(56vh + 50px)); overflow: hidden; background: #E0F2F2; }
/* The family stands mid-photo, so the text follows the screen edge rather than the page container to stay on their left */
.ss-hero > .container { position: relative; z-index: 2; width: 100%; max-width: none; margin: 0; padding-left: 5.5vw; }
.ss-hero:before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(224, 242, 242, .94) 0%, rgba(224, 242, 242, .86) 24%, rgba(224, 242, 242, 0) 38%); }
.ss-hero-copy { max-width: clamp(370px, 28vw, 620px); padding: 39px 0 69px; }
.ss-rays { width: 99px; height: 68px; display: block; margin: 29px 0 -37px -39px; } /* rays fan out from the M's top-left corner; the margins still total the same height */
.ss-hero h1 { font-size: clamp(48px, 4.1vw, 76px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.01em; }
.ss-hero p { font-size: clamp(18px, 1.35vw, 24px); line-height: 1.5; font-weight: 600; margin: 0 0 26px; }
.ss-hero-img { position: absolute; inset: 0 0 0 30%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); } /* the photo starts right of the text so the girls stay clear of it; its left edge fades into the background */
.ss-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 45%; }
.ss-hero-wave { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; display: block; }

/* Benefits */
.ss-benefits { background: #E0F2F2; padding: 14px 0 20px; }
.ss-benefits .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ss-benefits .container:before, .ss-benefits .container:after { display: none; }
.ss-benefits .container > div { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ss-benefits .container > div + div { border-left: 1px solid rgba(24, 84, 97, .25); }
.ss-benefits .fa { font-size: 34px; }
.ss-benefits p { margin: 0; line-height: 1.25; }
.ss-benefits strong { display: block; font-size: 18px; font-weight: 800; }
.ss-benefits span { font-size: 16px; }

/* Category tiles */
.ss-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 8px; }
.ss-tiles:before, .ss-tiles:after { display: none; }
.ss-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--radius); background: var(--seafoam); text-decoration: none; box-shadow: var(--shadow); }
.ss-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s; }
.ss-tile-kids img { mix-blend-mode: multiply; }
.ss-tile:hover img { transform: scale(1.04); }
.ss-tile:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(24, 84, 97, .72), rgba(24, 84, 97, 0)); }
.ss-tile-name { position: absolute; z-index: 1; left: 18px; bottom: 58px; font-size: 28px; font-weight: 800; line-height: 1; color: var(--white); }
.ss-tile .btn { position: absolute; z-index: 1; left: 18px; bottom: 14px; }
.ss-tile:hover .btn { background-color: var(--peach-hover); }

/* Section heading */
.ss-section-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px 0 22px; }
.ss-section-head h2 { margin: 0; font-size: 30px; text-align: center; }
.ss-section-head svg { width: 34px; height: 26px; flex: none; }
.ss-section-head svg.ss-flip { transform: scaleX(-1); }

/* Product cards. Rules work on the default markup too (search, specials, related products) */
.ss-grid { display: flex; flex-wrap: wrap; }
.ss-grid:before, .ss-grid:after { display: none; }
.ss-grid > .product-layout { display: flex; }
.product-layout { margin-bottom: 22px; }
.product-thumb {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--grey);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: box-shadow .2s, transform .2s;
}
.product-thumb:hover { box-shadow: 0 8px 26px rgba(24, 84, 97, .16); transform: translateY(-2px); }
.product-thumb .image { padding: 10px; }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .image img { margin: 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.product-thumb .caption { flex: 1 1 auto; min-height: 0; padding: 0 14px 10px; text-align: center; }
.product-thumb .caption h2, .product-thumb .caption h3, .product-thumb .caption h4 { margin: 4px 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.product-thumb .caption a { text-decoration: none; color: var(--teal); }
.product-thumb .caption a:hover { text-decoration: underline; text-decoration-color: var(--turquoise); }
.product-thumb .caption > p:not(.price) { display: none; }
.product-thumb .rating { padding: 0; margin-bottom: 6px; color: var(--coral-text); font-size: 14px; }
.product-thumb .price { margin: 0; font-size: 19px; font-weight: 800; color: var(--teal); }
.product-thumb .price-new { color: var(--coral-text); font-weight: 800; }
.product-thumb .price-old { margin-left: 4px; font-size: 15px; font-weight: 400; color: var(--teal); text-decoration: line-through; }
.price-tax { display: none; }
.product-thumb .button-group { padding: 0 14px 14px; background: none; border: 0; overflow: visible; }
.product-thumb .button-group .ss-add {
	display: block;
	width: 100%;
	padding: 11px 12px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--charcoal);
	background: var(--peach);
	border-radius: 999px;
}
.product-thumb .button-group .ss-add:hover, .product-thumb .button-group .ss-add:focus { color: var(--charcoal); background: var(--peach-hover); }
.product-thumb .button-group .ss-add + button {
	position: absolute;
	top: 10px;
	right: 10px;
	float: none;
	width: 38px;
	height: 38px;
	padding: 0;
	line-height: 38px;
	color: var(--teal);
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--grey);
	border-radius: 50%;
}
.product-thumb .button-group .ss-add + button:hover { color: var(--coral-text); background: var(--white); }
.product-thumb .button-group button:nth-child(3) { display: none; }
.ss-badge { position: absolute; top: 14px; left: 12px; z-index: 1; padding: 3px 10px; font-size: 13px; font-weight: 800; color: var(--teal); background: var(--seafoam); border-radius: 999px; }

/* Trust band */
/* Runs under the footer wave so no white shows above it */
.ss-trust { margin-top: 20px; margin-bottom: -50px; padding: 34px 0 84px; background: #E0F2F2; }
.ss-trust-grid { display: grid; grid-template-columns: 4fr 5fr 3fr; align-items: center; gap: 28px; }
.ss-trust-grid:before, .ss-trust-grid:after { display: none; }
.ss-trust-img img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.ss-trust blockquote { margin: 0; padding: 0; border: 0; font-size: 20px; font-weight: 700; line-height: 1.45; text-align: center; }
.ss-trust blockquote p { margin: 0 0 10px; font-size: inherit; }
.ss-trust blockquote .ss-trust-note { font-size: 16px; font-weight: 600; }
.ss-trust-card { padding: 22px; text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.ss-trust-card > .fa { font-size: 34px; color: var(--green); }
.ss-trust-card h2 { font-size: 20px; margin: 8px 0; }
.ss-trust-card p { font-size: 16px; margin-bottom: 14px; }

/* Footer */
.ss-footer { position: relative; margin-top: 0; padding: 0; color: var(--white); background: none; border: 0; }
.ss-footer a { color: var(--white); text-decoration: none; }
.ss-footer a:hover, .ss-footer a:focus { color: var(--white); text-decoration: underline; text-decoration-color: var(--seafoam); }
.ss-footer-wave { display: block; width: 100%; height: 50px; margin-bottom: -1px; }
.ss-footer-body { position: relative; padding: 24px 0 24px; background: var(--teal); }
.ss-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1.6fr; gap: 26px; }
.ss-footer-brand p { font-size: 16px; text-align: center; }
.ss-footer-brand img { display: block; width: 126px; height: 126px; margin: -45px auto 0; border-radius: 50%; }
.ss-footer-tag { margin: 10px 0 8px; font-size: 14px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ss-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 6px; font-size: 20px; background: var(--turquoise); border-radius: 50%; }
.ss-footer-col summary { display: block; margin-bottom: 10px; font-size: 17px; font-weight: 800; list-style: none; pointer-events: none; }
.ss-footer-col summary::-webkit-details-marker { display: none; }
.ss-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ss-footer-col li { margin-bottom: 6px; font-size: 16px; }
.ss-footer-news h2, .ss-footer-news p { text-align: center; }
.ss-footer-news h2 { margin: 0 0 8px; font-size: 19px; color: var(--white); }
.ss-footer-news h2 .fa { color: var(--peach); }
.ss-footer-news p { font-size: 16px; }
.ss-footer-news input[type="email"] { width: 100%; height: 44px; padding: 0 16px; margin-bottom: 8px; color: var(--teal); background: var(--white); border: 0; border-radius: 999px; }
.ss-footer-news .btn { width: 100%; }
.ss-newsletter-msg { margin: 8px 0 0; font-weight: 700; }
.ss-newsletter-msg:empty { display: none; }
.ss-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 16px; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .25); }
.ss-pay { font-weight: 700; }
.ss-pay .fa { font-size: 18px; margin: 0 2px 0 4px; vertical-align: -2px; }
.ss-legal { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ss-copy { margin: 0; }

/* Inner pages */
body > .container { padding-bottom: 56px; }
/* The default stylesheet forces 13px on these */
#product-category #content, #product-product #tab-description, #information-information #content { font-size: 17px; }
.breadcrumb { margin: 14px 0; padding: 0; font-size: 15px; background: none; border: 0; }
.breadcrumb li { padding: 0; text-shadow: none; }
.breadcrumb li + li:before { content: none; }
.breadcrumb li:after { display: none; }
.breadcrumb li + li { margin-left: 6px; }
.breadcrumb li + li > a:before { content: '/'; margin-right: 8px; color: var(--turquoise); display: inline-block; }
.breadcrumb a { text-decoration: none; }
#content > h1, #content > h2:first-child { margin-top: 6px; }
.ss-page-title { margin: 6px 0 12px; font-size: 34px; }
.ss-cat-intro { max-width: 760px; margin-bottom: 14px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.ss-chips a { display: block; padding: 7px 16px; font-size: 15px; font-weight: 700; text-decoration: none; background: var(--seafoam); border-radius: 999px; }
.ss-chips a:hover { background: var(--white); box-shadow: inset 0 0 0 2px var(--turquoise); }
.ss-toolbar { display: flex; justify-content: flex-end; gap: 14px; margin-bottom: 18px; }
.ss-toolbar-field { display: flex; align-items: center; gap: 8px; }
.ss-toolbar label { margin: 0; font-size: 15px; white-space: nowrap; }
.ss-toolbar .form-control { width: auto; max-width: 230px; height: 40px; padding: 4px 10px; font-size: 15px; }
.ss-pagination { margin-top: 8px; font-size: 15px; }
.pagination { margin: 0; }
.pagination > li > a, .pagination > li > span { color: var(--teal); border-color: var(--grey); text-decoration: none; }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover { color: var(--white); background: var(--teal); border-color: var(--teal); }

/* Sidebars */
#column-left .list-group-item, #column-right .list-group-item { font-size: 16px; color: var(--white); background: #1EA6B4; border-color: rgba(255, 255, 255, .35); text-decoration: none; text-shadow: none; } /* same colour as .ss-topbar */
#column-left .list-group-item:hover, #column-left .list-group-item:focus, #column-right .list-group-item:hover, #column-right .list-group-item:focus { background: var(--teal); color: var(--white); }
#column-left .list-group a.list-group-item.active, #column-left .list-group a.list-group-item.active:hover, #column-right .list-group a.list-group-item.active, #column-right .list-group a.list-group-item.active:hover { font-weight: 800; color: var(--teal); background: #E0F2F2; border-color: rgba(255, 255, 255, .35); }
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { font-weight: 800; color: var(--teal); background: var(--seafoam); border-color: var(--grey); text-shadow: none; }
.list-group-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.list-group-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }

/* Product page */
#product-product h1 { margin: 4px 0 10px; font-size: 32px; }
#product-product .thumbnails { margin-left: 0; }
#product-product .thumbnails > li { margin-left: 0; }
#product-product .thumbnail { padding: 8px; border: 1px solid var(--grey); border-radius: var(--radius); }
#product-product .thumbnails > li:first-child, #product-product .thumbnails > li:first-child .thumbnail { width: 100%; }
#product-product .thumbnails > li:first-child img { width: 100%; height: auto; }
#product-product .thumbnails .image-additional { margin: 0 8px 8px 0; max-width: 92px; }
#product-product .image-additional a { padding: 4px; border-radius: 10px; margin: 0; border-color: var(--grey); }
.ss-actions-top { float: right; margin-left: 12px; }
.ss-meta { margin-bottom: 8px; font-size: 15px; }
.ss-product-price { margin: 12px 0 0; font-size: 32px; font-weight: 800; }
.ss-product-price.is-sale { color: var(--coral-text); }
.ss-product-old { font-size: 18px; text-decoration: line-through; }
#product h3 { margin: 18px 0 8px; font-size: 18px; }
#product .form-group { margin-bottom: 14px; }
.ss-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-size { position: relative; margin: 0; font-weight: 700; cursor: pointer; }
.ss-size input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ss-size span { display: block; min-width: 54px; padding: 9px 16px; line-height: 1.4; text-align: center; background: var(--white); border: 2px solid var(--turquoise); border-radius: 12px; }
.ss-size:hover span { background: var(--seafoam); }
.ss-size input:checked + span { color: var(--white); background: var(--teal); border-color: var(--teal); }
.ss-size input:focus-visible + span { outline: 3px solid var(--turquoise); outline-offset: 2px; }
.has-error .ss-size span { border-color: var(--coral-text); }
#input-quantity { width: 90px; text-align: center; }
#button-cart { margin-top: 12px; }
.ss-assure { list-style: none; margin: 16px 0; padding: 14px 16px; font-size: 16px; font-weight: 600; background: var(--seafoam); border-radius: var(--radius); }
.ss-assure li { display: flex; gap: 10px; align-items: baseline; }
.ss-assure li + li { margin-top: 5px; }
.ss-assure .fa { width: 16px; text-align: center; }
.ss-tabs { margin-top: 26px; }
.nav-tabs { border-color: var(--grey); }
.nav-tabs > li > a { font-size: 16px; font-weight: 700; color: var(--teal); text-decoration: none; border-radius: 10px 10px 0 0; }
.nav-tabs > li > a:hover { background: var(--cream); border-color: transparent; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { font-weight: 800; color: var(--teal); border-color: var(--grey); border-bottom-color: var(--white); }
.rating .fa-stack { font-size: 8px; color: var(--coral-text); }
.rating .fa-star, .rating .fa-star-o { color: var(--coral-text); }
.rating .fa-star + .fa-star-o { color: var(--coral-text); }
.ss-related-title { margin: 34px 0 18px; }

/* Tables: cart, checkout, account */
.table > thead > tr > td, .table > tbody > tr > td, .table-bordered, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td { border-color: var(--grey); }
.table > thead > tr > td { font-weight: 800; background: var(--cream); }
.table-hover > tbody > tr:hover { background: var(--cream); }
.table a { font-weight: 700; }
.panel { border-radius: var(--radius); border-color: var(--grey); box-shadow: none; }
.panel-default { border-color: var(--grey); }
.panel-default > .panel-heading { color: var(--teal); background: var(--cream); background-image: none; border-color: var(--grey); border-radius: var(--radius) var(--radius) 0 0; }
.panel-title { font-size: 18px; font-weight: 800; }
.panel-title a { text-decoration: none; }
.well { background: var(--cream); border: 1px solid var(--grey); border-radius: var(--radius); box-shadow: none; }
.img-thumbnail { border-color: var(--grey); border-radius: 8px; }
#checkout-cart form td:nth-child(3) { display: none; }
#checkout-cart form .input-group { max-width: 170px; }

/* Information pages */
#information-information #content, #information-contact #content { max-width: 860px; }
#information-information h1 { font-size: 36px; }
#information-information p { margin-bottom: 16px; }
#information-information h2 { margin-top: 40px; margin-bottom: 12px; font-size: 24px; }
#information-information h3 { margin-top: 28px; margin-bottom: 10px; font-size: 19px; }
#information-information #content img, #tab-description img { display: block; max-width: 100%; height: auto; margin: 28px 0 32px; border-radius: var(--radius); }
.ss-callout > :last-child { margin-bottom: 0; }
#information-information table { width: 100%; margin: 12px 0 20px; }
#information-information th, #information-information td { padding: 9px 12px; border: 1px solid var(--grey); }
#information-information th { background: var(--cream); font-weight: 800; }
.ss-draft { padding: 12px 16px; font-weight: 700; background: var(--error-bg); border-radius: 10px; }
.ss-callout { padding: 16px 20px; background: var(--seafoam); border-radius: var(--radius); }

/* Large screens: Bootstrap stops at 1170px, under half the width of a big monitor */
@media (min-width: 1400px) {
	.container { width: 1320px; }
	.ss-nav a { font-size: 17px; }
}
@media (min-width: 1600px) {
	.container { width: 1400px; }
}

/* Tablet and narrow desktop: the full nav no longer fits beside the logo */
@media (max-width: 1099px) {
	.ss-nav-toggle { display: inline-flex; }
	.ss-tagline { display: none; }
	.ss-header-row { gap: 6px; min-height: 68px; }
	.ss-logo img, .ss-header.is-stuck .ss-logo img { width: 54px; height: 54px; margin: 0; }
	.ss-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 100px); overflow: auto; background: var(--white); box-shadow: 0 12px 24px rgba(24, 84, 97, .18); }
	.ss-nav.is-open { display: block; }
	.ss-nav > ul { display: block; padding: 8px 16px 16px; }
	.ss-nav a { padding: 12px; font-size: 17px; }
	.ss-nav .fa-angle-down { display: none; }
	.ss-sub { display: block; position: static; padding: 0 0 6px 14px !important; box-shadow: none; border-radius: 0; }
	.ss-sub a { padding: 9px 12px; font-size: 16px; font-weight: 600; }
	.ss-sub-all { border: 0; margin: 0; padding: 0; }
	.ss-footer-grid { grid-template-columns: repeat(4, 1fr); }
	.ss-footer-brand, .ss-footer-news { grid-column: span 2; }
	.ss-trust-grid { grid-template-columns: 1fr 1fr; }
	.ss-trust-card { grid-column: span 2; }
}

/* The sun rays push the hero taller than its photo on laptops */
@media (max-width: 1399px) {
	.ss-rays { display: none; }
}

/* Keep the hero text clear of the family as the photo narrows */
@media (max-width: 1199px) {
	.ss-hero h1 { font-size: 42px; }
	.ss-hero > .container { padding-left: 3.5vw; }
	.ss-hero-copy { max-width: 300px; }
	.ss-hero-img img { object-position: 48% 45%; }
	.ss-hero:before { background: linear-gradient(90deg, rgba(224, 242, 242, .94) 0%, rgba(224, 242, 242, .86) 30%, rgba(224, 242, 242, 0) 46%); }
}

/* Tablet */
@media (max-width: 991px) {
	.ss-hero h1 { font-size: 36px; }
	.ss-hero p { font-size: 16px; }
	.ss-hero-copy { max-width: 270px; }
}

/* Phone */
@media (max-width: 767px) {
	.container { padding-left: 16px; padding-right: 16px; }
	h1, .ss-page-title, #product-product h1, #information-information h1 { font-size: 28px; }
	.ss-section-head h2 { font-size: 23px; }
	.ss-section-head svg { display: none; }
	.ss-topbar-extra { display: none; }
	/* Photo above the text: the wash isn't needed and the family stays clear of the copy */
	.ss-hero { display: block; min-height: 0; }
	.ss-hero:before { display: none; }
	.ss-hero > .container { padding-left: 16px; }
	.ss-hero-img { position: static; aspect-ratio: 19 / 10; -webkit-mask-image: none; mask-image: none; }
	.ss-hero-img img { object-position: 50% 45%; }
	.ss-hero-copy { max-width: none; padding: 16px 0 54px; }
	.ss-rays { display: none; }
	.ss-hero h1 { font-size: 40px; }
	.ss-hero .btn-lg { display: block; text-align: center; }
	.ss-benefits .container { grid-template-columns: 1fr; gap: 10px; }
	.ss-benefits .container > div { justify-content: flex-start; }
	.ss-benefits .container > div + div { border-left: 0; }
	.ss-benefits .fa, .ss-benefits svg { flex: 0 0 42px; text-align: center; }
	.ss-tiles { grid-template-columns: 1fr; gap: 14px; }
	.ss-grid { margin-left: -6px; margin-right: -6px; }
	.ss-grid > .product-layout { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }
	.product-thumb .caption { padding: 0 8px 8px; }
	.product-thumb .caption h2, .product-thumb .caption h3, .product-thumb .caption h4 { font-size: 15px; }
	.product-thumb .button-group { padding: 0 8px 10px; }
	.product-thumb .button-group .ss-add { font-size: 15px; padding: 11px 6px; }
	.ss-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-size span { display: flex; align-items: center; justify-content: center; height: 100%; padding: 9px 6px; font-size: 15px; }
	.ss-toolbar { justify-content: space-between; }
	.ss-toolbar-field { flex: 1 1 0; min-width: 0; }
	.ss-toolbar label { display: none; }
	.ss-toolbar .form-control { width: 100%; max-width: none; }
	.ss-trust-grid { grid-template-columns: 1fr; }
	.ss-trust-card { grid-column: auto; }
	.ss-footer-grid { grid-template-columns: 1fr; gap: 0; }
	.ss-footer-brand, .ss-footer-news { grid-column: auto; }
	.ss-footer-brand { margin-bottom: 14px; }
	.ss-footer-news { margin-top: 18px; order: -1; margin-bottom: 18px; }
	.ss-footer-brand { order: -2; }
	.ss-footer-col { border-top: 1px solid rgba(255, 255, 255, .25); }
	.ss-footer-col summary { position: relative; margin: 0; padding: 13px 0; pointer-events: auto; cursor: pointer; }
	.ss-footer-col summary:after { content: '\f107'; position: absolute; right: 2px; font-family: FontAwesome; font-size: 20px; }
	.ss-footer-col[open] summary:after { content: '\f106'; }
	.ss-footer-col li { margin-bottom: 0; }
	.ss-footer-col li a { display: block; padding: 8px 0; font-size: 16px; }
	.ss-footer-col ul { padding-bottom: 8px; }
	.ss-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
	.ss-legal { justify-content: center; }
	#cart .dropdown-menu { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; min-width: 0; }
	.table-responsive { border: 0; }
	/* Keep quantity and line total in view: no sideways scrolling in the cart */
	#checkout-cart form td:nth-child(1), #checkout-cart form td:nth-child(5) { display: none; }
	#checkout-cart form .table-responsive > .table > tbody > tr > td, #checkout-cart form .table-responsive > .table > thead > tr > td { padding: 8px 6px; white-space: normal; font-size: 14px; }
	#checkout-cart form .input-group { max-width: 118px; }
	#checkout-cart form .input-group .form-control { padding: 4px; text-align: center; min-width: 38px; }
	#checkout-cart form .input-group-btn .btn { padding: 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
