/* Frontend Styles for Product Widget Block */

.gpw-product-widget {
	display: flex;
	flex-direction: row;
	overflow: hidden;
	background: #ffffff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.gpw-product-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gpw-product-image {
    position: relative;
    width: 50%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gpw-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
	max-width: 100%;
	max-height: 100%;
}

.gpw-no-image {
    color: #6c757d;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.gpw-product-content {
	padding: 0;
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.gpw-product-widget .gpw-product-price {
	margin: 0;
}
.gpw-product-widget .editor-image {
	height: 100%;
	padding: 15px;
}
.gpw-product-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #212529;
    line-height: 1.3;
    min-height: auto;
}

.gpw-product-price {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gpw-price {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}

.gpw-regular-price {
    font-size: 16px;
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 500;
}

.gpw-sale-price {
    font-size: 18px;
    font-weight: 800;
    color: #e74c3c;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gpw-product-attributes {
    margin-bottom: 24px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.gpw-attribute {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 8px;
	font-size: 16px;
	line-height: 1.4;
	border-bottom: 1px solid #e9ecef;
}

.gpw-attribute:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.gpw-attribute-title {
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
    margin-left: 8px;
}

.gpw-attribute-value {
    color: #212529;
    text-align: left;
}

.gpw-attribute-separator {
    display: none;
}

.gpw-view-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	width: auto;
	box-sizing: border-box;
	font-size: 14px;
	text-transform: none;
	position: relative;
	overflow: hidden;
	margin-left: 12px;
	color: #fff;
}



.gpw-view-button:hover::before {
    left: 100%;
}

.gpw-view-button:active {
    transform: translateY(0);
}

/* RTL Support */
[dir="rtl"] .gpw-attribute-title {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .gpw-attribute-value {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gpw-product-widget {
        max-width: 100%;
        margin: 0;
        flex-direction: column;
    }
    
    .gpw-product-image {
        width: 100%;
        height: 200px;
    }
    
    .gpw-product-content {
        width: 100%;
        padding: 20px;
    }
    
    .gpw-product-title {
        font-size: 20px;
    }
    
    .gpw-price,
    .gpw-sale-price {
        font-size: 16px;
    }
    
    .gpw-regular-price {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gpw-product-content {
        padding: 16px;
    }
    
    .gpw-product-title {
        font-size: 16px;
        min-height: 44px;
    }
    
    .gpw-product-image {
        height: 180px;
    }
    
    .gpw-view-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .gpw-product-widget {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .gpw-view-button {
        background: #000 !important;
        color: #fff !important;
    }
}
.slide-overlay {
	z-index: 9;
}
/* Split Banner (Image/Text two columns) */
.gpw-split-banner .split-banner-inner{transition:box-shadow .2s ease, transform .2s ease}
.gpw-split-banner .split-banner-inner:hover{transform:translateY(-1px)}
.gpw-split-banner .split-banner-button{transition:all .2s ease}
.gpw-split-banner .split-banner-button:hover{filter:brightness(0.95)}
.slide-content {
	position: relative;
	z-index: 10;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.feature-cards {
    padding: 60px 0;
    background-color: #f7f5f2; /* Light beige background */
    font-family: Arial, sans-serif;
}
.feature-cards .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.feature-cards .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.feature-cards .section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}
.feature-cards .section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.feature-cards .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-cards .feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-cards .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.feature-cards .feature-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #333; /* Icon color */
    display: flex;
    align-items: center;
    justify-content: center;
}
 .feature-cards .feature-card .icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5; /* Adjust stroke thickness if needed */
    stroke: currentColor;
    fill: none;
}
.feature-cards .feature-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}
.feature-cards .feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}
.feature-cards .link-button {
    display: inline-block;
    margin-top: 20px;
    color: #007bff; /* Blue link color */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.feature-cards .link-button:hover {
    text-decoration: underline;
}
.feature-link {
	display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-cards .section-title {
        font-size: 28px;
    }
    .feature-cards .section-subtitle {
        font-size: 16px;
    }
    .feature-cards .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767px){
	.split-banner-inner {
	flex-direction: column;
}
.split-banner-inner > div {
	flex: 0 0 100% !important;
	max-width: 100% !important;
}
.category-card .category-name {
	font-size: 14px !important;
}
.product-categories-wrapper {
	padding: 40px 0 !important;
}
.marquee-item {
	width: 150px !important;
}

/* Mobile Image Slider Styles */
.image-slider-swiper {
	height: auto !important;
}

.swiper-slide {
	height: auto !important;
}

.mobile-slide-content {
	display: flex !important;
	flex-direction: column !important;
	background: #fff;
	min-height: auto;
}

.mobile-slide-content .slide-content-inner {
	padding: 25px 20px 15px !important;
	text-align: center;
}

.mobile-slide-image {
	order: 2;
	padding: 0 20px 20px !important;
}

.mobile-slide-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-slide-content .slide-title {
	font-size: 24px !important;
	margin-bottom: 12px !important;
	line-height: 1.3 !important;
}

.mobile-slide-content .slide-subtitle {
	font-size: 14px !important;
	line-height: 1.6 !important;
	margin-bottom: 20px !important;
}

.mobile-slide-content .slide-button {
	display: inline-block !important;
	padding: 12px 28px !important;
	font-size: 14px !important;
	margin: 0 auto;
}

/* Hide desktop background images on mobile */
.desktop-slide-image {
	display: none !important;
}

.slide-overlay {
	opacity: 0 !important;
}

.product-categories-title, .tab-products-title , .section-title {
	font-size: 20px !important;
}
.tab-products-tabs {
	flex-wrap: nowrap !important;
	overflow-y: hidden;
}
.view-all-button {
	padding: 4px 16px !important;
	font-size: 14px !important;
}
.tab-products-tabs .tab-button {
	padding: 12px 15px !important;
}
.tab-products-tabs {
	gap: 5px !important;
}
.split-banner-content h2 {
	font-size: 20px !important;
	text-align: center;
}
.split-banner-content p {
	font-size: 14px !important;
	text-align: justify;
}
.split-banner-button {
	margin: 0 auto;
	display: block !important;
	max-width: fit-content;
	padding: 8px 20px !important;
}
.slide-overlay {
	opacity: .9 !important;
}
.feature-cards .features-grid {
	grid-template-columns: repeat(2,1fr);
	gap: 15px;
	justify-content: center;
}
.feature-cards .features-grid > *:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
}
.feature-cards .feature-card h3 {
	font-size: 18px;
}
.feature-cards .feature-card {
	padding: 15px;
}
.feature-cards .feature-card p {
	font-size: 14px;
}
.category-image img {
	object-fit: contain !important;
}
}