/* Theme Name: Bootstrap 5 Theme + WooCommerce
Author: RK
Description: A lightweight theme with native Bootstrap 5 Navbars and WooCommerce support.
Version: 1.2
*/

/* ==========================================================================
   1. CORE & GLOBAL STYLES
   ========================================================================== */
body {
    background-color: #fae4e326;
}

.ff-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.bg-custom-pink-light {
    background-color: #f9eaeac9;
}

.bg-light-grey {
    background-color: #e6e6e6;
}

.full-width {
    width: 100% !important;
    height: auto !important;
}

.h-50p {
    height: 50px;
}

/* ==========================================================================
   2. NAVIGATION & HEADER
   ========================================================================== */
.custom-logo,
.navbar-brand img {
    max-height: 110px;
    width: auto;
}

/* Offcanvas mobile menu */
.offcanvas {
    width: 280px;
}

.offcanvas-end {
    width: 300px;
}

.offcanvas .nav-link {
    font-size: 18px;
    padding: 10px 0;
}

.offcanvas .dropdown-menu {
    border: 0;
    padding-left: 10px;
}

/* ==========================================================================
   3. HERO SLIDER (Bootstrap Fade Slider)
   ========================================================================== */
#bsFadeSlider img {
    object-fit: cover;
    width: 100%;
    object-position: top center
}

.carousel-item {
    /* padding: 30px; */
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url('https://yazhnilaboutique.in/wp-content/uploads/2026/04/dreamy-pink-bokah-1416.webp') no-repeat center center / cover;
}

.slider-overlay {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.slider-content {
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.slider-btn {
    border: 2px solid currentColor;
    background: transparent;
}

/* Slider Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #ff4400;
    border-radius: 0 !important;
    width: 3rem;
    height: 3rem;
    background-size: 50%;
    filter: invert(1) grayscale(100);
}

/*
*
*------------------------ Prouct single page ------------
*/

/* Deep Clean & Force 4 Columns */
.related.products {
    width: 100% !important;
    padding: 40px 0 !important;
}

.related.products h2:first-of-type {
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    text-align: left;
}

.related.products ul.products {
    display: grid !important;
    /* 4 columns on desktop, 2 on mobile */
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any "invisible" list markers or theme floats */
.related.products ul.products::before,
.related.products ul.products::after {
    display: none !important;
}

.related.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Style the images to be consistent */
.related.products ul.products li.product img {
    width: 100% !important;
    height: 300px !important;
    /* Forces uniform height */
    object-fit: cover !important;
    /* Crops images to fit without stretching */
    margin: 0 0 15px 0 !important;
}

/* Style the product text info */
.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem !important;
    padding: 0 10px;
    height: 2.5em;
    /* Keeps titles aligned */
    overflow: hidden;
}

.related.products ul.products li.product .price {
    padding: 0 10px 10px;
    font-size: 1.1rem !important;
}

/* Add to Cart button in related section */
.related.products ul.products li.product .button {
    margin: 10px !important;
    background-color: #f5f5f5 !important;
    color: #333 !important;
    font-size: 0.8rem !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .related.products ul.products li.product img {
        height: 220px !important;
        /* Shorter images for mobile */
    }
}

/* ==========================================================================
   4. AESTHETIC & EDITORIAL COMPONENTS
   ========================================================================== */

/* Typography */
.aesthetic-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: 400;
    color: #F01180;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
}

.aesthetic-desc {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #666;
    font-size: 1.1rem;
    max-width: 80%;
    margin-bottom: 30px;
}

/* Flourishes & Buttons */
.editorial-flourish {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #F01180;
    margin-bottom: 10px;
    opacity: 0.7;
}

.editorial-flourish span {
    height: 1px;
    width: 40px;
    background: #F01180;
}

.aesthetic-btn {
    background: transparent !important;
    border: none !important;
    color: #4a4a4a !important;
    padding: 0 !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.btn-line {
    display: block;
    width: 40px;
    height: 2px;
    background: #F01180;
    transition: width 0.3s ease;
    margin-top: 5px;
}

.aesthetic-btn:hover .btn-line {
    width: 100%;
}

.luxury-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    background-color: #f96969;
    color: #fff;
    border-radius: 0;
    border: none !important;
    padding: 15px 35px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.luxury-btn:hover {
    /* background-color: transparent; */
    color: #000;
}

.product-card .add_to_cart_button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 3px;
    background-color: #f96969 !important;
    color: #fff !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 15px 35px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 20px !important;
}

.product-card .add_to_cart_button:hover {
    /* background-color: transparent; */
    color: #000 !important;
}

/* ==========================================================================
   5. PHOTO CARD / POLAROID EFFECTS
   ========================================================================== */

/* Style A: img-wrapper-feminine */
.img-wrapper-feminine {
    position: relative;
    background: #fff;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transform: rotate(-3deg);
    transition: all 0.4s ease;
    z-index: 5;
    margin: 20px;
}

.img-wrapper-feminine:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slider-img {
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* Style B: gf-card-wrapper (The Unique Photo Card) */
.gf-card-wrapper {
    position: relative;
    background: #ffffff !important;
    padding: 12px 12px 12px 12px !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06) !important;
    border-radius: 4px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    border: 1px solid #f0efef !important;
    margin: 15px auto;
}

/* .gf-card-wrapper:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 18px 35px rgba(255, 182, 193, 0.35) !important;
    border-color: #ffe4e8 !important;
} */
.gf-card-wrapper:hover {
    /* transform: scale(1.03);
    box-shadow: 0 18px 35px rgba(255, 182, 193, 0.35) !important;
    border: 2px solid #ffb6c1 !important;  */
}

.gf-product-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 3 !important;
    object-fit: cover !important;
    object-position: top !important;
    border-radius: 2px !important;
}

/* Decorative Card Accents (Tape, Flowers, Captions) */
.tape-piece,
.gf-tape-accent {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    border-left: 2px dashed rgba(0, 0, 0, 0.05);
    border-right: 2px dashed rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.gf-tape-accent {
    width: 90px;
    height: 28px;
    top: -12px;
}

.flower-decor,
.gf-flower-element {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 30px;
    z-index: 11;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.gf-flower-element {
    bottom: -15px;
    right: -15px;
    font-size: 34px;
    animation: gf-sway-flower 4s ease-in-out infinite;
}

.img-caption,
.gf-card-caption {
    width: 100%;
    text-align: center;
    font-family: 'Brush Script MT', cursive;
    color: #F01180;
    font-size: 2rem;
}

.gf-card-caption {
    position: absolute;
    bottom: 15px;
    font-size: 1.15rem;
    color: #9e8a8a;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   6. WOOCOMMERCE & PRODUCTS
   ========================================================================== */

/* Product Grid Adjustments */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.custom-prod-title {
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #F01180;
    font-size: 1.2rem;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    /* Vertical centering */
    justify-content: center;
    font-weight: bold;
}

.woocommerce-LoopProduct-link {

    text-decoration: none !important;
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    object-fit: cover !important;
    object-position: top center !important;
    max-height: 300px;
}

.product-card .price {
    color: rgb(26 139 87);
}

/* Single Product Page */
.product-single-custom-image .woocommerce-product-gallery {
    width: 100% !important;
}

.product-single-custom-details {
    width: 100% !important;
}

/* Home Page Recent Products */
.recent-product-home {
    text-decoration: none;
}

.recent-product-home-h5 {
    color: #4d4d4d;
}

.recent-product-home-h5 span {
    filter: saturate(150%) contrast(120%);
}

.recent-product-home-single {
    border: 1px solid black;
    padding: 20px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.recent-product-home-single:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.recent-product-home-single-col {
    margin-top: 50px;
}

/* My Account Section */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
}

.woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    padding: 0 25px;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    background: #0d6efd;
    color: #fff;
}

/* Login page design  */
/* 1. Force the container to be full width so we can center the form */
.woocommerce-account .woocommerce {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background-color: #f4f7f6;
    /* Soft professional grey background */
    padding: 80px 20px !important;
}

/* 2. Style the Login Form Wrapper */
.woocommerce-account .u-column1.col-1 {
    float: none !important;
    /* Removes the float that keeps it left-aligned */
    width: 100% !important;
    max-width: 420px !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

/* 3. Improve the 'Login' title */
.woocommerce-account h2 {
    font-family: inherit;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 30px !important;
    color: #1a1a1a !important;
    text-align: center !important;
}

/* 4. Style Input Labels and Fields */
.woocommerce-form-login label {
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block;
    color: #444 !important;
}

.woocommerce-form-login .input-text {
    height: 50px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    background-color: #fafafa !important;
}

/* 5. Modernize the Login Button */
.woocommerce-form-login .button {
    width: 100% !important;
    height: 54px !important;
    background-color: #0071ad !important;
    /* Professional Blue */
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-form-login .button:hover {
    background-color: #005a8a !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 113, 173, 0.3) !important;
}

/* 6. Fix "Remember Me" and "Lost Password" */
.woocommerce-form-login__rememberme {
    margin: 15px 0 !important;
    font-weight: 400 !important;
}

.lost_password {
    text-align: center !important;
    margin-top: 25px !important;
}

.lost_password a {
    color: #0071ad !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.lost_password a:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer-widget {
    color: #ccc;
}

.footer-widget a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-title {
    color: #fff;
    font-weight: 600;
}

footer .list-inline-item {
    margin: 0 10px;
}

footer .list-inline-item a {
    color: #adb5bd;
    text-decoration: none;
    font-weight: 500;
}

footer .list-inline-item a:hover {
    color: #ffffff;
}

/* ==========================================================================
   8. ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gf-sway-flower {

    0%,
    100% {
        transform: rotate(-10deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

@keyframes fall {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    100% {
        transform: translateX(100px) translateY(110vh) rotate(360deg);
    }
}

/* ==========================================================================
   9. MEDIA QUERIES (Responsive)
   ========================================================================== */

/* Large Tablets / Small Desktops */
@media(max-width:1024px) {
    .custom-prod-title {
        font-size: 1.3rem !important;
    }
}



/* Mobile Devices */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        flex: 100%;
    }

    .w-md-50 {
        width: 50% !important;
    }


}

@media (max-width: 576px) {
    /* .gf-card-wrapper { transform: rotate(0deg); margin-bottom: 30px; } */
}

/* Small Mobile */
@media (max-width: 469.98px) {
    /* .slider-overlay { width: 70% !important; padding: 2rem !important; }
    .slider-content { padding: 1rem !important; } */
}

/* ==========================================================================
   CATEGORY ARCHIVE RESPONSIVE 1-CARD MOBILE STYLING
   ========================================================================== */
.product-grid-col {
    display: flex;
    align-items: stretch;
}

.product-card {
    background: #ffffff !important;
    border: 1px solid #ebd9c5 !important;
    border-radius: 16px !important;
    padding: 16px !important;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(27, 38, 59, 0.12);
    border-color: #ee8a71 !important;
}

.product-card .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    width: 100%;
}

.product-card img,
.product-card .attachment-woocommerce_thumbnail {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 12px;
    margin-bottom: 12px !important;
    background-color: #f7f4ed;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover img,
.product-card:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.04);
}

.product-card .onsale {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    margin: 0 !important;
    z-index: 2;
    background: linear-gradient(135deg, #ee8a71 0%, #d8735a 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 30px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    box-shadow: 0 4px 10px rgba(238, 138, 113, 0.35);
    border: none !important;
}

.product-card .custom-prod-title,
.product-card .woocommerce-loop-product__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #1b263b;
    margin-top: 6px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    transition: color 0.25s ease;
    text-decoration: none !important;
}

.product-card:hover .custom-prod-title,
.product-card:hover .woocommerce-loop-product__title {
    color: #ee8a71;
}

.product-card .star-rating {
    margin: 0 auto 8px auto;
    font-size: 13px;
    color: #f5a623;
}

.product-card .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1b263b !important;
    margin-bottom: 14px;
    line-height: 1.3;
}

.product-card .price del {
    color: #8c8172 !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.75;
}

.product-card .price ins {
    text-decoration: none !important;
    color: #d8735a !important;
    font-weight: 700;
}

.product-card .button,
.product-card .add_to_cart_button {
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
    background-color: #faf0e6 !important;
    color: #4a3e2e !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
    border-radius: 50px !important;
    border: 1px solid #ebd9c5 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-align: center;
    text-decoration: none !important;
}

.product-card .button:hover,
.product-card .add_to_cart_button:hover {
    background-color: #ee8a71 !important;
    color: #ffffff !important;
    border-color: #ee8a71 !important;
    box-shadow: 0 6px 16px rgba(238, 138, 113, 0.35) !important;
    transform: translateY(-2px);
}

/* showing size attribute style */
.product-attribute-display {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    /* Prevents stretching to 100% width */
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border: 2px solid #000;
    border-radius: 6px;
    background-color: #fff;
    color: #111;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    user-select: none;
}

/* Optional hover & active feedback */
.product-attribute-display:hover {
    background-color: #000;
    color: #fff;
}

.product-attribute-display:active {
    transform: scale(0.98);
}

@media (max-width: 575.98px) {
    .product-grid-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .product-card {
        padding: 16px !important;
        margin-bottom: 20px;
    }

    .product-card img,
    .product-card .attachment-woocommerce_thumbnail {
        max-height: 380px;
        aspect-ratio: 1 / 1;
        width: 100% !important;
    }

    .product-card .custom-prod-title,
    .product-card .woocommerce-loop-product__title {
        font-size: 16px;
        min-height: auto;
    }

    .product-card .price {
        font-size: 17px;
    }

    .product-card .button,
    .product-card .add_to_cart_button {
        padding: 12px 20px !important;
        font-size: 13px !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .product-grid-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 992px) {
    .product-grid-col {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}