/* =========================================================
   MYNTRA-INSPIRED MAIN HOMEPAGE
   Original styling — clean white fashion marketplace layout.
   ========================================================= */

.myntra-home {
    width: 100%;
    background: #ffffff;
    color: #282c3f;
}

.myntra-container {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================================
   HERO
   ========================================================= */

.myntra-hero {
    width: 100%;
    background: #ffffff;
}

.myntra-hero-inner-full {
    width: 100%;
}

.myntra-hero-image-box {
    width: 100%;
    overflow: hidden;
    background: #f7f7f7;
}

.myntra-hero-link {
    display: block;
    width: 100%;
}

.myntra-hero-image-box picture,
.myntra-hero-image-box img {
    display: block;
    width: 100%;
}

.myntra-hero-image-box img {
    height: auto;
    max-height: 720px;
    object-fit: cover;
}

.myntra-hero-content {
    padding: 64px 48px;
    background: #f7f7f7;
}

.myntra-hero-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.myntra-hero-content h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1;
    font-weight: 800;
}

.myntra-hero-content p {
    max-width: 600px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.myntra-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 26px;
    background: #ff3f6c;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.myntra-hero-secondary-image {
    overflow: hidden;
}

.myntra-hero-secondary-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   SHOP BY PRODUCTS
   ========================================================= */

.myntra-products-section {
    width: 100%;
    padding: 42px 0 70px;
    background: #ffffff;
}

.myntra-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.myntra-section-kicker {
    display: block;
    margin-bottom: 7px;
    color: #94969f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.myntra-section-heading h2 {
    margin: 0;
    color: #282c3f;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.myntra-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 10px;
}


.myntra-product-card {
    min-width: 0;
    background: #ffffff;
    position: relative;
}


.myntra-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f6;
}


.myntra-product-image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.myntra-product-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity .25s ease, transform .35s ease;
}


.myntra-main-image {
    opacity: 1;
    z-index: 1;
}


.myntra-hover-image {
    opacity: 0;
    z-index: 2;
}


.myntra-hover-image-visible {
    opacity: 1;
}


.myntra-product-card:hover
.myntra-main-image {
    transform: scale(1.015);
}


.myntra-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #94969f;
    font-size: 11px;
}


/* =========================================================
   WISHLIST
   ========================================================= */

.myntra-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.94);
    box-shadow: 0 2px 8px rgba(0,0,0,.10);

    cursor: pointer;
}


.myntra-wishlist svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #282c3f;
    stroke-width: 1.7;
}


.myntra-wishlist.active svg {
    fill: #ff3f6c;
    stroke: #ff3f6c;
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.myntra-product-info {
    padding: 9px 7px 0;
}


.myntra-product-name {
    display: -webkit-box;
    overflow: hidden;
    min-height: 18px;

    color: #282c3f;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.myntra-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 5px;
}


.myntra-sale-price {
    color: #282c3f;
    font-size: 13px;
    font-weight: 800;
}


.myntra-original-price {
    color: #94969f;
    font-size: 11px;
    text-decoration: line-through;
}


.myntra-discount {
    color: #ff905a;
    font-size: 10px;
    font-weight: 700;
}


.myntra-add-to-cart {
    width: 100%;
    min-height: 34px;
    margin-top: 9px;

    border: 1px solid #d4d5d9;
    background: #ffffff;
    color: #282c3f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;

    cursor: pointer;
    transition: all .2s ease;
}


.myntra-add-to-cart:hover {
    border-color: #ff3f6c;
    background: #ff3f6c;
    color: #ffffff;
}


.myntra-add-to-cart.map-cart-added {
    border-color: #28774b !important;
    background: #edf8f1 !important;
    color: #28774b !important;
}


/* =========================================================
   EMPTY
   ========================================================= */

.myntra-products-empty {
    padding: 80px 20px;
    text-align: center;
    color: #94969f;
    font-size: 13px;
}


/* =========================================================
   CART TOAST
   ========================================================= */

.myntra-cart-toast {
    position: fixed;
    right: 20px;
    top: 86px;
    z-index: 999999;

    width: min(370px, calc(100vw - 28px));

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 14px;

    background: #ffffff;
    border: 1px solid rgba(40,44,63,.12);
    box-shadow: 0 16px 45px rgba(25,18,18,.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate3d(18px,-8px,0) scale(.98);
    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}


.myntra-cart-toast-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0,0,0) scale(1);
}


.myntra-cart-toast .map-toast-check {
    width: 40px;
    min-width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #edf8f1;
    color: #28774b;
    font-weight: 800;
}


.myntra-cart-toast .map-toast-body {
    flex: 1;
    min-width: 0;
}


.myntra-cart-toast .map-toast-title {
    margin: 0;
    color: #282c3f;
    font-size: 13px;
    font-weight: 800;
}


.myntra-cart-toast .map-toast-message {
    display: block;
    margin-top: 3px;

    color: #767985;
    font-size: 10px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.myntra-cart-toast .map-toast-cart {
    min-height: 34px;
    padding: 0 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ff3f6c;
    background: #ffffff;
    color: #ff3f6c;

    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .myntra-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 10px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .myntra-container {
        padding: 0 10px;
    }


    .myntra-hero-image-box img {
        max-height: none;
    }


    .myntra-hero-content {
        padding: 34px 20px;
    }


    .myntra-hero-content h1 {
        font-size: 34px;
    }


    .myntra-products-section {
        padding: 28px 0 48px;
    }


    .myntra-section-heading {
        margin-bottom: 16px;
    }


    .myntra-section-heading h2 {
        font-size: 18px;
        letter-spacing: .8px;
    }


    .myntra-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 7px;
    }


    .myntra-product-media {
        aspect-ratio: 3 / 4;
    }


    .myntra-product-info {
        padding: 7px 4px 0;
    }


    .myntra-product-name {
        font-size: 11px;
    }


    .myntra-sale-price {
        font-size: 12px;
    }


    .myntra-original-price,
    .myntra-discount {
        font-size: 9px;
    }


    .myntra-add-to-cart {
        min-height: 32px;
        font-size: 9px;
    }


    .myntra-wishlist {
        top: 7px;
        right: 7px;
        width: 31px;
        height: 31px;
    }


    .myntra-wishlist svg {
        width: 17px;
        height: 17px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .myntra-product-grid {
        gap: 18px 5px;
    }

    .myntra-product-name {
        font-size: 10px;
    }

}
.myntra-product-card {
    border: 1px solid rgba(201, 162, 39, 0.65);
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.myntra-product-card:hover {
    border-color: #c9a227;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12);
}