/* Santali Digital Dishom layout */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, sans-serif; }
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-move { display: inline-block; animation: sdd-ticker 35s linear infinite; }
@keyframes sdd-ticker { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-50%,0,0); } }
/* WooCommerce Education Library - independent grid, not affected by Woo's float/width rules */
.sdd-education-products { width: 100%; min-width: 0; }
.sdd-book-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; align-items: stretch; }
.sdd-book-card { position: relative; display: flex; flex-direction: column; min-width: 0; width: 100%; overflow: hidden; background: #fff; border: 1px solid #eee8dc; border-radius: 16px; box-shadow: 0 3px 12px rgba(17,63,47,.07); transition: transform .2s ease, box-shadow .2s ease; }
.sdd-book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(17,63,47,.13); }
.sdd-book-image-link { position: relative; display: flex !important; align-items: center; justify-content: center; width: 100%; height: 260px; padding: 16px; overflow: hidden; background: #f8f6f0; box-sizing: border-box; }
.sdd-book-card img.sdd-book-cover { display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; margin: 0 !important; }
.sdd-book-no-cover { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#668074; background:#eee9dd; border:1px dashed #c9c1b2; }
.sdd-book-sale { position:absolute; top:12px; left:12px; z-index:2; padding:6px 10px; color:#fff; background:#800020; border-radius:20px; font-size:12px; font-weight:700; }
.sdd-book-info { display:flex; flex:1; flex-direction:column; align-items:stretch; gap:12px; padding:18px; text-align:center; }
.sdd-book-title { min-height:48px; margin:0 !important; padding:0 !important; font-size:17px !important; line-height:1.45 !important; font-weight:700 !important; overflow-wrap:anywhere; }
.sdd-book-title a { color:#113f2f !important; text-decoration:none !important; }
.sdd-book-price { min-height:24px; color:#22252a; font-size:16px; font-weight:700; }
.sdd-book-price del { color:#888; font-weight:400; }
.sdd-book-price ins { text-decoration:none; }
.sdd-book-cart { display:inline-flex !important; align-items:center; justify-content:center; align-self:center; min-height:42px; max-width:100%; margin-top:auto !important; padding:10px 20px !important; color:#fff !important; background:#113f2f !important; border:0 !important; border-radius:8px !important; font-size:14px !important; font-weight:700 !important; line-height:1.25 !important; text-align:center; text-decoration:none !important; white-space:normal; }
.sdd-book-cart:hover { background:#1b5e47 !important; color:#fff !important; }
.sdd-library-notice { padding:18px; color:#365b4b; background:#fff; border:1px solid #e7dfd1; border-radius:10px; }
/* Neutralize WooCommerce's default product-list layout only when it is outside our custom cards */
.sdd-education-products ul.products { display:none !important; }
@media (max-width: 1000px) { .sdd-book-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) { .sdd-book-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .sdd-book-image-link { height:220px; } .sdd-book-info { padding:14px; } }
@media (max-width: 480px) { .sdd-book-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .sdd-book-image-link { height:180px; padding:10px; } .sdd-book-title { font-size:15px !important; min-height:44px; } .sdd-book-cart { padding:9px 12px !important; font-size:13px !important; } }


/* Home page WooCommerce book cards */
.sdd-home-books .sdd-home-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sdd-home-books .sdd-home-products ul.products::before,
.sdd-home-books .sdd-home-products ul.products::after { display: none !important; content: none !important; }
.sdd-home-books .sdd-home-products ul.products li.product {
  float: none !important; width: auto !important; max-width: none !important;
  margin: 0 !important; padding: 16px !important; box-sizing: border-box !important;
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  background: #fff !important; border: 1px solid #eadfce !important;
  border-radius: 14px !important; text-align: center !important;
  min-width: 0 !important; position: relative !important;
}
.sdd-home-books .sdd-home-products ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important;
}
.sdd-home-books .sdd-home-products ul.products li.product a img {
  width: 100% !important; height: 220px !important; object-fit: contain !important;
  margin: 0 auto 12px !important;
}
.sdd-home-books .sdd-home-products .woocommerce-loop-product__title {
  color: #123f32 !important; font-size: 16px !important; line-height: 1.45 !important;
  min-height: 46px !important; padding: 0 !important;
}
.sdd-home-books .sdd-home-products .price { display: block !important; margin: 8px 0 12px !important; }
.sdd-home-books .sdd-home-products a.button {
  align-self: center !important; margin: auto auto 0 !important;
  background: #104735 !important; color: #fff !important; border-radius: 8px !important;
  padding: 10px 16px !important; text-align: center !important;
}
.sdd-home-books .sdd-home-products .onsale { top: 10px !important; left: 10px !important; right: auto !important; }
@media (max-width: 900px) { .sdd-home-books .sdd-home-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .sdd-home-books .sdd-home-products ul.products { grid-template-columns: 1fr !important; } }


/* WordPress Blog archive and article pages */
.sdd-inner-topbar{padding:9px 5%;background:#113f2f;color:#fff;font-size:13px;font-weight:700;display:flex;justify-content:space-between;gap:12px;}
.sdd-inner-topbar span{color:#ffb366;font-weight:500;}
.sdd-inner-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);box-shadow:0 3px 14px rgba(17,63,47,.09);border-bottom:1px solid #eee8dc;padding:14px max(5%,calc((100% - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;}
.sdd-inner-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#113f2f;}
.sdd-brand-mark{width:46px;height:46px;display:grid;place-items:center;background:linear-gradient(135deg,#800020,#113f2f);color:#fff;border-radius:12px;font-size:25px;font-weight:800;}
.sdd-inner-brand strong,.sdd-inner-brand small{display:block;}.sdd-inner-brand strong{font-size:17px;}.sdd-inner-brand small{font-size:10px;letter-spacing:1px;color:#800020;margin-top:3px;}
.sdd-inner-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}.sdd-inner-nav a{color:#234536;text-decoration:none;font-size:14px;font-weight:700;}.sdd-inner-nav a:hover{color:#800020;}
.sdd-blog-page{max-width:1200px;margin:0 auto;padding:46px 22px 70px;min-height:65vh;}
.sdd-blog-hero{text-align:center;padding:34px 20px 42px;margin-bottom:22px;}.sdd-blog-kicker{display:inline-block;color:#800020;font-size:11px;font-weight:800;letter-spacing:2px;margin-bottom:12px;}.sdd-blog-hero h1{margin:0 0 12px;color:#113f2f;font-size:clamp(30px,5vw,44px);line-height:1.15;font-weight:800;}.sdd-blog-hero p{max-width:700px;margin:0 auto;color:#64746b;font-size:16px;line-height:1.7;}
.sdd-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;align-items:stretch;}.sdd-blog-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #eee7da;border-radius:15px;overflow:hidden;box-shadow:0 4px 16px rgba(17,63,47,.06);transition:transform .2s,box-shadow .2s;}.sdd-blog-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(17,63,47,.12);}.sdd-blog-thumb{display:flex;align-items:center;justify-content:center;height:220px;overflow:hidden;background:#f3efe6;text-decoration:none;}.sdd-blog-thumb img{display:block;width:100%;height:100%;object-fit:cover;}.sdd-blog-placeholder{color:#113f2f;font-weight:800;font-size:20px;padding:20px;text-align:center;}.sdd-blog-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:20px;}.sdd-blog-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#7a827d;font-size:12px;margin-bottom:12px;}.sdd-blog-category{display:inline-block;color:#800020;background:#f8edf0;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:800;text-decoration:none;margin-bottom:10px;}.sdd-blog-card h2{font-size:19px;line-height:1.4;margin:0 0 10px;font-weight:800;}.sdd-blog-card h2 a{color:#113f2f;text-decoration:none;}.sdd-blog-card h2 a:hover{color:#800020;}.sdd-blog-card-body>p{color:#5c665f;font-size:14px;line-height:1.7;margin:0 0 18px;}.sdd-blog-readmore{display:inline-flex;gap:8px;align-items:center;margin-top:auto;background:#113f2f;color:#fff!important;text-decoration:none;padding:10px 16px;border-radius:7px;font-size:13px;font-weight:800;}.sdd-blog-readmore:hover{background:#800020;}
.sdd-blog-pagination{margin:38px 0 0;text-align:center;}.sdd-blog-pagination .page-numbers{display:inline-block;padding:9px 13px;margin:3px;border:1px solid #e4ded2;border-radius:6px;color:#113f2f;text-decoration:none;background:#fff;}.sdd-blog-pagination .page-numbers.current{background:#113f2f;color:#fff;}.sdd-blog-empty{max-width:700px;margin:20px auto;padding:35px;text-align:center;background:#fff;border:1px solid #eee;border-radius:14px;}
.sdd-single-page{max-width:900px;margin:0 auto;padding:42px 22px 70px;}.sdd-single-article{background:#fff;padding:clamp(20px,4vw,48px);border:1px solid #eee8dc;border-radius:16px;box-shadow:0 5px 22px rgba(17,63,47,.05);}.sdd-back-blog{display:inline-block;color:#176b45;text-decoration:none;font-size:14px;font-weight:800;margin-bottom:25px;}.sdd-single-header h1{color:#113f2f;font-size:clamp(30px,5vw,44px);line-height:1.2;margin:8px 0 16px;font-weight:800;}.sdd-single-featured{margin:28px 0;}.sdd-single-featured img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:12px;}.sdd-single-content{font-size:17px;line-height:1.85;color:#303a34;overflow-wrap:anywhere;}.sdd-single-content h2,.sdd-single-content h3{color:#113f2f;line-height:1.35;margin-top:1.7em;}.sdd-single-content img{max-width:100%;height:auto;border-radius:8px;}.sdd-single-tags{margin-top:28px;color:#65736a;font-size:14px;}.sdd-single-tags a{color:#176b45;}.sdd-post-navigation{display:flex;justify-content:space-between;gap:18px;border-top:1px solid #eee8dc;margin-top:30px;padding-top:20px;}.sdd-post-navigation a{color:#176b45;text-decoration:none;font-weight:700;}.sdd-inner-footer{background:#113f2f;color:#fff;padding:32px max(5%,calc((100% - 1200px)/2));display:grid;grid-template-columns:1fr auto;gap:18px;}.sdd-inner-footer p{color:#d6e1da;margin:8px 0 0;font-size:13px;}.sdd-inner-footer>div:nth-child(2){display:flex;gap:18px;align-items:center;}.sdd-inner-footer a{color:#fff;text-decoration:none;font-size:13px;}.sdd-inner-footer small{grid-column:1/-1;color:#d6e1da;border-top:1px solid rgba(255,255,255,.2);padding-top:15px;}
@media(max-width:900px){.sdd-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.sdd-inner-header{align-items:flex-start;flex-direction:column;}.sdd-inner-nav{gap:15px;}}
@media(max-width:560px){.sdd-blog-page{padding:25px 14px 50px;}.sdd-blog-grid{grid-template-columns:1fr;gap:18px;}.sdd-blog-thumb{height:210px;}.sdd-inner-topbar{font-size:11px;}.sdd-inner-nav{gap:12px;}.sdd-inner-nav a{font-size:13px;}.sdd-inner-footer{grid-template-columns:1fr;}.sdd-inner-footer>div:nth-child(2){flex-wrap:wrap;}.sdd-inner-footer small{grid-column:auto;}.sdd-single-page{padding:22px 12px 45px;}.sdd-single-article{padding:20px 16px;}.sdd-single-content{font-size:16px;}}


/* FINAL COMPACT BLOG CARD SIZE + WIDTH OVERRIDES
   This is intentionally narrower than the shop content so blog cards do not look oversized. */
.sdd-blog-page {
  width: min(calc(100% - 32px), 1000px) !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.sdd-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 300px)) !important;
  justify-content: start !important;
  align-items: stretch !important;
  gap: 16px !important;
}
.sdd-blog-card {
  width: 100% !important;
  max-width: 300px !important;
  min-width: 0 !important;
  min-height: 0 !important;
}
.sdd-blog-thumb {
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
}
.sdd-blog-card-body {
  padding: 10px 12px 12px !important;
}
.sdd-blog-meta {
  gap: 3px 8px !important;
  margin-bottom: 5px !important;
  font-size: 10px !important;
}
.sdd-blog-category {
  margin-bottom: 5px !important;
  padding: 3px 8px !important;
  font-size: 10px !important;
}
.sdd-blog-card h2 {
  margin: 0 0 5px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.sdd-blog-card-body > p {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.sdd-blog-readmore {
  padding: 6px 10px !important;
  font-size: 11px !important;
}
@media (max-width: 900px) {
  .sdd-blog-page { width: min(calc(100% - 28px), 660px) !important; }
  .sdd-blog-grid { grid-template-columns: repeat(2, minmax(0, 300px)) !important; }
}
@media (max-width: 620px) {
  .sdd-blog-page { width: calc(100% - 24px) !important; }
  .sdd-blog-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .sdd-blog-card { max-width: 100% !important; }
  .sdd-blog-thumb { height: 135px !important; min-height: 135px !important; max-height: 135px !important; }
}

/* WooCommerce Shop archive: restore a complete, responsive storefront layout */
body.woocommerce-shop #primary,
body.post-type-archive-product #primary,
body.tax-product_cat #primary,
body.tax-product_tag #primary,
body.woocommerce-shop .content-area,
body.post-type-archive-product .content-area {
  float: none !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 28px 22px 64px !important;
  box-sizing: border-box !important;
}
body.woocommerce-shop #secondary,
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
body.woocommerce-shop .widget-area,
body.post-type-archive-product .widget-area {
  display: none !important;
}
body.woocommerce-shop .woocommerce,
body.post-type-archive-product .woocommerce,
body.tax-product_cat .woocommerce,
body.tax-product_tag .woocommerce {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  color: #26352e !important;
}
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  margin: 0 0 22px !important;
  padding: 0 !important;
}
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.woocommerce-shop .woocommerce h1.page-title {
  margin: 0 0 12px !important;
  color: #113f2f !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
  margin: 8px 0 18px !important;
  color: #68766e !important;
  font-size: 14px !important;
}
body.woocommerce-shop form.woocommerce-ordering,
body.post-type-archive-product form.woocommerce-ordering {
  margin: 0 0 18px !important;
}
body.woocommerce-shop form.woocommerce-ordering select,
body.post-type-archive-product form.woocommerce-ordering select {
  max-width: 100% !important;
  min-height: 42px !important;
  padding: 8px 34px 8px 12px !important;
  border: 1px solid #e3ddcf !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #234536 !important;
}
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after { display: none !important; content: none !important; }
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid #e9e2d6 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(17,63,47,.07) !important;
  text-align: center !important;
}
body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_tag ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}
body.woocommerce-shop ul.products li.product a img,
body.post-type-archive-product ul.products li.product a img,
body.tax-product_cat ul.products li.product a img,
body.tax-product_tag ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  max-height: 190px !important;
  margin: 0 auto 12px !important;
  object-fit: contain !important;
  background: #f8f6f0 !important;
  border-radius: 8px !important;
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #113f2f !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere !important;
}
body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
  display: block !important;
  margin: 4px 0 12px !important;
  color: #113f2f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
body.woocommerce-shop ul.products li.product .price del,
body.post-type-archive-product ul.products li.product .price del { color: #888 !important; opacity: .8 !important; }
body.woocommerce-shop ul.products li.product .price ins,
body.post-type-archive-product ul.products li.product .price ins { text-decoration: none !important; }
body.woocommerce-shop ul.products li.product a.button,
body.post-type-archive-product ul.products li.product a.button,
body.tax-product_cat ul.products li.product a.button,
body.tax-product_tag ul.products li.product a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: auto !important;
  min-height: 40px !important;
  max-width: 100% !important;
  margin: auto 0 0 !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #113f2f !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}
body.woocommerce-shop ul.products li.product a.button:hover,
body.post-type-archive-product ul.products li.product a.button:hover { background: #800020 !important; color: #fff !important; }
body.woocommerce-shop ul.products li.product .onsale,
body.post-type-archive-product ul.products li.product .onsale { top: 10px !important; left: 10px !important; right: auto !important; margin: 0 !important; }
@media (max-width: 850px) {
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 520px) {
  body.woocommerce-shop #primary,
  body.post-type-archive-product #primary,
  body.tax-product_cat #primary,
  body.tax-product_tag #primary,
  body.woocommerce-shop .content-area,
  body.post-type-archive-product .content-area { padding: 20px 12px 44px !important; }
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.woocommerce-shop ul.products li.product,
  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product { padding: 9px !important; }
  body.woocommerce-shop ul.products li.product a img,
  body.post-type-archive-product ul.products li.product a img,
  body.tax-product_cat ul.products li.product a img,
  body.tax-product_tag ul.products li.product a img { height: 145px !important; max-height: 145px !important; }
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; min-height: 40px !important; }
}

/* Final Shop cleanup: hide the default WordPress widget sidebar on every WooCommerce view.
   Product cards remain visible; this removes the unstyled Search/Pages/Archives list. */
body.woocommerce-page #secondary,
body.woocommerce-page .widget-area,
body.woocommerce-page aside.sidebar,
body.woocommerce-page .sidebar,
body.woocommerce-page .secondary,
body.woocommerce-page #sidebar,
body.woocommerce-shop #secondary,
body.woocommerce-shop .widget-area,
body.post-type-archive-product #secondary,
body.post-type-archive-product .widget-area,
body.tax-product_cat #secondary,
body.tax-product_cat .widget-area,
body.tax-product_tag #secondary,
body.tax-product_tag .widget-area {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-page #primary,
body.woocommerce-page .content-area,
body.woocommerce-page main.site-main,
body.woocommerce-page .site-main {
  float: none !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
body.woocommerce-page .site-content,
body.woocommerce-page .content-wrapper,
body.woocommerce-page .content-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}


/* Admin-managed Gallery slideshow */
.sdd-gallery-slider{position:relative;width:100%;max-width:1120px;margin:0 auto 2rem;overflow:hidden;border-radius:22px;background:#123f32;box-shadow:0 14px 34px rgba(20,45,35,.14);aspect-ratio:16/7;min-height:230px;max-height:470px}
.sdd-gallery-slider-track{position:relative;width:100%;height:100%}
.sdd-gallery-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .65s ease;pointer-events:none}
.sdd-gallery-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.sdd-gallery-slide-image{display:block;width:100%;height:100%;object-fit:cover}
.sdd-gallery-slide-caption{position:absolute;left:0;right:0;bottom:0;padding:42px 24px 28px;color:#fff;font-size:clamp(16px,2vw,24px);font-weight:800;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.sdd-gallery-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#123f32;font-size:20px;font-weight:800;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.sdd-gallery-prev{left:16px}.sdd-gallery-next{right:16px}
.sdd-gallery-dots{position:absolute;z-index:4;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.sdd-gallery-dot{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.65);cursor:pointer;transition:width .2s ease,background .2s ease}
.sdd-gallery-dot.is-active{width:25px;background:#fff}
@media(max-width:640px){.sdd-gallery-slider{aspect-ratio:4/3;min-height:190px;border-radius:15px}.sdd-gallery-arrow{width:36px;height:36px;font-size:16px}.sdd-gallery-prev{left:9px}.sdd-gallery-next{right:9px}.sdd-gallery-slide-caption{padding:34px 15px 24px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.sdd-gallery-slide{transition:none}}

/* Gallery page visual refresh — keeps the existing slideshow and photo source intact. */
#view-culture { max-width:1280px !important; padding-top:34px !important; padding-bottom:64px !important; }
#view-culture .sdd-gallery-heading { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:space-between; gap:24px; overflow:hidden; min-height:250px; padding:clamp(26px,5vw,54px); border:1px solid rgba(255,255,255,.16); border-radius:28px; color:#fff; background:radial-gradient(circle at 82% 18%,rgba(245,158,11,.30),transparent 28%),linear-gradient(120deg,#103f32 0%,#17624a 54%,#7b342d 100%); box-shadow:0 18px 42px rgba(17,55,42,.16); }
#view-culture .sdd-gallery-heading-copy { position:relative; z-index:2; max-width:760px; }
#view-culture .sdd-gallery-kicker { display:inline-flex; align-items:center; gap:9px; margin-bottom:14px; padding:7px 13px; border:1px solid rgba(255,255,255,.28); border-radius:99px; background:rgba(255,255,255,.11); color:#ffe3a2; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
#view-culture .sdd-gallery-heading h1 { margin:0; color:#fff; font-size:clamp(32px,5vw,54px); line-height:1.08; font-weight:900; letter-spacing:-.035em; }
#view-culture .sdd-gallery-heading p { max-width:650px; margin:14px 0 0; color:rgba(255,255,255,.86); font-size:clamp(14px,1.5vw,17px); line-height:1.75; }
#view-culture .sdd-gallery-heading-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
#view-culture .sdd-gallery-heading-tags span { padding:6px 11px; border:1px solid rgba(255,255,255,.22); border-radius:99px; color:#fff; background:rgba(255,255,255,.10); font-size:11px; font-weight:700; }
#view-culture .sdd-gallery-add { position:relative; z-index:3; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:13px 18px; border:1px solid rgba(255,255,255,.45); border-radius:13px; color:#173e31 !important; background:#fff; font-size:13px; font-weight:800; text-decoration:none !important; box-shadow:0 8px 22px rgba(0,0,0,.15); transition:transform .2s,box-shadow .2s; }
#view-culture .sdd-gallery-add:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.2); }
#view-culture .sdd-gallery-heading-art { position:absolute; z-index:1; right:12%; bottom:-45px; color:rgba(255,255,255,.09); font-size:clamp(150px,24vw,290px); transform:rotate(-13deg); pointer-events:none; }
#view-culture .sdd-gallery-slider { max-width:none; margin:28px 0 38px; border:5px solid #fff; border-radius:24px; box-shadow:0 18px 42px rgba(24,51,39,.18); }
#view-culture .sdd-gallery-slide-caption { padding:65px 32px 32px; font-size:clamp(19px,2.5vw,30px); letter-spacing:-.02em; }
#view-culture .sdd-gallery-arrow { width:48px; height:48px; color:#174936; background:rgba(255,255,255,.96); transition:transform .2s,background .2s; }
#view-culture .sdd-gallery-arrow:hover { transform:translateY(-50%) scale(1.08); background:#ffe4a6; }
#view-culture .sdd-gallery-grid { gap:24px !important; }
#view-culture .sdd-gallery-card { border:1px solid #e8e6dc; border-radius:20px; box-shadow:0 5px 18px rgba(22,48,36,.07); transition:transform .25s ease,box-shadow .25s ease; }
#view-culture .sdd-gallery-card:hover { transform:translateY(-6px); box-shadow:0 18px 35px rgba(22,48,36,.15); }
#view-culture .sdd-gallery-card-image { position:relative; aspect-ratio:4/3; background:#f0eee5; }
#view-culture .sdd-gallery-card-image:after { content:'View photo'; position:absolute; right:12px; bottom:12px; padding:7px 11px; border:1px solid rgba(255,255,255,.45); border-radius:99px; color:#fff; background:rgba(13,48,36,.72); font-size:11px; font-weight:800; opacity:0; transform:translateY(5px); transition:all .2s; }
#view-culture .sdd-gallery-card:hover .sdd-gallery-card-image:after { opacity:1; transform:translateY(0); }
#view-culture .sdd-gallery-card-image img { transition:transform .55s cubic-bezier(.2,.7,.2,1); }
#view-culture .sdd-gallery-card:hover .sdd-gallery-card-image img { transform:scale(1.055); }
#view-culture .sdd-gallery-card-content { min-height:82px; padding:17px 19px 19px; }
#view-culture .sdd-gallery-card-content h2 { margin:0; font-size:16px; line-height:1.4; font-weight:800; color:#174936; }
#view-culture .sdd-gallery-card-content p { margin-top:7px; color:#68746d; font-size:13px; line-height:1.6; }
#view-culture .sdd-gallery-grid > .col-span-full { border-radius:22px; background:linear-gradient(145deg,#fff,#f7f5ec); box-shadow:0 10px 30px rgba(20,50,37,.06); }
@media(max-width:700px) {
 #view-culture { padding-top:20px !important; }
 #view-culture .sdd-gallery-heading { min-height:0; align-items:flex-start; flex-direction:column; gap:20px; padding:26px 22px; border-radius:21px; }
 #view-culture .sdd-gallery-heading-art { right:-5px; bottom:2px; font-size:145px; }
 #view-culture .sdd-gallery-add { padding:11px 15px; }
 #view-culture .sdd-gallery-slider { margin:20px 0 28px; border-width:3px; border-radius:17px; }
 #view-culture .sdd-gallery-slide-caption { padding:40px 17px 25px; font-size:17px; }
 #view-culture .sdd-gallery-grid { gap:15px !important; }
 #view-culture .sdd-gallery-card { border-radius:16px; }
 #view-culture .sdd-gallery-card-content { padding:13px 14px 15px; }
}


/* News tab: polished headline cards matching the Santali forest / maroon palette */
.sdd-news-page{background:linear-gradient(180deg,#fbf9f4 0%,#f5f1e8 100%)}
.sdd-news-hero{background:linear-gradient(120deg,#113f2f 0%,#1b5e47 52%,#800020 100%)}
.sdd-news-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.sdd-news-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(17,63,47,.12);border-color:rgba(128,0,32,.24)}
.sdd-news-icon{background:linear-gradient(145deg,#f8ead8,#f3efe6);color:#800020;box-shadow:inset 0 0 0 1px rgba(128,0,32,.08)}
.sdd-news-category{background:#edf4ef;color:#1b5e47}
@media(max-width:640px){.sdd-news-card{padding:18px;gap:13px}.sdd-news-icon{width:44px;height:44px;border-radius:14px;font-size:18px}}


/* About Us page and consistent navigation typography across Home and inner pages. */
.sdd-home-nav a{font-size:14px!important;font-weight:500!important;line-height:1.35!important;padding:8px 12px!important}
.sdd-home-nav{gap:2px!important}
@media(min-width:1024px) and (max-width:1350px){.sdd-home-nav a{font-size:13px!important;padding-left:8px!important;padding-right:8px!important}}
.sdd-standard-page{min-height:420px;background:#f9f6f0;padding:54px 20px 72px}
.sdd-standard-page-inner{width:min(100%,1100px);margin:0 auto;background:#fff;border:1px solid #eee5d8;border-radius:16px;padding:34px;box-shadow:0 8px 24px rgba(17,63,47,.05)}
.sdd-standard-page-article h1{margin:0 0 22px;color:#113f2f;font-size:clamp(28px,4vw,40px);font-weight:800;line-height:1.2}
.sdd-standard-page-content{color:#3e4942;font-size:16px;line-height:1.85}
.sdd-standard-page-content img{max-width:100%;height:auto}
.sdd-about-page{background:#f9f6f0;color:#26352d;padding-bottom:70px}
.sdd-about-page *{box-sizing:border-box}
.sdd-about-container{width:min(100% - 36px,1160px);margin:0 auto}
.sdd-about-hero{padding:72px 18px 76px;text-align:center;color:#fff;background:radial-gradient(circle at 85% 20%,rgba(255,153,51,.24),transparent 28%),linear-gradient(120deg,#113f2f 0%,#1b5e47 55%,#800020 100%)}
.sdd-about-eyebrow,.sdd-about-kicker{display:inline-block;color:#ff9933;font-size:11px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}
.sdd-about-hero .sdd-about-eyebrow{padding:8px 15px;border:1px solid rgba(255,153,51,.55);border-radius:30px;color:#ffc27f}
.sdd-about-hero h1{max-width:900px;margin:18px auto 12px;color:#fff;font-size:clamp(34px,5vw,56px);font-weight:800;line-height:1.12}
.sdd-about-lead{max-width:780px;margin:0 auto;color:#f2eee8;font-size:17px;line-height:1.8}
.sdd-about-content{padding-top:44px}
.sdd-about-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:36px;align-items:center;padding:22px 0 44px}
.sdd-about-page h2{color:#113f2f;font-size:clamp(25px,3vw,34px);font-weight:800;line-height:1.2;margin:8px 0 16px}
.sdd-about-page p{color:#536158;font-size:15px;line-height:1.85;margin:0 0 14px}
.sdd-about-page a:not(.sdd-about-contact-button){color:#800020;text-decoration:underline;text-underline-offset:3px}
.sdd-about-emblem{min-height:270px;padding:30px;border-radius:22px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff;background:linear-gradient(145deg,#113f2f,#1b5e47 60%,#800020);box-shadow:0 16px 36px rgba(17,63,47,.16)}
.sdd-about-script{font-size:clamp(42px,6vw,68px);color:#ffb366;font-weight:800;line-height:1.4}
.sdd-about-emblem strong{font-size:16px;letter-spacing:1.5px}
.sdd-about-emblem small{margin-top:10px;color:#f5d7b5;font-size:10px;letter-spacing:1.5px}
.sdd-about-section{padding:35px 0}
.sdd-about-heading{max-width:760px;margin:0 auto 26px;text-align:center}
.sdd-about-heading p{margin:0 auto}
.sdd-about-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sdd-about-focus{display:flex;gap:10px;align-items:flex-start;padding:15px 16px;border:1px solid #eee5d8;border-radius:12px;background:#fff;color:#35443a;font-size:14px;line-height:1.5}
.sdd-about-focus span{color:#ff9933;font-weight:900}
.sdd-about-note{max-width:900px;margin:22px auto 0!important;text-align:center}
.sdd-about-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.sdd-about-card{display:flex;gap:16px;align-items:flex-start;padding:22px;border:1px solid #eee5d8;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(17,63,47,.04)}
.sdd-about-card>span{flex:0 0 42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f8edf0;color:#800020;font-weight:800}
.sdd-about-card h3{margin:1px 0 7px;color:#113f2f;font-size:18px;font-weight:800}
.sdd-about-card p{margin:0;font-size:14px}
.sdd-about-story{margin:42px 0;padding:34px;border-left:5px solid #ff9933;border-radius:0 16px 16px 0;background:#fff}
.sdd-about-statement{position:relative;margin:36px 0;padding:38px;border-radius:20px;background:#113f2f;color:#fff}
.sdd-about-statement h2{color:#fff}
.sdd-about-statement p{color:#e2ece5}
.sdd-about-quote-mark{position:absolute;right:30px;top:5px;color:rgba(255,153,51,.25);font-size:100px;font-family:Georgia,serif;line-height:1}
.sdd-about-statement strong,.sdd-about-statement small{display:block;color:#fff}
.sdd-about-statement small{margin-top:5px;color:#ffc27f}
.sdd-about-contact{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;margin:38px 0;padding:30px;border:1px solid #eee5d8;border-radius:18px;background:#fff}
.sdd-about-contact-details p{display:flex;flex-direction:column;gap:3px;margin-bottom:12px}
.sdd-about-contact-details strong{color:#113f2f}
.sdd-about-contact-details a{overflow-wrap:anywhere}
.sdd-about-contact-button{display:inline-flex;gap:12px;align-items:center;margin-top:5px;padding:11px 17px;border-radius:9px;background:#800020;color:#fff!important;text-decoration:none!important;font-weight:700}
.sdd-about-commitment{margin-top:40px;padding:42px 30px;border-radius:20px;background:linear-gradient(120deg,#113f2f,#1b5e47);text-align:center}
.sdd-about-commitment h2{max-width:800px;margin:10px auto 14px;color:#fff}
.sdd-about-commitment p{max-width:850px;margin:0 auto 18px;color:#e6eee9}
.sdd-about-commitment strong{color:#ffc27f}
@media(max-width:760px){.sdd-about-container{width:calc(100% - 24px)}.sdd-about-hero{padding:52px 15px}.sdd-about-intro,.sdd-about-contact{grid-template-columns:1fr;gap:22px}.sdd-about-focus-grid,.sdd-about-services{grid-template-columns:1fr}.sdd-about-story,.sdd-about-statement{padding:25px 20px}.sdd-about-emblem{min-height:210px}.sdd-standard-page{padding:28px 12px 45px}.sdd-standard-page-inner{padding:23px 18px}}

/* ===== Site footer: brand + Quick Links + Legal & Policies ===== */
.sdd-site-footer{background:#113f2f;color:#fff;margin-top:64px;padding:56px 0 32px;border-top:1px solid #1b5e47;clear:both}
.sdd-site-footer .sdd-footer-inner{width:100%;max-width:80rem;margin:0 auto;padding:0 16px;box-sizing:border-box}
.sdd-site-footer .sdd-footer-grid{display:grid;grid-template-columns:1fr;gap:32px}
.sdd-site-footer .sdd-footer-brand-link{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.sdd-site-footer .sdd-footer-brand-link strong{font-size:18px;font-weight:700;color:#fff}
.sdd-site-footer .sdd-footer-mark{width:40px;height:40px;border-radius:12px;background:#800020;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.sdd-site-footer .sdd-footer-brand-col p{margin:16px 0 0;max-width:360px;font-size:13px;line-height:1.7;color:#d1d5db}
.sdd-site-footer .sdd-footer-col h4{margin:0 0 16px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ff9933}
.sdd-site-footer .sdd-footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sdd-site-footer .sdd-footer-col a{display:inline-block;color:#d1d5db;font-size:13px;font-weight:500;text-decoration:none;transition:color .2s ease,transform .2s ease}
.sdd-site-footer .sdd-footer-col a:hover,.sdd-site-footer .sdd-footer-col a:focus{color:#ff9933;transform:translateX(2px)}
.sdd-site-footer .sdd-footer-copy{margin-top:40px;padding-top:24px;border-top:1px solid #1b5e47;text-align:center;font-size:12px;color:#9ca3af}
/* Tablet: brand on top, the two link columns side by side */
@media(min-width:520px){.sdd-site-footer .sdd-footer-grid{grid-template-columns:1fr 1fr}.sdd-site-footer .sdd-footer-brand-col{grid-column:1/-1}}
/* Desktop: brand | Quick Links | Legal & Policies */
@media(min-width:900px){.sdd-site-footer .sdd-footer-inner{padding:0 32px}.sdd-site-footer .sdd-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:48px}.sdd-site-footer .sdd-footer-brand-col{grid-column:auto}}
/* Phone: stack everything */
@media(max-width:519px){.sdd-site-footer{padding:42px 0 28px}}

/* ===== Legal page content (standard page template) ===== */
.sdd-standard-page-content h2{margin:1.8em 0 .6em;color:#113f2f;font-size:24px;font-weight:800;line-height:1.3}
.sdd-standard-page-content h3{margin:1.6em 0 .5em;color:#113f2f;font-size:19px;font-weight:700;line-height:1.35}
.sdd-standard-page-content p{margin:0 0 1em}
.sdd-standard-page-content ul,.sdd-standard-page-content ol{margin:0 0 1.2em;padding-left:1.4em}
.sdd-standard-page-content ul{list-style:disc}.sdd-standard-page-content ol{list-style:decimal}
.sdd-standard-page-content li{margin:0 0 .45em}
.sdd-standard-page-content a{color:#176b45;text-decoration:underline;overflow-wrap:anywhere}
.sdd-standard-page-content a:hover{color:#800020}
.sdd-standard-page-content blockquote{margin:0 0 1em;padding-left:1em;border-left:3px solid #ff9933}
@media(max-width:600px){.sdd-standard-page{padding:28px 12px 48px}.sdd-standard-page-inner{padding:22px 16px}}

/* ===== Courses (YouTube videos) ===== */
.sdd-courses-inner{width:min(100%,1200px);margin:0 auto}
.sdd-courses-head{margin-bottom:28px}
.sdd-courses-head h1{margin:0 0 10px;color:#113f2f;font-size:clamp(28px,4vw,40px);font-weight:800;line-height:1.2}
.sdd-courses-head p{margin:0;color:#3e4942;font-size:16px;line-height:1.7}
.sdd-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.sdd-course-card{background:#fff;border:1px solid #eee5d8;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(17,63,47,.06);display:flex;flex-direction:column}
.sdd-course-video{position:relative;aspect-ratio:16/9;background:#113f2f}
.sdd-course-video iframe,.sdd-course-play{position:absolute;inset:0;width:100%;height:100%;border:0}
.sdd-course-play{padding:0;margin:0;background:none;cursor:pointer;display:block}
.sdd-course-play img{width:100%;height:100%;object-fit:cover;display:block}
.sdd-course-play-icon{position:absolute;left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border-radius:50%;background:#800020;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.sdd-course-play-icon::after{content:"";position:absolute;left:25px;top:19px;border-style:solid;border-width:12px 0 12px 20px;border-color:transparent transparent transparent #fff}
.sdd-course-play:hover .sdd-course-play-icon,.sdd-course-play:focus .sdd-course-play-icon{background:#ff9933}
.sdd-course-info{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.sdd-course-info h3{margin:0;color:#113f2f;font-size:17px;font-weight:700;line-height:1.35}
.sdd-course-info p{margin:0;color:#4b5a51;font-size:14px;line-height:1.6}
.sdd-course-yt{margin-top:auto;color:#800020;font-size:13px;font-weight:700;text-decoration:none}
.sdd-course-yt:hover{color:#ff9933}
@media(max-width:600px){.sdd-course-grid{grid-template-columns:1fr}}

.sdd-course-nolink{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;color:#fff;font-size:14px;background:#1b5e47}

.sdd-translate-slot{display:flex;align-items:center;min-height:36px}.sdd-translate-slot:empty{display:none}.sdd-translate-slot select{max-width:150px;padding:6px 10px;border-radius:8px;border:1px solid #d1d5db;background:#f3ebdd;color:#113f2f;font-size:12px;font-weight:600}.sdd-translate-slot img{max-height:22px}

/* Translate plugin: hide the floating (yellow "Translate") widget and the flag icons.
   The dropdown in the header (.sdd-translate-slot) stays. */
#gt_float_wrapper,.gt_float_switcher,.gt-float-switcher,body>.gt_switcher_wrapper,body>.gtranslate_wrapper,body>.gt_switcher{display:none!important}
.sdd-translate-slot a.glink,.sdd-translate-slot .gtranslate_wrapper a:has(>img),.sdd-translate-slot img{display:none!important}

/* ===== Header: keep everything on one tidy row ===== */
header.sticky>.max-w-7xl,header.sticky>div{max-width:1560px!important}
header.sticky .sdd-home-brand{flex:0 0 auto;white-space:nowrap}
header.sticky .sdd-home-brand strong,header.sticky .sdd-home-brand>div>div:first-child{white-space:nowrap}
header.sticky .sdd-home-nav{flex:1 1 auto!important;min-width:0;flex-wrap:nowrap!important;justify-content:center;gap:2px!important}
header.sticky .sdd-home-nav a,header.sticky .sdd-home-nav button{white-space:nowrap!important;padding:8px 10px!important;font-size:14px!important}
header.sticky .sdd-home-actions,header.sticky .sdd-header-actions{flex:0 0 auto;white-space:nowrap;gap:10px!important}
header.sticky .sdd-home-actions a,header.sticky .sdd-header-actions a,header.sticky .sdd-header-actions button,header.sticky .sdd-home-actions button{white-space:nowrap!important;flex-shrink:0}
/* compact translate dropdown */
.sdd-translate-slot,.sdd-translate-slot #google_language_translator{display:flex;align-items:center}
.sdd-translate-slot .goog-te-gadget{font-size:0!important;line-height:0!important;margin:0}
.sdd-translate-slot .goog-te-gadget span,.sdd-translate-slot .goog-logo-link{display:none!important}
.sdd-translate-slot select,.sdd-translate-slot .goog-te-combo{width:116px!important;max-width:116px!important;height:38px;margin:0!important;padding:0 8px!important;font-size:13px!important;border-radius:8px!important;border:1px solid #d1d5db!important;background:#f3ebdd!important;color:#113f2f!important}
/* medium screens: save space */
@media(min-width:1024px) and (max-width:1279px){
  header.sticky .sdd-home-brand small,header.sticky .sdd-home-brand>div>div:nth-child(2){display:none}
  header.sticky .sdd-home-nav a,header.sticky .sdd-home-nav button{padding:8px 7px!important;font-size:13px!important}
  .sdd-translate-slot select,.sdd-translate-slot .goog-te-combo{width:96px!important;max-width:96px!important}
}

/* Logged-in profile button */
.sdd-profile-menu{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.sdd-profile-link{display:inline-flex;align-items:center;gap:8px;background:#800020;color:#fff;padding:5px 14px 5px 6px;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s}
.sdd-profile-link:hover{background:#5c0017;color:#fff}
.sdd-profile-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.7)}
.sdd-profile-logout{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f3ebdd;color:#113f2f;text-decoration:none;transition:background .2s,color .2s}
.sdd-profile-logout:hover{background:#113f2f;color:#fff}


/* Admin-managed social media links in the shared footer */
.sdd-footer-social{margin-top:22px}
.sdd-footer-social h4{margin:0 0 12px;color:#fff;font-size:15px;font-weight:800}
.sdd-social-icons{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.sdd-social-icons a{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.08);color:#fff!important;font-size:16px;text-decoration:none;transition:background .2s ease,transform .2s ease,border-color .2s ease}
.sdd-social-icons a:hover{background:#800020;border-color:#800020;color:#fff!important;transform:translateY(-3px)}

/* WooCommerce Shop archive and product detail layout */
.sdd-woocommerce-page{box-sizing:border-box;width:min(100% - 32px,1200px);margin:38px auto 64px;color:#26352d}
.sdd-woocommerce-page .woocommerce-products-header{margin:0 0 24px}
.sdd-woocommerce-page .woocommerce-products-header__title{color:#113f2f;font-size:clamp(28px,4vw,38px);font-weight:800}
.sdd-woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px!important;margin:24px 0!important}
.sdd-woocommerce-page ul.products:before,.sdd-woocommerce-page ul.products:after{display:none!important}
.sdd-woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:14px!important;border:1px solid #e9e3d8;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(17,63,47,.06)}
.sdd-woocommerce-page ul.products li.product a img{width:100%;height:220px;object-fit:contain;margin:0 0 12px!important}
.sdd-woocommerce-page ul.products li.product .woocommerce-loop-product__title{color:#113f2f;font-size:16px;font-weight:800}
.sdd-woocommerce-page ul.products li.product .price{color:#800020;font-weight:800}
.sdd-woocommerce-page ul.products li.product .button{background:#113f2f;color:#fff;border-radius:7px}
.sdd-woocommerce-page .quantity .qty{min-height:40px}
@media(max-width:900px){.sdd-woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sdd-woocommerce-page{width:calc(100% - 22px);margin:22px auto 42px}.sdd-woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.sdd-woocommerce-page ul.products li.product{padding:10px!important}.sdd-woocommerce-page ul.products li.product a img{height:150px}}


/* ===== v2.4.0: Blog + Shop catalogue additions ===== */
/* Whole blog card is clickable (the Read More link covers the card); category chip stays separately clickable. */
.sdd-blog-card { position: relative; }
.sdd-blog-card .sdd-blog-readmore::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sdd-blog-card .sdd-blog-category { position: relative; z-index: 2; }

/* Shop: whole product card opens the product page; Add to Cart stays clickable. */
.sdd-shop-page .sdd-book-card .sdd-book-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sdd-shop-page .sdd-book-card .sdd-book-cart { position: relative; z-index: 2; }

/* Shop category chips */
.sdd-shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sdd-shop-cats a { display: inline-block; padding: 7px 14px; border: 1px solid #e4ded2; border-radius: 999px; background: #fff; color: #113f2f; font-size: 13px; font-weight: 700; text-decoration: none; }
.sdd-shop-cats a:hover { border-color: #113f2f; }
.sdd-shop-cats a.is-active { background: #113f2f; border-color: #113f2f; color: #fff; }
.sdd-shop-page .sdd-catalog-pagination { margin-top: 34px; }
.sdd-library-notice { padding: 24px; text-align: center; color: #5c665f; background: #fff; border: 1px solid #eee7da; border-radius: 12px; }
