/*
Theme Name: Oasis Network Store
Theme URI: https://oasisnetwork.in/
Author: Sumit Choudhary
Author URI: https://oasisnetwork.in/
Description: Custom WooCommerce theme built for Oasis Smart Network – fast, lightweight, SEO-optimized & pixel-perfect.
Version: 1.6
Text Domain: mysite
*/

/* =====================================================
   1) LOCAL WEBFONTS (OPTIMIZED – MINIMAL WEIGHTS)
   ===================================================== */

/* ===== ArbutusSlab (Headings) ===== */
@font-face {
    font-family: 'ArbutusSlab';
    src: url('assets/fonts/ArbutusSlab-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== OpenSans (Body Text) ===== */
@font-face {
    font-family: 'OpenSans';
    src: url('assets/fonts/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('assets/fonts/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===== FontAwesome (Icons) ===== */
@font-face {
    font-family: 'FontAwesome';
    src: url('assets/fonts/fontawesome-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* =====================================================
   2) GLOBAL RESET / BASE STYLES
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'OpenSans', sans-serif;
    line-height: 1.75;
    background: #ffffff;
    color: #222222;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/* =====================================================
   3) GLOBAL COLOR SYSTEM / LAYOUT HELPERS
   ===================================================== */

/* Main site content wrapper (used in templates) */
.site-main {
    background-color: #000000; /* black background for main sections (banner etc.) */
    color: #ffffff;
}

/* HEADER MAIN MENU BACKGROUND */

/* header Menubar style  :#4e5c6d;   */
.header_main_menu_bgcolor {
    background: #4e5c6d36;
    color: #000000;
    font-family: 'OpenSans', sans-serif;
    font-weight: 600;
}

/* Page header strip (used in page.php & inner pages) */

.page_php_bgcolor {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 15px;
    font-family: 'OpenSans', sans-serif;
    font-weight: 600;
	border: none;
}

.page_php_bgcolor h1,
.page_php_bgcolor h2,
.page_php_bgcolor h3 {
    color: #ffffff;
    margin: 0 0 5px 0;
}

/* =====================================================
   4) UTILITY CLASSES
   ===================================================== */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

/* Margin helpers */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* =====================================================
   5) SCROLL TO TOP (scrollUp plugin)
   ===================================================== */

#scrollUp {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: url('assets/images/top.png') no-repeat;
    position: fixed;
    z-index: 9999;
}

/* ============================================
   BUTTON SIZE PRESETS
   ============================================ */

/* Biggest CTA Buttons (Hero section) */
.btn-large {
    padding: 18px 55px;
    font-size: 18px;
}

/* Default Buttons (Forms, most use cases) */
.btn-medium {
    padding: 14px 40px;
    font-size: 15px;
}

/* Compact Buttons (mobile sidebar, tight areas) */
.btn-small {
    padding: 10px 24px;
    font-size: 13px;
}


body,
p,
.section-heading p,
li {
    font-family: 'OpenSans', sans-serif;
    font-size: clamp(14px, 0.35vw + 0.875rem, 18px);
    line-height: 1.75;
}

/* Long-form content only – justified body copy */
.page-template-tpl-terms .terms-content-section p,
.page-template-tpl-terms .terms-content-section li,
.page-template-tpl-privacy .privacy-content-section p,
.page-template-tpl-privacy .privacy-content-section li,
.page-template-tpl-refund .refund-content-section p,
.page-template-tpl-refund .refund-content-section li,
.single-post-content p,
.single-post-content li,
.default-page-content p,
.default-page-content li,
.entry-content p,
.entry-content li {
    text-align: justify;
}

/* ------------------------------------
   GLOBAL HEADINGS (H1 / H2)
------------------------------------ */

/* H1 = oasis-page-title */
h1 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(28px, 2.2vw, 56px);
    font-weight: 600;    
}

/* ------------------------------
   H2 – Section Title (with left bar)
------------------------------ */
h2 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(20px, 2.2vw, 40px);
    font-weight: 600;    
}

/* ------------------------------
   H3 – Sub Section Title
   (Medium Priority — clean, no left bar)
------------------------------ */
h3 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(18px, 2vw, 36px);
    font-weight: 600;
}

/* ------------------------------
   H4 – Small Section Header
------------------------------ */
h4 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(16px, 1.6vw, 32px);
    font-weight: 600;
}

/* ------------------------------
   H5 – Micro Headings / Labels
------------------------------ */
h5 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(15px, 1.2vw, 30px);
    font-weight: 600;    
}

/* ------------------------------
   H6 – Smallest Heading
------------------------------ */
h6 {
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(14px, 1vw, 28px);
    font-weight: 600;
}

/* ------------------------------------
   RESPONSIVE (Below 1024px)
------------------------------------ */

@media (max-width: 1024px) {

    h1 {
        font-size: clamp(24px, 2.8vw, 28px);
    }

    h2 {
        font-size: clamp(18px, 2.4vw, 24px);
    }

    h3 {
        font-size: clamp(16px, 2vw, 20px);
    }

    h4 {
        font-size: clamp(15px, 1.9vw, 18px);
    }

    h5 {
        font-size: clamp(14px, 1.6vw, 17px);
    }

    h6 {
        font-size: clamp(13px, 1.4vw, 16px);
    }

    body,
    p,
    .section-heading p,
    li {
        font-size: clamp(14px, 1.2vw + 0.2rem, 15px);
    }
}

body, 
.site, 
.oasis-page {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ------------------------------------
   2) GLOBAL CONTAINER (Center Content)
------------------------------------ */

.oasis-container {
    width: 100%;
    max-width: clamp(1200px, 88vw, 3200px); /* Laptop–4K ready */
    margin: 0 auto;
    padding-left: clamp(18px, 2vw, 30px);   /* Responsive side spacing */
    padding-right: clamp(18px, 2vw, 30px);
	background: transparent;
}

.site-content,
.entry-content,
.wp-block-group,
.container,
.wrap {
    width: 100%;
    max-width: clamp(1200px, 85vw, 3200px); /* Laptop–4K ready */
    margin: 0 auto;
    padding-left: clamp(18px, 2vw, 30px);   /* Responsive side spacing */
    padding-right: clamp(18px, 2vw, 30px);
}

/* ==========================================
   PERFECT WHATSAPP WAVE BUTTON CLONE
========================================== */

.wa-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	margin-bottom: clamp(20px, 1.5vw, 50px);

    padding: clamp(12px, 0.8vw, 24px) clamp(32px, 2vw, 64px);

    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #c4c4c4;

    color: #111;
    font-family: 'OpenSans', sans-serif;
    font-size: clamp(14px, 1.2vw, 28px);


    overflow: hidden;
    cursor: pointer;

    transition: color .3s ease-out, border-color .3s ease-out;
}

/* TEXT ALWAYS ABOVE */
.wa-pill span {
    position: relative;
    z-index: 2;
}

/* WAVE LAYER – EXACT SHAPE + SIZE */
.wa-pill::before {
    content: "";
    position: absolute;

    /* START POSITION — wave 30px niche se begin hoti hai */
    top: calc(100% + 30px);
    left: 50%;

    /* TRUE WhatsApp wave size */
    width: 260%;
    height: 260%;

    background: #111;
    border-radius: 50%;

    transform: translateX(-50%) translateY(0);
    transition: transform .55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* HOVER – WAVE FULL UP (button fill kare) */
.wa-pill:hover::before {
    transform: translateX(-50%) translateY(-85%);
}

/* HOVER – text white, background DON'T CHANGE */
.wa-pill:hover {
    color: #fff;
	border-color: transparent;    
}

/* ===========================================
   Responsive (max-width: 1024px)
=========================================== */
@media (max-width: 1024px) {
    .wa-pill {
        width: 100%;
        max-width: clamp(260px, 85vw, 420px);
        margin: 0 auto;
    }
}

/* Quick Enquiry – by default hidden, JS se show hoga */
.home-enquiry-wrapper {
    display: none;
}
/* When customer types in input or textarea → black + bold */
.oasis-contact-form input,
.oasis-contact-form textarea {
    color: #000 !important;
    font-weight: 700 !important;
}

/* All SELECT dropdown text to black */
.oasis-contact-form select {
    color: #000 !important;
}

/* First option (placeholder-like) also black */
.oasis-contact-form select option:first-child {
    color: #000 !important;
}

/* Input & textarea placeholders already black */
.oasis-contact-form ::placeholder {
    color: #8fb34a !important;
	font-weight: 300;
    opacity: 1;
}

  
/* ==========================================
   SHORTCODE FORM – GRID JUGAAD LAYOUT
   (Only inside .oasis-contact-enquiry wrapper)
========================================== */

/* SHORTCODE VERSION – container ke andar black background */
.oasis-contact-enquiry .oasis-container {
    max-width: clamp(800px, 39vw, 1500px);
    background: #000;
	color: #fff;
    border: 1px solid transparent;
	margin-bottom: 8px;
}

/* Grid layout – desktop/tablet */
.oasis-contact-enquiry .oasis-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: clamp(6px, 0.6vw, 12px); 
}

/* By default: sab fields + button full width row */
.oasis-contact-enquiry .oasis-contact-form > .form-group,
.oasis-contact-enquiry .oasis-contact-form > p,
.oasis-contact-enquiry .oasis-contact-form > button {
    grid-column: 1 / -1;
}

/* Top row: Name (left) + Phone row (right) */
.oasis-contact-enquiry
.oasis-contact-form > .form-group:has(#oc_name) {
    grid-column: 1 / 2;
    grid-row: 1;
}

.oasis-contact-enquiry
.oasis-contact-form > .form-group:has(#oc_phone) {
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: start;	
}

/* Submit button bottom center */
.oasis-contact-enquiry .oasis-contact-form > button {
    order: 99;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 10px;
}

.oasis-contact-enquiry .oasis-contact-form[style*="display: none"] ~ h2.home-enquiry-title {
    text-align: center !important;
    width: 100%;
}
/* BEFORE SUBMIT – heading left as normal */
.oasis-contact-enquiry .home-enquiry-title {
	padding-bottom: clamp(10px, 1vw, 20px);
    text-align: left;
}

/* AFTER SUBMIT – heading centered */
.oasis-contact-enquiry.oasis-form-submitted .home-enquiry-title {
    text-align: center !important;
    margin-bottom: 10px;
}

/* AFTER SUBMIT – Thank You block already centered */
.oasis-contact-enquiry.oasis-form-submitted .oasis-thankyou-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* ===============================
   Responsive
=============================== */

@media screen and (max-width: 1024px) {
	.oasis-contact-enquiry .oasis-container {
    max-width: 700px;    
}
    #oasis-enquiry-section.oasis-enquiry-wrapper {
        max-width: 700px;
        margin: 0 auto;
        padding: 30px 35px 35px;
    }

    .oasis-enquiry-wrapper .oasis-enquiry-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 767px) {
    #oasis-enquiry-section.oasis-enquiry-wrapper {
        max-width: 90%;
        margin: 0 auto;
        padding: 25px 25px 30px;
        border-radius: 16px;
    }

    .oasis-enquiry-wrapper .oasis-enquiry-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding-left: 15px;
    }

    .oasis-enquiry-wrapper .oasis-enquiry-title::before {
        width: 4px;
    }

    /* Mobile layout: stack form */
    .oasis-contact-enquiry .oasis-contact-form {
        display: block;
    }

    .oasis-contact-enquiry .oasis-contact-form > .form-group,
    .oasis-contact-enquiry .oasis-contact-form > p,
    .oasis-contact-enquiry .oasis-contact-form > button {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    #oasis-enquiry-section.oasis-enquiry-wrapper {
        max-width: 95%;
        margin: 0 auto;
        padding: 20px 20px 25px;
        border-radius: 14px;
    }

    .oasis-enquiry-wrapper .oasis-enquiry-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .oasis-enquiry-wrapper .form-control,
    .oasis-enquiry-wrapper select,
    .oasis-enquiry-wrapper textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .oasis-enquiry-wrapper .form-group {
        margin-bottom: 14px;
    }
}

@media screen and (max-width: 360px) {
    #oasis-enquiry-section.oasis-enquiry-wrapper {
        padding: 18px 15px 22px;
    }

    .oasis-enquiry-wrapper .oasis-enquiry-title {
        font-size: 20px;
    }
}

/* Extra Small – popup animation */
@keyframes enquiryPop {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ===========================================
   GLOBAL PREMIUM BUTTON – OASIS NETWORK
   (use on any <button> or <a>)
   - Automatically styles contact form submit
=========================================== */

/* Normal CSS – GLOBAL STYLE */
.oasis-btn,
.oasis-contact-form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    /* Clamp list: padding (top/bottom, left/right) */
    padding: clamp(10px, 0.9vw, 18px) clamp(40px, 3vw, 120px);

    border-radius: 999px;
    border: 2px solid #ffffff;

    background: #f9fafb;
    color: #000000;

    font-family: 'Montserrat', 'OpenSans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;

    /* font-size: normal 14px, max 28px (2× rule) */
    font-size: clamp(14px, 0.8vw + 0.2rem, 28px);
    letter-spacing: clamp(0.08em, 0.12vw, 0.16em);

    line-height: 1.2;
    text-align: center;

    /* Default: center align with top margin */
    margin: clamp(16px, 1.2vw, 24px) auto 0 auto;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.8);

    position: relative;
    overflow: hidden;

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* -------------------------------------------
   Shine effect
------------------------------------------- */

.oasis-btn::before,
.oasis-contact-form button[type="submit"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.oasis-btn:hover::before,
.oasis-contact-form button[type="submit"]:hover::before {
    left: 100%;
}


/* -------------------------------------------
   Hover state
------------------------------------------- */

.oasis-btn:hover,
.oasis-contact-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: #000000;
    color: #ffffff;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.7),
        0 0 20px rgba(255,255,255,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: #ffffff;
}


/* -------------------------------------------
   Active state
------------------------------------------- */

.oasis-btn:active,
.oasis-contact-form button[type="submit"]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 5px 15px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(0,0,0,0.2);
}


/* -------------------------------------------
   Focus state
------------------------------------------- */

.oasis-btn:focus,
.oasis-contact-form button[type="submit"]:focus {
    outline: none;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.7),
        0 0 0 4px rgba(255,255,255,0.3);
}


/* -------------------------------------------
   Ripple effect
------------------------------------------- */

.oasis-btn::after,
.oasis-contact-form button[type="submit"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.oasis-btn:active::after,
.oasis-contact-form button[type="submit"]:active::after {
    width: clamp(200px, 10vw, 300px);
    height: clamp(200px, 10vw, 300px);
    opacity: 1;
    transition: 0s;
}


/* ===========================================
   RESPONSIVE – LAYOUT ONLY (1024px & below)
=========================================== */

@media (max-width: 1024px) {

    .oasis-btn,
    .oasis-contact-form button[type="submit"] {
        /* Clamp: min calculated, max = normal value */
        padding: clamp(8px, 2.4vw, 10px) clamp(32px, 6vw, 40px);
        font-size: clamp(13px, 2.6vw, 14px);
        margin-top: clamp(12px, 3vw, 16px);
    }
}

/* THANK YOU WRAPPER */
.oasis-thankyou-message {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITLE */
.oasis-thankyou-title {
    color: #06ff1b;
    font-size: 22px;
    margin-bottom: 6px;
}

/* SUBTEXT */
.oasis-thankyou-text {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 12px;
}

/* WHATSAPP CTA – USE GLOBAL BUTTON BASE + GREEN THEME */
.oasis-whatsapp-btn {
    /* GLOBAL BUTTON BASE: oasis-form-btn */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: clamp(10px, 0.9vw, 18px) clamp(28px, 2vw, 60px);
    border-radius: 999px;
    border: 2px solid #ffffff;

    background: #25d366;       /* WhatsApp Green */
    color: #ffffff;

    font-family: 'Montserrat', 'OpenSans', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 0.8vw + 0.2rem, 22px);
    letter-spacing: clamp(0.06em, 0.12vw, 0.14em);

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;

    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* WHATSAPP ICON CIRCLE */
.oasis-whatsapp-btn .wa-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oasis-whatsapp-btn .wa-icon i {
    font-size: 16px;
}

/* Text */
.oasis-whatsapp-btn .wa-text {
    white-space: nowrap;
}

/* HOVER EFFECT */
.oasis-whatsapp-btn:hover {
    background: #1ebe5d;  /* darker WA green */
    transform: translateY(-3px) scale(1.04);

    box-shadow:
        0 18px 36px rgba(0,0,0,0.55),
        0 0 24px rgba(37,211,102,0.8),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

/* MOBILE OPTIMIZED */
@media (max-width: 480px) {
    .oasis-whatsapp-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}


.oasis-error {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.5);
}

.oasis-error-text {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Open Sans', sans-serif;
}

/* WooCommerce forms (non-checkout pages: cart, my-account, etc.) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	color: #000000;
}

/* Hide duplicate Woo Purchase-as radio (prevent flash on refresh; also hidden in ozbc-checkout.css for guest + woo.js) */
#billing_oasis_purchase_as_field {
    display: none !important;
}
