/* Edens Garden — round 4: header fix, burgundy headings, contact alignment, shop + product page, responsive */
:root{--wine:var(--e-global-color-egwine,#7A1F3D);--wine-d:#5E1530}

/* ---- sticky header (announcement scrolls away, nav stays) ---- */
body.eg #masthead{display:block;position:sticky;top:calc(-1 * var(--eg-ann,0px));z-index:100}
body.admin-bar.eg #masthead{top:calc(32px - var(--eg-ann,0px))}
body.eg .hfeed.site{overflow:visible}
body.eg .site-head{position:relative;z-index:100}

/* ---- header alignment: nothing may grow taller than the bar, everything centred ---- */
body.eg .nav.e-con{grid-template-rows:minmax(0,1fr);align-items:center}
body.eg .nav>.elementor-element{align-self:center;height:auto;margin:0;min-width:0}
body.eg .nav .nav-menu .hfe-nav-menu{flex-wrap:nowrap;gap:0 30px;row-gap:0}
body.eg .nav .hfe-nav-menu::before,body.eg .nav .hfe-nav-menu::after{content:none;display:none}
body.eg .nav .hfe-nav-menu a.hfe-menu-item,body.eg .nav .hfe-nav-menu a.hfe-sub-menu-item{padding:8px 0!important;line-height:1.2}
body.eg .nav .logo{justify-self:center;display:flex;align-items:center;justify-content:center}
body.eg .nav .logo .elementor-widget-container{display:flex;align-items:center;justify-content:center;line-height:0}
body.eg .nav .logo img{display:block;margin:0 auto}
body.eg .nav-right.e-con{align-self:center;height:auto}

/* ---- burgundy headings on light sections ---- */
body.eg .elementor-widget-heading h1.elementor-heading-title,
body.eg .elementor-widget-heading h2.elementor-heading-title,
body.eg .woocommerce-products-header__title,
body.eg .page-title,body.eg .entry-title,
body.eg div.product .product_title,
body.eg .related>h2,body.eg .upsells>h2,body.eg .cross-sells>h2,
body.eg .legal-body h2,body.eg .legal-body h3{color:var(--wine)}
body.eg .phil .elementor-widget-heading h2.elementor-heading-title,
body.eg .site-foot .elementor-widget-heading h2.elementor-heading-title{color:var(--ivory)}
body.eg .hl h2.elementor-heading-title{color:var(--wine)}
body.eg .eg-eyebrow{display:block;font-family:var(--eg-body);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--wine);margin-bottom:10px}

/* ---- equal-height bundle cards, footers pinned to the bottom ---- */
body.eg .bcard.e-con{height:100%}
body.eg .binfo.e-con{flex:1 1 auto}
body.eg .bfoot.e-con{margin-top:auto}

/* ---- "Say hello": left-aligned, even cards ---- */
body.eg .contact .sec-head.center{margin-bottom:44px}
body.eg .c-grid.e-con{align-items:stretch}
body.eg .c-card.e-con{align-items:flex-start;justify-content:flex-start;text-align:left;gap:6px;padding:30px 26px;border:1px solid var(--line);height:100%}
body.eg .c-card .elementor-widget{width:100%;text-align:left}
body.eg .c-card .elementor-widget-icon,body.eg .c-card .elementor-widget-icon .elementor-icon-wrapper{text-align:left}
body.eg .c-card .elementor-widget-icon{width:auto}
body.eg .c-card .c-ic .elementor-icon{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--navy);color:var(--ivory);margin:0 0 14px;font-size:22px}
body.eg .c-card .c-ic .elementor-icon i{font-size:22px;color:var(--ivory)}
body.eg .c-card .c-ic .elementor-icon svg{width:22px;height:22px;fill:var(--ivory)}
body.eg .c-card:hover .c-ic .elementor-icon{background:var(--ivory)}
body.eg .c-card:hover .c-ic .elementor-icon i{color:var(--green)}
body.eg .c-card:hover .c-ic .elementor-icon svg{fill:var(--green)}
body.eg .c-card h3.elementor-heading-title{font-size:1.25rem;color:var(--navy)}
body.eg .c-card:hover h3.elementor-heading-title{color:var(--ivory)}
body.eg .c-card .c-p{overflow-wrap:anywhere;word-break:normal;font-size:.95rem}

body.eg .sec-head.center .sh-l.e-con{align-items:center;text-align:center;width:100%}
body.eg .sec-head.center .elementor-widget{text-align:center}
body.eg .sec-head.center h2.elementor-heading-title{max-width:none;margin-left:auto;margin-right:auto;text-align:center}
/* ---- footer alignment ---- */
body.eg .f-grid.e-con{align-items:start}
body.eg .f-grid .wm img{height:56px;margin-bottom:18px}

/* ---- WooCommerce notices ---- */
body.eg .woocommerce-message,body.eg .woocommerce-info,body.eg .woocommerce-error{padding:16px 20px 16px 52px;border:1px solid var(--line);border-top:3px solid var(--green);margin:0 0 20px}
body.eg .woocommerce-message a.button{float:right;padding:9px 20px}
body.eg a.added_to_cart{display:block;margin:0 16px 16px;font-weight:700;text-decoration:underline;color:var(--green)}

/* ================== SHOP / CATEGORY ================== */
body.eg.woocommerce-page main#main,body.eg.woocommerce-page .site-main,body.eg.woocommerce main{max-width:var(--eg-wrap);margin:0 auto;padding:36px 24px 96px}
body.eg .eg-shop-hero{background:var(--ivory)}
body.eg .eg-shop-hero .page-hero{padding:72px 0 8px}
body.eg .woocommerce-products-header{padding:36px 0 4px}
body.eg .woocommerce-products-header__title{font-size:clamp(2.4rem,5.4vw,4rem);margin:0 0 12px}
body.eg .term-description{max-width:38em;opacity:.85;font-size:1.05rem;margin-bottom:8px}
body.eg .eg-pills{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 26px}
body.eg .eg-pill{padding:10px 18px;border:1.5px solid var(--navy);border-radius:999px;font-weight:600;font-size:.92rem;line-height:1.1;white-space:nowrap;color:var(--navy);background:transparent;transition:.2s}
body.eg .eg-pill:hover{background:var(--navy);color:var(--ivory)}
body.eg .eg-pill.is-on{background:var(--wine);border-color:var(--wine);color:var(--ivory)}
body.eg .woocommerce-breadcrumb{margin:0 0 18px;font-size:.85rem}
body.eg .woocommerce-breadcrumb a{text-decoration:underline;text-underline-offset:3px}
body.eg .woocommerce-result-count{float:left;margin:0;font-size:.92rem;opacity:.75;line-height:46px}
body.eg .woocommerce-ordering{float:right;margin:0}
body.eg .woocommerce-ordering select{min-height:46px;padding:8px 12px;background:var(--white)}
body.eg ul.products{clear:both;padding-top:22px!important}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product{background:var(--white)}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product a img{aspect-ratio:1/1;object-fit:cover;background:var(--ivory-2)}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .woocommerce-loop-product__title{font-size:1.05rem;padding:16px 16px 0}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .price{padding:6px 16px 0;font-size:1rem}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .button{margin:14px 16px 16px;align-self:stretch;text-align:center;padding:12px 18px;font-size:.92rem}
:is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .onsale,:is(body.eg.woocommerce, body.eg .woocommerce) div.product span.onsale{background:var(--wine);color:var(--ivory);z-index:5}
body.eg .woocommerce-pagination{margin-top:44px;text-align:center}
body.eg .woocommerce-pagination ul{border:0!important;display:inline-flex;gap:8px}
body.eg .woocommerce-pagination ul li{border:0!important;overflow:visible!important}
body.eg .woocommerce-pagination ul li a,body.eg .woocommerce-pagination ul li span{border:1.5px solid var(--line);min-width:44px;min-height:44px;display:inline-grid;place-items:center;padding:0 12px}

/* ================== PRODUCT PAGE ================== */
:is(body.eg.woocommerce, body.eg .woocommerce) div.product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;position:relative}
body.eg div.product div.images{position:relative;align-self:start}
:is(body.eg.woocommerce, body.eg .woocommerce) div.product .product_title{color:var(--wine)}
body.eg div.product div.images .woocommerce-product-gallery__wrapper{background:var(--ivory-2);border:1px solid var(--line)}
body.eg div.product div.images img{width:100%;height:auto;display:block}
body.eg div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0 0;padding:0;list-style:none}
body.eg div.product .flex-control-thumbs li{float:none;width:auto}
body.eg div.product .flex-control-thumbs img{border:1px solid var(--line);opacity:.65;cursor:pointer}
body.eg div.product .flex-control-thumbs img.flex-active,body.eg div.product .flex-control-thumbs img:hover{opacity:1;border-color:var(--wine)}
body.eg div.product div.summary{padding-top:6px}
body.eg div.product .product_title{font-size:clamp(2rem,4.2vw,3.1rem);margin:0 0 12px}
body.eg div.product .woocommerce-product-rating{margin:0 0 10px;display:flex;align-items:center;gap:10px}
body.eg div.product p.price,body.eg div.product span.price{margin:0 0 4px;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:2rem}
body.eg div.product p.price ins{order:1}
body.eg div.product p.price del{order:2}
body.eg .eg-pricenote{margin:0 0 18px;font-size:.88rem}
body.eg .eg-save{display:inline-block;background:var(--wine);color:var(--ivory);padding:3px 10px;font-weight:700;font-size:.82rem;margin-right:8px}
body.eg .eg-save .woocommerce-Price-amount,body.eg .eg-save .woocommerce-Price-currencySymbol,body.eg .eg-save bdi{color:var(--ivory)!important}
body.eg div.product .woocommerce-product-details__short-description{font-size:1.05rem;line-height:1.6;margin:0 0 16px}
body.eg div.product .woocommerce-product-details__short-description p{margin:0}
body.eg .eg-points,body.eg .eg-trust ul{list-style:none;margin:0;padding:0}
body.eg .eg-points{display:grid;gap:10px;margin:0 0 22px}
body.eg .eg-points li,body.eg .eg-trust li{display:flex;align-items:center;gap:10px;margin:0;font-size:.98rem}
body.eg .eg-points svg,body.eg .eg-trust li svg{flex:none;color:var(--green)}
body.eg div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin:0 0 22px}
body.eg div.product form.cart .quantity{flex:none}
body.eg div.product form.cart .quantity .qty{height:100%;min-height:56px;width:86px;font-size:1.05rem;font-weight:700}
body.eg div.product form.cart .single_add_to_cart_button{flex:1 1 200px;min-height:56px;font-size:1.05rem;padding:14px 26px}
body.eg .eg-buynow.button{flex:1 1 100%;min-height:56px;background:var(--wine)!important;color:var(--ivory)!important;border:2px solid var(--wine)!important;border-radius:999px!important;font-weight:700;font-size:1.05rem;padding:14px 26px;font-family:var(--eg-body);cursor:pointer;transition:.25s}
body.eg .eg-buynow.button:hover{background:var(--wine-d)!important;border-color:var(--wine-d)!important}
body.eg .eg-trust{border-top:1px solid var(--line);padding-top:20px}
body.eg .eg-trust ul{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin-bottom:18px}
body.eg .eg-trust li{font-size:.9rem;font-weight:600}
body.eg .eg-delivery{display:flex;align-items:center;gap:10px;background:var(--ivory-2);border:1px solid var(--line);padding:12px 14px;margin:0 0 14px;font-size:.92rem}
body.eg .eg-delivery svg{flex:none;color:var(--green)}
body.eg .eg-wa{display:inline-block;font-weight:700;text-decoration:underline;text-underline-offset:4px;color:var(--green)}
/* accordions */
body.eg .eg-acc{grid-column:1/-1;max-width:62em;width:100%;margin:8px auto 0}
body.eg .eg-acc details{border-bottom:1px solid var(--line)}
body.eg .eg-acc details:first-of-type{border-top:1px solid var(--line)}
body.eg .eg-acc summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;font-family:var(--eg-display);font-weight:700;font-size:1.2rem;color:var(--navy)}
body.eg .eg-acc summary::-webkit-details-marker{display:none}
body.eg .eg-acc summary::after{content:"+";flex:none;width:36px;height:36px;border-radius:50%;border:1.5px solid var(--navy);display:grid;place-items:center;font-size:1.2rem;line-height:1;transition:.2s}
body.eg .eg-acc details[open] summary::after{content:"\2212";background:var(--navy);color:var(--ivory)}
body.eg .eg-acc__b{padding:0 0 26px;line-height:1.7}
body.eg .eg-acc__b p{margin:0 0 1em}
body.eg .eg-acc__b ul{margin:0 0 1em 1.2em}
body.eg .eg-acc .woocommerce-Reviews-title{font-size:1.1rem;font-family:var(--eg-display)}
body.eg .eg-disc{font-size:.78rem;opacity:.65;margin:18px 0 0;max-width:60em}
/* related */
body.eg div.product .related,body.eg div.product .upsells{margin-top:56px}
body.eg div.product .related>h2,body.eg div.product .upsells>h2{font-family:var(--eg-display);font-weight:900;font-size:clamp(1.8rem,3.6vw,2.6rem);letter-spacing:-.02em;margin:0 0 24px}
/* sticky add-to-cart */
body.eg .eg-sticky{position:fixed;left:0;right:0;bottom:0;z-index:90;background:var(--white);border-top:1px solid var(--line);box-shadow:0 -10px 30px -18px rgba(6,40,77,.4);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
body.eg .eg-sticky[hidden]{display:none}
body.eg .eg-sticky__t{display:flex;flex-direction:column;min-width:0;line-height:1.25}
body.eg .eg-sticky__t strong{font-family:var(--eg-display);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.eg .eg-sticky__t span{font-weight:700;font-size:.95rem}
body.eg .eg-sticky__btn{flex:none;background:var(--navy);color:var(--ivory);border:0;border-radius:999px;padding:14px 26px;font-weight:700;font-size:1rem;font-family:var(--eg-body);cursor:pointer;min-height:48px}
body.eg .eg-sticky__btn:hover{background:var(--green)}
body.eg.eg-has-sticky .wa{bottom:92px}

/* ================== CART / CHECKOUT (blocks) ================== */
body.eg .wc-block-components-button:not(.is-link){min-height:52px}
body.eg .wp-block-woocommerce-cart,body.eg .wp-block-woocommerce-checkout{max-width:var(--eg-wrap);margin:0 auto}
body.eg .wc-block-components-product-name{font-family:var(--eg-display);font-weight:800;color:var(--navy)}
body.eg .wc-block-components-order-summary .wc-block-components-product-metadata__description,body.eg .wc-block-cart-item__product .wc-block-components-product-metadata__description{display:none}
body.eg h1.wp-block-heading{font-family:var(--eg-display);font-weight:900;letter-spacing:-.02em;line-height:1;font-size:clamp(2rem,4.4vw,3rem);color:var(--wine);margin:0 0 24px}
body.eg .wc-block-checkout__actions::after{content:"Secure checkout. Payments are processed by Razorpay and we never store your card details.";display:block;margin-top:14px;font-size:.85rem;line-height:1.5;opacity:.8;text-align:center}
body.eg .wc-block-components-checkbox .wc-block-components-checkbox__mark{color:var(--ivory)}
body.eg .wc-block-components-text-input input:focus,body.eg .wc-block-components-select .wc-blocks-components-select__select:focus{outline:2px solid var(--green);outline-offset:0}
body.eg .wp-block-woocommerce-cart h2,body.eg .wp-block-woocommerce-checkout h2{color:var(--navy)}

/* ================== 404 + shared pill buttons ================== */
body.eg .eg-cta{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;border:2px solid var(--navy);background:var(--navy);color:var(--ivory);font-weight:700;font-family:var(--eg-body);font-size:1rem;cursor:pointer;transition:.25s}
body.eg .eg-cta:hover{background:var(--green);border-color:var(--green);color:var(--ivory)}
body.eg .eg-cta.ghost{background:transparent;color:var(--navy)}
body.eg .eg-cta.ghost:hover{background:var(--navy);border-color:var(--navy);color:var(--ivory)}
body.eg .eg-404{padding:96px 0 110px}
body.eg .eg-404 h1{font-family:var(--eg-display);font-weight:900;font-size:clamp(2.4rem,6vw,4.4rem);line-height:1;letter-spacing:-.02em;color:var(--wine);margin:0 0 18px;max-width:12em}
body.eg .eg-404 p{max-width:34em;font-size:1.1rem;opacity:.85;margin:0 0 28px}
body.eg .eg-404__search{display:flex;gap:10px;max-width:540px;margin-bottom:26px}
body.eg .eg-404__search input{flex:1;min-width:0;min-height:52px;padding:0 16px;border:1px solid var(--line);background:#fff;font:inherit;color:var(--navy)}
body.eg .eg-404__cta{display:flex;flex-wrap:wrap;gap:12px}

/* ================== RESPONSIVE ================== */
@media(max-width:1100px){
  :is(body.eg.woocommerce, body.eg .woocommerce) ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  :is(body.eg.woocommerce, body.eg .woocommerce) div.product{grid-template-columns:1fr;gap:26px}
  body.eg div.product div.images{position:static}
  body.eg.woocommerce-page main#main,body.eg.woocommerce-page .site-main,body.eg.woocommerce main{padding:24px 20px 80px}
}
@media(max-width:700px){
  :is(body.eg.woocommerce, body.eg .woocommerce) ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
  :is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .woocommerce-loop-product__title{font-size:.92rem;padding:12px 12px 0}
  :is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .price{padding:4px 12px 0;font-size:.92rem}
  :is(body.eg.woocommerce, body.eg .woocommerce) ul.products li.product .button{margin:10px 12px 12px;padding:11px 10px;font-size:.85rem}
  body.eg .eg-pills{flex-wrap:nowrap;overflow-x:auto;margin-left:-20px;margin-right:-20px;padding:2px 20px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.eg .eg-pills::-webkit-scrollbar{display:none}
  body.eg .woocommerce-result-count{line-height:46px}
  body.eg .eg-trust ul{grid-template-columns:1fr}
  body.eg div.product form.cart .single_add_to_cart_button{flex:1 1 140px;padding-left:16px;padding-right:16px}
  body.eg .wa.e-con,body.eg .wa{width:50px;height:50px;right:14px;bottom:14px}
  body.eg .wa .elementor-icon,body.eg .wa .elementor-icon i{font-size:24px}
  body.eg .wa .elementor-icon svg{width:24px;height:24px}
  body.eg .woocommerce-message a.button{float:none;display:inline-block;margin-top:10px}
  body.eg .eg-shop-hero .page-hero{padding:48px 0 4px}
  body.eg .eg-acc summary{font-size:1.08rem;padding:18px 0}
  body.eg .c-card.e-con{padding:24px 22px}
  body.eg .eg-sticky{padding-left:16px;padding-right:16px}
}
@media(min-width:901px){
  body.eg .eg-sticky{padding-left:max(24px,calc((100vw - var(--eg-wrap))/2 + 24px));padding-right:max(24px,calc((100vw - var(--eg-wrap))/2 + 24px))}
}

/* premium cart icon */
body.eg .nav-right .hfe-cart-menu-wrap-default .hfe-cart-count{background:var(--navy)!important;color:var(--ivory)!important;border-color:var(--navy)!important;border-radius:7px!important;font-family:var(--eg-display);font-weight:800;font-size:.78rem!important;transition:.2s}
body.eg .nav-right .hfe-cart-menu-wrap-default .hfe-cart-count:after{border-color:var(--navy)!important;border-radius:9px 9px 0 0!important}
body.eg .nav-right .hfe-cart-menu-wrap-default:hover .hfe-cart-count,body.eg .nav-right .hfe-cart-menu-wrap-default:hover .hfe-cart-count:after{background:var(--wine)!important;border-color:var(--wine)!important}
body.eg .nav-right .hfe-cart-menu-wrap-default:hover .hfe-cart-count:after{background:transparent!important}
