/*
Theme Name: Oktacon Custom Theme
Theme URI: https://github.com/oktaconsoftware/adivasi_Pro
Author: Oktacon Software Team
Author URI: https://adivasineelambarihairoil.in/
Description: A custom theme developed for the Adivasi Pro project, deployed via Git.
Version: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oktacon-theme
Tags: custom, clean, responsive
*/

/* --- Start adding your CSS styles below this line --- */

/* Global logo sizing for all pages */
.site-logo-img {
  height: 76px;
  width: auto;
}

/* Responsive logo tweaks */
@media (max-width: 992px) {
  .site-logo-img {
    height: 68px;
  }
}

@media (max-width: 768px) {
  .site-logo-img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    height: 56px;
  }
}

/* Make sure WooCommerce can't override the logo on /shop /product pages */
.woocommerce .site-logo-img,
.woocommerce-page .site-logo-img,
.post-type-archive-product .site-logo-img,
.tax-product_cat .site-logo-img,
.single-product .site-logo-img {
  height: 76px !important;
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 992px) {
  .woocommerce .site-logo-img,
  .woocommerce-page .site-logo-img,
  .post-type-archive-product .site-logo-img,
  .tax-product_cat .site-logo-img,
  .single-product .site-logo-img {
    height: 68px !important;
  }
}

@media (max-width: 768px) {
  .woocommerce .site-logo-img,
  .woocommerce-page .site-logo-img,
  .post-type-archive-product .site-logo-img,
  .tax-product_cat .site-logo-img,
  .single-product .site-logo-img {
    height: 60px !important;
  }
}

@media (max-width: 480px) {
  .woocommerce .site-logo-img,
  .woocommerce-page .site-logo-img,
  .post-type-archive-product .site-logo-img,
  .tax-product_cat .site-logo-img,
  .single-product .site-logo-img {
    height: 56px !important;
  }
}

/* Cart count badge */
.site-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.site-cart-icon i { font-size: 1.05rem; }

.site-cart-count {
  display: inline-block;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(11, 66, 39, 0.12);
}






/* =========================================
   FIX WC GRID OVERRIDE – DESKTOP PADDING
   ========================================= */

@media (min-width: 769px) {

    /* Override WC Blocks grid rule */
    body.woocommerce-cart
    table.wc-block-cart-items
    .wc-block-cart-items__row {
        display: table-row !important;   /* restore table behavior */
        grid-template-columns: none !important;
        padding: 16px 0 !important; 
        background-color: #fbfdff;     /* ✅ top & bottom spacing */
        padding-bottom: 24px;          /* extra bottom padding */
    }

    /* Inner cells padding for visual spacing */
    body.woocommerce-cart
    .wc-block-cart-item__image,
    body.woocommerce-cart
    .wc-block-cart-item__product,
    body.woocommerce-cart
    .wc-block-cart-item__total {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}







/* =====================================================
   CART – REAL MOBILE CARD LAYOUT (WC BLOCKS)
   ===================================================== */

@media (max-width: 768px) {

    /* Kill table layout */
    body.woocommerce-cart
    .wc-block-cart-items,
    body.woocommerce-cart
    .wc-block-cart-items tbody,
    body.woocommerce-cart
    .wc-block-cart-items tr,
    body.woocommerce-cart
    .wc-block-cart-items td {
        display: block;
        width: 100%;
    }

    /* Each item becomes a proper card */
    body.woocommerce-cart
    .wc-block-cart-items__row {
        background: #ffffff;
        border-radius: 10px;          /* slightly reduced for mobile */
        padding: 12px 6px;            /* ✅ FIXED: 5px left & right */
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }

    /* Image centered */
    body.woocommerce-cart
    .wc-block-cart-item__image {
        text-align: center;
        margin-bottom: 8px;
    }

    body.woocommerce-cart
    .wc-block-cart-item__image img {
        width: 70px;
        height: 70px;
    }

    /* Product content */
    body.woocommerce-cart
    .wc-block-cart-item__product {
        padding: 0;
    }

    /* Quantity + remove aligned cleanly */
    body.woocommerce-cart
    .wc-block-cart-item__quantity {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
    }

    /* Remove button */
    body.woocommerce-cart
    .wc-block-cart-item__remove-link {
        margin: 0;
        font-size: 12px;
    }

    /* Total at bottom */
    body.woocommerce-cart
    .wc-block-cart-item__total {
        margin-top: 8px;
        padding-top: 6px;
        border-top: 1px solid #e5e7eb;
        text-align: right;
        font-size: 14px;
        font-weight: 600;
    }
}

.is-medium table.wc-block-cart-items .wc-block-cart-items__row, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row, .is-small table.wc-block-cart-items .wc-block-cart-items__row

 {
    display: grid;
    grid-template-columns: 80px 132px;
    padding: 16px 3px !important;
}

/* =====================================================
   CART SIDEBAR – ORDER SUMMARY (WC BLOCKS)
   ===================================================== */

/* Sidebar container – KEEP */
body.woocommerce-cart
.wc-block-cart__sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Heading – KEEP */
body.woocommerce-cart
.wc-block-cart__totals-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* =====================================================
   ✅ FIXED: COUPON (MATCH CHECKOUT STYLE)
   ===================================================== */

body.woocommerce-cart
.wc-block-components-totals-coupon {
   
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}

/* Coupon toggle row */
body.woocommerce-cart
.wc-block-components-panel__button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 12px 14px;

    font-size: 14px;
    font-weight: 500;
    color: #1f2933;

    cursor: pointer;
}

/* Chevron icon */
body.woocommerce-cart
.wc-block-components-panel__button-icon {
    width: 18px;
    height: 18px;
    fill: #6b7280;
    transition: transform 0.25s ease;
}

/* Rotate when expanded */
body.woocommerce-cart
.wc-block-components-panel[aria-expanded="true"]
.wc-block-components-panel__button-icon {
    transform: rotate(180deg);
}

/* Coupon form area */
body.woocommerce-cart
.wc-block-components-panel__content {
    padding: 12px 14px;
    border-top: 1px dashed #e5e7eb;
}

/* Input + button alignment */
body.woocommerce-cart
.wc-block-components-totals-coupon form {
    display: flex;
    gap: 8px;
}

/* Coupon input */
body.woocommerce-cart
.wc-block-components-text-input input {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0 12px;
    font-size: 14px;
}

/* Apply button */
body.woocommerce-cart
.wc-block-components-totals-coupon__button {
    height: 42px;
    padding: 0 16px;
    background: #205D31;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

/* =====================================================
   TOTALS – KEEP AS-IS
   ===================================================== */

body.woocommerce-cart
.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed #e5e7eb;
}

body.woocommerce-cart
.wc-block-components-totals-item__label {
    color: #374151;
    font-weight: 500;
}

body.woocommerce-cart
.wc-block-components-totals-item__value {
    font-weight: 600;
    color: #111827;
}

/* Final total emphasis */
body.woocommerce-cart
.wc-block-components-totals-footer-item {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

body.woocommerce-cart
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    font-size: 18px;
    color: #205D31;
}

/* Checkout button – KEEP */
body.woocommerce-cart
.wc-block-cart__submit-button {
    width: 100%;
    background: #205D31;
    color: #ffffff;
    border-radius: 999px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: background 0.25s ease, transform 0.15s ease;
}

body.woocommerce-cart
.wc-block-cart__submit-button:hover {
    background: #184b27;
    transform: translateY(-1px);
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 768px) {

    body.woocommerce-cart
    .wc-block-cart__sidebar {
        padding: 14px;
        border-radius: 10px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.06);
        margin-top: 14px;
    }

    body.woocommerce-cart
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 16px;
    }
}












/* =====================================================
   WOOCOMMERCE CHECKOUT - FULL FIX WITH SUMMARY ALIGN
   ===================================================== */

/* 1. GLOBAL LAYOUT & CARDS */
body.woocommerce-checkout {
    background-color: #f7f9fc !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 24px !important;
}

/* 2. ORDER SUMMARY - ALIGNMENT & BORDER FIX */
body.woocommerce-checkout .checkout-order-summary-block-fill,
body.woocommerce-checkout .checkout-order-summary-block-fill-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Align the "Order Summary" Title */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    padding: 0 0 15px 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Align the Product Items (Image, Name, Price) */
body.woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important; /* Image | Text | Price */
    gap: 15px !important;
    padding: 15px 0 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
}

/* Fix product text alignment */
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

/* 3. FIELD & LABEL ALIGNMENT (STATE, PHONE, EMAIL) */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-blocks-components-select,
body.woocommerce-checkout .wc-block-components-address-form__phone,
body.woocommerce-checkout .wc-block-components-address-form__state {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 22px !important;
}

/* Force Labels on top and visible */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label {
    position: relative !important;
    transform: none !important; 
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    order: -1 !important;
    top: auto !important;
    text-align: left !important;
}

/* Input & Select Box Design */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select__select {
    width: 100% !important;
    height: 50px !important;
    padding: 0 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
}

/* 4. BUTTONS (PLACE ORDER & RETURN TO CART) */
body.woocommerce-checkout .wc-block-checkout__actions_row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 40px !important;
    padding: 25px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    width: 100% !important;
    max-width: 450px !important;
    height: 58px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    order: 1 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
    text-decoration: none !important;
    color: #64748b !important;
    font-weight: 500 !important;
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 5. MOBILE FIXES */
@media (max-width: 768px) {
    body.woocommerce-checkout .wc-block-components-checkout-step,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
        padding: 20px !important;
    }
}



/* =====================================================
   RAZORPAY ORDER PAY PAGE (FULL CLEANUP)
   ===================================================== */

/* 1. Remove background and reset WooCommerce global grid for this page */
body.woocommerce-order-pay {
    background: transparent !important; /* Removed #f7f9fc */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.woocommerce-order-pay .woocommerce {
    display: block !important; /* Removes grid layout */
    grid-template-columns: none !important; /* Disables the 1.25fr 1fr columns */
    gap: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    background: none !important;
}

/* 2. Page container - Centered and Clean */
body.woocommerce-order-pay article.page {
    max-width: 650px; 
    margin: 60px auto !important; 
    background: #ffffff;
    border-radius: 20px;
    padding: 40px; 
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    text-align: center; 
}

/* 3. Header Styling */
body.woocommerce-order-pay .entry-title {
    margin-bottom: 20px;
}

body.woocommerce-order-pay .entry-title a {
    text-decoration: none;
    color: #0f5132;
    pointer-events: none;
    font-weight: 800;
}

/* 4. Order Details List - Fixed Alignment */
body.woocommerce-order-pay ul.order_details {
    /* display: flex; */
    flex-wrap: wrap; 
    gap: 20px;
    padding: 24px;
    margin: 28px 0;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    list-style: none;
    text-align: left;
}

body.woocommerce-order-pay ul.order_details li {
    flex: 1 1 200px; 
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-right: 10px;
}


/* Remove border from the last item */
body.woocommerce-order-pay ul.order_details li:last-child {
    border-right: none;
}

body.woocommerce-order-pay ul.order_details strong {
    display: block;
    margin-top: 8px;
    font-size: 1.05rem;
    color: #0f172a;
    text-transform: none;
    font-weight: 700;
}

/* 5. Razorpay Buttons - Centered */
body.woocommerce-order-pay .woocommerce > p {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 16px;
}

body.woocommerce-order-pay #btn-razorpay {
    width: 100%;
    max-width: 350px; 
    height: 58px;
    border-radius: 12px; 
    background: #0f5132;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 81, 50, 0.2);
}

body.woocommerce-order-pay #btn-razorpay:hover {
    background: #0b3f27;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 81, 50, 0.3);
}

body.woocommerce-order-pay #btn-razorpay-cancel {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 6. Responsive Fixes */
@media (max-width: 600px) {
    body.woocommerce-order-pay article.page {
        margin: 20px 15px !important;
        padding: 25px 20px;
    }

    body.woocommerce-order-pay ul.order_details {
        /* display: grid; */
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
        padding: 15px;
    }

    body.woocommerce-order-pay ul.order_details li {
        border-right: none;
        padding-right: 0;
    }
    
    body.woocommerce-order-pay #btn-razorpay {
        max-width: 100%; 
    }
}


.woocommerce-cart .woocommerce, html body.woocommerce-checkout .woocommerce {
    /* display: grid !important; */
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 0 !important;
    /* background: #f4f4f4 !important; */
    margin-top: 0 !important;
}






/* =========================================
   FULL WIDTH RESET
========================================= */
body.woocommerce-order-received .site-main,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received article {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================================
   ORDER SUCCESS HERO
========================================= */
.order-success-hero {
    width: 100%;
    background: linear-gradient(135deg, #0f5132, #0b3f27);
    padding: 70px 20px;
    color: #ffffff;
}

.order-success-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.order-success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f5132;
    font-size: 42px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-success-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.order-success-hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 620px;
    margin: 0 auto 28px;
}

/* =========================================
   CTA BUTTONS
========================================= */
.order-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.order-success-actions a {
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: #0f5132;
}

.btn-secondary {
    background: #25d366;
    color: #ffffff;
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff;
}

/* Hover */
.order-success-actions a:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}





















.editorial-hero {
background: #f9faf8;
padding: 15px 0 10px;
text-align: center;
}
.editorial-hero h1 {
color: #0f5132;
font-size: clamp(2rem, 4vw, 2.8rem);
margin-bottom: 12px;
}
.hero-lead {
max-width: 720px;
margin: 0 auto;
color: #4b5563;
font-size: 1.05rem;
}
.editorial-content {
padding: 56px 0;
}
.container.narrow {
max-width: 780px;
}
.editorial-content h2 {
margin-top: 32px;
color: #0f5132;
}
.editorial-content p,
.editorial-content li {
color: #374151;
line-height: 1.7;
}
/* ==============================
   EDITORIAL CTA (Premium)
============================== */

.editorial-cta {
  margin-top: 48px;
  padding: 15px 24px;
  text-align: center;
  background: #0E4E30;
  color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.editorial-cta__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
}

.editorial-cta__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
  color: var(--brand);
  margin-bottom: 10px;
}

.editorial-cta__desc {
  max-width: 620px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.editorial-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons already defined globally,
   this just ensures spacing consistency */
.editorial-cta .btn {
  min-width: 160px;
  justify-content: center;
}

/* Mobile refinement */
@media (max-width: 600px) {
  .editorial-cta {
    padding: 15px 18px;
  }

  .editorial-cta__actions {
    flex-direction: column;
  }

  .editorial-cta .btn {
    width: 100%;
  }
}













/* --- my account start --- */




body.woocommerce-account #customer_login {
    max-width: 1000px;
    /* padding: 30px; */
    border-radius: 27px;
    margin: 10px auto;   /* ← centers horizontally */
}

/* Center Google login block */
body.woocommerce-account .nsl-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

/* Keep button clean & Shopify-like */
body.woocommerce-account .nsl-button-google {
    border-radius: 12px !important;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}



.google-login-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
  color: #111827;
  transition: all 0.2s ease;
}

.google-login-btn:hover {
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.google-login-btn svg {
  flex-shrink: 0;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px solid #d9d9d9;
    padding: 15px;
    margin: 2em 0;
    text-align: left;
    border-radius: 20px;}


    .adivasi-account__nav, .woocommerce-MyAccount-navigation
 {
    padding: 2px;
    position: static;
    top: 96px;
    margin: 4px;
    border-radius: 22px;
    background: #ffffff;
}














/* ==============================
   MY ACCOUNT – MODERN REDESIGN
================================ */

/* Page wrapper */
.adivasi-account {
  max-width: 1280px;
  margin: 56px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

/* ==============================
   SIDEBAR NAVIGATION
================================ */



/* Nav list */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Nav items */
.woocommerce-MyAccount-navigation li {
  margin-bottom: 6px;
}

/* Nav links */
.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2933;
  text-decoration: none;
  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

/* Hover */
.woocommerce-MyAccount-navigation a:hover {
  background: rgba(15, 81, 50, 0.08);
  transform: translateX(2px);
}

/* Active */
.woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, #0f5132, #083522);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.35);
}

/* ==============================
   CONTENT PANEL
================================ */

.adivasi-account__content,
.woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: 22px;
  padding: 32px 34px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.08);
  min-height: 420px;
}





/* ==============================
   LOGIN / REGISTER CARD
================================ */



/* Login button */
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit {
  background: linear-gradient(135deg, #0f5132, #083522);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.4);
}

/* ==============================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 900px) {
  .adivasi-account {
    grid-template-columns: 1fr;
    gap: 22px;
  }


  .adivasi-account__content,
  .woocommerce-MyAccount-content {
    padding: 24px 20px;
  }

  body.woocommerce-account #customer_login {
    margin: 24px auto;
    padding: 22px;
  }
}




/* =====================================================
   MY ACCOUNT – ADDRESS (PREMIUM, CALM, SHOPIFY-LIKE)
===================================================== */

/* ---------- Neutralize Woo legacy layout ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

/* ---------- Hide shipping address (intentional UX) ---------- */
.u-column2.col-2.woocommerce-Address {
  display: none !important;
}

/* =====================================================
   CONTENT WIDTH
===================================================== */
body.woocommerce-account.woocommerce-edit-address
.woocommerce-MyAccount-content {
  max-width: 720px;
}

/* =====================================================
   ADDRESS CARD
===================================================== */
body.woocommerce-account.woocommerce-edit-address
form.woocommerce-address-fields {
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(15, 81, 50, 0.08),
    0 1px 0 rgba(15, 81, 50, 0.04);
}

/* =====================================================
   TITLE + ACTION ROW
===================================================== */
.woocommerce-account .addresses .title {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-account .addresses .title h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2933;
}

/* Edit button */
.woocommerce-account .addresses .title .edit {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: #205D31;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-account .addresses .title .edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(32, 93, 49, 0.35);
}

/* =====================================================
   FORM GRID
===================================================== */
body.woocommerce-account.woocommerce-edit-address
.woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Full width rows */
body.woocommerce-account.woocommerce-edit-address
.form-row-wide {
  grid-column: span 2;
}

/* Reset Woo spacing */
body.woocommerce-account.woocommerce-edit-address
.form-row {
  margin: 0 !important;
}

/* =====================================================
   LABELS
===================================================== */
body.woocommerce-account.woocommerce-edit-address
.form-row label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
}

/* =====================================================
   INPUTS
===================================================== */
body.woocommerce-account.woocommerce-edit-address
input.input-text {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 14px;
  font-size: 13px;
  background: #ffffff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

body.woocommerce-account.woocommerce-edit-address
input.input-text:focus {
  outline: none;
  background: #ffffff;
  border-color: #205D31;
  box-shadow: 0 0 0 3px rgba(32, 93, 49, 0.14);
}

/* =====================================================
   SELECT2 (STATE / COUNTRY)
===================================================== */
body.woocommerce-account.woocommerce-edit-address
.select2-container {
  width: 100% !important;
}

body.woocommerce-account.woocommerce-edit-address
.select2-container--default .select2-selection--single {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

body.woocommerce-account.woocommerce-edit-address
.select2-selection__rendered {
  padding: 0 !important;
  font-size: 13px;
  line-height: 1;
}

body.woocommerce-account.woocommerce-edit-address
.select2-selection__arrow {
  height: 44px;
  right: 10px;
}

/* Dropdown */
.select2-dropdown {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 13px;
}

/* =====================================================
   READONLY COUNTRY FIELD
===================================================== */
body.woocommerce-account.woocommerce-edit-address
#billing_country_field strong {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 13px;
  color: #374151;
}

/* =====================================================
   SAVE BUTTON
===================================================== */
body.woocommerce-account.woocommerce-edit-address
button[name="save_address"] {
  margin-top: 20px;
  background: #205D31;
  color: #ffffff;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-account.woocommerce-edit-address
button[name="save_address"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(32, 93, 49, 0.4);
}

/* =====================================================
   MOBILE (INTENTIONAL)
===================================================== */
@media (max-width: 768px) {

  body.woocommerce-account.woocommerce-edit-address
  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.woocommerce-account.woocommerce-edit-address
  form.woocommerce-address-fields {
    padding: 18px;
  }

  body.woocommerce-account.woocommerce-edit-address
  button[name="save_address"] {
    width: 100%;
  }
}


/* =====================================================
   MY ACCOUNT – EDIT ACCOUNT (PREMIUM & CALM)
===================================================== */

/* ---------- Neutralize Woo legacy floats ---------- */
body.woocommerce-account.woocommerce-edit-account
.woocommerce-MyAccount-navigation,
body.woocommerce-account.woocommerce-edit-account
.woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

/* =====================================================
   CONTENT WIDTH
===================================================== */
body.woocommerce-account.woocommerce-edit-account
.woocommerce-MyAccount-content {
  max-width: 720px;
}

/* =====================================================
   FORM CARD
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm {
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(15, 81, 50, 0.08),
    0 1px 0 rgba(15, 81, 50, 0.04);
}

/* =====================================================
   SECTION HEADERS / LEGENDS
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm legend {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f2933;
}

/* =====================================================
   FORM GRID (PROFILE INFO)
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm .form-row {
  margin: 0 0 14px 0 !important;
}

/* First & Last name side-by-side */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm .form-row-last {
  width: 48%;
}

/* Clearfix */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm::after {
  content: "";
  display: table;
  clear: both;
}

/* =====================================================
   LABELS
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
  color: #374151;
}

/* =====================================================
   INPUTS
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm input.input-text {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 14px;
  font-size: 13px;
  background: #ffffff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm input.input-text:focus {
  outline: none;
  border-color: #205D31;
  box-shadow: 0 0 0 3px rgba(32, 93, 49, 0.14);
}

/* =====================================================
   DISPLAY NAME HELPER TEXT
===================================================== */
body.woocommerce-account.woocommerce-edit-account
#account_display_name_description {
  font-size: 11px;
  color: #6b7280;
  margin-top: 3px;
  display: block;
}

/* =====================================================
   PASSWORD SECTION
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm fieldset {
  margin-top: 22px;
  padding-top: 18px;
}

/* Password input wrapper */
body.woocommerce-account.woocommerce-edit-account
.password-input {
  display: flex;
  align-items: center;
}

/* =====================================================
   CHECKBOX (NEWSLETTER / CONSENT)
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm input[type="checkbox"] {
  margin-right: 6px;
  transform: translateY(1px);
}

/* =====================================================
   SAVE BUTTON
===================================================== */
body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm button[name="save_account_details"] {
  margin-top: 22px;
  background: #205D31;
  color: #ffffff;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-account.woocommerce-edit-account
form.woocommerce-EditAccountForm button[name="save_account_details"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(32, 93, 49, 0.4);
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 768px) {

  body.woocommerce-account.woocommerce-edit-account
  form.woocommerce-EditAccountForm {
    padding: 18px;
  }

  body.woocommerce-account.woocommerce-edit-account
  form.woocommerce-EditAccountForm .form-row-first,
  body.woocommerce-account.woocommerce-edit-account
  form.woocommerce-EditAccountForm .form-row-last {
    width: 100%;
  }

  body.woocommerce-account.woocommerce-edit-account
  form.woocommerce-EditAccountForm button[name="save_account_details"] {
    width: 100%;
  }
}

/* =====================================================
   WOO SUCCESS NOTICE – SHOPIFY STYLE
===================================================== */
.woocommerce-message {
  position: relative;
  background: #ecfdf3;
  border-left: 4px solid #16a34a;
  color: #14532d;
  padding: 14px 18px 14px 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Success icon */
.woocommerce-message::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Links */
.woocommerce-message a {
  color: #205D31;
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-message a:hover {
  text-decoration: underline;
}

/* Remove default Woo icon */
.woocommerce-message::after {
  display: none;
}



/* --- End of custom CSS styles --- */







