:root {
    --brand-red: #B91C1C;
    --brand-red-dark: #991B1B;
    --brand-red-light: #FEE2E2;
    --brand-black: #18181B;
    --brand-dark-sec: #27272A;
    --brand-bg: #F3F7FA;
    --brand-slate: #64748B;
    --brand-border: #E2E8F0;
    --brand-white: #FFFFFF;
}

*, ::before, ::after {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
    width: 100%;
}
.aspect-square {
    aspect-ratio: 1 / 1;
    width: 100%;
}
.aspect-\[9\/16\] {
    aspect-ratio: 9 / 16;
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--brand-bg);
    color: var(--brand-black);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Strict Image Sizing Constraints */
.o1OfferStripItem {
    width: 164px !important;
    min-width: 164px !important;
    max-width: 164px !important;
    flex-shrink: 0 !important;
}
.o1OfferStripItem .o1OfferImgBox {
    width: 100% !important;
    height: 155px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    position: relative !important;
}
.o1OfferStripItem .o1OfferImgBox img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}

.o1CatBubbleImg {
    width: 68px !important;
    height: 68px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    flex-shrink: 0 !important;
}
.o1CatBubbleImg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}

.o1ProductItem .o1ProdImgBox {
    width: 100% !important;
    height: 250px !important;
    overflow: hidden !important;
    position: relative !important;
}
.o1ProductItem .o1ProdImgBox img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}

@media (max-width: 640px) {
    .o1OfferStripItem {
        width: 136px !important;
        min-width: 136px !important;
        max-width: 136px !important;
    }
    .o1OfferStripItem .o1OfferImgBox {
        height: 130px !important;
    }
    .o1CatBubbleImg {
        width: 56px !important;
        height: 56px !important;
    }
    .o1ProductItem .o1ProdImgBox {
        height: 195px !important;
    }
}

/* Hero Floating Showcase Cards */
.o1HeroShowcaseCard {
    width: 195px !important;
    height: 255px !important;
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0 !important;
}
.o1HeroShowcaseCard:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(251, 191, 36, 0.6);
}
.o1HeroShowcaseCard img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}

.o1AppWrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

.o1ScrollbarNone::-webkit-scrollbar {
    display: none;
}
.o1ScrollbarNone {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.o1CustomScroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.o1CustomScroll::-webkit-scrollbar-track {
    background: #F1F5F9;
}
.o1CustomScroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
.o1CustomScroll::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.o1StoryRing {
    background: linear-gradient(45deg, #B91C1C, #EF4444, #F87171, #B91C1C);
    background-size: 300% 300%;
    animation: o1StoryPulse 4s ease infinite;
}

@keyframes o1StoryPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.o1ImgZoomWrap:hover .o1ImgZoomTarget {
    transform: scale(1.06);
}

.o1DrawerOpen {
    transform: translateX(0) !important;
}
.o1ModalOpen {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.o1ModalScaleOpen {
    transform: scale(1) !important;
    opacity: 1 !important;
}

.o1GlassCard {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.o1GlassDark {
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
    .o1AppWrapper {
        padding-bottom: 60px;
    }
}

.o1MallCatFilter.active div {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}

.o1MallCatFilter.active span {
    color: var(--brand-red) !important;
    font-weight: 800 !important;
}