.ambient-bg{background-image:url('/wp-content/uploads/2026/08/bg-hero-rajasthan.webp')!important}
.nav{background:rgba(245,242,230,0.72)!important;backdrop-filter:blur(24px) saturate(160%)!important;-webkit-backdrop-filter:blur(24px) saturate(160%)!important;border-bottom:1px solid rgba(255,255,255,0.6)!important;box-shadow:none!important;}
.nav-links a:hover{color:#f1b24a!important;opacity:1!important;}
.logo-txt{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:0.3em!important;line-height:1.1!important;white-space:nowrap!important;font-size:18px!important;font-weight:800!important;letter-spacing:0.05em!important;color:#164a41!important;}
.logo-txt span{font-size:10px!important;font-weight:500!important;letter-spacing:0.24em!important;color:#C8922A!important;display:block!important;text-transform:uppercase!important;}
.hero-sub{background:rgba(228,246,222,0.84)!important;backdrop-filter:blur(20px) saturate(200%)!important;-webkit-backdrop-filter:blur(20px) saturate(200%)!important;border:1px solid rgba(22,74,65,0.15)!important;border-radius:40px!important;padding:16px 32px!important;color:#164a41!important;font-weight:500!important;font-size:16px!important;}
.testimonial-card{background:rgba(255,253,238,0.97)!important;backdrop-filter:blur(18px) saturate(180%)!important;-webkit-backdrop-filter:blur(18px) saturate(180%)!important;border:1px solid rgba(22,74,65,0.12)!important;}
.tc-text{color:#164a41!important;font-size:14px!important;line-height:1.7!important;}
.tc-name{color:#164a41!important;font-weight:700!important;}

/* PREMLOOM LANDING PATCHES v1 */
footer.pl-site-footer{display:none!important;}
nav.premloom-footer-nav{display:none!important;}
.n-btn,.n-btn:link,.n-btn:visited,.n-btn.artisan-btn{color:#ffffff!important;}
.n-btn:hover,.n-btn:focus{color:#ffffff!important;opacity:.92;}
.n-btn *{color:inherit!important;}

.nav{background:rgba(228,238,225,0.82)!important;}

/* PATCHES v2 cat+pride */
.cat-img{aspect-ratio:16/10!important;height:auto!important;overflow:hidden!important;}
.cat-img img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;}
.hero-title-wrap::after{content:"Delivered with Pride";display:block;text-align:center;font-family:Georgia,"Playfair Display",serif;font-style:italic;font-size:clamp(18px,2.2vw,28px);color:#164a41;margin-top:14px;letter-spacing:0.04em;opacity:0.92;font-weight:500;}

/* PLM gallery cap */
.single-product .woocommerce-product-gallery__image img { max-height: calc(100vh - 290px) !important; width: auto !important; max-width: 100% !important; }
/* ═══ CRITICAL FIXES 2026-05-11 ═══ */
html,body{}
section.glass-panel-section.pl-corp-glass h3,.pl-corp-glass h3,.pl-corp-glass h4{color:#FDF6EC!important;}
/* Hide login btn for logged-in users */
body.logged-in #login-btn { display: none !important; }

/* === FIXES 2026-05-22 === */

/* 1. REMOVE FREE SHIPPING TOP BAR */
.pl-free-ship { display: none !important; }

/* 2. FIX CATEGORY DESCRIPTION — stop ALL CAPS on .term-description */
.term-description p,
.term-description,
.woocommerce-products-header .page-description p {
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

/* 3. FIX BLOG / JOURNAL SECTION — make cards visible */
.glass-panel-section .card-glass {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.2) !important;
  border: 1px solid rgba(181, 69, 27, 0.18) !important;
  box-shadow: 0 4px 24px rgba(44,44,42,0.10) !important;
}
.glass-panel-section .card-glass .cat-img {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f0ebe3;
}
.glass-panel-section .card-glass .cat-img img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
}

/* 4. QUANTITY +/- BUTTONS */
.quantity-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1.5px solid #B5451B !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 44px !important;
}
.qty-btn {
  width: 40px !important;
  height: 44px !important;
  background: #B5451B !important;
  color: #fff !important;
  border: none !important;
  font-size: 20px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: background 0.2s !important;
}
.qty-btn:hover { background: #923a17 !important; }
.woocommerce .quantity input.qty,
div.product form.cart .quantity input.qty {
  width: 48px !important;
  text-align: center !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  -moz-appearance: textfield !important;
  background: transparent !important;
  height: 42px !important;
  padding: 0 !important;
}
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* 5. WISHLIST COUNT BADGE — ensure it's always visible */
.wishlist-count-badge,
.mc-wishlist-count,
[class*="wishlist"] .count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 18px !important;
  background: #B5451B !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* 6. CART COUNT — ensure header badge shows */
.cart-count, .wc-cart-count,
header .cart-contents .count,
.nav-cart-count {
  display: inline-flex !important;
  min-width: 18px !important;
  height: 18px !important;
  background: #B5451B !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 7. GLASSMORPHISM on breadcrumbs over images */
.breadcrumb-wrap, .woocommerce-breadcrumb,
.page-header .breadcrumb {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  display: inline-block !important;
}
body.logged-in button#login-btn { display: none !important; }
/* --- Hide default WC Add-to-Cart + Buy Now on shop cards --- */
.plm-card-bottom > .add_to_cart_button,
.plm-card-bottom > .wc-buy-now-btn {
    display: none !important;
}

/* --- Fix frosted/faded bestseller images on homepage --- */
.glass-node.interact {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(255,255,255,0.85) !important;
}

/* --- Fix shop card images to fill full card space --- */
.plm-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.plm-card-img-wrap {
    width: 100% !important;
    overflow: hidden !important;
}

/* --- Fix Add to Cart overlay button shifting on scroll --- */
.pl2-atc-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    transition: opacity 0.3s ease !important;
}

/* PREMLOOM-CATFIX: repoint broken /redesign-preview/ category thumbnails to real images (added 2026-06-13) */
img[src*="redesign-preview/images/home-decor-showpieces"],img[data-src*="redesign-preview/images/home-decor-showpieces"]{content:url("https://premloomenvision.com/wp-content/uploads/2026/02/turtle-set.jpeg") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/spiritual-vastu"],img[data-src*="redesign-preview/images/spiritual-vastu"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/08/SUN-1.jpeg") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/tabletop-office"],img[data-src*="redesign-preview/images/tabletop-office"]{content:url("https://premloomenvision.com/wp-content/uploads/2026/02/Babla-Pen-Stand.png") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/lighting-candle-holders"],img[data-src*="redesign-preview/images/lighting-candle-holders"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/08/Butterfly-t-light-2.jpeg") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/serveware-utility"],img[data-src*="redesign-preview/images/serveware-utility"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/04/Wooden-tray-1.jpeg") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/aromatherapy"],img[data-src*="redesign-preview/images/aromatherapy"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/08/Dhoopdaan.jpeg") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/artisan-hands"],img[data-src*="redesign-preview/images/artisan-hands"]{content:url("https://premloomenvision.com/wp-content/uploads/2026/02/Faces-we-carry.png") !important;object-fit:cover !important;}
img[src*="redesign-preview/images/artisan-pottery"],img[data-src*="redesign-preview/images/artisan-pottery"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/07/JHAROKHA.jpeg") !important;object-fit:cover !important;}

/* PREMLOOM-CATFIX2: extra broken image + duplicate add-to-cart */
img[src*="redesign-preview/images/hands-behind-craft"],img[data-src*="redesign-preview/images/hands-behind-craft"]{content:url("https://premloomenvision.com/wp-content/uploads/2025/07/0-17.jpg") !important;object-fit:cover !important;}
li.product a.pl-card-atc,li.product .pl-card-wrap a.pl-card-atc,.products a.pl-card-atc{display:none !important;}

/* === Run 261 fixes, 3 Aug 2026 === */
/* 1. WordPress converts emoji to <img class="emoji">. The core rule that caps them at 1em was missing, so flags and eyes rendered 300px+ on shop pages. */
img.emoji,img.wp-smiley{display:inline!important;width:1em!important;height:1em!important;max-width:1em!important;min-width:0!important;margin:0 .07em!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;vertical-align:-.1em!important}
/* 2. Logo wordmark: ENVISION inherits PREMLOOM exactly, including letter-spacing. */
.logo-txt span{font-family:inherit!important;font-weight:inherit!important;font-style:inherit!important;font-size:inherit!important;letter-spacing:inherit!important}

/* === Run 261 v2, 3 Aug 2026 === */
/* WooCommerce forces ul.products li.product img{height:240px!important} which also hit emoji images,
   stretching flags and eyes to 240px tall. These selectors outrank it. */
.woocommerce ul.products li.product img.emoji,
.woocommerce ul.products li.product img.wp-smiley,
ul.products li.product img.emoji,
ul.products li.product img.wp-smiley,
.products li.product img.emoji,
li.product img.emoji,
li.product img.wp-smiley{
  height:1em!important;width:1em!important;max-height:1em!important;max-width:1em!important;
  min-height:0!important;min-width:0!important;display:inline!important;object-fit:fill!important;vertical-align:-.1em!important;
}
/* Real product photos: keep the 240px frame but stop them distorting. */
.woocommerce ul.products li.product img:not(.emoji):not(.wp-smiley),
ul.products li.product img:not(.emoji):not(.wp-smiley){object-fit:cover!important;object-position:center!important}

/* === Run 261 v3, 3 Aug 2026: readable content pages === */
/* Text pages were rendering directly on the photographic background with no panel. */
main.page-main,.page-main{background:rgba(251,248,243,.94)!important;border-radius:16px!important;padding:34px 30px!important;margin:26px auto!important;max-width:1180px!important;box-shadow:0 2px 18px rgba(22,74,65,.07)!important}
main.page-main .page-title{color:#164A41!important;margin-bottom:.6rem!important}
main.page-main p{color:#3A362F!important;line-height:1.65!important}

/* Articles index: the Latest Posts block had no styling at all, so it rendered as a bare list. */
ul.wp-block-latest-posts{list-style:none!important;margin:1.8rem 0 0!important;padding:0!important;display:grid!important;gap:20px!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}
ul.wp-block-latest-posts>li{background:#fff!important;border:1px solid rgba(22,74,65,.12)!important;border-radius:14px!important;padding:22px 20px!important;margin:0!important;box-shadow:0 2px 12px rgba(22,74,65,.05)!important;transition:transform .2s ease,box-shadow .2s ease}
ul.wp-block-latest-posts>li:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(22,74,65,.13)!important}
ul.wp-block-latest-posts>li>a{display:block!important;font-family:"Playfair Display",Georgia,serif!important;font-size:19px!important;line-height:1.35!important;color:#164A41!important;text-decoration:none!important;font-weight:600!important;margin-bottom:8px!important}
ul.wp-block-latest-posts>li>a:hover{color:#4D774E!important}
.wp-block-latest-posts__post-date{display:block!important;font-size:12.5px!important;color:#6E675E!important;margin-bottom:10px!important}
.wp-block-latest-posts__post-excerpt{font-size:14.5px!important;line-height:1.6!important;color:#3A362F!important;margin:0!important}
.wp-block-latest-posts__featured-image img{width:100%!important;height:170px!important;object-fit:cover!important;border-radius:10px!important;margin-bottom:12px!important}

/* === Run 261 v4: shop grid sizing === */
.woocommerce ul.products,ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:22px!important;margin:0!important;padding:0!important}
.woocommerce ul.products li.product,ul.products li.product{width:auto!important;max-width:none!important;margin:0!important;float:none!important;clear:none!important}
.woocommerce ul.products li.product img:not(.emoji):not(.wp-smiley),ul.products li.product img:not(.emoji):not(.wp-smiley){height:190px!important;width:100%!important;object-fit:cover!important;object-position:center!important;border-radius:10px!important}
.woocommerce ul.products li.product h2,ul.products li.product h2{font-size:15px!important;line-height:1.35!important}
@media(max-width:600px){
.woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
.woocommerce ul.products li.product img:not(.emoji):not(.wp-smiley),ul.products li.product img:not(.emoji):not(.wp-smiley){height:150px!important}
}

/* === Run 261 v5: footer and archive readability === */
.site-footer ~ div:not([id]):not([class]){width:100%!important;max-width:100%!important;box-sizing:border-box!important;background:#123f37!important;color:#FFFDEE!important;padding:36px 20px 42px!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:12px!important;border-top:1px solid rgba(255,255,255,.10)!important}
.site-footer ~ div:not([id]):not([class]) input[type='email']{max-width:340px!important;width:100%!important;padding:12px 14px!important;border-radius:8px!important;border:1px solid rgba(255,255,255,.25)!important}
.site-footer ~ div:not([id]):not([class]) button{background:#C9A227!important;color:#20180A!important;border:0!important;padding:12px 26px!important;border-radius:8px!important;font-weight:700!important;cursor:pointer!important}
.woocommerce-products-header,.term-description,.taxonomy-description{background:rgba(251,248,243,.94)!important;border-radius:14px!important;padding:24px 26px!important;margin:22px auto 26px!important;max-width:1180px!important;color:#3A362F!important;line-height:1.65!important;box-shadow:0 2px 14px rgba(22,74,65,.07)!important}
.woocommerce-products-header h1,.woocommerce-products-header .page-title{color:#164A41!important}

/* ===== Run 261 v6b: shop filter sidebar, float based ===== */
.pl-filters{float:left;width:222px;margin:0 26px 24px 0;background:rgba(255,255,255,.72);border:1px solid rgba(22,74,65,.14);border-radius:14px;padding:18px 18px 12px;box-sizing:border-box;}
main.products-page ul.products{overflow:hidden;grid-template-columns:repeat(auto-fill,minmax(196px,1fr)) !important;}
main.products-page nav.woocommerce-pagination{clear:both;}
.pl-f-group{margin-bottom:18px;}
.pl-f-group h3{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8A8172;font-weight:700;}
.pl-f-group ul{list-style:none;margin:0;padding:0;}
.pl-f-group li{margin:0 0 2px;}
.pl-f-group a{display:flex;justify-content:space-between;gap:8px;padding:6px 9px;border-radius:8px;text-decoration:none;font-size:13.5px;color:#2C2A26;line-height:1.35;}
.pl-f-group a:hover{background:rgba(22,74,65,.07);color:#164A41;}
.pl-f-group a.is-on{background:#164A41;color:#fff;font-weight:600;}
.pl-f-group a span{color:#9A9285;font-size:12px;}
.pl-f-group a.is-on span{color:rgba(255,255,255,.75);}
.pl-f-clear{margin:4px 0 0;}
.pl-f-clear a{font-size:13px;color:#B5451B;text-decoration:underline;}
@media(max-width:900px){.pl-filters{float:none;width:auto;margin:0 0 20px;}.pl-f-group ul{display:flex;flex-wrap:wrap;gap:6px;}.pl-f-group li{margin:0;}}

/* ===== Run 261 v7: correct the free shipping threshold =====
   The trust bar in front-page.php says 999. The real WooCommerce
   minimum is 1,999, verified by testing carts either side of it.
   The theme file would not accept writes, so the text is corrected
   here. Replace with a proper text edit in front-page.php and
   index.php when the file becomes writable, then delete this block. */
.trust .ti:nth-child(3){ font-size:0 !important; }
.trust .ti:nth-child(3) .tic{ font-size:16px !important; }
.trust .ti:nth-child(3)::after{
  content:"Free Shipping on \20B9 1,999+";
  font-size:13px !important;
  font-weight:600;
  color:#164A41;
  white-space:nowrap;
}

/* ===== PREMLOOM GALLERY FIX ===== */
.single-product .woocommerce-product-gallery__image img{max-height:none !important;width:100% !important;height:auto !important;display:block;border-radius:10px;}
.single-product .woocommerce-product-gallery__wrapper{display:flex !important;flex-wrap:nowrap !important;overflow-x:auto !important;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:10px;padding-bottom:10px;-webkit-overflow-scrolling:touch;}
.single-product .woocommerce-product-gallery__image{flex:0 0 100% !important;scroll-snap-align:center;}
.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar{height:6px;}
.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar-thumb{background:#B5451B;border-radius:3px;}
.single-product .woocommerce-product-gallery__wrapper::-webkit-scrollbar-track{background:#F5F0E8;border-radius:3px;}

/* ===== PREMLOOM TABS ===== */
.woocommerce-tabs ul.tabs{display:flex !important;flex-wrap:wrap;gap:8px;list-style:none !important;margin:0 0 22px !important;padding:0 !important;border-bottom:2px solid #EADFCF !important;}
.woocommerce-tabs ul.tabs:before,.woocommerce-tabs ul.tabs:after{display:none !important;}
.woocommerce-tabs ul.tabs li{list-style:none !important;background:transparent !important;border:none !important;margin:0 !important;padding:0 !important;border-radius:0 !important;width:auto !important;box-shadow:none !important;}
.woocommerce-tabs ul.tabs li:before,.woocommerce-tabs ul.tabs li:after{display:none !important;content:none !important;}
.woocommerce-tabs ul.tabs li a{display:block !important;padding:14px 24px !important;font-weight:600 !important;color:#2C2C2A !important;text-decoration:none !important;border-radius:10px 10px 0 0 !important;position:relative;transition:all .18s ease;}
.woocommerce-tabs ul.tabs li a:hover{background:#F5F0E8 !important;color:#B5451B !important;}
.woocommerce-tabs ul.tabs li.active a{background:#FDF6EC !important;color:#B5451B !important;}
.woocommerce-tabs ul.tabs li.active a:after{content:'' !important;display:block !important;position:absolute;left:0;right:0;bottom:-2px;height:3px;background:#B5451B;border-radius:3px;}
.woocommerce-tabs .panel{background:#fff !important;border-radius:12px;padding:22px 24px !important;}
@media(max-width:600px){.woocommerce-tabs ul.tabs li a{padding:11px 15px !important;font-size:.9rem !important;}}



/* ===================================================================
   PREMLOOM ENVISION - MOBILE EMERGENCY FIX (added 20 Aug 2026)
   Everything below this line was added to fix the mobile site.
   To roll back: delete from this comment to the end of the file.
   =================================================================== */

/* FIX 1 (CRITICAL) - offer bar was painting over the whole header and
   swallowing every tap on logo / search / account / hamburger. */
#pl-welcome-bar{
  position:fixed !important;
  top:0 !important; left:0 !important; right:0 !important;
  z-index:1400 !important;
  padding:7px 12px !important;
  font-size:12.5px !important;
  line-height:1.3 !important;
}
nav.nav{ top:calc(var(--pl-barh, 44px) + 8px) !important; }
body{ padding-top:var(--pl-barh, 44px) !important; }

/* FIX 2 - header was see-through, logo unreadable. */
@media (max-width:900px){
  nav.nav{
    background:rgba(247,250,246,0.97) !important;
    box-shadow:0 2px 16px rgba(22,74,65,0.12) !important;
    border:1px solid rgba(22,74,65,0.08) !important;
  }
}

/* FIX 3 - category cards ran off both edges. Inline grid is
   repeat(3,1fr) + gap:30px; 1fr has a min-content floor so the
   tracks needed 406px on a 390px screen. minmax(0,1fr) fixes it. */
@media (max-width:900px){
  .glass-panel-section > div[style*="grid-template-columns"],
  .glass-panel-section > div[style*="repeat(3"],
  section > div[style*="repeat(3, 1fr)"]{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:12px !important;
    max-width:100% !important;
    padding:0 14px !important;
    box-sizing:border-box !important;
  }
  .card-glass{ padding:14px 10px !important; min-width:0 !important; }
  .card-glass h4{ font-size:14px !important; line-height:1.3 !important; }
}
@media (max-width:400px){
  .glass-panel-section > div[style*="grid-template-columns"],
  section > div[style*="repeat(3, 1fr)"]{ gap:10px !important; }
}

/* FIX 4 - footer had only a 10-20% wash, hero photo showed through. */
.site-footer,
.site-footer.pl-footer,
footer.site-footer{
  background:#164A41 !important;
  background-image:none !important;
  color:#FFFDEE !important;
  position:relative !important;
  z-index:5 !important;
}
.site-footer *:not(a):not(.fbot){ color:#FFFDEE !important; }
.site-footer a{ color:#F1B24A !important; }
.site-footer h3,.site-footer h4,.site-footer .fh{ color:#F1B24A !important; }

/* FIX 5 - .ambient-bg / .ambient-overlay are position:fixed so the hero
   photo sat behind every section for the whole scroll. */
@media (max-width:900px){
  .ambient-bg{ position:absolute !important; height:80vh !important; }
  .ambient-overlay{
    position:absolute !important; height:80vh !important;
    background:rgba(255,253,238,0.82) !important;
  }
  body{ background:#FFFDEE !important; }
  .glass-panel-section,
  .section-overlap,
  main.products-page,
  section.about-hero,
  .trust{
    background:#FFFDEE !important;
    position:relative !important; z-index:2 !important;
  }
  .card-glass{ background:#FFFFFF !important; }
}

/* FIX 6 - mobile drawer was see-through and sat below the nav. */
@media (max-width:900px){
  .nav-links{
    background:#FFFDEE !important;
    z-index:1300 !important;
    box-shadow:0 12px 40px rgba(22,74,65,0.22) !important;
  }
  .nav-links li a{
    display:block !important;
    padding:14px 20px !important;
    min-height:48px !important;
    font-size:16px !important;
  }
}

/* FIX 7 - cart icon was hidden on mobile along with the wishlist. */
@media (max-width:900px){
  .nav-icons .auth-req[title="Cart"]{
    display:inline-flex !important;
    align-items:center; justify-content:center;
  }
  .nav-icons > *{ width:40px !important; height:40px !important; min-width:40px !important; }
  .nav-icons{ gap:2px !important; }
}

/* FIX 8 - tap targets below the 44px minimum. */
@media (max-width:900px){
  .add_to_cart_button,.single_add_to_cart_button,.wc-buy-now-btn,
  .button,button[type=submit],input[type=submit]{
    min-height:44px !important; padding:12px 18px !important;
  }
  .site-footer a{ display:inline-block !important; padding:7px 0 !important; }
}

/* FIX 9 - contact form fields overflowed 93px past the right edge. */
@media (max-width:900px){
  form input,form textarea,form select{
    max-width:100% !important; width:100% !important; box-sizing:border-box !important;
  }
  form > div,.form-row,.f-row{
    display:block !important; grid-template-columns:1fr !important;
  }
}

/* FIX 10 - safety net against sideways scroll. */
html,body{ max-width:100% !important; overflow-x: clip !important; }
img,video,iframe,table{ max-width:100% !important; }

/* FIX 11 - PREMLOOM ENVISION wordmark collided with the icons. */
@media (max-width:900px){
  nav.nav{
    display:flex !important; align-items:center !important;
    gap:6px !important; padding-left:12px !important; padding-right:8px !important;
  }
  a.logo{ flex:1 1 auto !important; min-width:0 !important; overflow:hidden !important; }
  .logo-txt{
    font-size:15px !important; letter-spacing:0.01em !important;
    white-space:nowrap !important; overflow:hidden !important;
    min-width:0 !important; flex:0 1 auto !important;
  }
  a.logo img{ width:34px !important; height:34px !important; flex:0 0 auto !important; }
  .nav-icons{ flex:0 0 auto !important; margin-left:auto !important; }
}
@media (max-width:380px){
  .logo-txt{ font-size:12.5px !important; }
  a.logo img{ width:28px !important; height:28px !important; }
  .nav-icons > *{ width:36px !important; height:36px !important; min-width:36px !important; }
}


/* --- FIX 12 (20 Aug 2026, follow-up) ---
   Two problems in the header row on mobile:
   (a) ul.nav-links (the menu list) was rendering INSIDE the header row,
       eating ~194px and pushing the cart + hamburger off the right edge;
   (b) that squeezed the logo down to nothing.
   Below: keep .nav-links out of the row as a proper drawer, and size the
   icon row so every icon fits. --- */
@media (max-width:900px){

  nav.nav{
    display:flex !important; align-items:center !important;
    padding-left:10px !important; padding-right:6px !important;
    gap:4px !important;
  }

  nav.nav > ul.nav-links{
    display:none !important;
    position:fixed !important;
    top:calc(var(--pl-barh, 44px) + 82px) !important;
    left:8px !important; right:8px !important;
    width:auto !important;
    flex-direction:column !important;
    align-items:stretch !important;
    background:#FFFDEE !important;
    border-radius:16px !important;
    padding:8px !important;
    margin:0 !important;
    z-index:1300 !important;
    box-shadow:0 12px 40px rgba(22,74,65,0.22) !important;
    max-height:70vh !important; overflow-y:auto !important;
  }
  nav.nav > ul.nav-links.open,
  nav.nav > ul.nav-links.active,
  nav.nav > ul.nav-links.show{ display:flex !important; }
  nav.nav > ul.nav-links li{ list-style:none !important; width:100% !important; }
  nav.nav > ul.nav-links li a{
    display:block !important; padding:14px 16px !important;
    min-height:48px !important; font-size:16px !important;
    color:#164A41 !important; border-radius:10px !important;
  }

  .nav-icons{
    display:flex !important; align-items:center !important;
    flex:0 0 auto !important; margin-left:auto !important;
    gap:2px !important; flex-wrap:nowrap !important;
  }
  .nav-icons > *{
    width:36px !important; height:36px !important;
    min-width:36px !important; max-width:36px !important;
    flex:0 0 36px !important; font-size:15px !important; padding:0 !important;
  }
  .nav-icons #login-btn,
  .nav-icons .auth-req[title="Wishlist"]{ display:none !important; }

  a.logo{
    display:flex !important; align-items:center !important; gap:6px !important;
    flex:1 1 auto !important; min-width:0 !important; overflow:hidden !important;
  }
  a.logo img{ width:30px !important; height:30px !important; flex:0 0 30px !important; }
  .logo-txt{
    font-size:13.5px !important; letter-spacing:0 !important;
    white-space:nowrap !important; overflow:hidden !important;
    text-overflow:ellipsis !important; min-width:0 !important; flex:0 1 auto !important;
  }
}
@media (max-width:389px){
  .nav-icons > *{ width:34px !important; height:34px !important; min-width:34px !important; max-width:34px !important; flex:0 0 34px !important; }
  .logo-txt{ font-size:12px !important; }
  a.logo img{ width:27px !important; height:27px !important; flex:0 0 27px !important; }
}


/* --- FIX 14 (20 Aug 2026): with the cart icon restored, the
   "PREMLOOM ENVISION" wordmark was truncating to "PREMLOOM ENVI".
   Search moves into the mobile menu so the full wordmark fits. --- */
@media (max-width:900px){
  .nav-icons .nic[title="Search"]{ display:none !important; }
  .logo-txt{ font-size:14px !important; }
  /* the theme's own drawer is replaced by #pl-mobile-menu (see the JS
     snippet "Premloom Mobile Emergency Fix") - keep it out of the row */
  nav.nav > ul.nav-links{ display:none !important; }
}
@media (max-width:360px){ .logo-txt{ font-size:12.5px !important; } }
#pl-mobile-menu a:active{ background:rgba(22,74,65,.06) !important; }
/* === END MOBILE EMERGENCY FIX === */


/* Mobile shop layout fix — 25 Aug 2026. Overrides snippet 2599 which forces
   flex-direction:row below 1024px and collapses the product column to zero.
   Fold this back into snippet 2599 during consolidation. */
@media (max-width: 900px){
  body div.pl2-shop-wrap{ flex-flow: column nowrap !important; }
  body .pl2-main{ width: 100% !important; min-width: 0 !important; flex: 1 1 auto !important; }
  body .pl2-sidebar{ width: 100% !important; }
}

/* ===== PREMLOOM LEGIBILITY AND ACCESSIBILITY FIXES, added 29 Aug 2026 ===== */
/* premloom-fixes-start. Delete everything to premloom-fixes-end to revert. */
html body .pl-corp-glass .glass-panel p.sd.sd,
html body .pl-corp-glass .glass-panel h3.serif.serif { color: rgb(45,74,53) !important; }
html body section.glass-panel-section p.sl.sl.sl,
html body p.sl.sl.sl { color: rgb(125,97,22) !important; }
html body .n-btn.n-btn[style*="--amber"],
html body .n-btn.n-btn[style*="--amber"] * { color: rgb(22,74,65) !important; font-weight: 600 !important; }
html body .n-price span,
html body .n-tag,
html body .tc-loc,
html body .tc-source { color: rgb(82,110,87) !important; }
html body .pl-credentials > p,
html body .pl-credentials div > div:first-child { color: rgb(105,98,86) !important; }
html body .tc-stars { color: rgb(150,100,5) !important; }
html body nav.nav {
  background: rgba(233,242,233,0.94) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(22,74,65,.08), 0 6px 24px rgba(22,74,65,.06);
}
h1, h2, h3, section[id], .glass-panel-section { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid rgb(22,74,65) !important;
  outline-offset: 2px;
}
/* premloom-fixes-end */