/*
Theme Name: My Theme
Author: Sampa Roy
Version: 1.0
*/

.products-grid .listing-card a {
  text-decoration: none !important;
  color: #3a2d23 !important;
}

.products-grid .listing-card a:hover {
  text-decoration: none !important;
  color: #a67c52 !important;
}

.products-grid .product-title {
  font-size: 20px;
  margin-top: 10px;
  color: #3a2d23;
}


.pagination-wrap {
  text-align: center;
  margin-top: 40px;
}

.pagination-wrap .page-numbers {

  display: inline-block;

  padding: 8px 14px;

  margin: 3px;

  border: 1px solid #cfc6b8;

  color: #3a2d23;

  text-decoration: none;

  background: #f7f3eb;

  font-family: serif;

}

.pagination-wrap .current {

  background: #e8dfd1;

  border: 1px solid #cfc6b8;

}

.pagination-wrap .page-numbers:hover {

  background: #d6c7b2;

  color: #3a2d23;

}

.pagination-wrap .next,
.pagination-wrap .prev {

  padding: 8px 18px;

}

.cat-pill {

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 8px 18px;

  border: 1px solid #ddd;

  text-decoration: none;

  color: #3a2d23;

  background: #f8f5ef;

  transition: .3s;

  min-width: 80px;

  line-height: 1.5;

}

.cat-pill:hover {

  background: #a67c52;

  color: white;

  text-decoration: none;

}

.cat-pill.active {

  background: #a67c52;

  color: white;

  border-color: #a67c52;

}



/* .product-card a {
  text-decoration: none !important;
  color: inherit !important;
} */

/* .product-card a h6 {
  text-decoration: none !important;
  color: #3b2a1a !important;
} */

/* .product-card a:hover h6 {
  text-decoration: none !important;
  color: #3b2a1a !important;
} */

.yith-wcwl-share {
  display: none;
}

/* Single Product Page  wish list*/
.my-wishlist {
  text-align: center;
  max-width: max-content;
}

.my-wishlist a {
  text-decoration: none !important;
  color: #5a4a3f !important;
  font-size: 28px;
}

.my-wishlist .yith-wishlistaddedbrowse a,
.my-wishlist .yith-wishlistexistsbrowse a {
  display: none;
}

.my-wishlist .yith-wcwl-add-button a:before {
  content: "♡ ";
}

.my-wishlist .yith-wcwl-wishlistaddedbrowse:before {
  content: "♥ Add to Wishlist";
  font-size: 22px;
}

/* Default state (not wishlisted) */
.my-wishlist .yith-wcwl-add-to-wishlist-button svg {
  fill: #ffffff !important;
}

/* Added state (wishlisted) */
.my-wishlist .yith-wcwl-add-to-wishlist-button--added svg {
  fill: #C49A6C !important;
}

/* add to cart*/

.cart-btn {
  width: 100%;
  height: 60px;
  border: 1px solid #927045;
  background: #a07944;
  color: #f7eee2;
  letter-spacing: 0.6px;
  font-size: 32px;
  font-family: "Cormorant Garamond", serif;
  cursor: pointer;
}

/* Prevent WooCommerce override */
.single_add_to_cart_button {
  background: #a07944 !important;
  color: #f7eee2 !important;
  border: 1px solid #927045 !important;
}

/* Hover (optional) */
.cart-btn:hover {
  background: #8c6738;
}

.topbar-actions .wishlist-link {
  border-right: none !important;
  border-left: none !important;
}

.topbar-actions .cart-link {
  border-right: none !important;
  border-left: none !important;
}


/* Remove WordPress default link styling */
a {
  color: inherit !important;
  text-decoration: none !important;
}

a:hover,
a:focus,
a:active {
  color: inherit !important;
  text-decoration: none !important;
}

/* Specific overrides for common WordPress link classes */
.wp-block-button__link,
.wp-block-file__button,
.wp-block-button__link:hover,
.wp-block-file__button:hover {
  text-decoration: none !important;
}

/* Remove underlines from all links globally */
* a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  color: inherit !important;
}

/* Ensure cart and wishlist links don't get default styling */
.cart-link,
.wishlist-link,
.profile-link,
.custom-orders {
  text-decoration: none !important;
}

.cart-link:hover,
.wishlist-link:hover,
.profile-link:hover,
.custom-orders:hover {
  text-decoration: none !important;
}


.product-reviews .star-rating span:before {
  color: #C49A6C !important;
}

.product-reviews .star-rating:before {
  color: #E5C9A8 !important;
}

.review-date {
  display: block;
  font-size: 14px;
  color: #9b8b7a;
  margin-bottom: 6px;
}

.single-review {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #e8dfd3;
  padding: 20px 0;
}

.review-left {
  max-width: 70%;
}

/* Cart Page */
.cart-actions {
  display: flex;
  align-items: stretch;
  /* important */
  gap: 15px;
  margin-top: 15px;
}

.cart-actions .quantity {
  display: flex;
  align-items: center;
  margin: 0;
}

.cart-actions .quantity .qty {
  width: 70px;
  height: 54px;
  border: 1px solid #d6c6b8;
  text-align: center;
  font-size: 16px;
  background: #f7f3ee;
}

.cart-btn {
  flex: 1;
  height: 54px;
  background: #A67C52;
  color: white;
  border: none;
  font-weight: 500;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn:hover {
  background: #8b653f;
}

/* Custom Review Form */
.my-stars {

  margin-top: 10px;

}

.my-star {

  font-size: 28px;

  color: #E5C9A8;

  cursor: pointer;

  margin-right: 5px;

}

.my-star.active {

  color: #C49A6C;

}

/* Custom Cart Button */
.wc-block-cart__submit-button{
    background:linear-gradient(135deg,#c6a769,#a67c3b) !important;
    color:white !important;
    padding:18px 45px !important;
    border-radius:50px !important;
    font-size:17px !important;
    text-transform:uppercase;
    letter-spacing:2px;
    transition:.3s;
}

/* .wc-block-cart__submit-button:hover{
    background:linear-gradient(135deg,#a67c3b,#c6a769) !important;
} */




/* Move any bottom toast to top center */
body div[style*="bottom"],
body div[class*="toast"],
body div[class*="message"],
body div[class*="success"]{

top:20% !important;
bottom:auto !important;
left:50% !important;
right:auto !important;
transform:translate(-50%,-50%) !important;
z-index:999999 !important;

}


.cart-btn{

position:relative;
display:flex;
justify-content:center;
align-items:center;

}

/* Hide WooCommerce default spinner */
.single_add_to_cart_button.loading::after{
display:none !important;
}

/* Button */
.cart-btn{
position:relative;
display:block;   /* IMPORTANT */
text-align:center;
}

/* Button text */
.btn-text{
display:block;
width:100%;
}

/* Loader */
.btn-loader{
display:none;
width:22px;
height:22px;
border:3px solid white;
border-top:3px solid transparent;
border-radius:50%;
animation:spin .6s linear infinite;

/* PERFECT CENTER */
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}

/* Show loader */
.cart-btn.loading .btn-loader{
display:block;
}

/* Hide text but keep space */
.cart-btn.loading .btn-text{
opacity:0;
}

/* Prevent click */
.cart-btn.loading{
pointer-events:none;
opacity:.85;
}

@keyframes spin{
from{transform:translate(-50%,-50%) rotate(0deg);}
to{transform:translate(-50%,-50%) rotate(360deg);}
}


/* Contact Page */
.contact-hero{

padding:20px 0;
text-align:center;

}

.contact-subtitle{

color:#777;
max-width:600px;
margin:auto;

}


.contact-main-grid{

display:grid;
grid-template-columns:35% 65%;
gap:40px;
margin-top:10px;

}


.contact-left{

display:flex;
flex-direction:column;
gap:25px;

}


.contact-card{

background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
border-left:4px solid #C9A14A;

}


.contact-card .icon{

font-size:24px;
margin-bottom:10px;

}


.contact-card h4{

margin-bottom:10px;

}


.contact-card span{

color:#888;
font-size:14px;

}


.contact-form-box{

background:white;
padding:40px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
border-top:4px solid #C9A14A;

}

.out-stock-btn{

background:transparent;
color: #4e3f31;
border: 1px solid rgba(58, 45, 33, 0.42);
/* same typography as cart button */
font-size:16px !important;
text-transform:capitalize;
padding:18px 24px;
width:100%;
cursor:not-allowed;
font-family: "Lora", serif;
}
.out-stock-btn:hover{background: #ece1cf;
    color: #33261d;}
/* Hide Wishlist Title on Wishlist Page */
.wishlist-title-container {
    display: none !important;
}

.woocommerce-message {
    display: none !important;
}

.woocommerce-notices-wrapper {
    display: none !important;
}

/* ================================
   WooCommerce Cart Page Fix
================================ */

/* Remove short description under product name */
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Hide "View Cart" and "Checkout" buttons after adding to cart */
.woocommerce a.added_to_cart {
    display: none !important;
}

/* Hide the "Added to Cart" message */
a.button.added::after {
    display: none !important;
    content: none !important;
}

/* Keep button stable */
a.button.add_to_cart_button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    white-space: nowrap; /* ✅ PREVENT TEXT BREAK */
}

/* Hide text but keep space */
a.button.add_to_cart_button.loading {
    color: transparent !important;
}

/* Loader centered */
a.button.add_to_cart_button.loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* PAGINATION WRAP */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

/* PAGE BUTTON */
.pagination-wrap a {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* HOVER */
.pagination-wrap a:hover {
  background: #a67c52;
  color: #fff;
  border-color: #a67c52;
}

/* ACTIVE PAGE */
.pagination-wrap a.active {
  background: #a67c52;
  color: #fff;
  border-color: #a67c52;
  font-weight: 600;
}

/* PREV / NEXT */
.pagination-wrap .page-nav {
  font-size: 18px;
  font-weight: bold;
}

/* Custom Select Dropdown */
.custom_select {
  position: relative;
  width: 135px;
  cursor: pointer;
}
.custom_select .selected {
  padding: 5px 10px;
  position: relative;
  height: 38px;
  align-items: center;
  font-size: 12px;
  display: flex;
  border: 1px solid rgba(81, 63, 45, 0.3);
  background: rgba(244, 237, 226, 0.92);
  color: #5b4d3f;
  border-radius: 5px;
}
.custom_select .options div {
  padding: 5px 10px;
}
.custom_select .options div:hover {
  background-color: #a67c52;
  color: #fff;
}
.custom_select.active .options {
  display: block;
}
.custom_select .selected::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
}
.custom_select.active .selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom_select .options {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 1000;
  font-size: 12px;
  border: 1px solid rgba(81, 63, 45, 0.3);
  background: rgb(244, 237, 226);
  color: #5b4d3f;
}



.single_product_image {
  position: relative;
}

.single-wishlist {
  position: absolute;
  top: 15px;     /* adjust vertically */
  right: 15px;   /* adjust horizontally */
  z-index: 99;
}

/* Optional: make it look like your listing */
.single-wishlist a {
  display: flex;
  align-items: center;
  justify-content: center;
}