/* UGAOO Redesign CSS */
:root {
    --ugaoo-green: #1C4D2F;
    --ugaoo-green-hover: #133824;
    --ugaoo-light-bg: #F4F6F4;
    --ugaoo-star: #FBB03B;
    --ugaoo-text: #222222;
    --ugaoo-text-muted: #666666;
    --ugaoo-border: #E8E8E8;
}

body.page-home {
    font-family: 'Inter', sans-serif;
    color: var(--ugaoo-text);
    background-color: #ffffff;
}

/* Hero Slider */
.ugaoo-hero-slider {
    margin-bottom: 3rem;
}
.ugaoo-banner-cover {
    width: 100%;
    max-height: 450px;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Section Headings */
.ugaoo-section-heading {
    text-align: center;
    margin-bottom: 2rem;
}
.ugaoo-section-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ugaoo-green);
    margin: 0;
}
.ugaoo-section-heading p {
    color: var(--ugaoo-text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Circle Categories */
.ugaoo-categories-wrapper {
    padding: 2rem 0;
    background-color: #ffffff;
    margin-bottom: 3rem;
}
.ugaoo-category-item {
    text-align: center;
    padding: 0.5rem;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.ugaoo-category-item:hover {
    transform: translateY(-5px);
}
.ugaoo-category-img-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--ugaoo-light-bg);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.ugaoo-category-item:hover .ugaoo-category-img-wrap {
    border-color: var(--ugaoo-green);
}
.ugaoo-category-img-wrap img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}
.ugaoo-category-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ugaoo-text);
}

/* Product Cards Grid */
.ugaoo-product-card {
    border: 1px solid var(--ugaoo-border);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ugaoo-product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.ugaoo-product-media {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: var(--ugaoo-light-bg);
    overflow: hidden;
}
.ugaoo-product-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ugaoo-product-card:hover .ugaoo-product-media img {
    transform: scale(1.05);
}
.ugaoo-product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
    z-index: 2;
}
.ugaoo-product-wishlist:hover {
    color: #ff4757;
}
.ugaoo-product-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ugaoo-product-rating {
    color: var(--ugaoo-star);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.ugaoo-product-rating span {
    color: var(--ugaoo-text-muted);
    margin-left: 0.2rem;
}
.ugaoo-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ugaoo-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ugaoo-product-title a {
    color: inherit;
    text-decoration: none;
}
.ugaoo-product-title a:hover {
    color: var(--ugaoo-green);
}
.ugaoo-product-price-wrap {
    margin-bottom: 1rem;
    margin-top: auto;
}
.ugaoo-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ugaoo-text);
}
.ugaoo-product-price del {
    font-size: 0.9rem;
    color: var(--ugaoo-text-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}
.ugaoo-add-to-cart-btn {
    display: block;
    width: 100%;
    background: var(--ugaoo-green);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
}
.ugaoo-add-to-cart-btn:hover {
    background: var(--ugaoo-green-hover);
    color: white;
}

/* Trust / Banner Sections */
.ugaoo-trust-banner {
    background: var(--ugaoo-light-bg);
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 12px;
}
.ugaoo-trust-item {
    text-align: center;
    padding: 1rem;
}
.ugaoo-trust-icon {
    font-size: 2.5rem;
    color: var(--ugaoo-green);
    margin-bottom: 1rem;
}
.ugaoo-trust-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.ugaoo-trust-desc {
    color: var(--ugaoo-text-muted);
    font-size: 0.9rem;
}

/* Layout Overrides */
.ugaoo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .ugaoo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .ugaoo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
    .ugaoo-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Horizontal scrolling for categories on mobile */
.ugaoo-categories-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
    margin: 0 -15px; /* offset container padding */
    list-style: none;
}
.ugaoo-categories-list::-webkit-scrollbar {
    display: none;
}
.ugaoo-categories-list > li {
    flex: 0 0 auto;
    width: 140px;
}

/* Upgrade Space Static Section */
.ugaoo-upgrade-space {
    margin: 4rem auto;
    max-width: 1600px;
}
.ugaoo-upgrade-bg {
    background: url('https://images.unsplash.com/photo-1555037015-1498966bcd7c?q=70&w=1400&auto=format&fit=crop') center/cover no-repeat;
    padding: 5rem 2rem;
    position: relative;
    border-radius: 20px;
    margin: 0 20px;
    overflow: hidden;
}
.ugaoo-upgrade-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.ugaoo-upgrade-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.ugaoo-upgrade-bg > .container-fluid {
    position: relative;
    z-index: 2;
}
.ugaoo-upgrade-text {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}
.ugaoo-yellow-cursive {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #FFD13B;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.ugaoo-white-subtitle {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
}
.ugaoo-static-products-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ugaoo-static-products-wrapper::-webkit-scrollbar {
    display: none;
}
.ugaoo-static-card {
    flex: 0 0 280px;
    background: #F4F1E1; /* Beige from screenshot */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.ugaoo-static-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #ffffff;
}
.ugaoo-static-card-body {
    padding: 1.25rem;
    text-align: left;
}
.ugaoo-static-card-body h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1C4D2F;
    margin-bottom: 0.25rem;
}
.ugaoo-static-card-body p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.ugaoo-view-btn {
    display: block;
    width: 100%;
    background: #2EBB6A; /* Ugaoo green */
    color: #ffffff;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.ugaoo-view-btn:hover {
    background: #259655;
    color: #ffffff;
}
@media (max-width: 991px) {
    .ugaoo-yellow-cursive { font-size: 4rem; }
    .ugaoo-white-subtitle { font-size: 1.6rem; }
    .ugaoo-upgrade-text { margin-bottom: 2rem; padding-right: 0; }
}
@media (max-width: 768px) {
    .ugaoo-upgrade-bg {
        background-image: url('https://images.unsplash.com/photo-1555037015-1498966bcd7c?q=65&w=720&auto=format&fit=crop');
        margin: 0;
        border-radius: 0;
        padding: 3rem 1rem;
    }
    .ugaoo-yellow-cursive { font-size: 3rem; }
    .ugaoo-white-subtitle { font-size: 1.4rem; }
    .ugaoo-static-card { flex: 0 0 240px; }
}

/* Promo Slider Custom Arrows */
.ugaoo-promo-slider .slick-arrow-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333333;
    border: none;
    outline: none;
}
.ugaoo-promo-slider .slick-prev {
    left: -20px;
}
.ugaoo-promo-slider .slick-next {
    right: -20px;
}
.ugaoo-promo-slider .slick-arrow-custom:hover {
    background-color: #f1f1f1;
}
.ugaoo-promo-slider .slick-arrow-custom i {
    font-size: 1.2rem;
}
.ugaoo-promo-slider .slick-slide {
    margin: 0 10px;
}
.ugaoo-promo-slider .slick-list {
    margin: 0 -10px;
}
