/* =========================================
   Safwa Drop - Premium Theme (100% Final)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700;1,800&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --brand-dark-green: #115c4b; /* Headings color */
    --brand-teal: #0eb394; /* Buttons & Tags color */
    --brand-light-teal: #b2f2e6; /* Section background */
    --card-bg: #f4f6f5; /* Product card background */
    --text-main: #333333;
    --text-grey: #7a7a7a;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Premium Headings */
h1, h2, h3, .serif-heading {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 800;
    color: var(--brand-dark-green);
    letter-spacing: 0.5px;
}

/* =========================================
   Navbar & Mobile Header Elements
   ========================================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-dark-green) !important;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-icon-btn, .cart-icon-wrapper {
    background: var(--brand-teal);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}
/* Yellow Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fce83a; 
    color: #000;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* =========================================
   Scrolling Ticker Text
   ========================================= */
.ticker-wrap {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-text {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    animation: ticker 25s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* =========================================
   Responsive Slider (Mobile & Desktop)
   ========================================= */
.slider-container {
    padding: 5px 5px; /* Mobile Padding */
    background-color: #fff;
}
.hero-slider {
    border-radius: 15px; /* Mobile Rounded Corners */
    overflow: hidden;
}

}
/* Dots / Indicators (Capsule Shape) */
.carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
    gap: 8px;
}
.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}
.carousel-indicators button.active {
    width: 25px !important; /* Active Capsule Shape */
    border-radius: 10px !important;
    background-color: #ffffff !important;
}

@media (min-width: 992px) {
    .slider-container { padding: 0; }
    .hero-slider { border-radius: 0; }
    .hero-slider img { height: 660px; border-radius: 0; }
}

/* =========================================
   Products Filter & Cards
   ========================================= */
.filter-btn {
    background: white;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-right: 10px;
    transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--brand-light-teal);
    border-color: var(--brand-light-teal);
    color: var(--brand-dark-green);
}
.product-card {
    background-color: var(--card-bg);
    border-radius: 35px;
    padding: 10px 10px 10px;
    position: relative;
    text-align: center;
    border: none;
    height: 100%;
}
.product-card img {
    max-height: 260px;
    margin-bottom: 1px;
    transition: 0.3s;
}
.product-card:hover img {
    transform: scale(1.05);
}
/* Right Side Vertical Tags */
.card-tags {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tag-vol, .tag-qty {
    background-color: var(--brand-teal);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.tag-vol {
    width: 35px;
    height: 100px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 16px;
}
.tag-qty {
    width: 35px;
    height: 40px;
    flex-direction: column;
    font-size: 14px;
    line-height: 1;
}
.tag-qty span { font-size: 8px; font-weight: 500; }

.price-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: black;
}
.price-text span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

/* =========================================
   Trust Section (Overlap Design)
   ========================================= */
.trust-hero-section {
    background: linear-gradient(180deg, #dffbf5 0%, #15c0a2 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .trust-layout-wrapper { display: flex; align-items: stretch; max-width: 1100px; margin: 0 auto; }
    .trust-sidebar { width: 150px; display: flex; flex-direction: column; gap: 30px; padding-top: 40px; z-index: 5; }
    .trust-icon-box { text-align: center; cursor: pointer; color: #115c4b; transition: 0.3s; }
    .trust-icon-box .icon-bg { width: 65px; height: 65px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border-radius: 20px; transition: 0.3s; }
    .trust-icon-box.active .icon-bg { background-color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
    .trust-icon-box p { font-size: 13px; font-weight: 700; line-height: 1.2; margin: 0; }
    
    .trust-white-card { background: white; border-radius: 40px; flex-grow: 1; display: flex; padding: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); position: relative; }
    .trust-image-col { width: 40%; position: relative; }
    .trust-teal-bg { background-color: var(--brand-teal); border-radius: 25px; position: absolute; top: -30px; bottom: -30px; left: -80px; right: 20px; z-index: 1; }
    .trust-images-wrap { position: relative; z-index: 2; height: 100%; }
    .main-model-img { max-width: 140%; margin-left: -70px; margin-top: -20px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); }
    .main-jar-img { position: absolute; bottom: -50px; right: -60px; max-width: 280px; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); }
    
    .trust-text-col { width: 60%; padding-left: 80px; display: flex; flex-direction: column; justify-content: center; }
    .curved-line { position: absolute; left: -30px; top: 50%; width: 120px; height: 120px; border-radius: 50%; border: 2px solid #f5b771; clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%); transform: translateY(-50%); z-index: 1; }
    .curved-dot { position: absolute; width: 15px; height: 15px; background: #f5b771; border-radius: 50%; right: -8px; top: 50%; transform: translateY(-50%); }
}

/* =========================================
   Sustainability Section
   ========================================= */
.sustainability-bg {
    background-color: var(--brand-light-teal);
}

/* =========================================
   Footer Design
   ========================================= */
.footer-wrapper {
    background-color: var(--brand-dark-green);
    color: #fff;
    padding-top: 50px;
    position: relative;
    margin-top: auto;
}
.footer-wave {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.footer-wave svg { display: block; width: calc(100% + 1.3px); height: 40px; }
.footer-wave .shape-fill { fill: var(--brand-dark-green); }
.footer-links a { color: var(--brand-light-teal); text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
