@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');




.cozy-wishlist-icon {
    position: absolute;
     bottom: 2px;
    right: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.4); /* 👈 more transparent */
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10; /* Lowered from 99 */
}

.cozy-wishlist-icon:hover {
    transform: scale(1.1);
}
.heart-icon {
    fill: transparent;
    stroke: #000000;
    stroke-width: 1.8;
    width: 18px;
    height: 18px;
    transition: fill 0.2s ease-in;
}
.heart-icon.filled {
    fill: #000000;
}

#floating-wishlist-icon {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    transform: scale(0);
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
}
#floating-wishlist-icon.visible {
    transform: scale(1);
}
.wishlist-icon {
    width: 24px;
    height: 24px;
    fill: #000000;
}
.wishlist-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #808080;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px white;
}




.cozy-wishlist-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

.cozy-wishlist-items li {
    width: 260px; /* Increased horizontal size */
    background: #fff;
    border: 1px solid #000; /* Changed to black */
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.cozy-wishlist-items li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cozy-wishlist-items li img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 8px;
}

.cozy-wishlist-items li p {
    font-size: 13px;
    margin: 6px 0;
    color: #222;
    line-height: 1.5;
    min-height: 38px;
}

.cozy-wishlist-items li .price {
    font-size: 13px;
    font-weight: bold;
    color: #111;
    margin-bottom: 8px;
    display: block;
}

.wishlist-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wishlist-actions button {
    font-size: 12px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0; /* <-- No rounded corners */
}

.wishlist-actions button:hover {
    background: #000;
    color: #fff;
}

.remove-from-wishlist {
     font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    padding: 16px 12px !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    font-size: 13px;
    margin: 1px 0 !important;
    box-sizing: border-box;
}

.remove-from-wishlist:hover {
    background: #333;
    background-color: #fff !important;
    color: #000 !important;
}

.move-to-cart {
    background: #444;
}

.move-to-cart:hover {
    background: #222;
}



.move-to-cart {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #fff;
    border: none;
    padding: 16px 12px !important; /* More vertical height */
    border-radius: 0;    /* No rounded corners */
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    font-size: 13px;
    margin: 1px 0 !important; /* Almost no space between buttons */
}




@media (max-width: 767px) {
    .cozy-wishlist-items {
        justify-content: center;
    }
}







#cozy-login-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cozy-login-content {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.cozy-login-content h2.cozy-login-message {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #000;
    text-align: left;
}

.cozy-login-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.6;
}

.cozy-login-content .login-button {
   width: 100%;
  background: black;
  color: white;
  font-size: 15px;
  font-weight: bold;
  padding: 14px 0;
  border: none;
  cursor: pointer;
  border-radius: 0; /* No rounded corners */
  text-transform: uppercase;
  text-align: center; /* Center the text */

}


.cozy-login-content .login-button:hover,
.cozy-login-content .login-button:focus,
.cozy-login-content .login-button:active{
      background: black;
  color: white;
  outline: none;
  box-shadow: none;
    
}






.cozy-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px !important;  /* Force a larger size */
    line-height: 1 !important;
    cursor: pointer;
    font-weight: normal;
    color: #000 !important;      /* Force black color */
    transition: none !important; /* No hover transition */
}

.cozy-close:hover {
    color: #000;
}


.login-button {
    display: inline-block;
    background: #f5f0ea; /* soft beige tone */
    color: #4a3f35;
    padding: 10px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 1px solid #e0d8cf;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.login-button:hover {
    background: #e9e2dc;
    color: #3b322c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}



.cozy-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}
.cozy-close:hover {
    color: #000;
}






.wishlist-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.move-to-cart {
    background-color: #d6c1b1;
    border: none;
    color: #3a2e27;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.move-to-cart:hover {
    background-color: #3D2B1F;
}



.cozy-wishlist-button {
	background-color: transparent;
	color: #000000;
	font-weight: normal;
	font-size: 13px;
	padding: 9px 14px 8px 14px; /* adjusted bottom padding */
	border-radius: 5px;
	text-align: center;
	border: 2px solid #000000;
	display: inline-flex;
	align-items: center;
	margin-top: 20px;
	margin-left: 12px;
	vertical-align: top;
	cursor: pointer;
}

.wishlist-btn-heart {
	margin-right: 6px;
}

.wishlist-btn-text {
	line-height: 1;
}


.cozy-wishlist-button svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: #000000;
	stroke-width: 2;
}



.cozy-wishlist-button:hover{
    background-color: transparent;
	color: #000000;
	border-color: #000000;
	box-shadow: none;
	outline: none;
}



/* Stylish Smooth Popup */
.cozy-added-popup {
    position: absolute;
    background: #111;
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.cozy-added-popup.show {
    opacity: 1;
    transform: translateY(0);
}


/* Rotating Loader inside Wishlist Button */
.cozy-wishlist-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cozy-loader {
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: cozy-spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes cozy-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.cozy-wishlist-button:hover,
.cozy-wishlist-button:focus,
.cozy-wishlist-button:focus-visible,
.cozy-wishlist-button:active {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    color: #000 !important;
}



.cozy-wishlist-button:focus,
.cozy-wishlist-button:focus-visible,
.cozy-wishlist-button:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #000000 !important; /* maintain your black border */
}

