/*** header ****/
.drawer-menu-sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.3s ease-in-out;
  overflow-y: auto;
}

.drawer-menu-sidebar.open {
  right: 0;
}

.drawer-content {
  padding: 20px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  float: left;
}

.drawer-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.drawer-list li {
  margin: 15px 0;
}

.drawer-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}


/* Wishlist Icon Container */
.wishlist-icon-container {
position: relative;
display: inline-block;
text-decoration: none;
}

/* Wishlist Icon */
.wishlist-icon-container i {
font-size: 24px;
transition: color 0.2s ease;
}

/* Wishlist Count Badge */
.wishlist-count {
position: absolute;
top: -8px;
right: -8px;
background-color: #8F99FB;
color: white;
border-radius: 50%;
font-size: 12px;
min-width: 18px;
height: 18px;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Hide count when zero */
.wishlist-count.hidden {
display: none;
}

/* Hover effects */
.wishlist-icon-container:hover i {
transform: scale(1.1);
}

/* For larger counts (double digits) */
.wishlist-count[data-count-value="10"] {
font-size: 10px;
}

/** detail.products   */
.form-select {
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
border: 1px solid #C3CDE6;
font-size: 1rem;
}
.form-select:focus {
border-color: #8F99FB;
box-shadow: 0 0 0 0.2rem rgba(143, 153, 251, 0.25);
}


.ripple-container {
position: relative;
display: inline-block;
}

.ripple-icon {
position: relative;
width: 60px;
height: 60px;
background: #8F99FB;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
z-index: 2;
box-shadow: 0 6px 15px rgba(143, 153, 251, 0.4);
animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
0% {
    box-shadow: 0 6px 15px rgba(143, 153, 251, 0.4);
    transform: translateY(0px);
}
50% {
    box-shadow: 0 15px 20px rgba(143, 153, 251, 0.2);
    transform: translateY(-5px);
}
100% {
    box-shadow: 0 6px 15px rgba(143, 153, 251, 0.4);
    transform: translateY(0px);
}
}

.cart-count {
position: absolute;
top: 0;
right: 0;
background: #C3CDE6;
color: white;
width: 25px;
height: 25px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: bold;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Efecto de pulso para el ícono */
.fa-pulse {
animation: fa-pulse 2s infinite;
}

@keyframes fa-pulse {
0% {
    transform: scale(1);
}
50% {
    transform: scale(1.2);
}
100% {
    transform: scale(1);
}
}

/* Efecto de ondas de agua */
.ripple-icon::before,
.ripple-icon::after {
content: '';
position: absolute;
width: 110%;
height: 110%;
border-radius: 50%;
background: #8F99FB;
z-index: -1;
opacity: 0.7;
}

.ripple-icon::before {
animation: ripple-effect 2s infinite;
}

.ripple-icon::after {
animation: ripple-effect 2s 0.5s infinite;
}

@keyframes ripple-effect {
0% {
    transform: scale(1);
    opacity: 0.7;
}
100% {
    transform: scale(1.5);
    opacity: 0;
}
}


/*** main page *****/

/* Product Image Styling with Border Radius */
.image-container img {
border-radius: 12px;
transition: transform 0.3s ease;
overflow: hidden;
}

.image-container {
border-radius: 12px;
overflow: hidden;
position: relative;
margin-bottom: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Add to Basket Button next to item name */
.item-title {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1px;
}

.item-title a {
flex: 1;
margin-right: 1px;
color: #333;
text-decoration: none;
font-weight: 600;
}

.add-to-basket-btn {
background-color: #8F99FB;
color: white;
border: none;
border-radius: 15px;
padding: 6px 12px;
font-size: 12px;
display: inline-flex;
align-items: center;
cursor: pointer;
transition: all 0.3s ease;
}

.add-to-basket-btn:hover {
background-color: #C3CDE6;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.add-to-basket-btn i {
margin-right: 5px;
}

/* Improved styling for the item card */
.item {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
background-color: white;
padding: 15px;
margin-bottom: 20px;
}

.item:hover {
transform: translateY(-5px);
}

/* Style for the price template */
.price-template {
margin-top: 15px;
}

.item-new-price {
font-weight: bold;
color: #2c3e50;
font-size: 18px;
}

.item-old-price {
text-decoration: line-through;
color: #95a5a6;
font-size: 14px;
margin-left: 8px;
}

/* Rounded corners for all product images */
.item-img-wrapper-link img,
.image-banner img,
.bg-image img {
border-radius: 12px;
transition: transform 0.3s ease;
}

/* Hover effect for product images */
.item-img-wrapper-link:hover img {
transform: scale(1.05);
}

/* Product item styling */
.item {
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin: 10px;
background-color: #fff;
}

.item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.image-container {
position: relative;
overflow: hidden;
border-radius: 16px 16px 0 0;
}

.item-content {
padding: 15px;
}

/* Button styling with rounded corners */
.btn, 
.item-addCart,
.item-quick-look,
.item-mail,
.item-addwishlist {
border-radius: 50px;
padding: 8px 20px;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
font-weight: 500;
}

.item-action-behaviors a {
border-radius: 30px;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin: 5px;
}

/* Primary buttons */
.btn-primary, .item-addCart {
background-color: #8F99FB;
color: white;
border: none;
}

.btn-primary:hover, .item-addCart:hover {
background-color: #C3CDE6;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Secondary buttons */
.btn-secondary {
background-color: #f8f9fa;
color: #3c4043;
border: 1px solid #dadce0;
}

.btn-secondary:hover {
background-color: #f1f3f4;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Product tags */
.tag {
border-radius: 0 0 0 16px;
overflow: hidden;
}

.tag span {
border-radius: 0 0 0 16px;
padding: 8px 15px;
}

/* Product price styling */
.price-template {
margin-top: 10px;
}

.item-new-price {
font-weight: 700;
color: #8F99FB;
font-size: 18px;
}

.item-old-price {
text-decoration: line-through;
color: #9aa0a6;
margin-left: 8px;
}

/* Section styling */
.section-maker {
padding: 30px 0;
}

.sec-maker-header {
margin-bottom: 30px;
}

/* Tab navigation - Updated with new colors and no background */
.tab-nav-style-1-a {
border-radius: 50px;
overflow: hidden;
display: inline-flex;
background-color: transparent;
padding: 5px;
margin: 15px auto;
}

.tab-nav-style-1-a .nav-link {
border-radius: 50px;
padding: 8px 20px;
color: #8F99FB;
margin: 0 5px;
transition: all 0.3s ease;
}

.tab-nav-style-1-a .nav-link.active {
background-color: #8F99FB;
color: white;
box-shadow: 0 2px 5px rgba(143, 153, 251, 0.3);
}

.tab-nav-style-1-a .nav-link:hover:not(.active) {
background-color: #C3CDE6;
color: white;
}

/* Site priorities section */
.single-item-wrapper {
border-radius: 20px;
padding: 25px 15px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
height: 100%;
}

.single-item-wrapper:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.single-item-icon {
width: 70px;
height: 70px;
border-radius: 50%;
background-color: #C3CDE6;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
}

.single-item-icon i {
font-size: 30px;
color: #8F99FB;
}


.product-video-container {
  background-color: #f8f9fa;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#product-video {
  width: 100%;
  border-radius: 3px;
  max-height: 300px;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.video-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail-placeholder {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.video-thumbnail-placeholder i {
  font-size: 24px;
}

.video-thumbnail-placeholder:hover {
  background-color: #e0e0e0;
}


.main-video {
  width: 100%;
  max-height: 500px;
  border-radius: 5px;
}

