.lolli-product-page {
    padding: 40px 0 80px;
    font-family: 'Inter', sans-serif;
}
.product:hover {
  transform: translateY(0px);
  box-shadow: 0 18px 35px rgba(37, 23, 58, 0.00);
}

.lolli-product__breadcrumbs {
    margin-bottom: 32px;
    font-size: 13px;
    color: #777;
}

.lolli-product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  padding: 25px;
  align-items: start;
}
.section {
  padding-top: 30px;
  padding-bottom: 10px;
}
.section h2 {
  font-size: clamp(26px, 3vw, 28px);
}
.lolli-product__gallery,
.lolli-product__details {
    min-width: 0;
}

.lolli-product__gallery .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
}

.lolli-product__gallery img {
    border-radius: 20px;
}

.lolli-product__details .summary {
    width: 100% !important;
    float: none !important;
}

.lolli-product__details .product_title {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: #38253e;
    margin-bottom: 20px;
}

.lolli-product__details .price {
    font-size: 28px !important;
    font-weight: 700;
    color: #9980B9 !important;
    margin-bottom: 25px;
}

.lolli-product__details .single_add_to_cart_button {
    background: #9980B9 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 16px 32px !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600 !important;
    transition: background 0.25s ease;
}

.lolli-product__details .single_add_to_cart_button:hover {
    background: #8065A3 !important;
}

.lolli-product__details .quantity .qty {
    padding: 12px;
    border: 1px solid #e8e1ed;
    border-radius: 30px;
}

.lolli-product__bottom {
  margin-top: 30px;
  margin-bottom: 60px;
}

.lolli-product__bottom .woocommerce-tabs ul.tabs li.active a {
    color: #9980B9;
}
/* PRODUCT GALLERY */

.lolli-product__gallery {
    position: relative;
    min-width: 0;
}

.lolli-product__gallery .woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.lolli-product__gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.lolli-product__gallery .woocommerce-product-gallery__image {
    overflow: hidden;
    border-radius: 24px;
    background: #faf7fd;
}

.lolli-product__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
}

.lolli-product__gallery .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    z-index: 10;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: var(--primary) !important;
    
    box-shadow: 0 4px 16px rgba(56, 37, 62, 0.08);
}


.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
  border: 2px solid #fff;
  border-radius: 100%;
  box-sizing: content-box;
  content: "";
  display: block;
  height: 10px;
  left: 13px;
  top: 12px;
  position: absolute;
  width: 10px;
}


.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
  background: #fff;

  border-radius: 6px;

  box-sizing: content-box;
  content: "";
  display: block;
  height: 8px;
  left: 25px;
  position: absolute;
  top: 22px;
  transform: rotate(-45deg);
  width: 2px;
}
.woocommerce .quantity .qty {
  width: 6em!important;
  text-align: center;
}

.lolli-product__gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.lolli-product__gallery .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #faf7fd;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.lolli-product__gallery .flex-control-thumbs li:hover {
    border-color: #cbb9df;
    transform: translateY(-2px);
}

.lolli-product__gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: #9980B9;
}

.lolli-product__gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    opacity: 1 !important;
    border-radius: 12px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .lolli-product__gallery .woocommerce-product-gallery__image,
    .lolli-product__gallery .woocommerce-product-gallery__image img {
        border-radius: 18px;
    }

    .lolli-product__gallery .flex-control-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .lolli-product__gallery .flex-control-thumbs li {
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .lolli-product__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lolli-product-page {
        padding: 24px 0 50px;
    }
}







/* RELATED PRODUCTS - LOLLIPOPAS DESIGN */

.lolli-product__bottom ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.lolli-product__bottom ul.products::before,
.lolli-product__bottom ul.products::after {
    display: none !important;
}

.lolli-product__bottom ul.products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 20px !important;
    border: 1px solid #eee8f2;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lolli-product__bottom ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(56, 37, 62, .08);
}

.lolli-product__bottom ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
}

.lolli-product__bottom ul.products li.product img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.79;
    height: auto;
    margin: 0 0 16px !important;
    padding: 22px;
    object-fit: contain;
    border-radius: 0;
    background: #f7f2fa;
    box-sizing: border-box;
}

.lolli-product__bottom ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #ed3689;
    color: #fff;
    font-size: 0;
    line-height: 1;
}

.lolli-product__bottom ul.products li.product .onsale::after {
    content: "%";
    font-size: 16px;
    font-weight: 700;
}

.lolli-product__bottom ul.products li.product .woocommerce-loop-product__title {
    min-height: 55px;
    margin: 0 20px 16px;
    padding: 0 !important;
    color: #17213b;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.35;
}

.lolli-product__bottom ul.products li.product .price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 70px 0 20px !important;
    color: #17213b !important;
    font-size: 15px !important;
    font-weight: 700;
}

.lolli-product__bottom ul.products li.product .price del {
    color: #898596;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.lolli-product__bottom ul.products li.product .price ins {
    color: #17213b;
    font-weight: 700;
    text-decoration: none;
}

.lolli-product__bottom ul.products li.product .button {
    position: absolute;
    right: 20px;
    bottom: 18px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;

    background: #9980B9 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;

    box-sizing: border-box;
    text-align: center;
}

.lolli-product__bottom ul.products li.product .button::before {
    content: "\F242";
    font-family: "bootstrap-icons" !important;
    font-size: 18px !important;
    font-weight: normal !important;
    line-height: 1 !important;
transform: translateY(-1px) translateX(6px);
    display: block;
    width: 18px;
    height: 18px;

    color: #fff;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

.lolli-product__bottom ul.products li.product .button:hover {
    background: #8065a3;
    transform: scale(1.06);
}

.lolli-product__bottom ul.products li.product .added_to_cart {
    margin: 8px 20px 0;
    font-size: 12px;
    color: #9980B9;
}
.button:hover {
  transform: translateY(0px);
  box-shadow: 0 9px 24px #6e4f9130;
}
/* RESPONSIVE */

@media (max-width: 1024px) {
    .lolli-product__bottom ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lolli-product__bottom ul.products {
        gap: 12px;
    }

    .lolli-product__bottom ul.products li.product {
        border-radius: 18px;
        padding-bottom: 16px !important;
    }

    .lolli-product__bottom ul.products li.product img {
        padding: 12px;
    }

    .lolli-product__bottom ul.products li.product .woocommerce-loop-product__title {
        margin: 0 12px 12px;
        font-size: 12px !important;
    }

    .lolli-product__bottom ul.products li.product .price {
        margin-left: 12px !important;
        margin-right: 48px !important;
        font-size: 13px !important;
        flex-wrap: wrap;
        gap: 4px;
    }

    .lolli-product__bottom ul.products li.product .button {
        right: 12px;
        bottom: 14px;
        width: 34px;
        height: 34px;
        min-height: 34px;
    }
}

/* ADD TO CART TOAST */

.lolli-cart-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 14px;

    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 16px 20px;

    background: #fff;
    border: 1px solid #eee8f2;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(56, 37, 62, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.lolli-cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lolli-cart-toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f0e9f7;
    color: #9980B9;
    font-size: 19px;
}

.lolli-cart-toast__text {
    color: #38253e;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.lolli-cart-toast__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8d8292;
    cursor: pointer;
    font-size: 14px;
}

.lolli-cart-toast__close:hover {
    color: #38253e;
}

@media (max-width: 600px) {
    .lolli-cart-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        padding: 14px;
    }
}



