.elementor-kit-7{--e-global-color-primary:#492004;--e-global-color-secondary:#77614A;--e-global-color-text:#2C0000;--e-global-color-accent:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ====================================================================================
 * SHARNYA AYURVEDA - MASTER WOOCOMMERCE STYLESHEET
 * Covers: Global Resets, Empty Cart, Checkout Pay, and Order Received layouts
 * ==================================================================================== */


/* ====================================================================================
 * 1. GLOBAL RESETS & FONTS
 * ==================================================================================== */

/* Eliminate native distracting blue/gray flash box overlay on mobile taps */
a, 
button, 
.button, 
[role="button"] {
    -webkit-tap-highlight-color: transparent !important;
}

/* Import clean geometric 'Afacad' font for checkout/order pages */
@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&display=swap');

/* Apply Afacad typography across Checkout Pay and Order Received structural canvases */
.woocommerce-checkout.woocommerce-order-pay,
.woocommerce-checkout.woocommerce-order-received,
.woocommerce-order {
    font-family: 'Afacad', sans-serif !important;
    color: #333333;
    line-height: 1.5;
}

.woocommerce-checkout.woocommerce-order-pay *,
.woocommerce-checkout.woocommerce-order-received *,
.woocommerce-order * {
    font-family: 'Afacad', sans-serif !important;
}


/* ====================================================================================
 * 2. GLOBAL WOOCOMMERCE CLEANUP (HIDING DEFAULT ELEMENTS)
 * ==================================================================================== */

/* Hide only the default black H1 "Cart" page title safely */
.woocommerce-cart .entry-title,
.woocommerce-cart h1.page-title,
.woocommerce-cart .woocommerce h1:first-of-type {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force hide residual default WooCommerce banners, notices, and return buttons globally */
.added_to_cart.wc-forward,
.woocommerce-message,
.woocommerce-info,
.woocommerce-Info,
.wc-block-components-notice-banner,
.cart-empty ~ p.return-to-shop,
p.return-to-shop,
.woocommerce-error,
a.wc-backward { 
    display: none !important; 
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Astra Theme Cleanup: Hide massive headers on Checkout Pay and Order Received pages */
.woocommerce-checkout.woocommerce-order-pay header.entry-header.ast-no-thumbnail,
.woocommerce-checkout.woocommerce-order-received header.entry-header.ast-no-thumbnail {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Astra Theme Cleanup: Hide standard default page titles on checkout to let layout breathe */
.woocommerce-checkout.woocommerce-order-pay .entry-title,
.woocommerce-checkout.woocommerce-order-pay h1.page-title,
.woocommerce-checkout.woocommerce-order-pay h2:has(+ .order_details),
.woocommerce-checkout.woocommerce-order-received .entry-title,
.woocommerce-checkout.woocommerce-order-received h1.page-title,
.woocommerce-checkout.woocommerce-order-received h2:has(+ .order_details) { 
    display: none !important; 
}


/* ====================================================================================
 * 3. LUXURY EMPTY CART PAGE STYLING
 * ==================================================================================== */

/* Main canvas wrapper */
.sharnya-premium-cart-canvas {
    padding: 100px 24px;
    text-align: center;
    background: #ffffff; 
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.sharnya-cart-art-wrapper {
    max-width: 520px;
    width: 100%;
}

/* Decorative animated herbal badge */
.sharnya-cart-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5EBE6; /* Rich warm earth water / herbal clay tint */
    border: 1px solid #E1D2C6; /* Ultra-fine earthy taupe outline */
    border-radius: 50%;
    position: relative;
    animation: sharnyaBrownGlowFloat 5s ease-in-out infinite;
}

.sharnya-cart-svg {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.sharnya-cart-badge:hover .sharnya-cart-svg {
    opacity: 1;
}

/* Empty cart typography */
.sharnya-cart-title {
    font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif !important;
    font-size: 30px !important;
    color: #2C1A10 !important; /* Deep Espresso Brown */
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    margin-bottom: 16px !important;
    text-transform: capitalize !important;
}

.sharnya-cart-subtitle {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 15px !important;
    color: #6E5D53 !important; /* Muted soft clay brown */
    line-height: 1.7 !important;
    margin-bottom: 40px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px;
}

/* Empty cart interactive CTA button */
.sharnya-luxury-btn {
    background-color: transparent !important;
    color: #5C4033 !important; /* Deep Imperial Brown Accent */
    border: 1px solid #5C4033 !important;
    padding: 14px 44px !important;
    font-size: 13px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0px !important; /* Squared edges */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    display: inline-block;
    text-decoration: none;
    box-shadow: none !important;
}

.sharnya-luxury-btn:hover {
    background-color: #5C4033 !important;
    color: #ffffff !important;
    letter-spacing: 3px !important; 
    box-shadow: 0 8px 24px rgba(92, 64, 51, 0.15) !important;
}


/* ====================================================================================
 * 4. CHECKOUT PAY & ORDER RECEIVED STRUCTURE
 * ==================================================================================== */

/* Centered 600px main content wrapper */
.woocommerce-checkout.woocommerce-order-pay .woocommerce,
.woocommerce-checkout.woocommerce-order-received .woocommerce {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; 
}

/* Order Success Top Notification Banner */
.woocommerce-order .woocommerce-notice--success {
    background-color: #F5EBE6 !important; /* Soft brown tint */
    color: #5C4033 !important; /* Sharnya Brand Accent Brown */
    padding: 18px;
    border-left: 4px solid #5C4033 !important;
    margin-bottom: 25px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    text-align: left;
}

/* Order Specs & Meta Summary List */
.woocommerce-checkout.woocommerce-order-pay .woocommerce ul.order_details,
.woocommerce-checkout.woocommerce-order-received .woocommerce ul.order_details,
.woocommerce-order ul.order_details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px auto 30px auto;
}

.woocommerce-checkout.woocommerce-order-pay .woocommerce ul.order_details li,
.woocommerce-checkout.woocommerce-order-received .woocommerce ul.order_details li,
.woocommerce-order ul.order_details li {
    float: none !important;
    margin: 8px 0;
    text-align: center;
    border: none !important;
    font-size: 1.05rem;
}

.woocommerce-order ul.order_details li strong {
    color: #5C4033 !important;
    font-weight: 700;
}

/* Secondary Section Headings (e.g., "Order Details") */
.woocommerce-order h2 {
    color: #2C1A10 !important;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}


/* ====================================================================================
 * 5. LUXURY INVOICE & RECEIPT TABLE STYLING
 * ==================================================================================== */

.woocommerce-order table.shop_table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    border: 1px solid #E1D2C6 !important;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.woocommerce-order table.shop_table th {
    background-color: #5C4033 !important;
    color: #ffffff !important;
    padding: 14px 12px;
    font-weight: 600;
    text-align: left;
}

.woocommerce-order table.shop_table td a {
    color: #5C4033 !important; 
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-order table.shop_table td a:hover {
    text-decoration: underline;
}

.woocommerce-order table.shop_table tbody td {
    padding: 12px;
    color: #333333;
    border-bottom: 1px solid #F5EBE6 !important;
}

.woocommerce-order table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Footer Contrast Fix (Prevents white text on white background) */
.woocommerce-order table.shop_table tfoot tr th,
.woocommerce-order table.shop_table tfoot tr td,
.woocommerce-order table.shop_table tfoot tr span,
.woocommerce-order table.shop_table tfoot tr bdi {
    background-color: #FAF8F6 !important; 
    color: #2C1A10 !important; 
    border-top: 1px solid #E1D2C6 !important;
    font-weight: 600;
    text-align: left;
    padding: 12px;
}

/* Highlighted Final Net Grand-Total Row */
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) th,
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) td,
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) span,
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) bdi {
    color: #5C4033 !important;
    font-size: 1.15rem;
    font-weight: 700;
}


/* ====================================================================================
 * 6. PHYSICAL BILLING / SHIPPING ADDRESS CARDS
 * ==================================================================================== */

.woocommerce-order address {
    font-style: normal;
    background: #FAF8F6 !important;
    padding: 20px;
    border: 1px solid #E1D2C6 !important;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    color: #4A3E3D;
}


/* ====================================================================================
 * 7. TRANSACTION / PAYMENT BUTTONS (RAZORPAY)
 * ==================================================================================== */

.woocommerce-checkout.woocommerce-order-pay .woocommerce p:has(#btn-razorpay),
.woocommerce-checkout.woocommerce-order-received .woocommerce p:has(#btn-razorpay) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px; 
    margin-top: 25px;
    width: 100%;
}

.woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay, 
.woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay-cancel,
.woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay, 
.woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay-cancel {
    background-color: #5C4033 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 36px;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    min-width: 150px;
    text-align: center;
    box-shadow: none !important;
}

.woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay:hover, 
.woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay-cancel:hover,
.woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay:hover, 
.woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay-cancel:hover {
    background-color: #2C1A10 !important;
    box-shadow: 0 4px 12px rgba(92, 64, 51, 0.2) !important;
}


/* ====================================================================================
 * 8. MEDIA QUERIES (MOBILE AND DESKTOP ADAPTATIONS)
 * ==================================================================================== */

.d-none { display: none !important; }

/* Desktop Adaptations */
@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    
    .woocommerce-order .col2-set {
        display: flex;
        gap: 20px;
    }
    .woocommerce-order .col-1, 
    .woocommerce-order .col-2 {
        flex: 1;
    }
}

/* Tablet & Mobile Layout Adaptations */
@media (max-width: 768px) {
    .sharnya-premium-cart-canvas {
        padding: 60px 16px;
    }
    .sharnya-cart-badge {
        width: 90px;
        height: 90px;
        margin-bottom: 24px;
    }
    .sharnya-cart-title {
        font-size: 25px !important;
    }
    .sharnya-cart-subtitle {
        font-size: 14px !important;
        margin-bottom: 30px !important;
    }
    .sharnya-luxury-btn {
        padding: 12px 36px !important;
        width: 100%; 
        max-width: 280px;
    }
}

/* Tiny Screen Tweaks (Mobile under 480px) */
@media (max-width: 480px) {
    .woocommerce-checkout.woocommerce-order-pay .woocommerce p:has(#btn-razorpay),
    .woocommerce-checkout.woocommerce-order-received .woocommerce p:has(#btn-razorpay) {
        flex-direction: column; 
        gap: 12px;
    }
    
    .woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay, 
    .woocommerce-checkout.woocommerce-order-pay .woocommerce #btn-razorpay-cancel,
    .woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay, 
    .woocommerce-checkout.woocommerce-order-received .woocommerce #btn-razorpay-cancel {
        width: 100%; 
        max-width: 290px;
    }
}


/* ====================================================================================
 * 9. KEYFRAME ANIMATIONS
 * ==================================================================================== */

@keyframes sharnyaBrownGlowFloat {
    0% { transform: translateY(0px); box-shadow: 0 4px 10px rgba(225,210,198, 0); }
    50% { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(225,210,198, 0.4); }
    100% { transform: translateY(0px); box-shadow: 0 4px 10px rgba(225,210,198, 0); }
}/* End custom CSS */