
.ws-toast {
    height: 80px;
}

/* Success Checkmark */
.single_add_to_cart_button.added::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}
/* ===== BEAUTIFUL QUANTITY SELECTOR ===== */
.quantity {
    display: inline-flex !important;
    align-items: center;
    border: 2px solid #e6e6e6;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    height: 42px;
}

.quantity button.qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: #f8f8f8;
    font-size: 22px;
    font-weight: 700;
    color: #B87939;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity button.qty-btn:hover {
    background: #B87939;
    color: #fff;
}

.quantity button.qty-btn:active {
    transform: scale(0.9);
}

.quantity input.qty {
    width: 55px !important;
    height: 42px !important;
    border: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    background: transparent;
    pointer-events: none; /* manual typing off */
}

/* remove arrows */
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* ========== BASE LAYOUT ========== */
#primary {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%) !important;
    width: 100%;
}

#main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    margin-top: 2.5rem !important;
    padding: 0 !important;
}
.single-product-page-container {
    width: 100%;
    padding: 0 16px;
    overflow: hidden !important;
}
.product-main-content {
    padding: 24px !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.product-main-content:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========== BREADCRUMB ========== */
.zoomImg {
    display: none !important;
}

.woocommerce-breadcrumb::after, .woocommerce-breadcrumb::before {
    display: none !important;
}
.woocommerce-breadcrumb {
    margin:1rem 0 0 0 !important ;
    padding: 16px 16px !important;
    background: #fafafa !important ;
    font-weight: 600;
    display: flex ;
    align-items: center;
    justify-content: start;
    font-size: 16px !important;
}
.woocommerce-breadcrumb span {
    margin: 0 .7rem;
}
.woocommerce-breadcrumb p {
        color: #666 !important;
         transition: color 0.3s;
                 margin: 0 !important;


}
.woocommerce-breadcrumb a {
             transition: color 0.3s;
}
.woocommerce-breadcrumb a:hover {
        color: #B87939 !important;
}
.woocommerce-breadcrumb > *:nth-last-child(2) {
        color: #B87939 !important;
        margin: 0 !important;

}
/* ========== PRODUCT TITLE & RATING ========== */
.product_title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px;
    line-height: 1.3 !important;
}

.woocommerce-product-rating {
    margin-bottom: 0 !important;
}

.star-rating {
    color: #FFB800 !important;
}

/* ========== PRICE ========== */
/*.product .price {*/
/*    font-size: 30px !important;*/
/*    font-weight: 700 !important;*/
/*    color: #B87939 !important;*/
/*    margin-bottom: 20px !important;*/
/*}*/

.product .price .woocommerce-Price-amount {
    background: linear-gradient(135deg, #B87939 0%, #D4A574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== PRODUCT DESCRIPTION ========== */
.woocommerce-product-details__short-description {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #555 !important;
    margin-bottom: 8px !important;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    border-left: 4px solid #B87939;
}

/* ========== WEIGHT SELECTOR (Modern) ========== */
.weight-selector-wrapper {
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.weight-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.weight-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.weight-btn {
    position: relative;
    flex: 1 1 calc(20% - 10px);
    min-width: 80px;
    margin: 0;
    cursor: pointer;
}

.weight-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.weight-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.weight-btn span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.weight-btn:hover span {
    border-color: #B87939;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(184, 121, 57, 0.2);
}

.weight-btn:hover span::before {
    left: 100%;
}

.weight-btn.active span,
.weight-btn input[type="radio"]:checked + span {
    background: linear-gradient(135deg, #B87939 0%, #D4A574 100%);
    border-color: #B87939;
    color: #fff;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 121, 57, 0.3);
}

.weight-btn.active span::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 12px;
    background: rgba(255,255,255,0.3);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== CUSTOM WEIGHT INPUT ========== */
.custom-weight-input {
    margin-top: 16px;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-weight-input input[type="number"] {
    width: 100%;
    max-width: 300px;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
}

.custom-weight-input input[type="number"]:focus {
    outline: none;
    border-color: #B87939;
    box-shadow: 0 0 0 4px rgba(184, 121, 57, 0.1);
    transform: translateY(-2px);
}

.custom-weight-input input[type="number"]::-webkit-inner-spin-button,
.custom-weight-input input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ========== ADD TO CART BUTTON ========== */
.single_add_to_cart_button {
    background: linear-gradient(135deg, #B87939 0%, #D4A574 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 0 !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(184, 121, 57, 0.3);
    position: relative;
    overflow: hidden;
    width: 200px !important; 

}

.single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(184, 121, 57, 0.4) !important;
}


.single_add_to_cart_button:active {
    transform: translateY(-1px) !important;
}

/* ========== PRODUCT META ========== */
.product_meta {
    margin-top: 24px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    font-size: 12px;
}

.product_meta span {
    display: block;
    margin-bottom: 8px;
    color: #666;
}

.product_meta a {
    color: #B87939;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product_meta a:hover {
    color: #D4A574;
}

/* ========== RELATED PRODUCTS ========== */
.related.products {
    max-width: 1200px !important;
    background: transparent !important;
    margin: 3rem -20px 0 -20px;
    padding: 0;
}

.related.products h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 32px !important;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.related.products h2::after {
    display: none !important;

}

.related.products ul.products::before {
    display: none !important;
}


.related.products .product {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.related.products .product:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ========== PRODUCT IMAGES GALLERY (Beautiful) ========== */
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 32px;
}

/* Main Image */
.woocommerce-product-gallery__wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: #fff;
    transition: all 0.4s ease;
}

.woocommerce-product-gallery__wrapper:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

.woocommerce-product-gallery__image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.woocommerce-product-gallery__image img {
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

/* Thumbnail Gallery */
.flex-control-thumbs,
.woocommerce-product-gallery__thumbnails {
    display: flex !important;
    gap: 12px !important;
    margin-top: 16px !important;
    flex-wrap: wrap;
    justify-content: center;
}
.woocommerce div.product div.images .flex-control-thumbs {
    overflow: visible !important;
}
.flex-control-thumbs li,
.woocommerce-product-gallery__thumbnails li {
    flex: 0 0 calc(25% - 9px) !important;
    max-width: 120px !important;
    list-style: none !important;
    margin: 0 !important;
}

.flex-control-thumbs li img,
.woocommerce-product-gallery__thumbnails li img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 3px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
}

.flex-control-thumbs li:hover img,
.woocommerce-product-gallery__thumbnails li:hover img {
    border-color: #D4A574 !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(184, 121, 57, 0.25) !important;
}

.flex-control-thumbs li.flex-active img,
.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery__thumbnails li.active img {
    border-color: #B87939 !important;
    box-shadow: 0 6px 24px rgba(184, 121, 57, 0.35) !important;
    transform: scale(1.08) !important;
    position: relative;
}

.flex-control-thumbs li.flex-active img::after,
.woocommerce-product-gallery__thumbnails li.active img::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    background: #B87939;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Smooth Slide Animation */
.woocommerce-product-gallery__image {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Zoom Icon */
.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10 !important;
    background: rgba(255,255,255,0.95) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

.woocommerce-product-gallery__trigger:hover {
    background: #B87939 !important;
    transform: scale(1.1) rotate(15deg) !important;
    box-shadow: 0 6px 24px rgba(184, 121, 57, 0.4) !important;
}

.woocommerce-product-gallery__trigger img {
    filter: brightness(0.3);
    transition: filter 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover img {
    filter: brightness(10);
}

/* ========== CART PAGE STYLING ========== */
.woocommerce-cart-form dl.variation dt,
.woocommerce-cart-form dl.variation dd {
    font-size: 14px;
}

.woocommerce-cart-form dl.variation dd p {
    margin: 0;
    font-weight: 600;
    color: #B87939;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .weight-buttons {
        flex-wrap: nowrap;
        gap: 6px;
    }
    .single-product-page-container {
    width: 100%;
    padding: 0 12px;
}
    .woocommerce-breadcrumb {
          padding: 16px 16px !important;
          font-size: 12px !important;
    }
    
    .product-main-content {
        padding: 16px !important;
        border-radius: 12px;
    }
    
  
    
    .product_title {
        font-size: 24px !important;
    }
    
    .product .price {
        font-size: 24px !important;
    }
    
    .weight-selector-wrapper {
        padding: 16px;
    }
    
    .weight-btn {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 70px;
    }
    
    .weight-btn span {
        height: 48px;
        font-size: 13px;
    }
    
    /* Quantity responsive */
  
    
    /* Gallery thumbnails responsive */
    .flex-control-thumbs li,
    .woocommerce-product-gallery__thumbnails li {
        display: flex;
        justify-content: center;
      align-items: center;
    }
    
    .related.products {
        margin: 2rem -16px 0 -16px;
        padding: 0;
    }
    
    .single_add_to_cart_button {
        width: 200px !important; 
        padding: 12px 32px !important;
    }
}

@media (max-width: 480px) {
    
    
    
    .flex-control-thumbs li img, .woocommerce-product-gallery__thumbnails li img {
      width: 70px !important;
      height: 70px !important;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      object-position: center;
    }
    
    .product_title {
        font-size: 20px !important;
    }
    
    .product .price {
        font-size: 20px !important;
    }
    
    .weight-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 60px;
    }
    
    .weight-btn span {
        height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }
    
    .custom-weight-input input[type="number"] {
        max-width: 100%;
    }
    
    /* Quantity mobile */
     .quantity button.qty-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .quantity input.qty {
        width: 45px !important;
        height: 38px !important;
        font-size: 14px;
    }
    
    /* Gallery thumbnails mobile */
    
    .woocommerce-product-gallery__wrapper {
        border-radius: 16px;
    }
    
    .single_add_to_cart_button {
        font-size: 12px !important;
        padding: 12px 24px !important;
        width: 160px !important; 
        height: 42px;
    }
    .weight-selector-wrapper {
        margin: 10px 0;
        padding: 10px;
    }
}