/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0
*/

html, body {
    overflow-x: clip;
    max-width: 100%;
    height: auto !important;
    min-height: 100% !important;
    /* overflow: visible !important; */
}

/* Container */
.vlicious-social-login {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 420px;
    margin: 0 auto 10px;
}

/* Nextend buttons */
.vlicious-social-login a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    font-size: 14px;
    min-width: 160px; /* ensures nice button size on desktop */
}

/* OR separator */
.vlicious-login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 13px;
    margin: 15px auto;
    max-width: 420px;
}

.vlicious-login-separator::before,
.vlicious-login-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.vlicious-login-separator::before {
    margin-right: 10px;
}

.vlicious-login-separator::after {
    margin-left: 10px;
}

/* Center WooCommerce login box */
.woocommerce form.login {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MOBILE: stack full width */
@media (max-width: 768px) {

    .vlicious-social-login {
        flex-direction: column;
        width: 100%;
    }

    .vlicious-social-login a {
        width: 100% !important;
        min-width: unset;
    }
}

.hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.vlicious-banner {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden; /* IMPORTANT for rounded corners */
}

.vlicious-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Mobile → show full image */
@media (max-width: 768px) {
    .vlicious-banner-wrap {
        padding: 0 12px;
        margin: 20px auto;
    }

    .vlicious-hero {
        height: auto; /* allows full image */
        max-height: 150px; /* optional fallback */
    }

    .vlicious-trust {
        flex-wrap: wrap;
        gap: 20px;
    }

    .trust-item {
        width: 45%; /* 2 per row */
    }

    .trust-item img {
        /* width: 55px; */
        height: 55px;
    }
}

/* Desktop → allow slight crop for nicer look */
@media (min-width: 769px) {
    .banner-slide {
        background-size: cover;
    }
}

.vlicious-banner-wrap {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 12px;
    box-sizing: border-box; /* 🔥 IMPORTANT */
}

.vlicious-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 300px;
    touch-action: pan-x;
}

.banner-content{
background:rgba(0,0,0,0.4);
padding:30px;
border-radius:10px;
text-align:center;
color:white;
}

.banner-btn{
display:inline-block;
margin-top:15px;
padding:12px 22px;
background:#F97316;
color:white;
border-radius:8px;
text-decoration:none;
}

.vlicious-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.trust-item img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.trust-item span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.trust-item:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}

/* Section wrapper (IMPORTANT for spacing) */
.vlicious-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 40px; /* top | sides | bottom */
    padding: 0 10px; /* ✅ fixes left & right spacing */
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Title */
.vlicious-trust-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Title */
.vlicious-age-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.vlicious-age-nav {
    display: flex;          /* ✅ puts items in a row */
    gap: 16px;              /* space between cards */
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;      /* ❗ keeps them in ONE line */
    overflow-x: auto;
}

.age-card {
    position: relative;
    display: block;
    width: 180px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

/* Image */
.age-card img {
    width: 100%;
    height: 30px;
    display: block;
}

/* Overlay text */
.age-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;

    color: #fff;
    font-weight: 600;
    font-size: 14px;

    background: rgba(0,0,0,0.4);
    padding: 6px 10px;
    border-radius: 6px;
}

/* Hover effect */
.age-card:hover img {
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* Title */
.vlicious-carousel-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.vlicious-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden; /* ✅ prevents vertical drag */
    scroll-snap-type: x mandatory;
    padding: 10px 0;

    /* IMPORTANT: prevents extra right space */
    width: 100%;
    box-sizing: border-box;
}

.vlicious-carousel::-webkit-scrollbar {
    display: none;
}

.vlicious-carousel-card {
    flex: 0 0 220px; /* fixed card width */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 5px;
}

.vlicious-carousel-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.vlicious-carousel-card .title {
    font-size: 14px;
    margin: 10px 0 5px;
}

.vlicious-carousel-card .price {
    font-weight: bold;
    color: #333;
}

/* image wrapper */
.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
}

/* image */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* title */
.product-title {
    font-size: 14px;
    margin-top: 8px;
}

/* price */
.product-price {
    font-size: 14px;
    color: #F97316;
}

.vlicious-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* ✅ important fix */
    gap: 16px;

    width: 90%;
    max-width: 1200px;
    margin: 40px auto 40px;
    padding: 0 0px;
    box-sizing: border-box;
}

/* Capsule style */
.cat-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;          /* ✅ full column width */
    box-sizing: border-box;

    padding: 16px 18px;   /* slightly bigger = nicer fill */
    border-radius: 999px;

    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);

    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* Text */
.cat-capsule span {
    font-size: 14px;
}

/* Icon */
.cat-capsule img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Hover */
.cat-capsule:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
    background: #FFF7ED;
}

@media(max-width:768px){

    .vlicious-categories{
        grid-template-columns:1fr 1fr;
        padding:40px 20px;
    }

    .vlicious-banner-wrap {
        padding: 0 12px;
    }

    .hero-inner h2{
        font-size:28px;
    }

}

/* HERO BANNER */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1;
    box-sizing: border-box;  /* prevents padding/margin from creating extra width */
}
.hero-slide.active {
    z-index: 2;
    transform: translateX(0);
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    position: relative;   /* ensure it is above slides */
    z-index: 10;          /* higher than slides */
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dots .dot.active {
    background: #F97316;
}

/* CATEGORY GRID */

.vlicious-categories{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
padding:60px 40px;
max-width:1300px;
margin:auto;
}

.cat-card{
position:relative;
aspect-ratio:1/1;
background-size:cover;
background-position:center;
border-radius:16px;
display:flex;
align-items:flex-end;
padding:20px;
color:white;
text-decoration:none;
font-size:22px;
font-weight:600;
overflow:hidden;
}

.cat-card::before{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,.35);
}

.cat-card span{
position:relative;
z-index:2;
}

/* =========================
V-LICIOUS FOOTER
========================= */

.vlicious-footer {
    background: #fdbc3b;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 70px;
    color: #2c2c2c;
    font-family: inherit;
}

.vlicious-footer-container {
    width: min(1200px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;

    padding-bottom: 50px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1d1d1d;
}

.footer-links a,
.footer-contact a {
    display: block;
    text-decoration: none;
    color: #666;
    margin-bottom: 14px;
    transition: all .25s ease;
    font-size: 15px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #7a9b57;
    transform: translateX(3px);
}

.footer-contact p {
    color: #666;
    margin-bottom: 14px;
    font-size: 15px;
}

.footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #444;
    text-decoration: none;

    transition: all .25s ease;

    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.footer-socials i,
.footer-socials svg {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: #7a9b57;
}

.payment-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-icons img {
    width: 42px;
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* =========================
MOBILE
========================= */

@media (max-width: 900px) {

    .vlicious-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: auto;
    }

    .footer-socials,
    .payment-icons {
        justify-content: center;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
        transform: none;
    }

}

.vlicious-top-links {
    margin: 5px 0;
}

.vlicious-shop-link,
.vlicious-delivery-link {
    font-weight: 600;
    text-decoration: none;
    color: #2b2b2b;
    padding: 0px 60px
}

.vlicious-market-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.vlicious-market-icons img {
    height: 65px;              /* bigger icons */
    width: auto;
    object-fit: contain;
    border-radius: 12px;       /* rounded corners */
    padding: 5px;              /* optional breathing space */
    background: #fff;          /* optional clean background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* optional soft depth */
}

.vlicious-trust-list {
    list-style: none;
    padding: 0px 20px;
    margin: 0;
}

.vlicious-trust-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #374151;
    font-size: 15px;
    font-weight: 400;
}

.vlicious-trust-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 28px;
    line-height: 1;
    color: #000000;
}

.vlicious-promise-list {
    list-style: none;
    padding: 0px 20px;
    margin: 0;
}

.vlicious-promise-list li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 22px;
    line-height: 1.6;
    color: #374151;
    font-size: 16px;
    font-weight: 400;
}

.vlicious-promise-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: -3px;
    font-size: 20px;
    font-weight: bold;
    color: #22c55e;
}