/* ==========================================================================
   SHOPIFY & D2C STOREFRONT THEME STYLESHEET
   ========================================================================== */

/* 1. HERO BANNER SLIDER */
.d2c-hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.d2c-hero-slider .banner-part {
    width: 100%;
}

.d2c-hero-slider .banner-part a {
    display: block;
    width: 100%;
}

.d2c-hero-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* 2. CATEGORY SCROLL (ROUND AVATARS) */
.d2c-category-scroll {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 16px 0;
    justify-content: center;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .d2c-category-scroll {
        justify-content: flex-start !important;
        gap: 18px;
        padding: 12px 10px;
    }
}

.d2c-category-scroll::-webkit-scrollbar {
    display: none;
}

.d2c-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    flex: 0 0 90px;
    text-align: center;
    transition: transform 0.25s ease;
}

.d2c-category-item:hover {
    transform: translateY(-3px);
}

.d2c-category-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary, #2d6a4f);
    box-shadow: 0 4px 12px rgba(18, 44, 32, 0.08);
    transition: all 0.3s ease;
    background: #f0fdf4;
}

.d2c-category-item:hover .d2c-category-img {
    border-color: #52B788;
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.2);
    transform: scale(1.05);
}

.d2c-category-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 8px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

/* 3. STATIC PROMO VIBE GRID */
.d2c-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 12px 0 24px 0;
}

.d2c-static-grid-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 155px;
    background: #f1f5f9;
    display: block;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
}

.d2c-static-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.d2c-static-grid-item:hover img {
    transform: scale(1.05);
}

.d2c-static-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0,0,0,0.3) 65%, transparent 100%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.d2c-static-grid-overlay h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.d2c-static-grid-btn {
    display: inline-block;
    padding: 4px 14px;
    background: #ffffff;
    color: #1e293b;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
}

.d2c-static-grid-item:hover .d2c-static-grid-btn {
    background: var(--primary, #2d6a4f);
    color: #ffffff;
}

@media (max-width: 768px) {
    .d2c-static-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 8px;
        margin: 10px 0 18px 0;
    }
    .d2c-static-grid::-webkit-scrollbar {
        display: none;
    }
    .d2c-static-grid-item {
        flex: 0 0 65%;
        height: 130px;
        scroll-snap-align: center;
    }
}

/* Compact, overflow-safe actions for horizontal home product rails. */
@media (max-width: 768px) {
    .page-home .sh-product-grid:not(.sh-catalog-grid) .sh-product-action-group {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .page-home .sh-product-grid:not(.sh-catalog-grid) .sh-product-add-btn.half {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 40px !important;
        padding: 6px 3px !important;
        gap: 3px !important;
        overflow: hidden !important;
        font-size: 10px !important;
        letter-spacing: -.01em !important;
        white-space: nowrap !important;
    }

    .page-home .sh-product-grid:not(.sh-catalog-grid) .sh-product-add-btn i {
        flex: 0 0 auto;
        font-size: 10px !important;
    }
}

@media (max-width: 768px) {
    .page-home > section:nth-of-type(n+4) {
        content-visibility: auto;
        contain-intrinsic-size: 560px;
    }
}

/* 4. SECTION HEADER & NAVIGATION */
.d2c-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    padding: 0 4px;
}

.d2c-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.d2c-section-header p {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
}

.d2c-view-all {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary, #2d6a4f);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.d2c-view-all:hover {
    color: #1b4332;
    text-decoration: underline !important;
}

/* 5. PRODUCT GRID & CARD STYLES (5 CARDS PER ROW) */
.sh-product-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    padding: 16px 0;
}

@media (max-width: 1200px) {
    .sh-product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 992px) {
    .sh-product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    .sh-product-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 12px 8px 16px 8px !important;
        scrollbar-width: none !important;
    }
    .sh-product-grid::-webkit-scrollbar {
        display: none !important;
    }
    .sh-product-card {
        flex: 0 0 200px !important;
        scroll-snap-align: start !important;
    }

    .sh-product-grid.sh-catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 12px 0 18px !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .sh-catalog-grid .sh-product-card {
        min-width: 0 !important;
        flex: none !important;
    }

    .sh-catalog-grid .sh-product-info {
        padding: 10px 9px 11px;
    }

    .sh-catalog-grid .sh-product-action-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .sh-catalog-grid .sh-product-add-btn {
        width: 100%;
        min-height: 48px;
        padding: 7px 5px;
        white-space: normal;
    }
}

.sh-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(18, 44, 32, 0.04);
}

.sh-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(45, 106, 79, 0.12);
    border-color: rgba(45, 106, 79, 0.3);
}

.sh-product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-product-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sh-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 4px;
    transition: transform 0.3s ease;
}

.sh-product-card:hover .sh-product-media img {
    transform: scale(1.02);
}

.sh-product-info {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.sh-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.sh-product-title:hover {
    color: var(--primary, #2d6a4f);
}

.sh-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary, #2d6a4f);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.sh-product-price-old {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: line-through;
}

.sh-product-packaging {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    color: #587065;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.sh-product-packaging {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    color: #587065;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
}

.sh-product-action-group {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    width: 100%;
}

.sh-product-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
    line-height: 1.2;
}

.sh-product-add-btn.half {
    flex: 1;
    white-space: nowrap;
}

.sh-product-add-btn.add-cart-btn {
    background: linear-gradient(135deg, #f5a623 0%, #e97914 100%);
    color: #ffffff;
    border: 1px solid #df7414;
    box-shadow: 0 5px 13px rgba(233, 121, 20, 0.22);
}

.sh-product-add-btn.add-cart-btn:hover {
    background: linear-gradient(135deg, #e99519 0%, #d8670c 100%);
    color: #ffffff;
    border-color: #d8670c;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(216, 103, 12, 0.3);
}

.sh-product-add-btn.buy-btn {
    background: var(--primary, #2d6a4f);
    color: #ffffff;
    border: 1px solid transparent;
}

.sh-product-add-btn.buy-btn:hover {
    background: #1b4332;
    color: #ffffff;
}

/*
 * Listing conversion mode: keep Buy Now markup/behaviour available while the
 * storefront feature flag hides it. Product-detail actions are intentionally
 * unaffected. Set storefront.listingBuyNow=true to restore the second action.
 */
.listing-buy-now-disabled .sh-product-action-group .buy-btn {
    display: none !important;
}

.listing-buy-now-disabled .sh-product-action-group {
    grid-template-columns: minmax(0, 1fr) !important;
}

.listing-buy-now-disabled .sh-product-action-group .add-cart-btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 42px;
    font-size: 12px;
}

.listing-qty-stepper {
    display: grid;
    grid-template-columns: 42px minmax(46px, 1fr) 42px;
    align-items: center;
    width: 100%;
    min-height: 42px;
    overflow: hidden;
    border: 1px solid #167441;
    border-radius: 9px;
    background: #198754;
    color: #fff;
    box-shadow: 0 5px 13px rgba(25, 135, 84, .2);
}

.listing-qty-stepper[hidden],
.sh-product-add-btn[hidden] {
    display: none !important;
}

.listing-qty-button {
    width: 42px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: inherit;
    cursor: pointer;
}

.listing-qty-button:hover,
.listing-qty-button:focus-visible {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.listing-qty-value {
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.listing-cart-busy {
    opacity: .7;
    pointer-events: none;
}

.sh-product-add-btn.full {
    width: 100%;
    flex: 1 1 100%;
}

.sh-product-add-btn.sh-product-btn-soldout {
    background: linear-gradient(135deg, #f3a227 0%, #dd7a12 100%) !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    cursor: not-allowed;
    font-weight: 700;
    min-height: 38px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 8px;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(221, 122, 18, 0.28);
}

.sh-product-add-btn.sh-product-btn-soldout i {
    font-size: 13px;
    color: #ffffff !important;
}

.sh-product-add-btn.sh-product-btn-soldout:hover {
    background: linear-gradient(135deg, #e0921e 0%, #c96e0f 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(221, 122, 18, 0.38);
}

.sh-product-card.is-sold-out .sh-product-media img {
    filter: grayscale(15%);
    opacity: 0.92;
}

/* 6. FULL WIDTH PROMO DEAL BANNER */
.d2c-full-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 36px 0;
    overflow: hidden;
    background: #103f2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.d2c-full-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.d2c-full-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 36px 20px;
    max-width: 650px;
}

.d2c-full-banner-content h2 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.d2c-full-banner-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.d2c-full-btn {
    background: var(--yellow, #f3c302);
    color: #1b4332;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-decoration: none !important;
    display: inline-block;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.d2c-full-btn:hover {
    background: #ffffff;
    color: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* 7. DUAL PROMO CARDS */
.d2c-dual-promo {
    display: flex;
    gap: 20px;
    margin: 32px 0;
}

.d2c-dual-card {
    flex: 1;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    background: #eef7f1;
    border: 1px solid rgba(45, 106, 79, 0.12);
}

.d2c-dual-card.dark {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff;
}

.d2c-dual-card.dark h3,
.d2c-dual-card.dark p {
    color: #ffffff;
}

.d2c-dual-content {
    position: relative;
    z-index: 2;
    width: min(58%, 330px);
}

.d2c-dual-card img.promo-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.d2c-dual-card.dark img.promo-bg {
    opacity: .82;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}

.d2c-dual-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.d2c-dual-content p {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .d2c-dual-promo {
        flex-direction: column;
    }

    .d2c-dual-card {
        min-height: 190px;
        padding: 22px;
    }

    .d2c-dual-content {
        width: 58%;
    }

    .d2c-dual-card img.promo-bg {
        width: 48%;
    }
}

/* 8. MOBILE APP BOTTOM NAVIGATION BAR (HIDE ON DESKTOP) */
@media (min-width: 769px) {
    .mobile-app-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-app-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid rgba(45, 106, 79, .12);
        z-index: 9999;
        box-shadow: 0 -10px 28px rgba(18, 44, 32, .1);
        padding: 6px 4px calc(5px + env(safe-area-inset-bottom));
        justify-content: space-around;
        align-items: center;
        height: calc(68px + env(safe-area-inset-bottom));
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        color: #6b7870;
        font-size: 10px;
        font-weight: 650;
        gap: 2px;
        flex: 1;
        height: 100%;
        position: relative;
        border-radius: 16px;
        transition: color .2s ease, background-color .2s ease, transform .15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-item i {
        display: grid;
        width: 38px;
        height: 28px;
        place-items: center;
        border-radius: 999px;
        font-size: 18px;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--primary, #2d6a4f);
        font-weight: 800;
    }

    .mobile-nav-item.active i {
        background: #dff1e6;
        color: #1f6847;
        transform: translateY(-1px);
    }

    .mobile-nav-item:active {
        transform: scale(.95);
    }

    .mobile-nav-badge {
        position: absolute;
        top: 1px;
        right: calc(50% - 22px);
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        background: #d93f4c;
        color: #ffffff;
        font-size: 10px;
        font-weight: 700;
        line-height: 14px;
        text-align: center;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(230, 57, 70, 0.4);
        border: 1.5px solid #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
}

/* 9. FLOATING WHATSAPP WIDGET */
.floating-whatsapp-widget {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    z-index: 9990 !important;
    width: 54px !important;
    height: 54px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.floating-whatsapp-widget:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6) !important;
    color: #ffffff !important;
}

.floating-whatsapp-widget i {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .floating-whatsapp-widget {
        bottom: 75px !important;
        left: 16px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 26px !important;
    }
}

/* 10. MODERN PILL BADGES & NOTIFICATIONS */
.header-widget sup {
    position: absolute;
    top: -8px;
    left: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    border-radius: 999px;
    text-align: center;
    color: #ffffff;
    background: var(--primary, #2D6A4F);
    border: 2px solid #ffffff;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.35);
    z-index: 5;
}

.sh-product-media {
    position: relative;
}

.sh-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.sh-product-badge-discount {
    background: #e63946;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

.sh-product-badge-outstock {
    background: linear-gradient(135deg, #f3a227 0%, #dd7a12 100%) !important;
    color: #ffffff !important;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(221, 122, 18, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 11. TOAST NOTIFICATION POPUP SYSTEM */
.sh-toast {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-40px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.sh-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.sh-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
}

.sh-toast.toast-success {
    border-left: 4px solid var(--primary, #2D6A4F);
}

.sh-toast.toast-success .sh-toast-icon {
    background: #d8f3dc;
    color: var(--primary, #2D6A4F);
}

.sh-toast.toast-error {
    border-left: 4px solid #e63946;
}

.sh-toast.toast-error .sh-toast-icon {
    background: #ffe3e3;
    color: #e63946;
}

.sh-toast-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.sh-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.sh-toast-close:hover {
    color: #334155;
}

.sh-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(45, 106, 79, 0.2);
}

.sh-toast.toast-error .sh-toast-progress {
    background: rgba(230, 57, 70, 0.2);
}

@media (max-width: 768px) {
    .sh-toast {
        top: calc(150px + env(safe-area-inset-top));
        left: 16px;
        right: 16px;
        max-width: calc(100vw - 32px);
        min-width: 0;
    }
}
