/* Street11 custom overrides - loaded after the theme stylesheet.
   The theme paints blue with background-image gradients, so every
   override below resets background-image as well as background-color.
   Colour scheme: Bright White, with the blue and teal from the Street11 logo. */

:root {
	--s11-primary: #0B3D8C;       /* logo blue: buttons, cart, footer, info page panels */
	--s11-primary-dark: #082C66;  /* button hover */
	--s11-accent: #00838C;        /* deep teal: menu, submenu, product card buttons */
	--s11-page-bg: #FFFFFF;
	--s11-topbar-bg: #EAF6F7;     /* light teal */
	--s11-link: #0B3D8C;
	--s11-footer-text: #DCE6F5;
}

/* Page background */
body {
	background-color: var(--s11-page-bg);
}

a {
	color: var(--s11-link);
}

h1, h2, h3 {
	color: var(--s11-primary);
}

/* Top bar */
#top {
	background-color: var(--s11-topbar-bg);
	border-bottom: 0;
}
#top .btn-link,
#top-links li,
#top-links a {
	color: var(--s11-primary);
	text-shadow: none;
}
#top .btn-link:hover,
#top-links a:hover {
	color: var(--s11-accent);
}

/* Main menu bar */
#menu,
#menu .btn-navbar,
#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active {
	background-color: var(--s11-accent);
	background-image: none;
	border-color: var(--s11-accent);
}

/* Submenu (dropdown) panels */
#menu .dropdown-menu {
	background-color: var(--s11-accent);
	border-color: var(--s11-accent);
}
#menu .dropdown-inner a,
#menu .see-all {
	color: #FFFFFF;
}
#menu .dropdown-inner li a:hover,
#menu .see-all:hover,
#menu .see-all:focus {
	background-color: var(--s11-primary);
	background-image: none;
	color: #FFFFFF;
}
#menu .see-all {
	border-top-color: #2B9CA3;
}

/* Other dropdown hovers that were blue (account, currency, cart) */
.dropdown-menu li > a:hover,
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	background-color: var(--s11-accent);
	background-image: none;
	color: #FFFFFF;
}

/* Primary buttons and cart button: logo blue */
.btn-primary,
#cart > .btn {
	background-color: var(--s11-primary);
	background-image: none;
	border-color: var(--s11-primary);
	color: #FFFFFF;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
#cart > .btn:hover {
	background-color: var(--s11-primary-dark);
	background-image: none;
	border-color: var(--s11-primary-dark);
	color: #FFFFFF;
}

/* Bootstrap blue accents */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.list-group-item.active,
.list-group-item.active:hover {
	background-color: var(--s11-accent);
	border-color: var(--s11-accent);
	color: #FFFFFF;
}

/* Product cards */
.product-thumb {
	border-color: #DDEBEE;
	border-radius: 6px;
	background-color: #FFFFFF;
}
.product-thumb .button-group {
	border-top-color: #DDEBEE;
	background-color: #F4FAFB;
}
.product-thumb .button-group button {
	color: var(--s11-accent);
	background-color: #F4FAFB;
}
.product-thumb .button-group button:hover {
	color: #FFFFFF;
	background-color: var(--s11-accent);
}
.price {
	color: var(--s11-primary);
}

/* Logo: the PNG has a white box; multiply blends the white into whatever is behind it */
#logo img {
	mix-blend-mode: multiply;
}

/* Home slideshow/banner: drop the white frame and shadow so the
   SMart strip (background already white) sits flush on the page */
.swiper-viewport:not(.carousel) {
	margin-bottom: 20px;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.swiper-viewport:not(.carousel) .swiper-slide img {
	margin: 0 auto;
}

/* Mobile: centre the logo (img-responsive is display:block, so it needs auto margins) */
@media (max-width: 767px) {
	#logo {
		text-align: center;
	}
	#logo img {
		margin: 0 auto;
	}
}

/* Footer */
footer {
	background-color: var(--s11-primary);
	border-top: 0;
	color: var(--s11-footer-text);
}
footer a {
	color: var(--s11-footer-text);
}
footer a:hover {
	color: #7FE3E9;
}
footer hr {
	border-top-color: #2A5AA6;
	border-bottom-color: #2A5AA6;
}

/* WhatsApp click-to-chat button (markup added to footer.twig by the mod) */
.s11-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1050;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px 10px 14px;
	border-radius: 30px;
	background-color: #25D366;
	color: #FFFFFF;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.s11-whatsapp:hover,
.s11-whatsapp:focus {
	background-color: #1EBE5A;
	color: #FFFFFF;
	text-decoration: none;
}
.s11-whatsapp .fa {
	font-size: 26px;
}
@media (max-width: 767px) {
	/* icon only on phones */
	.s11-whatsapp {
		right: 15px;
		bottom: 15px;
		padding: 12px 15px;
	}
	.s11-whatsapp span {
		display: none;
	}
}
@media print {
	.s11-whatsapp {
		display: none;
	}
}

/* Information pages (seller onboarding): s11-* classes used in the page HTML */
.s11-page h3 {
	margin: 30px 0 12px;
	font-weight: 600;
}
.s11-hero,
.s11-cta {
	padding: 30px;
	border-radius: 6px;
	background-color: var(--s11-primary);
	color: #FFFFFF;
}
.s11-hero h2,
.s11-cta h3 {
	margin-top: 0;
	color: #FFFFFF;
}
.s11-hero p {
	max-width: 720px;
	font-size: 15px;
}
.s11-cta {
	margin-top: 30px;
	text-align: center;
}
.s11-btn {
	display: inline-block;
	margin: 6px 6px 0 0;
	padding: 10px 20px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-weight: 600;
}
.s11-btn:hover,
.s11-btn:focus {
	text-decoration: none;
}
.s11-btn-whatsapp,
.s11-btn-whatsapp:hover,
.s11-btn-whatsapp:focus {
	background-color: #25D366;
	color: #FFFFFF;
}
.s11-btn-outline,
.s11-btn-outline:hover,
.s11-btn-outline:focus {
	border-color: #FFFFFF;
	color: #FFFFFF;
}
.s11-card {
	height: 100%;
	margin-bottom: 15px;
	padding: 20px;
	border-radius: 6px;
	background-color: #FFFFFF;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.s11-card h4 {
	margin-top: 0;
	font-weight: 600;
}
.s11-list {
	padding-left: 20px;
	line-height: 1.9;
}
.s11-steps {
	counter-reset: s11-step;
	margin: 0;
	padding: 0;
	list-style: none;
}
.s11-steps li {
	position: relative;
	margin-bottom: 15px;
	padding-left: 50px;
	counter-increment: s11-step;
}
.s11-steps li::before {
	content: counter(s11-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var(--s11-primary);
	color: #FFFFFF;
	font-weight: 700;
	line-height: 34px;
	text-align: center;
}
.s11-steps li span {
	display: block;
}
.s11-faq p {
	margin-bottom: 15px;
}
