/*
Theme Name: Storefront Child
Template: storefront
*/

body {
	font-family: 'Open Sans', Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	color: #333;
}

.site-header {
	background: #fff;
	border-bottom: none;
	margin: 0;
	padding: 0;
}

.top-bar {
	background: #f8f8f8;
	border-bottom: 1px solid #e5e5e5;
	font-size: 11px;
	padding: 5px 0;
	text-align: right;
	color: #666;
}

.top-bar .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 15px;
}

.top-bar a {
	color: #666;
	text-decoration: none;
}

.middle-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo img {
	height: 50px;
}

.header-right {
	text-align: right;
}

.search-bar {
	display: flex;
	margin-bottom: 10px;
}

.search-bar input {
	width: 250px;
	padding: 8px;
	border: 1px solid #ccc;
	font-size: 12px;
}

.search-bar button {
	padding: 8px 12px;
	background: #f8f8f8;
	border: 1px solid #ccc;
	border-left: none;
	cursor: pointer;
}

.header-contact {
	font-size: 12px;
}

.header-contact span.red {
	color: #d12121;
	font-weight: bold;
}

.main-navigation {
	background: #1a4293;
	margin: 0;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.main-navigation ul li a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	padding: 15px 20px;
	display: block;
}

.main-navigation ul li a:hover {
	background: #143575;
}

.home-banner {
	display: flex;
	background: #3c3230;
	color: #fff;
	margin-bottom: 40px;
}

.home-banner .banner-image {
	width: 55%;
	background-size: cover;
	background-position: center;
	min-height: 400px;
}

.home-banner .banner-content {
	width: 45%;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-banner h2 {
	color: #e54c38;
	font-size: 28px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.home-banner p {
	font-size: 14px;
	margin-bottom: 25px;
	line-height: 1.5;
}

.home-banner .shop-now {
	display: inline-block;
	background: #3b5998;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	border-radius: 2px;
	align-self: flex-start;
}

/* Slider styles */
.hero-slider {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 40px;
	overflow: hidden;
}

.hero-slides {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.hero-slide {
	min-width: 100%;
	display: flex;
	background: #332c2a;
	color: #fff;
	align-items: stretch;
}

.slide-image {
	width: 55%;
}

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

.slide-content {
	width: 45%;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
}

.slide-content h2 {
	color: #e54c38;
	font-size: 28px;
	margin-bottom: 15px;
	text-transform: uppercase;
	line-height: 1.2;
}

.slide-content p {
	font-size: 14px;
	margin-bottom: 25px;
	line-height: 1.5;
	color: #eee;
}

.slide-content .btn {
	display: inline-block;
	background: #3b5998;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	border-radius: 2px;
	align-self: flex-start;
}

.hero-controls {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.hero-dot {
	width: 12px;
	height: 12px;
	background: #fff;
	border: 2px solid #ccc;
	border-radius: 50%;
	cursor: pointer;
}

.hero-dot.active {
	background: #e54c38;
	border-color: #fff;
}

.products-section {
	max-width: 1200px;
	margin: 0 auto 50px;
	padding: 0 15px;
}

.products-section h3 {
	font-size: 18px;
	color: #666;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin-bottom: 25px;
	text-transform: uppercase;
}

.product-grid {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.product-card {
	background: #fff;
	border: 1px solid #ebebeb;
	width: calc(25% - 15px);
	padding: 20px;
	text-align: center;
	box-sizing: border-box;
}

.product-card img {
	max-width: 100%;
	height: auto;
	margin-bottom: 15px;
}

.product-card h4 {
	font-size: 11px;
	color: #333;
	margin-bottom: 10px;
	height: 30px;
	overflow: hidden;
}

.product-card .price {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
}

.product-card .rating {
	font-size: 10px;
	color: #999;
	margin-bottom: 15px;
}

.product-card .actions {
	display: flex;
	justify-content: center;
	gap: 5px;
}

.product-card .btn {
	border: 1px solid #ccc;
	background: #fff;
	padding: 5px 10px;
	font-size: 10px;
	color: #666;
	cursor: pointer;
	text-decoration: none;
}

.product-card .btn:hover {
	background: #f4f4f4;
}

.site-footer {
	background: #333;
	color: #eee;
	padding: 40px 0 20px;
	font-size: 12px;
}

.site-footer .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
}

.footer-col {
	width: 20%;
}

.footer-col h4 {
	color: #fff;
	font-size: 14px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 10px;
}

.footer-col ul li a {
	color: #fff !important;
	text-decoration: none;
}

.footer-col ul li a:hover {
	color: #eee;
	text-decoration: underline;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: none;
	box-sizing: border-box;
}

.newsletter-form button {
	background: #d12121;
	color: #fff;
	border: none;
	padding: 8px 15px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
}

.payment-icons img {
	max-width: 100px;
}

.footer-bottom {
	background: #222;
	color: #fff;
	padding: 15px 0;
	margin-top: 40px;
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@media (max-width: 768px) {
    .hero-slide {
        flex-direction: column;
    }
    .slide-image, .slide-content {
        width: 100%;
    }
    .slide-content {
        padding: 30px 20px;
        text-align: center;
    }
    .slide-content .btn {
        align-self: center;
    }
    .hero-slider {
        margin-bottom: 20px;
    }
}