/* Frontend Styles for Confy Product Details Widget */
.confy-product-widget {
	font-family: inherit;
	color: #333;
}

.confy-sizes-selector {
	margin-bottom: 25px;
}

.confy-sizes-selector h4 {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
}

.confy-sizes-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.confy-size-btn {
	background-color: #f1f1f1;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.confy-size-btn:hover {
	background-color: #e0e0e0;
}

.confy-size-btn.active {
	background-color: #0073aa; /* Change to match theme */
	color: #fff;
	border-color: #0073aa;
}

.confy-attributes {
	margin-bottom: 30px;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #eee;
}

.confy-attributes ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.confy-attributes li {
	font-size: 14px;
}

.confy-attributes li strong {
	display: block;
	color: #555;
	margin-bottom: 4px;
}

.confy-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.confy-feature-card {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	background: #fff;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.confy-feature-card:hover {
	transform: translateY(-3px);
}

.confy-feature-icon {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.confy-feature-icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.confy-feature-text h5 {
	margin: 0 0 5px 0;
	font-size: 16px;
	font-weight: 600;
}

.confy-feature-text p {
	margin: 0;
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}

/* Confy Product List Widget Styles */
.confy-products-section {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.confy-products-header {
    text-align: center;
    padding: 4rem 1.5rem 3.5rem;
    margin: 0;
}

.confy-products-header h2 {
    font-size: 2.5rem;
    color: #10355f;
    margin: 0;
    font-weight: 700;
}

.confy-products-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.confy-products-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
}

.confy-card-full-link {
    position: absolute;
    inset: 0;
    z-index: 20;
    text-decoration: none;
}

.confy-product-card {
    position: relative;
    background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 100%);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 53, 95, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    border: none;
}

.confy-product-card:hover {
    box-shadow: 0 20px 40px rgba(16, 53, 95, 0.12);
}

.confy-product-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #10355f;
    opacity: 0.06;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    filter: blur(50px);
    transition: all 0.5s ease;
    z-index: 0;
}

.confy-product-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: #0ea5e9;
    opacity: 0.06;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    filter: blur(50px);
    transition: all 0.5s ease;
    z-index: 0;
}

.confy-product-card:hover::before, .confy-product-card:hover::after {
    opacity: 0.10;
}

.confy-product-image-container {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
}

.confy-product-content {
    padding: 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 3;
    transform: none;
    opacity: 1;
}

.confy-product-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #10355f;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.confy-product-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.confy-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #10355f;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    align-self: flex-start;
    position: relative;
    z-index: 25;
}

.confy-product-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.confy-product-card:hover .confy-product-btn {
    background-color: #10355f;
    color: #ffffff;
    border-color: #10355f;
    box-shadow: 0 8px 20px rgba(16, 53, 95, 0.2);
}

.confy-product-card:hover .confy-product-btn svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .confy-products-grid {
        grid-template-columns: 100%;
    }
    .confy-product-image-container {
        height: 200px;
        padding: 1.5rem;
    }
    .confy-product-content {
        padding: 1.5rem;
    }
    .confy-products-header {
        padding: 3rem 1rem 1.5rem;
    }
    .confy-products-header h2 {
        font-size: 2.1rem;
    }
    .confy-products-header p {
        font-size: 1rem;
    }
}

/* Confy Size Gallery Styles */
.confy-size-gallery {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.confy-size-gallery::-webkit-scrollbar {
    height: 6px;
}

.confy-size-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.confy-gallery-img {
    flex: 0 0 auto;
    width: 250px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.confy-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.confy-gallery-img:hover img {
    transform: scale(1.05);
}


