@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --ms-header: #083d30;
    --ms-accent: #2563eb;
    --ms-ink: #0f172a;
    --ms-muted: #64748b;
    --ms-line: #e2e8f0;
    --ms-bg: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.ms-body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--ms-bg);
    color: var(--ms-ink);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.12);
}

.ms-app {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* ==========================================================================
   HEADER NAVIGATION (Responsive Desktop & Mobile)
   ========================================================================== */
.ms-top-nav {
    background: var(--ms-header, #083d30);
    color: #ffffff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding-top: env(safe-area-inset-top);
}

.ms-top-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 28px;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ms-brand-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.ms-logo, .ms-initials {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: inherit;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.ms-logo { background: transparent; }
.ms-initials { background: rgba(255, 255, 255, 0.18); }
.ms-logo img { width: 100%; height: 100%; object-fit: cover; }
.ms-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.ms-search-wrap {
    flex: 1 1 auto;
    max-width: 580px;
    min-width: 0;
    margin: 0;
}
.ms-search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.ms-search-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 3;
}
.ms-search {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px 12px 46px;
    font: inherit;
    font-size: 14px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    height: 44px;
    transition: box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}
.ms-search:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.ms-search::placeholder {
    color: transparent;
}

/* Modern Animated Search Placeholder Overlay */
.ms-search-placeholder {
    position: absolute;
    left: 46px;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    height: 22px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.ms-search-wrap.is-active .ms-search-placeholder,
.ms-search-wrap.has-val .ms-search-placeholder {
    opacity: 0;
    transform: translateY(-50%) scale(0.96);
    pointer-events: none;
}
.ms-sp-prefix {
    font-weight: 500;
    color: #94a3b8;
    flex-shrink: 0;
}
.ms-sp-track {
    position: relative;
    display: inline-block;
    height: 22px;
    overflow: hidden;
    vertical-align: middle;
    margin-left: 2px;
    flex: 1;
    min-width: 0;
}
.ms-sp-word {
    display: block;
    line-height: 22px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, opacity;
}
.ms-sp-word.ms-slide-in {
    animation: msSearchSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ms-sp-word.ms-slide-out {
    animation: msSearchSlideOut 0.26s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes msSearchSlideIn {
    0% {
        transform: translate3d(0, 80%, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@keyframes msSearchSlideOut {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, -80%, 0);
        opacity: 0;
    }
}

.ms-top-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
    margin-left: auto;
}

.ms-location-widget {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    line-height: 1.2;
    padding-right: 6px;
}
.ms-location-sub {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ms-location-sub svg {
    display: block;
}
.ms-location-main {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3.5px;
    text-decoration-thickness: 1.5px;
    white-space: nowrap;
}

.ms-nav-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.ms-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: inherit;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: opacity 0.15s, transform 0.15s;
    min-width: 48px;
}
.ms-nav-item:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.ms-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}
.ms-nav-icon svg {
    width: 26px;
    height: 26px;
}
.ms-nav-label {
    line-height: 1;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
}
.ms-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ffffff;
    color: var(--ms-header, #083d30);
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ==========================================================================
   MAIN BODY & LAYOUT
   ========================================================================== */
.ms-body-pad {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 24px calc(80px + env(safe-area-inset-bottom));
    flex: 1;
    min-width: 0;
}

/* ==========================================================================
   PROMO BANNERS CAROUSEL & GRID - 6-Slide Smooth Auto-Play Architecture
   ========================================================================== */
.ms-banners-carousel-wrap {
    position: relative;
    margin-bottom: 36px;
    width: 100%;
}

.ms-banners-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 12px;
    padding: 4px 2px;
    width: 100%;
    box-sizing: border-box;
}
.ms-banners-grid::-webkit-scrollbar {
    display: none;
}

.ms-banner-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    scroll-snap-align: start;
    box-sizing: border-box;
    border-radius: 16px;
    overflow: hidden;
    color: #ffffff;
    min-height: 225px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 22px 24px 28px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ms-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

@media (max-width: 1080px) {
    .ms-banner-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

.ms-banner-1 { background: linear-gradient(135deg, #028476 0%, #009688 100%); }
.ms-banner-2 { background: linear-gradient(135deg, #1e60d5 0%, #2563eb 100%); }
.ms-banner-3 { background: linear-gradient(135deg, #582098 0%, #7c3aed 100%); }
.ms-banner-4 { background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%); }
.ms-banner-5 { background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%); }
.ms-banner-6 { background: linear-gradient(135deg, #6b21a8 0%, #9333ea 100%); }

.ms-banner-info {
    flex: 1 1 auto;
    z-index: 2;
    min-width: 0;
}
.ms-banner-tag {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
.ms-banner-title {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 8px;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.ms-banner-sub {
    font-size: 14.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.38;
    margin: 0;
}
.ms-banner-art {
    width: 200px;
    height: 175px;
    flex-shrink: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Prev / Next Banner Arrows */
.ms-banner-arrow {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.92;
}
.ms-banner-arrow:hover {
    background: #ffffff;
    color: #2563eb;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    opacity: 1;
}
.ms-banner-prev { left: -14px; }
.ms-banner-next { right: -14px; }

/* Navigation Dots */
.ms-banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}
.ms-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}
.ms-banner-dot:hover {
    background: #94a3b8;
}
.ms-banner-dot.is-active {
    width: 26px;
    background: var(--header-bg, #0f4c3a);
}

/* ==========================================================================
   SECTIONS & TITLES
   ========================================================================== */
.ms-sec-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 32px 0 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   CATEGORIES GRID - Sleek, Balanced, Responsive
   ========================================================================== */
.ms-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

/* ==========================================================================
   CATEGORY CARDS - 4-Column Rectangular Architecture
   ========================================================================== */
.ms-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
@media (max-width: 960px) {
    .ms-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}
@media (max-width: 640px) {
    .ms-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.ms-cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 130px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}
.ms-cat-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    background: #fafbfc;
}
.ms-cat-card.ms-cat-active {
    border-color: var(--ms-header, #083d30);
    background: #f0fdf4;
}
.ms-cat-img-box {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}
.ms-cat-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ms-cat-img-box svg {
    width: 44px;
    height: 44px;
    color: #cbd5e1;
}
.ms-cat-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    word-break: break-word;
    line-height: 1.3;
    margin: 0;
}

/* ==========================================================================
   PRODUCT ITEMS GRID - 3-Column Clean E-Commerce Architecture
   ========================================================================== */
.ms-item-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .ms-item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width: 640px) {
    .ms-item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

.ms-product-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.ms-product-img-wrap {
    width: 100%;
    height: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 16px;
    box-sizing: border-box;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-product-card:hover .ms-product-img-wrap {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}
@media (max-width: 1400px) {
    .ms-product-img-wrap {
        height: 400px;
    }
}
@media (max-width: 1200px) {
    .ms-product-img-wrap {
        height: 360px;
    }
}
@media (max-width: 992px) {
    .ms-product-img-wrap {
        height: 300px;
        padding: 12px;
    }
}
@media (max-width: 640px) {
    .ms-product-img-wrap {
        height: 220px;
        padding: 8px;
        border-radius: 12px;
    }
}
.ms-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}
.ms-product-card:hover .ms-product-img-wrap img {
    transform: scale(1.03);
}

.ms-card-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ea580c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.ms-product-body {
    padding: 16px 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.ms-product-body > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}
.ms-product-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    text-decoration: none;
    transition: color 0.15s ease;
}
.ms-product-name:hover {
    color: #f97316;
    text-decoration: underline;
}

.ms-product-attr {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 4px;
    letter-spacing: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.ms-product-variants-link {
    font-size: 11.5px;
    font-weight: 600;
    color: #f97316;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-bottom: 4px;
    display: inline-block;
    cursor: pointer;
}
.ms-product-variants-link:hover {
    color: #ea580c;
}

.ms-product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 12px;
    padding-top: 4px;
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.ms-product-price {
    font-size: 15px;
    font-weight: 800;
    color: #f97316;
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.ms-product-mrp {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: line-through;
    white-space: nowrap;
    line-height: 1.2;
}

.ms-card-add-form {
    width: 100%;
    display: block;
    margin: 0;
    box-sizing: border-box;
}

.ms-card-add-btn {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    background: #f97316;
    color: #ffffff;
    border: 1.5px solid #ea580c;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.22);
    box-sizing: border-box;
}
.ms-card-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50.5%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-card-add-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50.5%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-card-add-btn:hover:not(:disabled)::before,
.ms-card-add-btn:hover:not(:disabled)::after {
    transform: translateX(0);
}
.ms-card-add-btn:hover:not(:disabled) {
    color: #ea580c !important;
    border-color: #ea580c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}
.ms-card-add-btn:active:not(:disabled) {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
}
.ms-card-add-btn span {
    position: relative;
    z-index: 2;
    transition: all 0.25s ease;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.ms-card-add-btn:hover:not(:disabled) span {
    color: #ea580c !important;
}
.ms-card-add-btn.is-success-pop {
    animation: msPopBurst 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes msPopBurst {
    0% { transform: scale(0.92); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}
.ms-card-add-btn.is-disabled, .ms-card-add-btn:disabled {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.ms-card-add-btn.is-disabled::before, .ms-card-add-btn:disabled::before {
    display: none;
}

/* ==========================================================================
   GENERIC BUTTONS & FORMS
   ========================================================================== */
.ms-btn, .ms-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 8px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.ms-btn { background: var(--ms-accent); color: #fff; width: 100%; }
.ms-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ms-btn-ghost { background: #fff; color: var(--ms-ink); border: 1px solid var(--ms-line); }

.ms-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; }
.ms-ok { background: #ecfdf5; color: #047857; }
.ms-err { background: #fef2f2; color: #b91c1c; }
.ms-empty { text-align: center; color: var(--ms-muted); padding: 50px 10px; font-size: 15px; }

.ms-input, .ms-textarea, .ms-select {
    width: 100%; border: 1px solid var(--ms-line); border-radius: 8px; padding: 10px 12px; font: inherit; margin-bottom: 12px;
}
.ms-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }

.ms-product-hero { width: 100%; max-width: 450px; height: 320px; background: #f1f5f9; border-radius: 12px; overflow: hidden; margin-bottom: 18px; display:flex; align-items:center; justify-content:center; }
.ms-product-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - Modern Full-Width Layout
   ========================================================================== */
.ms-pdp-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.ms-pdp-top-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: 48px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    margin-bottom: 36px;
}
@media (max-width: 860px) {
    .ms-pdp-top-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }
}
.ms-pdp-gallery {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    max-height: 480px;
    overflow: hidden;
    padding: 16px;
}
.ms-pdp-gallery img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
}
.ms-pdp-info {
    display: flex;
    flex-direction: column;
}
.ms-pdp-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.ms-pdp-price {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}
.ms-pdp-opt-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.ms-pdp-variants-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.ms-pdp-var-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #334155;
    font-family: inherit;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}
.ms-pdp-var-btn:hover {
    border-color: #0f172a;
}
.ms-pdp-var-btn.is-active {
    border: 2px solid var(--ms-header, #0f4c3a);
    background: #f0fdf4;
    color: #0f172a;
    font-weight: 700;
}
.ms-pdp-var-name {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.ms-pdp-var-price {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.ms-pdp-var-btn.is-active .ms-pdp-var-price {
    color: #0f172a;
    font-weight: 700;
}
.ms-pdp-action-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.ms-pdp-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--ms-header, #0f4c3a);
    border-radius: 8px;
    overflow: hidden;
    height: 46px;
    background: #ffffff;
}
.ms-pdp-step-btn {
    background: transparent;
    border: 0;
    width: 44px;
    height: 100%;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.ms-pdp-step-btn:hover {
    background: #f1f5f9;
}
.ms-pdp-qty-val {
    width: 50px;
    border: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    -moz-appearance: textfield;
}
.ms-pdp-qty-val::-webkit-outer-spin-button,
.ms-pdp-qty-val::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ms-pdp-add-btn {
    flex: 1;
    min-width: 180px;
    height: 46px;
    background: var(--ms-header, #083d30);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s, transform 0.15s;
    text-decoration: none;
}
.ms-pdp-add-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.ms-pdp-add-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* PDP Specifications */
.ms-pdp-sec-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 36px 0 16px;
    letter-spacing: -0.2px;
}
.ms-pdp-specs-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 12px 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}
.ms-pdp-spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 14px;
    gap: 16px;
}
.ms-pdp-spec-row:last-child {
    border-bottom: 0;
}
.ms-pdp-spec-key {
    color: #64748b;
    font-weight: 500;
}
.ms-pdp-spec-val {
    color: #0f172a;
    font-weight: 600;
}
@media (max-width: 640px) {
    .ms-pdp-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* PDP Highlights */
.ms-pdp-highlights-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.ms-pdp-hl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.ms-pdp-hl-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}
.ms-pdp-hl-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.ms-cart-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ms-line); font-size: 14px; }
.ms-cart-line > div:first-child { min-width: 0; flex: 1; }
.ms-cart-line strong { word-break: break-word; }
.ms-total { font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.ms-form-card {
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    background: #ffffff;
    border: 1px solid var(--ms-line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 1100px) {
    .ms-top-container {
        padding: 12px 16px;
        gap: 14px;
    }
    .ms-title { max-width: 180px; }
    .ms-search-wrap { max-width: 420px; }
    .ms-banners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ms-item-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .ms-product-img-wrap { height: 300px; }
}

/* ==========================================================================
   MOBILE & SMALL SCREEN RESPONSIVENESS (Phone Preview & Mobile Devices)
   ========================================================================== */
@media (max-width: 768px) {
    .ms-top-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
        gap: 8px 10px;
    }
    .ms-brand-left {
        order: 1;
        gap: 8px;
        min-width: 0;
        flex: 1;
    }
    .ms-title {
        font-size: 13.5px;
        max-width: none;
        flex: 1;
        min-width: 0;
    }
    .ms-logo, .ms-initials {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .ms-top-actions {
        order: 2;
        gap: 12px;
        margin-left: 0;
    }
    .ms-location-widget,
    .ms-nav-divider {
        display: none;
    }
    .ms-nav-item {
        min-width: 36px;
        min-height: 36px;
        gap: 0;
    }
    .ms-nav-label {
        display: none;
    }
    .ms-search-wrap {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        margin: 0;
    }
    .ms-search {
        padding: 9px 14px 9px 38px;
        font-size: 13.5px;
        border-radius: 999px;
    }
    .ms-search-icon {
        left: 14px;
    }
    .ms-search-placeholder {
        left: 38px;
        right: 14px;
        font-size: 13px;
        height: 20px;
    }
    .ms-sp-track {
        height: 20px;
    }
    .ms-sp-word {
        line-height: 20px;
    }

    .ms-banners-carousel-wrap {
        margin-bottom: 24px;
    }
    .ms-banner-arrow {
        display: none !important;
    }
    .ms-banners-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin-bottom: 10px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        grid-template-columns: none;
    }
    .ms-banners-grid::-webkit-scrollbar {
        display: none;
    }
    .ms-banner-card {
        min-width: 88%;
        max-width: 88%;
        flex: 0 0 88%;
        scroll-snap-align: start;
        min-height: 115px;
        padding: 14px 16px;
        border-radius: 14px;
    }
    .ms-banner-title {
        font-size: 16px;
        margin-bottom: 3px;
        word-break: break-word;
    }
    .ms-banner-tag { font-size: 11px; }
    .ms-banner-sub {
        font-size: 11px;
        word-break: break-word;
    }
    .ms-banner-art {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .ms-body-pad {
        padding: 12px max(10px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    }
    .ms-sec-title {
        font-size: 15px;
        margin: 18px 0 10px;
    }

    .ms-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }
    .ms-cat-card {
        padding: 14px 8px 12px;
        min-height: 88px;
        border-radius: 10px;
    }
    .ms-cat-img-box {
        width: 44px;
        height: 36px;
        margin-bottom: 6px;
    }
    .ms-cat-title {
        font-size: 10.5px;
        line-height: 1.25;
    }

    .ms-item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 30px;
    }
    .ms-product-card { border-radius: 10px; min-width: 0; }
    .ms-product-img-wrap { height: 125px; }
    .ms-product-badge {
        font-size: 9px;
        padding: 2px 5px;
        top: 5px;
        left: 5px;
    }
    .ms-product-body { padding: 8px 8px 10px; }
    .ms-product-name { font-size: 11.5px; margin-bottom: 2px; }
    .ms-product-variant { font-size: 9.5px; margin-bottom: 4px; }
    .ms-product-foot {
        margin-top: 6px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .ms-product-price { font-size: 13px; }
    .ms-add-btn {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 6px;
        min-height: 32px;
    }

    .ms-form-card {
        margin: 8px 0 20px;
        padding: 16px 14px;
        border-radius: 12px;
    }
    .ms-form-card h1 { font-size: 18px !important; word-break: break-word; }
    .ms-product-hero {
        max-width: 100%;
        height: 240px;
        margin-bottom: 14px;
    }
    .ms-input, .ms-textarea, .ms-select {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .ms-cart-line {
        flex-wrap: wrap;
        gap: 8px;
    }
    .ms-cart-line form {
        flex-wrap: wrap;
    }
    .ms-btn, .ms-btn-ghost {
        min-height: 44px;
        width: 100% !important;
        padding: 12px 16px;
    }
    .ms-empty { padding: 28px 8px; font-size: 14px; }
}

@media (max-width: 420px) {
    .ms-banner-card {
        min-width: 92%;
        max-width: 92%;
        flex-basis: 92%;
        min-height: 108px;
        padding: 12px;
    }
    .ms-banner-art { width: 64px; height: 64px; }
    .ms-product-img-wrap { height: 110px; }
    .ms-product-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .ms-add-btn { width: 100%; }
}

@media (max-width: 360px) {
    .ms-title { font-size: 12.5px; }
    .ms-cat-title { font-size: 10px; }
    .ms-product-name { font-size: 11px; }
    .ms-product-hero { height: 200px; }
}

@media (max-width: 768px) and (orientation: landscape) {
    .ms-item-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ms-product-hero { height: 180px; }
    .ms-banner-card {
        min-width: 62%;
        max-width: 62%;
        flex-basis: 62%;
    }
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
body.ms-cart-lock {
    overflow: hidden;
}

.ms-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    background: rgba(15, 23, 42, 0.48);
    display: none;
    justify-content: flex-end;
    align-items: stretch;
}

.ms-cart-overlay.is-open {
    display: flex;
}

.ms-cd-close {
    position: absolute;
    top: 18px;
    right: min(420px, 100vw);
    margin-right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.ms-cart-drawer {
    width: min(420px, 100%);
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    animation: msCartIn 0.22s ease-out;
}

@keyframes msCartIn {
    from { transform: translateX(24px); opacity: 0.6; }
    to { transform: translateX(0); opacity: 1; }
}

.ms-cd-head {
    padding: 16px 18px 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.ms-cd-btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
    padding: 0;
}
.ms-cd-btn-circle:hover {
    background: #e2e8f0;
}

.ms-cd-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.ms-cd-title span {
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
}

.ms-cd-delivery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 18px;
    border-bottom: 1px solid #e8edf3;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.15s;
}
.ms-cd-delivery-bar:hover {
    background: #f8fafc;
}
.ms-cd-delivery-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1e293b;
}
.ms-cd-delivery-bar svg { color: #64748b; flex-shrink: 0; }

.ms-cd-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 18px 20px;
    min-height: 0;
}

.ms-cd-empty {
    text-align: center;
    color: #64748b;
    padding: 48px 12px;
    font-size: 14.5px;
}

.ms-cd-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f6;
}

.ms-cd-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-cd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-cd-info { flex: 1; min-width: 0; }

.ms-cd-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    line-height: 1.3;
}

.ms-cd-meta {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 3px;
}

.ms-cd-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.ms-cd-price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.ms-cd-mrp {
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.ms-cd-item-save {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
}

.ms-cd-remove { margin-top: 6px; }

.ms-cd-remove button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.ms-cd-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
    flex-shrink: 0;
    margin-top: 4px;
    background: #ffffff;
}

.ms-cd-stepper form { margin: 0; }

.ms-cd-stepper button {
    width: 30px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.ms-cd-stepper button:hover:not(:disabled) {
    background: #f1f5f9;
}

.ms-cd-stepper button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ms-cd-stepper span {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.ms-cd-summary {
    padding-top: 18px;
}

.ms-cd-summary-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.ms-cd-coupon-box {
    margin: 12px 0 4px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.ms-cd-coupon-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ms-cd-coupon-row {
    display: flex;
    gap: 8px;
}

.ms-cd-coupon-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

.ms-cd-coupon-apply {
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.ms-cd-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    color: #047857;
    font-weight: 600;
}

.ms-cd-coupon-applied strong {
    color: #065f46;
}

.ms-cd-coupon-remove {
    border: 0;
    background: transparent;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ms-cd-coupon-error {
    margin-top: 8px;
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
}

.ms-cd-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    color: #334155;
    padding: 5px 0;
}

.ms-cd-free { color: #16a34a; font-weight: 700; }

.ms-cd-pay {
    font-weight: 800;
    color: #0f172a;
    font-size: 15px;
    margin-top: 6px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.ms-cd-savings-strip {
    background: #dcfce7;
    color: #15803d;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-cd-checkout-save-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ms-cd-checkout-save-badge strong {
    font-size: 12px;
    font-weight: 800;
    color: #065f46;
}

.ms-cd-signin-required {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.ms-cd-signin-required-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ms-cd-signin-required-text strong {
    font-size: 13px;
    color: #1d4ed8;
}

.ms-cd-signin-required-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ms-cd-signin-required-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}

.ms-cd-signin-required-btn--outline {
    background: #ffffff;
    color: #1d4ed8 !important;
    border-color: #93c5fd;
}

.ms-cd-signin-required--sticky {
    flex-shrink: 0;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #bfdbfe;
}

.ms-cd-signin-required-link {
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: underline;
}

a.ms-cd-checkout-btn-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.ms-cd-guest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a !important;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ms-cd-foot-auth {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}

.ms-cd-foot-auth .ms-cd-checkout-btn {
    min-width: 0;
    flex: 1 1 calc(50% - 3px);
    padding: 10px 10px;
    font-size: 12.5px;
}

.ms-cd-foot-auth .ms-cd-checkout-btn:last-child {
    flex: 1 1 100%;
}

.ms-cd-place-order-wide {
    flex: 1 1 100% !important;
    min-width: 0 !important;
}

.ms-cd-foot--checkout-auth {
    flex-wrap: wrap;
    align-items: flex-start;
}

.ms-cd-foot--checkout-auth .ms-cd-foot-left {
    flex: 1 1 100%;
    margin-bottom: 4px;
}

.ms-cd-foot-guest-active {
    flex: 1;
}

.ms-cd-checkout-btn-outline {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ms-cd-guest-active-hint {
    font-size: 12px;
    color: #047857;
    font-weight: 600;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 8px 10px;
}

.ms-cd-guest-cancel {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

/* Order Summary Deliver To section inside Drawer (Screenshot 2) */
.ms-cd-deliver-section {
    padding: 14px 0 16px;
    border-bottom: 1px solid #e8edf3;
    cursor: pointer;
    transition: opacity 0.15s;
}
.ms-cd-deliver-section:hover {
    opacity: 0.92;
}
.ms-cd-deliver-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ms-cd-deliver-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.ms-cd-deliver-addr {
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 6px;
}
.ms-cd-deliver-phone {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Payment Method Selector in Order Summary Drawer */
.ms-cd-pm-section {
    padding: 16px 0;
    border-bottom: 1px solid #e8edf3;
}
.ms-cd-pm-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}
.ms-cd-pm-head svg {
    color: #2563eb;
}
.ms-cd-pm-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ms-cd-pm-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.ms-cd-pm-option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.ms-cd-pm-option.is-selected {
    background: #f0fdf4;
    border-color: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}
.ms-cd-pm-option input[type="radio"] {
    display: none;
}
.ms-cd-pm-icon {
    font-size: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.ms-cd-pm-text {
    flex: 1;
    min-width: 0;
}
.ms-cd-pm-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.ms-cd-pm-desc {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}
.ms-cd-pm-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.ms-cd-pm-option.is-selected .ms-cd-pm-radio {
    border-color: #16a34a;
    background: #16a34a;
}
.ms-cd-pm-option.is-selected .ms-cd-pm-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.ms-cd-foot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e8edf3;
    background: #ffffff;
}

.ms-cd-foot-left {
    display: flex;
    flex-direction: column;
}

.ms-cd-foot-total {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.ms-cd-summary-link {
    display: block;
    margin-top: 2px;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #0284c7;
    cursor: pointer;
    text-align: left;
}
.ms-cd-summary-link:hover {
    text-decoration: underline;
}

.ms-cd-pay-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.ms-cd-pay-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.ms-cd-checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-header, #083d30);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    white-space: nowrap;
    min-width: 170px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ms-cd-checkout-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .ms-cart-drawer {
        width: 100%;
    }
    .ms-cd-close {
        right: auto;
        left: 12px;
        top: 12px;
        margin-right: 0;
    }
    .ms-cd-head {
        padding: 16px 16px 10px 60px;
    }
    .ms-cd-foot {
        flex-wrap: wrap;
    }
    .ms-cd-checkout {
        flex: 1;
        min-width: 0;
    }
    .ms-acc-head {
        padding: 16px 16px 8px 60px;
    }
}

/* ==========================================================================
   ACCOUNT DRAWER
   ========================================================================== */
.ms-acc-head {
    padding: 20px 22px 8px;
    flex-shrink: 0;
}

.ms-acc-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ms-acc-body {
    padding: 8px 22px 28px;
    overflow-y: auto;
    flex: 1;
}

.ms-acc-block {
    padding: 18px 0 8px;
}

.ms-acc-h {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.ms-acc-sub {
    font-size: 14px;
    color: #334155;
    margin-bottom: 16px;
}

.ms-acc-user {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.ms-acc-user-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.ms-acc-user-email {
    margin-top: 4px;
    font-size: 13.5px;
    color: #64748b;
    word-break: break-all;
}

.ms-acc-edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--ms-header, #0f4c3a) !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.ms-acc-sec {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 6px;
}

.ms-acc-foot {
    flex-shrink: 0;
    border-top: 1px solid #e8edf3;
    padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
}

.ms-acc-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: 0;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #ef4444;
    cursor: pointer;
    text-align: left;
}

.ms-acc-logout svg {
    color: #ef4444;
}

.ms-acc-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-header, #083d30);
    color: #ffffff !important;
    border: 0;
    border-radius: 6px;
    padding: 11px 28px;
    font: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
}

.ms-acc-form {
    margin-top: 14px;
    max-width: 280px;
}

.ms-acc-form .ms-input {
    margin-bottom: 10px;
}

.ms-acc-signout {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: #dc2626;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ms-acc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
}

.ms-acc-link svg {
    color: #334155;
    flex-shrink: 0;
}

.ms-acc-link:hover {
    color: var(--ms-header, #083d30) !important;
}

.ms-acc-signin {
    text-decoration: none !important;
}

/* ==========================================================================
   STORE CUSTOMER SIGN IN
   ========================================================================== */
body.sf-auth-body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 32px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #e8edf2;
    background-image:
        linear-gradient(30deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
        linear-gradient(150deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
        linear-gradient(30deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0),
        linear-gradient(150deg, #e2e8f0 12%, transparent 12.5%, transparent 87%, #e2e8f0 87.5%, #e2e8f0);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.sf-auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.sf-auth-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.sf-auth-sub {
    margin: 6px 0 22px;
    font-size: 14.5px;
    color: #64748b;
}

.sf-auth-input {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #dbeafe;
    padding: 14px 14px;
    font: inherit;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 12px;
    outline: none;
}

.sf-auth-input:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.sf-auth-input:disabled {
    opacity: 0.85;
}

.sf-auth-otp-input {
    letter-spacing: 8px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    color: #0f172a;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.sf-auth-otp-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.sf-otp-info {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: center;
}
.sf-otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 13.5px;
}
.sf-resend-btn {
    background: none;
    border: 0;
    padding: 0;
    color: #2563eb;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.sf-auth-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: var(--ms-header, #0f4c3a);
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 16px;
    cursor: pointer;
}

.sf-auth-forgot {
    display: block;
    text-align: center;
    margin: 18px 0 0;
    color: #2563eb;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}

.sf-auth-forgot:hover { text-decoration: underline; }

.sf-auth-foot {
    text-align: center;
    margin: 28px 0 0;
    font-size: 14px;
    color: #334155;
}

.sf-auth-foot a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.sf-auth-foot a:hover { text-decoration: underline; }

.sf-auth-back {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    color: #64748b;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-auth-store {
    margin-top: 18px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.sf-auth-store:hover { color: #0f172a; }

@media (max-width: 480px) {
    .sf-auth-card {
        padding: 28px 20px 22px;
        border-radius: 10px;
    }
    .sf-auth-title { font-size: 24px; }
}

/* Storefront Footer */
.ms-footer {
    width: 100%;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 36px 24px 48px;
    margin-top: 48px;
}
.ms-footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.ms-footer-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.ms-footer-location {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.5;
}

/* ==========================================================================
   DELIVERY LOCATION DRAWER (Matching Reference Mockups)
   ========================================================================== */
.ms-loc-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}
.ms-loc-head-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.ms-loc-head-btn:hover {
    background: #e2e8f0;
}
.ms-loc-head-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.ms-loc-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

/* Prompt / Empty State */
.ms-loc-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
    margin: auto 0;
}
.ms-loc-art-wrap {
    width: 170px;
    height: 170px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ms-loc-prompt-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.ms-loc-prompt-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 32px;
    line-height: 1.4;
}

/* Form Styles */
.ms-loc-form-group {
    margin-bottom: 22px;
    position: relative;
}
.ms-loc-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}
.ms-loc-label .ms-req {
    color: #ef4444;
    margin-left: 2px;
}
.ms-loc-input, .ms-loc-select {
    width: 100%;
    border: 0;
    border-bottom: 1.5px solid #cbd5e1;
    border-radius: 0;
    padding: 8px 0 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    transition: border-color 0.15s;
    outline: none;
}
.ms-loc-input:focus, .ms-loc-select:focus {
    border-bottom-color: var(--ms-header, #083d30);
}
.ms-loc-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.ms-loc-btn {
    width: 100%;
    height: 48px;
    background: var(--ms-header, #083d30);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s, transform 0.15s;
}
.ms-loc-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.ms-loc-save-btn {
    margin-top: 16px;
}

/* ==========================================================================
   CONFIRMATION MODALS (Place Order & Cancel Order)
   ========================================================================== */
.ms-confirm-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    padding: 16px;
}
.ms-confirm-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}
.ms-confirm-dialog {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 22px 20px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(12px) scale(0.96);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.ms-confirm-modal-overlay.is-open .ms-confirm-dialog {
    transform: translateY(0) scale(1);
}
.ms-confirm-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}
.ms-confirm-msg {
    font-size: 14.5px;
    color: #475569;
    margin: 0 0 24px;
    line-height: 1.45;
}
.ms-confirm-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.ms-checkout-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-checkout-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    border: none;
    font-family: inherit;
}

.ms-checkout-auth-btn-primary {
    background: var(--ms-header, #083d30);
    color: #ffffff !important;
}

.ms-checkout-auth-btn-outline {
    background: #ffffff;
    color: var(--ms-header, #083d30) !important;
    border: 1px solid #cbd5e1;
}

.ms-checkout-auth-btn-guest {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

.ms-checkout-auth-btn-cancel {
    background: transparent;
    color: #64748b !important;
    font-weight: 600;
    padding: 8px;
}

.ms-confirm-btn-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ms-confirm-btn-cancel:hover {
    background: #f8fafc;
    color: #0f172a;
}
.ms-confirm-btn-proceed {
    background: var(--ms-header, #083d30);
    border: none;
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ms-confirm-btn-proceed:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* ==========================================================================
   ORDER DETAILS VIEW - Reference Mobile Card Architecture
   ========================================================================== */
.ms-order-view-wrap {
    max-width: 580px;
    margin: 0 auto;
    padding: 0 0 40px;
    width: 100%;
}
.ms-order-view-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.ms-order-view-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.15s;
}
.ms-order-view-back:hover {
    color: var(--ms-header, #083d30);
}
.ms-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.ms-order-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.ms-order-id {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.ms-order-total-price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.ms-order-type {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}
.ms-order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.ms-order-status-pill.status-pending {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.ms-order-status-pill.status-completed, .ms-order-status-pill.status-delivered {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.ms-order-status-pill.status-cancelled {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.ms-order-date {
    font-size: 12.5px;
    color: #64748b;
}
.ms-order-sec-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}
.ms-order-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ms-order-payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}
.ms-order-payment-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.ms-order-payment-badge.unpaid {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.ms-order-payment-badge.paid {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.ms-order-addr-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.ms-order-addr-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 8px;
}
.ms-order-addr-phone {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ms-order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}
.ms-order-items-table th {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    padding: 8px 4px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.ms-order-items-table td {
    font-size: 13px;
    color: #1e293b;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.ms-order-item-prod {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ms-order-item-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}
.ms-order-item-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.35;
}
.ms-order-item-sku {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}
.ms-order-summary-box {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ms-order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}
.ms-order-summary-row.is-total {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    margin-top: 4px;
}
.ms-order-actions-bar {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.ms-order-btn-cancel {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #fca5a5;
    background: #ffffff;
    color: #e11d48;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ms-order-btn-cancel:hover {
    background: #fff1f2;
    border-color: #f87171;
}
.ms-order-btn-reorder {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: #e11d48;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ms-order-btn-reorder:hover {
    background: #be123c;
    transform: translateY(-1px);
}

/* Full-Width Edge-to-Edge Hero Banner Below Navbar */
.ms-hero-full-banner-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.ms-hero-full-banner-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
    line-height: 0;
}
.ms-hero-full-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border: none;
    margin: 0;
    padding: 0;
}


