/*
Theme Name: Vapier Child
Theme URI: http://www.wpbingosite.com/vapier
Author: wpbingo
Description: This is a child theme for Vapier
Version: 1.0
Author URI: http://wpbingosite.com
Template: vapier
Text Domain: vapier-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* SmokerMania logo: fixed height keeps the black bar at its original size */
.wpbingoLogo a {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.wpbingoLogo img.smokermania-logo {
	display: block;
	width: auto;
	height: 52px;
	max-height: 52px;
	max-width: none;
	object-fit: contain;
}

@media (max-width: 991px) {
	.wpbingoLogo img.smokermania-logo {
		height: 46px;
		max-height: 46px;
	}
}

/* Header 3: logo | horizontal menu | search/cart */
.bwp-header.header-v3.header-horizontal-nav .header-top .row {
	align-items: center;
}

.bwp-header.header-v3.header-horizontal-nav .header-menu {
	margin-left: 0;
}

.bwp-header.header-v3.header-horizontal-nav .header-menu-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bwp-header.header-v3.header-horizontal-nav .header-menu-col .header-menu,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col .header-menu-bg,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col .wpbingo-menu-wrapper,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col .bwp-navigation,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col .float-menu,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col nav#main-navigation {
	width: 100%;
}

.bwp-header.header-v3.header-horizontal-nav .header-menu-col nav#main-navigation > ul,
.bwp-header.header-v3.header-horizontal-nav .header-menu-col .bwp-navigation ul.menu {
	justify-content: center;
	flex-wrap: nowrap;
}

/* Logo | menu (takes the free space, centered) | search + icons */
@media (min-width: 992px) {
	.bwp-header.header-v3.header-horizontal-nav .header-top .row {
		flex-wrap: nowrap;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-top .header-left {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-top .header-menu-col {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		min-width: 0;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-top .header-right {
		flex: 0 1 auto;
		width: auto;
		max-width: none;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-search-form {
		width: clamp(180px, 18vw, 300px);
		flex: 0 1 auto;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-menu-col .bwp-navigation ul.menu > li {
		padding: 0;
	}

	.bwp-header.header-v3.header-horizontal-nav .header-menu-col .bwp-navigation ul.menu > li > a {
		padding: 8px clamp(6px, 0.8vw, 14px);
		font-size: clamp(11px, 0.85vw, 13px);
	}
}

.bwp-header.header-v3 .header-menu .bwp-navigation > .float-menu > nav > ul,
.bwp-header.header-v3 .header-menu .bwp-navigation ul.menu,
.bwp-header.header-v3 .primary-navigation ul.menu,
.bwp-header.header-v3 nav#main-navigation > ul {
	display: flex !important;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bwp-header.header-v3 .header-menu .bwp-navigation ul.menu > li,
.bwp-header.header-v3 nav#main-navigation > ul > li {
	display: inline-flex;
	float: none;
	vertical-align: middle;
}

.bwp-header.header-v3 .header-menu .bwp-navigation ul.menu > li > a,
.bwp-header.header-v3 nav#main-navigation > ul > li > a {
	white-space: nowrap;
	padding: 8px 14px;
}

.bwp-header.header-v3.header-horizontal-nav .header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	min-width: 0;
}

.bwp-header.header-v3.header-horizontal-nav .header-search-form {
	flex: 1 1 auto;
	min-width: 0;
}

.bwp-header.header-v3.header-horizontal-nav .header-search-form .select_category {
	display: none;
}

.bwp-header.header-v3.header-horizontal-nav .header-search-form .search-from,
.bwp-header.header-v3.header-horizontal-nav .header-search-form form {
	width: 100%;
	max-width: 100%;
}

.bwp-header.header-v3.header-horizontal-nav .header-page-link {
	margin-left: 0;
}

/* Home 3: drop the leftover vertical "Shop by Department" column */
body.home .content-vertical-menu {
	display: none !important;
}

body.home .content-vertical-slider {
	width: 100% !important;
	max-width: 100%;
}

/* Top bar: no shipping notice or social icons */
.bwp-header.header-v3 #bwp-topbar .free-ship,
.bwp-header.header-v3 #bwp-topbar .social-link,
.bwp-header.header-v3 #bwp-topbar .topbar-right {
	display: none !important;
}

/* Home 3: hide the brands logo row */
body.home .elementor-element-8de9850,
body.home .elementor-top-section:has(.elementor-widget-bwp_brand),
body.home .elementor-widget-bwp_brand {
	display: none !important;
}

/* Home 3: category pills */
body.home .bwp-woo-categories .item-title {
	white-space: normal;
	line-height: 1.3;
}

body.home .bwp-woo-categories .item-product-cat-content:has(a[href*="/product-category/offers/"]) {
	border-color: #bd0028;
}

body.home .bwp-woo-categories .item-product-cat-content:has(a[href*="/product-category/offers/"]) .item-title a {
	color: #bd0028;
}

body.home .bwp-woo-categories .item-product-cat-content:has(a[href*="/product-category/offers/"]):hover {
	background: #bd0028;
}

body.home .bwp-woo-categories .item-product-cat-content:has(a[href*="/product-category/offers/"]):hover .item-title a {
	color: #fff;
}

body.home .elementor-element-e45da45 .title-banner,
body.home .elementor-element-7f5eb46 .title-banner {
	white-space: normal;
	max-width: 90%;
	line-height: 1.4;
}

body.home .elementor-widget-bwp_slider .title-slider span {
	font-size: clamp(24px, 2.6vw, 44px) !important;
	line-height: 1.25 !important;
}

body.home .elementor-widget-bwp_slider .description-slider span {
	font-size: clamp(14px, 1.35vw, 22px) !important;
	line-height: 1.5 !important;
}

/* Home 3: hero slider badge */
.bwp-slider .subtitle-slider {
	margin-bottom: 12px;
}

.bwp-slider .subtitle-slider span {
	display: inline-block;
	background: #bd0028;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 5px 12px;
	text-transform: uppercase;
}

/* Home 3: hero grid locked to one height, uniform 16px gaps */
@media (min-width: 1025px) {
	body.home .elementor-element-25bd859 {
		--hero-h: clamp(360px, 24vw, 440px);
		--hero-gap: 16px;
	}

	body.home .elementor-element-25bd859 > .elementor-container,
	body.home .elementor-element-a8ffff6 > .elementor-container {
		display: flex;
		flex-wrap: nowrap;
		gap: var(--hero-gap);
		height: var(--hero-h);
	}

	body.home .elementor-element-a8ffff6,
	body.home .elementor-element-a8ffff6 > .elementor-container {
		height: 100%;
	}

	body.home .elementor-element-25bd859 .elementor-column {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	body.home .elementor-element-25bd859 .elementor-column > .elementor-widget-wrap {
		padding: 0 !important;
		height: 100%;
	}

	body.home .elementor-element-fa5deed > .elementor-widget-wrap {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: var(--hero-gap);
	}

	body.home .elementor-element-25bd859 .elementor-widget {
		margin: 0 !important;
		height: 100%;
		min-height: 0;
	}

	body.home .elementor-element-e45da45,
	body.home .elementor-element-7f5eb46 {
		flex: 1 1 0;
	}

	body.home .elementor-element-25bd859 .elementor-widget-container,
	body.home .elementor-element-25bd859 .bwp-widget-banner,
	body.home .elementor-element-25bd859 .bg-banner,
	body.home .elementor-element-25bd859 .banner-wrapper,
	body.home .elementor-element-25bd859 .bwp-image,
	body.home .elementor-element-25bd859 .bwp-image > a,
	body.home .elementor-element-f07945a .bwp-slider,
	body.home .elementor-element-f07945a .slick-carousel,
	body.home .elementor-element-f07945a .slick-list,
	body.home .elementor-element-f07945a .slick-track,
	body.home .elementor-element-f07945a .item,
	body.home .elementor-element-f07945a .item-content,
	body.home .elementor-element-f07945a .content-image,
	body.home .elementor-element-f07945a .content-image > a {
		height: 100%;
	}

	/* slick writes an inline height on resize */
	body.home .elementor-element-f07945a .slick-list,
	body.home .elementor-element-f07945a .slick-slide > div {
		height: 100% !important;
	}

	body.home .elementor-element-f07945a {
		overflow: hidden;
	}

	body.home .elementor-element-25bd859 .bwp-image img,
	body.home .elementor-element-f07945a .content-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	body.home .elementor-element-f07945a .item-info {
		top: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		padding: 0 clamp(32px, 3.5vw, 64px) !important;
	}

	body.home .elementor-element-f07945a .item-info .content {
		max-width: 520px;
	}

	body.home .elementor-element-f07945a .subtitle-slider {
		margin-bottom: 10px;
	}

	body.home .elementor-element-f07945a .subtitle-slider span {
		font-size: 11px;
		padding: 4px 10px;
		letter-spacing: 1.5px;
	}

	body.home .elementor-element-f07945a .title-slider {
		margin-bottom: 8px;
	}

	body.home .elementor-widget-bwp_slider .title-slider span {
		font-size: clamp(22px, 1.9vw, 34px) !important;
		line-height: 1.2 !important;
	}

	body.home .elementor-element-f07945a .description-slider {
		margin-bottom: 20px;
	}

	body.home .elementor-widget-bwp_slider .description-slider span {
		font-size: clamp(13px, 0.95vw, 17px) !important;
		line-height: 1.45 !important;
	}

	body.home .elementor-element-f07945a a.button-slider {
		height: 40px;
		line-height: 38px;
		padding: 0 18px;
		font-size: 12px;
		letter-spacing: 1px;
	}
}

/* Home 3: hero banner grid — large image banner + two stacked side banners (text is part of the images). */
body.home .elementor-element-25bd859 {
	display: none !important;
}

.sm-hero-banner-grid {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	width: 100%;
	max-width: 1770px;
	margin: 0 auto 30px;
	padding: 0 15px;
}

.sm-banner-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.sm-banner-main,
.sm-banner-sub {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
	min-width: 0;
}

/* Both side banners share the column height so their bottoms line up with the large banner. */
.sm-banner-sub {
	flex: 1 1 0;
	min-height: 0;
}

.sm-banner-main:hover,
.sm-banner-sub:hover,
.sm-banner-main:focus-visible,
.sm-banner-sub:focus-visible {
	transform: translateY(-5px);
}

.sm-hero-banner-grid img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 767px) {
	.sm-hero-banner-grid {
		grid-template-columns: 1fr;
		margin-bottom: 20px;
		padding: 0 12px;
	}

	.sm-banner-sub {
		flex: none;
	}
}

/* Footer */
#bwp-footer.smokermania-footer {
	background: #111;
	color: #bbb;
	font-size: 14px;
	line-height: 1.7;
}

.smokermania-footer__main {
	padding: 60px 0 30px;
}

.smokermania-footer__col {
	margin-bottom: 30px;
}

.smokermania-footer__title {
	color: #fff;
	font-size: 16px;
	text-transform: none;
	margin: 0 0 20px;
}

.smokermania-footer__text {
	margin: 0 0 18px;
}

.smokermania-footer__contact,
.smokermania-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smokermania-footer__contact li,
.smokermania-footer__links li {
	margin-bottom: 10px;
}

.smokermania-footer__contact i {
	color: #bd0028;
	width: 22px;
	display: inline-block;
}

.smokermania-footer a {
	color: #bbb;
	transition: color 0.2s;
}

.smokermania-footer a:hover {
	color: #fff;
}

.smokermania-footer__warning {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 20px;
	padding: 14px;
	border: 1px solid #333;
	border-radius: 4px;
}

.smokermania-footer__warning p {
	margin: 0;
	font-size: 13px;
}

.smokermania-footer__badge {
	flex: 0 0 auto;
	background: #bd0028;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	padding: 4px 8px;
	border-radius: 3px;
}

.smokermania-footer__bottom {
	border-top: 1px solid #262626;
	padding: 18px 0;
	text-align: center;
}

.smokermania-footer__bottom p {
	margin: 0;
	font-size: 13px;
}

.smokermania-map {
	padding: 50px 0 60px;
}

.smokermania-map__title {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.smokermania-map__address {
	text-align: center;
	margin-bottom: 25px;
}

.smokermania-map__address a {
	color: #bd0028;
}

.smokermania-map__frame {
	position: relative;
	width: 100%;
	height: 450px;
	overflow: hidden;
	border-radius: 6px;
}

.smokermania-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 767px) {
	.smokermania-map__frame {
		height: 320px;
	}
}

/* Homepage: four framed category shelves, five products per row. */
.smokermania-home-sections {
	padding: 10px 0 10px;
}

.sm-category-section {
	background: #fbfbfb;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 50px;
	overflow: hidden;
}

.sm-category-section:last-child {
	margin-bottom: 50px;
}

.sm-section-header {
	background: #111111;
	margin: -30px -30px 28px;
	padding: 15px 25px;
	border-left: 5px solid #e60000;
}

.sm-section-header h2 {
	margin: 0;
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.smokermania-home-section__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px 18px;
}

.smokermania-home-section__grid .item-product {
	width: auto !important;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

/* Homepage cards: image, title, then rating and price. */
.smokermania-home-sections .product-button,
.smokermania-home-sections .brands-single,
.smokermania-home-sections .rating.none,
.smokermania-home-sections .review-count {
	display: none !important;
}

.smokermania-home-sections .products-thumb img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.smokermania-home-sections .products-content,
.smokermania-home-sections .products-content .contents {
	margin: 0;
	padding: 0;
	text-align: center;
}

.smokermania-home-sections .products-content h3.product-title,
.smokermania-home-sections .woocommerce-loop-product__title {
	text-align: center;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.3;
	margin: 10px 0 8px !important;
	color: #222222;
}

.smokermania-home-sections .products-content h3.product-title a,
.smokermania-home-sections .woocommerce-loop-product__title a {
	color: #222222;
	font-size: inherit !important;
	font-weight: inherit;
	line-height: inherit;
}

.smokermania-home-sections .rating,
.smokermania-home-sections .price {
	text-align: center;
}

.smokermania-home-sections .star-rating {
	display: inline-block;
	float: none;
	margin: 0 auto 6px;
}

.smokermania-home-sections .price {
	display: block;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #222222;
}

@media (max-width: 1199px) {
	.smokermania-home-section__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sm-category-section {
		padding: 20px;
		margin-bottom: 36px;
	}

	.sm-section-header {
		margin: -20px -20px 20px;
		padding: 12px 16px;
	}

	.sm-section-header h2 {
		font-size: 16px;
		letter-spacing: 0.06em;
	}

	.smokermania-home-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}
}

/* Seven type links in the Header 3 bar. */
@media (min-width: 992px) {
	.bwp-header.header-v3 nav#main-navigation > ul > li > a,
	.bwp-header.header-v3 .header-menu .bwp-navigation ul.menu > li > a {
		padding: 8px 10px;
		font-size: 13px;
		text-transform: none;
	}
}
