/********Home Page ***/


.hover_caatgory_box {
    position: relative;
}

/* ===== TITLE ===== */
.title_hover {
    border: 1px solid #ccc;
    transition:
        border-color 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===== BUTTON ===== */
.button_catagory {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.1s;
    will-change: transform, opacity;
}

/* ===== HOVER STATE ===== */
.hover_caatgory_box:hover .title_hover {
    border-color: transparent;
    opacity: 0.9;
    transform: translateY(-3px);
}

.hover_caatgory_box:hover .button_catagory {
    opacity: 1;
    transform: translateY(0);
}

/*******/


@media (max-width: 767px) {

  /* INNER WRAPPER = SCROLL AREA */
  .loop-mobile > .e-con {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap:10px;
    padding: 5px 0 10px;

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  /* EACH CARD */
  .loop-mobile .hover_caatgory_box {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
  }

  /* SCROLLBAR HIDE */
  .loop-mobile > .e-con::-webkit-scrollbar {
    display: none;
  }

  .loop-mobile > .e-con {
    scrollbar-width: none;
  }
}




.new-arrivals-slider .swiper-slide-active .content-box{
      visibility: visible;
      opacity: 1;
}


.new-arrivals-slider .content-box{
    opacity: 0;
}

/********make your care can Page ***/
 
/* ==============================
   CARE GRID RESPONSIVE LAYOUT
================================ */


.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .care-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
  .qty-control{
     gap: 5px !important;
  }

}



/* ==============================
   CARE CARD
================================ */

.care-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.care-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.care-card h4 {
    font-size: 16px !important;
    color: #000;
    margin: 10px 0 5px;
}

.care-card p {
    margin: 0 0 10px;
    font-weight: 500;
}


/* ==============================
   QTY CONTROL
================================ */

.qty-control {
    display: flex;
    gap: 10px;
background: #ece9e2;
    border-radius: 50px;
    width: 100%;
    align-items: center;
    justify-content: space-between;

}

.qty-control button {
    width: 100%;
    padding: 9.5px !important;
    border: 0 !important;
    background: #000;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
}

.qty-control button:hover {
    background: #2672ab;
}

button.qty-minus,
button.qty-plus {
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

button#add-care-can{
  padding: 10px 20px !important;
    border: 0 !important;
    background: #000;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
}

button#add-care-can:hover{
     background: #2672ab;
}

.care-summary {
    display: flex;
    align-items: baseline;
    gap: 20px;
    justify-content: center;
    padding: 30px 0px;
}

/* ==============================
   CARE BOTTOM BAR
================================ */

#care-bottom-bar {
/*     position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    flex-wrap: wrap;
    gap: 15px; */
}


/* ==============================
   CAN SLOTS
================================ */

.can-slots {
    display: flex;
    gap: 10px;
}

#care-bottom-bar .can-slots {
    justify-content: center;
}


.slot {
    width: 60px;
    height: 60px;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot span {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 2px 5px;
}

#care-bottom-bar h4 {
    text-align: center;
    font-size: 20px;
    font-family: 'Instrument Sans';
    font-weight: 400;
    margin-bottom: 20px;
}

button.slot-minus {
  position: absolute;
    top: -6px;
    right: -6px;
    background: #fff;
    border: 1px solid #000 !important;
    width: 15px !important;
    height: 15px !important;
    padding: 0px;
    font-size: 14px;
    border-radius: 0% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

button.slot-minus:hover{
    color: #fff;
    background: #2672ab;
    
}


.text-slot {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

/* ==============================
   PROGRESS BAR / TRUCK
================================ */

.care-progress {
    flex: 1;
    padding: 0 20px;
    min-width: 200px;
}

.track {
    position: relative;
    height: 50px;
    background: #ece9e2;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.truck {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    transition: left 0.4s ease;
}

.truck img {
    height: 50px;
}


/* ==============================
   CONFETTI
================================ */

.confetti {
    position: fixed;
    top: 60%;
    width: 8px;
    height: 8px;
    z-index: 9999;
    animation: confetti-fall 2s ease-out forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-150px) scale(0.5); opacity: 0; }
}


/* ==============================
   MOBILE OPTIMIZATION
================================ */

@media screen and (max-width: 769px) {
    
    .care-card{
        padding: 6px;
    }

    #care-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .can-slots {
        justify-content: center;
    }

    .care-progress {
        width: 100%;
        padding: 0;
    }

    button#add-care-can {
        width: 100%;
    }

}



/* ==== GLOBAL FONT + COLOR ==== */
body.woocommerce,
body.woocommerce-page {
  font-family: "Instrument Sans", Sans-serif !important;
  color: #000;
}

body.woocommerce a {
  color: #2672ab;
}

body.woocommerce a:hover {
  color: #000;
}

/* ==== CART + CHECKOUT WRAPPER FIX ==== */
.woocommerce-cart .entry-content form,
.woocommerce-checkout .woocommerce .col2-set {
  width: 60%;
  float: left;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
  width: 35%;
  float: right;
}

/* ==== TABLE CLEANUP ==== */
body .woocommerce table.shop_table {
  border: 1px solid #e6e6e6;
  border-collapse: collapse;
  font-family: "Instrument Sans", Sans-serif;
}

body .woocommerce table.shop_table th {
  color: #000;
  font-weight: 600;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
}

body .woocommerce table.shop_table td {
  color: #000;
  font-size: 14px;
  padding: 14px;
  border-bottom: 1px solid #e6e6e6;
}

/* ==== BUTTONS ==== */
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #place_order {
  background: #2672ab !important;
  color: #fff !important;
  border-radius: 40px;
  font-family: "Instrument Sans", Sans-serif;
  font-weight: 500;
}

body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
body .woocommerce #place_order:hover {
  background: #000 !important;
}

/* ==== FORM FIELDS ==== */
body .woocommerce form .form-row input.input-text,
body .woocommerce form .form-row textarea,
body .woocommerce form select {
  font-family: "Instrument Sans", Sans-serif;
  color: #000;
  border: 1px solid #ccc;
  padding: 10px;
}

/* ==== CHECKOUT TITLES ==== */
.woocommerce-checkout h3,
.woocommerce-checkout #ship-to-different-address label {
  font-family: "Instrument Sans", Sans-serif;
  color: #000;
  font-weight: 600;
}

/* ==== ORDER REVIEW FIX ==== */
.woocommerce-checkout #order_review {
  background: #fff;
  padding: 20px;
  border: 1px solid #e6e6e6;
}

/* ==== RESPONSIVE FIX ==== */
@media only screen and (max-width: 980px) {

  .woocommerce-cart .entry-content form,
  .woocommerce-checkout .woocommerce .col2-set,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-checkout #order_review {
    width: 100%;
    float: none;
    margin: 0 auto 20px;
  }

}

@media only screen and (max-width: 650px) {

  body .woocommerce table.shop_table th,
  body .woocommerce table.shop_table td {
    font-size: 13px;
  }

  body .woocommerce a.button,
  body .woocommerce button.button,
  body .woocommerce input.button,
  body .woocommerce #place_order {
    width: 100%;
    text-align: center;
  }

}


/* Functionality: Custom thumbnail size in product image gallery

 */

/* DESKTOP */
.woocommerce .flex-control-thumbs {
    margin: 10px 0px 10px 0px !important;
    width: 94% !important;
    display: flex;
}
/* Controls thumbnails width on desktop - vertically
 * Enable this ONLY for VERTICAL display
 */ 
ol.flex-control-nav.flex-control-thumbs li {
	width: 12% !important; 
}
/* Enable this ONLY for HORIZONTAL display */
/*ol.flex-control-nav.flex-control-thumbs li {
	width: 18% !important; 
}*/

/* PHONES */
@media (max-width:414px){
	ol.flex-control-nav.flex-control-thumbs li {
		width: 18% !important; /* Controls thumbnails width on mobile - Horizontally */
	}
}

/* TABLETS */
@media (min-width:568px) and (max-width:768px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important; 
    	width: 15% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important; 
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 90% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}
@media (min-width:769px) and (max-width:1024px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important; 
    	width: 12% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important; 
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 100% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}

/* Functionality: Product page image thumbnails on left side
 * Date:  2021-03-10
 * Author: Rafael Azuaje
 * Disable this segment if you want to display horizontally
 */
@media (min-width:568px) {
	.woocommerce .flex-control-nav { 
		position: absolute; 
		top:-10px; 
		left: 0px;
	}
	.flex-control-thumbs {
		display: flex;
		flex-direction: column;
	}
}
@media (min-width:568px) and (max-width:768px){
	.woocommerce .flex-viewport {
		width: 86.5% !important;
		left: 100px !important;
	}
}
@media (min-width:769px) and (max-width:1024px){
	.woocommerce .flex-viewport {
		width: 87% !important;
		left: 95px !important;
	}
}
@media (min-width:1025px){
	.woocommerce .flex-viewport {
		width: 85% !important;
		left: 80px !important;
	}	
}
