/* Shiva Tribe — site.css
   Every class is prefixed "st-" so it never collides with the active
   WordPress theme or other plugins. The second half of this file
   restyles WooCommerce's own default markup (shop grid, single
   product, cart, checkout) WITHOUT changing any of its structure —
   that structural stability is what keeps the Cashfree gateway UI
   rendering correctly after this stylesheet loads. */

:root{
  --st-paper:#F4EEE1; --st-leaf:#EADBB8; --st-leaf2:#EFE5CF;
  --st-ink:#2A1D14; --st-ink2:#4E3D2E; --st-muted:#7A5A2E;
  --st-kum:#8E2A1E; --st-haldi:#C08A2B; --st-green:#163430;
  --st-lotus:#E4A3A0; --st-line:#C9B385;
}
.st-landing, body{ } /* keep specificity low; WordPress theme body styles may still apply outside our wrap */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.st-landing{margin:0;background:var(--st-green);color:var(--st-paper);font-family:Mukta,system-ui,-apple-system,"Segoe UI",sans-serif}
.sa{font-family:"Tiro Devanagari Sanskrit",Georgia,serif;font-weight:400}
.st-wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.st-h1{font-family:"Tiro Devanagari Sanskrit",Georgia,serif;font-weight:400;font-size:clamp(32px,5.5vw,54px);line-height:1.08;margin:0}
.st-top{background:var(--st-paper);border-bottom:1px solid #D9C9A3;position:sticky;top:0;z-index:50}
.st-top .st-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.st-logo{font-size:24px;text-decoration:none;color:var(--st-ink)}
.st-logo small{font:600 12px Mukta,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--st-muted);margin-left:6px}
.st-links{display:flex;gap:20px;align-items:center}
.st-links a{color:var(--st-ink2);text-decoration:none;font-size:15px;padding:4px 0}
.st-links a.on{color:var(--st-ink);font-weight:700;border-bottom:2px solid var(--st-kum)}
.st-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;background:var(--st-kum);color:var(--st-paper);font-weight:700;font-size:17px;text-decoration:none;border:1.5px solid var(--st-kum);cursor:pointer}
.st-btn-ghost{background:transparent;color:var(--st-ink);border-color:var(--st-ink)}
.st-btn-dark{background:transparent;color:var(--st-paper);border-color:var(--st-paper)}
.st-btn-sm{min-height:42px;padding:0 20px;font-size:15px}
.st-menu{display:none;background:none;border:1.5px solid var(--st-ink);border-radius:8px;padding:8px 12px;font:700 15px Mukta}
.st-cart-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--st-ink);font-size:18px}
.st-cart-link .st-cart-count{font:700 13px Mukta,sans-serif;background:var(--st-kum);color:var(--st-paper);min-width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}
.st-lotus{height:22px;background:radial-gradient(circle at 11px 11px,#E4A3A0 0 4px,transparent 5px) 0 0/44px 22px,radial-gradient(circle at 33px 11px,#C08A2B 0 2.5px,transparent 3.5px) 0 0/44px 22px,var(--st-green)}
.st-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:center}
.st-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.st-g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.st-sec{padding:72px 0;background:var(--st-paper);color:var(--st-ink)}
.st-alt{background:var(--st-leaf2)}
.st-dk{background:var(--st-green);color:var(--st-paper)}
.st-head{text-align:center;display:flex;flex-direction:column;gap:8px;margin-bottom:34px}
.st-k{font-size:22px;color:var(--st-kum)}
.st-dk .st-k{color:var(--st-lotus)}
.st-stack{display:flex;flex-direction:column;gap:16px}
.st-leaf{background:var(--st-leaf);border:1px solid var(--st-line);border-radius:6px;padding:26px;display:flex;flex-direction:column;gap:10px;background-image:repeating-linear-gradient(180deg,transparent 0 33px,rgba(122,90,46,.16) 33px 34px);color:var(--st-ink)}
.st-leaf h3{font-size:22px}
.st-leaf p{color:var(--st-ink2);font-size:16px}
.st-num{font-size:clamp(34px,5vw,46px);color:var(--st-kum);display:block}
.st-ph{border:1.5px dashed #B89F6E;border-radius:8px;display:grid;place-items:center;text-align:center;padding:16px;color:var(--st-muted);font-size:14px;background:rgba(234,219,184,.4)}
.st-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.st-tier{background:var(--st-paper);border:1.5px solid var(--st-line);border-radius:8px;padding:14px;cursor:pointer;display:block;position:relative;color:var(--st-ink)}
.st-tier b{font-size:22px;display:block}
.st-tier span{font-size:13px;color:var(--st-muted)}
.st-tier.on{border-color:var(--st-kum);box-shadow:0 0 0 2px var(--st-kum) inset}
.st-field{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;color:var(--st-ink)}
.st-field input,.st-field textarea{min-height:46px;border:1.5px solid var(--st-line);border-radius:6px;padding:10px 12px;font:inherit;background:var(--st-paper)}
.st-ok{background:#E6F0E3;border:1.5px solid #2F6B3A;color:#1E4524;border-radius:8px;padding:16px}
.st-article{max-width:760px;margin:0 auto;font-size:18px;line-height:1.75;color:var(--st-ink2)}
.st-article h2{font-size:30px;color:var(--st-ink);margin-top:10px}
.st-lead{font-size:19px;color:var(--st-ink2);line-height:1.7}
.st-cta{background:var(--st-green);color:var(--st-paper);border-radius:10px;padding:40px;display:flex;flex-direction:column;gap:14px;align-items:center}
.st-cta p{color:#CFD9CF;max-width:620px}
.st-footer{background:var(--st-green);color:#CFD9CF;padding:48px 0 28px;font-size:15px}
.st-footer a{color:#CFD9CF;text-decoration:none;display:block;line-height:2}
.st-footer b{color:#E3C46A}
.st-foot-title{font-size:22px;color:var(--st-paper);display:block;margin-bottom:6px}
.st-foot-legal{border-top:1px solid #2E524B;margin-top:22px;padding-top:14px;font-size:13px}

/* Diwali landing offer rows */
.st-offer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1.5px solid var(--st-line);border-radius:8px;padding:14px;cursor:pointer;background:var(--st-paper);color:var(--st-ink);margin-top:10px}
.st-offer-row.on{border-color:var(--st-haldi);box-shadow:0 0 0 2px var(--st-haldi) inset}

@media(max-width:860px){
  .st-g2,.st-g3,.st-g4{grid-template-columns:minmax(0,1fr);gap:26px}
  .st-sec{padding:48px 0}
  .st-menu{display:block}
  .st-links{display:none;position:absolute;top:68px;left:0;right:0;background:var(--st-paper);flex-direction:column;align-items:flex-start;gap:12px;padding:14px 20px;border-bottom:1px solid #D9C9A3}
  .st-links.open{display:flex}
  .st-top .st-btn-sm{display:none}
}

/* =========================================================
   WooCommerce — restyling default markup, structure untouched
   ========================================================= */
.woocommerce-products-header__title.st-h1{text-align:center;margin-bottom:18px}
ul.products{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0 0 40px}
@media(max-width:860px){ul.products{grid-template-columns:minmax(0,1fr)}}
ul.products li.product.st-prod{background:#FBF7EE;border:1px solid var(--st-line);border-radius:10px;overflow:hidden;padding:0;text-align:left}
ul.products li.product.st-prod a{text-decoration:none;color:var(--st-ink);display:block;padding:16px}
ul.products li.product.st-prod img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:6px;margin-bottom:12px}
ul.products li.product.st-prod .woocommerce-loop-product__title{font-family:"Tiro Devanagari Sanskrit",Georgia,serif;font-size:19px;font-weight:400;margin:0 0 6px}
ul.products li.product.st-prod .price{font-size:18px;color:var(--st-kum);font-weight:700}
ul.products li.product.st-prod .price del{color:var(--st-muted);font-weight:400;font-size:14px;margin-right:6px}
ul.products li.product.st-prod .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--st-kum);color:var(--st-paper) !important;font-weight:700;text-decoration:none;margin:12px 16px 16px}
ul.products li.product.st-prod .onsale{background:var(--st-kum);color:var(--st-paper);font:700 12px Mukta;padding:4px 10px;border-radius:3px;position:absolute;margin:10px}

.single-product .summary.entry-summary{max-width:640px}
.single-product .summary.entry-summary .product_title{font-size:clamp(28px,4vw,42px);margin-bottom:10px}
.single-product .summary.entry-summary .price{font-size:26px;color:var(--st-kum);font-weight:700;margin-bottom:14px;display:block}
.single-product .summary.entry-summary .price del{color:var(--st-muted);font-weight:400;font-size:17px;margin-right:8px}
.single-product .summary.entry-summary .button,
.single-product .summary.entry-summary button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:999px;background:var(--st-kum);color:var(--st-paper) !important;font-weight:700;font-size:17px;border:0}
.woocommerce-product-gallery{border-radius:10px;overflow:hidden}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table{width:100%;border-collapse:collapse;background:var(--st-paper);border:1px solid var(--st-line);border-radius:8px;overflow:hidden}
.woocommerce-cart table.shop_table th,.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,.woocommerce-checkout table.shop_table td{padding:14px;border-bottom:1px solid var(--st-line);text-align:left}
.woocommerce-cart .product-thumbnail img{width:64px;border-radius:6px}
.woocommerce-cart .coupon .input-text,
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea{min-height:46px;border:1.5px solid var(--st-line);border-radius:6px;padding:10px 12px;font:inherit;background:#FBF7EE;width:100%}
.woocommerce-checkout textarea{min-height:90px}
.woocommerce-cart .button, .woocommerce-checkout .button,
#place_order, .checkout-button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:999px;background:var(--st-kum) !important;color:var(--st-paper) !important;font-weight:700 !important;font-size:17px;border:0 !important;text-decoration:none;cursor:pointer}
.woocommerce-checkout #payment{background:var(--st-leaf);border:1px solid var(--st-line);border-radius:8px;padding:18px;margin-top:20px}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;padding:0;margin:0 0 14px}
.woocommerce-checkout #payment ul.payment_methods li{padding:10px 0;border-bottom:1px dashed var(--st-line)}
.woocommerce-checkout .form-row{margin-bottom:14px}
.woocommerce-checkout h3{font-size:22px;margin:24px 0 14px}
.st-cart-page a.remove, .st-checkout-page a.remove{color:var(--st-kum) !important}
.woocommerce-error,.woocommerce-info,.woocommerce-message{border-top-color:var(--st-kum) !important;background:var(--st-leaf2);border-radius:6px;padding:14px 18px !important}

/* =========================================================
   WooCommerce Cart/Checkout BLOCKS — some sites use the newer
   block-based Cart and Checkout instead of the classic shortcode
   markup styled above. This section restyles those too, so the
   look holds either way, right through to payment. Structure is
   untouched; these are WooCommerce's own block class names.
   ========================================================= */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:Mukta,system-ui,sans-serif;color:var(--st-ink)}
.wc-block-components-main{background:transparent}
.wc-block-components-product-name{color:var(--st-ink);font-weight:600}
.wc-block-cart-item__total,.wc-block-components-formatted-money-amount{color:var(--st-kum);font-weight:700}
.wc-block-components-totals-item,.wc-block-components-totals-footer-item{border-color:var(--st-line) !important}
.wc-block-components-panel,.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-cart__totals-title{background:var(--st-leaf);border-radius:8px}
.wc-block-components-text-input input,.wc-block-components-select select,
.wc-block-components-address-form input,.wc-block-components-address-form select,
.wc-block-components-radio-control__input{border-color:var(--st-line) !important;border-radius:6px !important}
.wc-block-components-checkout-step__title{font-family:"Tiro Devanagari Sanskrit",Georgia,serif;font-weight:400}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wp-element-button{background:var(--st-kum) !important;border-color:var(--st-kum) !important;border-radius:999px !important;font-weight:700 !important}
.wc-block-components-button.wp-element-button.is-style-outline{background:transparent !important;color:var(--st-kum) !important}
.wc-block-components-payment-method-label{font-weight:600}
.wc-block-components-order-summary,.wc-block-components-totals-wrapper{background:var(--st-leaf2);border-radius:8px;padding:16px}
.wc-block-checkout__payment-method,.wc-block-components-radio-control-accordion-option{border-color:var(--st-line) !important}
