/* CSS Document */
.wp_shopify{
	margin:0;
	padding:0;
}
.wp_shopify li{
	list-style:none;
	float:left;
	width: 15.6%;
	margin:0 10px 40px 0;
	text-align:center;
	overflow:hidden;
}
.wp_shopify li a{
	display:block;
	width:100%;
	font-size:14px;
	cursor:pointer;
}
.wp_shopify li a.ptitle{
	min-height:66px;
}
.wp_shopify li a img{
	height:200px;
	border:1px solid #666;
	padding:1px;
	max-width:none;
}
.wp_shopify li strong{
	color:#DD9933;
	font-size:16px;
}
.wp_shopify_product{
	display: flex;
	flex-direction: column;
}
.wp_shopify_product .prod-left {
	width: 100%;
	float: none;
	margin-bottom: 20px;
}
.wp_shopify_product .prod-upper {
	width: 100%;
	float: none;    
}
.wp_shopify_product .prod-right {
	margin-left: 0;
	text-align: center;
}
.wp_shopify_product .prod-clear {
  clear: both;
}
.wp_shopify_product .prod-gallery{
	margin-top: 15px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.wp_shopify_product .prod-gallery ul{
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}
.wp_shopify_product .prod-gallery ul li{
	float: none;
	list-style: none;
	margin: 5px;
}
.wp_shopify_product .prod-gallery ul li a{
	
}
.wp_shopify_product .prod-gallery ul li img{
	height:66px;
}
.wp_shopify_product .prod-right h3 {
	display: block;
	font-size: 24px;
	margin-bottom: 15px;
	text-align: center;
}
.wp_shopify_product .prod-price {
	font-size: 18px;
	margin: 15px 0;
	font-weight: bold;
	color: #242424;
}
.wp_shopify_product .prod-buy {
	margin: 20px 0;
	text-align: center;
}
.wp_shopify_product .prod-buy a img{
	height:60px;
}
.wp_shopify_product .prod-desc {
	font-size:17px;
}

/* Estilos para el botón de compra personalizable */
.wpsy-buy-button {
	display: inline-block;
	padding: 12px 30px;
	background-color: #96BF48;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 4px;
	transition: all 0.3s ease;
	text-align: center;
	margin: 10px auto;
	font-size: 18px;
	min-width: 200px;
}

.wpsy-buy-button:hover {
	background-color: #7da639;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	color: #ffffff;
}

.wpsy-buy-button:active {
	transform: translateY(0);
}

div#product-component-wrapper{
	height:50px;
	overflow:hidden;
	position:relative;
}
div#product-component-wrapper iframe {
	position: absolute;
	bottom: 2px;
}
.wpsy-add-to-cart {
	background: linear-gradient(45deg, #ff6600, #ff3300);
	color: #fff;
	padding: 14px 24px;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
	display: inline-block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.wpsy-add-to-cart:hover {
	background: linear-gradient(45deg, #e65c00, #cc2900);
	transform: scale(1.05);
	box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.wpsy-add-to-cart:active {
	transform: scale(0.95);
}
#shopify-cart-drawer {
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	width: 350px;
	height: 100%;
	background: white;
	box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
	padding: 40px 20px;
	overflow-y: auto;
	z-index: 100000;
}
#checkout-button, #close-cart {
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
	display: block;
	text-align: center;
	margin-top: 10px;
}

#checkout-button {
	background: linear-gradient(45deg, #28a745, #218838);
	color: #fff;
}

#checkout-button:hover {
	background: linear-gradient(45deg, #218838, #1e7e34);
	transform: scale(1.05);
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#checkout-button:active {
	transform: scale(0.95);
}

#close-cart {
	background: linear-gradient(45deg, #dc3545, #c82333);
	color: #fff;
}

#close-cart:hover {
	background: linear-gradient(45deg, #c82333, #bd2130);
	transform: scale(1.05);
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#close-cart:active {
	transform: scale(0.95);
}
@media only screen and (max-width: 480px) {
	.wp_shopify li{
		width:100%;
		margin:0 0 40px 0;
	}
	.wp_shopify_product .prod-left {
		width:100%;
		float:none;
		margin-bottom: 15px;
	}
	.wp_shopify_product .prod-right {
		margin:0;
		width: 100%;
	}
	.wpsy-buy-button {
		width: 100%;
		padding: 12px 15px;
	}
	.wp_shopify_product .prod-gallery ul li img {
		height: 50px;
	}
}

/* New styles for simplified product display */
.wp_shopify_grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 -10px;
}

.wp_shopify_product_simple {
    max-width: 100%;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.wp_shopify_product_simple .product-image {
    margin-bottom: 15px;
}

.wp_shopify_product_simple .product-image img {
    max-width: 100%;
    height: auto;
}

.wp_shopify_product_simple .product-info h3 {
    font-size: 16px;
    margin: 0 0 10px;
    font-weight: normal;
    line-height: 1.4;
}

.wp_shopify_product_simple .product-info h3 a {
    text-decoration: none;
    color: #333;
}

.wp_shopify_product_simple .product-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

.wp_shopify_product_simple .product-price {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

.wp_shopify_product_simple .view-product-button {
    display: inline-block;
    background-color: #228755;
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.wp_shopify_product_simple .view-product-button:hover {
    background-color: #1f7a4d;
}

@media (min-width: 601px) {
    .wp_shopify_grid .wp_shopify_product_simple {
        width: 25%;
    }
}

@media (max-width: 600px) {
    .wp_shopify_grid .wp_shopify_product_simple {
        width: 50%;
    }
}

.wp_shopify_product .prod-left a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}