:root{
  --accent:#9f2089;
  --accent-dark:#7d1b6c;
  --site-width:1280px;
  --header-height:74px;
  --mobile-header-height:58px;
  --section-space:42px;
  --card-radius:24px;
  --mobile-footer-radius:0px;
  --grid-gap:18px;
  --button-py:14px;
  --button-px:22px;
  --category-card-padding:18px;
  --category-image-size:68px;
  --category-title-size:14px;
  --product-card-padding:18px;
  --product-title-size:19px;
  --product-excerpt-size:14px;
  --product-meta-size:13px;
  --product-price-size:24px;
  --product-chip-size:11px;
  --product-image-radius:0px;
  --category-card-radius:20px;
  --category-image-radius:18px;
  --nav-font-size:14px;
  --body-text-size:16px;
  --section-title-size:34px;
  --hero-title-size:48px;
  --button-radius:999px;
  --button-font-size:14px;
  --best-cols:4;
  --best-cols-tablet:3;
  --best-cols-mobile:2;
  --new-cols:4;
  --new-cols-tablet:2;
  --new-cols-mobile:1;
  --related-cols:4;
  --related-cols-tablet:2;
  --related-cols-mobile:1;
  --category-cols:8;
  --category-cols-tablet:4;
  --category-cols-mobile:3;
  --product-meta-cols:2;
  --text:#1d1d1f;
  --muted:#67626b;
  --border:#ece2ee;
  --soft:#fdf1fa;
  --soft-2:#faf6fb;
  --bg:#fff;
  --shadow:0 12px 28px rgba(22,15,35,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff;line-height:1.55;font-size:var(--body-text-size)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
svg{width:1em;height:1em;display:block}
button,input,textarea,select{font:inherit}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap}
.md-container{width:min(100% - 32px,var(--site-width));margin:0 auto}
.md-site-main{min-height:50vh}
body.md-drawer-open{overflow:hidden}

.md-topbar{background:#f8e6f3;border-bottom:1px solid #f0d8eb}
.md-topbar-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.md-topbar-row p{margin:0;font-size:13px;font-weight:700;color:#5c3d57}
.md-topbar-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;font-weight:700}

.md-site-header-shell{background:#fff;border-bottom:1px solid var(--border);z-index:500}
.md-site-header-shell.is-sticky{position:sticky;top:0}
.md-header-utility{border-bottom:1px solid var(--border);background:#fff}
.md-header-utility-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}
.md-utility-left{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.md-utility-links{display:flex;align-items:center;gap:0}
.md-utility-links a{padding:0 16px;font-size:13px;color:#3f3b42;border-left:1px solid var(--border)}
.md-utility-links a:last-child{border-right:1px solid var(--border)}

.md-main-header{background:#fff}
.md-main-header-row{display:grid;grid-template-columns:220px 1fr auto;gap:18px;align-items:center;min-height:var(--header-height)}
.md-logo-wrap img{max-height:46px;width:auto}
.md-site-title{font-size:30px;font-weight:800;color:var(--accent);letter-spacing:-.03em}
.md-search-wrap{width:100%}
.md-search-form{position:relative;display:flex;align-items:center;border:1px solid #d8d8dc;border-radius:8px;background:#fff;overflow:hidden}
.md-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:20px;color:#6f6a72}
.md-search-field{flex:1;width:100%;height:48px;padding:0 14px 0 46px;border:0;outline:none;font-size:15px;background:#fff}
.md-search-submit{border:0;background:#f5f5f6;color:#3d3a40;font-weight:700;padding:0 18px;height:48px;border-left:1px solid #ececef;cursor:pointer}
.md-mobile-search-wrap{display:none;padding:0 0 12px}
.md-header-actions{display:flex;align-items:center;gap:10px}
.md-header-action{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;border:1px solid transparent;font-weight:700;color:#2f2b33}
.md-header-action:hover{border-color:var(--border);background:var(--soft-2)}
.md-action-icon{font-size:22px;color:#302c34}
.md-action-label{font-size:14px;white-space:nowrap}
.md-mobile-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:#fff;color:#2f2b33;cursor:pointer}
.md-mobile-toggle svg{font-size:24px}

.md-category-strip{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff}
.md-nav .menu,.md-menu,.md-mobile-menu,.md-footer-menu{list-style:none;margin:0;padding:0}
.md-menu{display:flex;align-items:center;gap:0;overflow:auto;scrollbar-width:none}
.md-menu::-webkit-scrollbar{display:none}
.md-menu > li{position:relative;flex:0 0 auto}
.md-menu > li > a{display:block;padding:16px 18px;font-size:var(--nav-font-size);font-weight:700;color:#3b3740;white-space:nowrap;border-bottom:2px solid transparent}
.md-menu > li > a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.md-menu li ul{display:none;position:absolute;left:0;top:100%;min-width:220px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:10px;z-index:50}
.md-menu li:hover > ul{display:block}
.md-menu li ul li a{display:block;padding:10px 12px;border-radius:10px;font-size:14px}
.md-menu li ul li a:hover{background:var(--soft)}

.md-mobile-drawer{position:fixed;inset:0;background:rgba(19,14,24,.45);z-index:900}
.md-mobile-drawer-inner{width:min(86vw,360px);height:100%;background:#fff;padding:20px 18px 24px;overflow:auto;box-shadow:18px 0 40px rgba(0,0,0,.12)}
.md-mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:14px}
.md-mobile-drawer-head strong{font-size:20px}
.md-mobile-close{width:36px;height:36px;border:1px solid var(--border);background:#fff;border-radius:10px;cursor:pointer;font-size:22px;line-height:1}
.md-mobile-drawer-links{display:grid;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.md-mobile-drawer-links a{padding:10px 12px;background:var(--soft-2);border-radius:12px;font-weight:700}
.md-mobile-menu{display:grid;gap:6px;padding-top:14px}
.md-mobile-menu li a{display:block;padding:12px;border-radius:12px;font-weight:700;background:#fff;border:1px solid var(--border)}
.md-mobile-menu li ul{padding:8px 0 0 12px}
.md-mobile-menu li ul a{background:#fafafa}

.md-notice-bar{background:#fff8fb;border-bottom:1px solid var(--border)}
.md-notice-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.md-notice-row > div{padding:14px 10px;text-align:center;font-weight:700;font-size:14px;color:#4a3d49;border-right:1px solid var(--border)}
.md-notice-row > div:last-child{border-right:0}

.md-hero{background:linear-gradient(180deg,#fff 0%,#fcf4fb 100%);padding:30px 0 10px}
.md-hero-grid{display:grid;grid-template-columns:1.28fr .92fr;gap:24px;align-items:stretch}
.md-hero-main,.md-promo-card,.md-product-card,.md-content-single article,.md-download-summary,.md-download-content,.md-testimonial-card,.md-panel-card,.md-faq-item,.md-post-card{background:#fff;border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:var(--shadow)}
.md-hero-main{padding:40px}
.md-hero-badge,.md-badge,.md-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--accent-dark);padding:8px 12px;border-radius:999px;font-weight:800;font-size:12px}
.md-chip{font-size:var(--product-chip-size);padding:7px 10px}
.md-section-kicker{display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--accent-dark);font-weight:800;margin-bottom:6px}
.md-hero h1{font-size:var(--hero-title-size);line-height:1.05;margin:16px 0 14px;letter-spacing:-.03em}
.md-hero p{font-size:calc(var(--body-text-size) + 1px);color:var(--muted);margin:0 0 22px}
.md-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.md-button,.edd-submit.button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;padding:var(--button-py) var(--button-px);border:none;border-radius:var(--button-radius);font-weight:800;font-size:var(--button-font-size);cursor:pointer}
.md-button-light{background:#fff;color:var(--accent);border:1px solid var(--accent)}
.md-mini-button{display:inline-flex;padding:10px 16px;border-radius:var(--button-radius);background:var(--soft);font-weight:800;font-size:var(--button-font-size);color:var(--accent-dark)}
.md-mini-button-light{background:rgba(255,255,255,.12);color:#fff}
.md-hero-points{display:flex;flex-wrap:wrap;gap:10px}
.md-hero-points span{padding:10px 12px;border-radius:999px;background:#fff;border:1px solid var(--border);font-weight:700}
.md-promo-stack{display:grid;gap:16px;height:100%}
.md-promo-card{padding:24px}
.md-promo-card-main h3{font-size:28px;line-height:1.2;margin:12px 0 10px}
.md-promo-card p{margin:0;color:var(--muted)}
.md-promo-card-mini-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:transparent;border:none;box-shadow:none;padding:0}
.md-promo-card-mini strong{display:block;font-size:18px;margin-bottom:8px}
.accent-card{background:linear-gradient(135deg,var(--accent) 0%,var(--accent-dark) 100%);color:#fff}
.accent-card p{color:#f6ebff}

.md-section{padding:var(--section-space) 0}
.md-section-soft{background:#fcfbfe}
.md-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.md-section-head h1,.md-section-head h2{margin:0;font-size:var(--section-title-size);line-height:1.2;letter-spacing:-.03em}
.md-section-head a{color:var(--accent);font-weight:800}

.md-category-grid{display:grid;grid-template-columns:repeat(var(--category-cols),minmax(0,1fr));gap:var(--grid-gap)}
.md-category-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:var(--category-card-padding) 12px;background:#fff;border:1px solid var(--border);border-radius:var(--category-card-radius);box-shadow:var(--shadow)}
.md-category-media{width:var(--category-image-size);height:var(--category-image-size);display:flex;align-items:center;justify-content:center}
.md-category-image{width:100%;height:100%;object-fit:cover;border-radius:var(--category-image-radius)}
.md-category-icon{width:100%;height:100%;border-radius:var(--category-image-radius);display:inline-flex;align-items:center;justify-content:center;background:var(--soft);font-size:calc(var(--category-image-size) / 2.1)}
.md-category-title{font-weight:800;font-size:var(--category-title-size);line-height:1.25}

.md-products-grid{display:grid;gap:var(--grid-gap)}
.md-products-grid.is-home-best{grid-template-columns:repeat(var(--best-cols),minmax(0,1fr))}
.md-products-grid.is-home-new{grid-template-columns:repeat(var(--new-cols),minmax(0,1fr))}
.md-products-grid.is-related{grid-template-columns:repeat(var(--related-cols),minmax(0,1fr))}
.md-products-grid.is-archive{grid-template-columns:repeat(var(--archive-cols),minmax(0,1fr))}
.md-product-card{overflow:hidden}
.md-product-thumb{background:linear-gradient(145deg,#f7eef9,#f7f3f8);aspect-ratio:4/4.9;display:flex;align-items:center;justify-content:center;border-radius:var(--product-image-radius) var(--product-image-radius) 0 0}
.md-product-thumb img{width:100%;height:100%;object-fit:cover}
.md-thumb-placeholder{padding:22px;text-align:center;font-size:22px;font-weight:800;color:var(--accent)}
.md-product-body{padding:var(--product-card-padding)}
.md-meta-chips{display:flex;gap:8px;flex-wrap:wrap}
.md-product-title{margin:12px 0 10px;font-size:var(--product-title-size);line-height:1.3}
.md-product-title a:hover{color:var(--accent)}
.md-product-excerpt{color:var(--muted);font-size:var(--product-excerpt-size);margin:0 0 12px}
.md-product-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:var(--product-meta-size);margin-bottom:12px}
.md-product-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.md-product-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.md-product-actions.has-view-action{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);width:100%;align-items:stretch}
.md-card-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border-radius:var(--button-radius);border:1px solid rgba(159,32,137,.16);background:#fff;color:var(--accent-dark);font-size:13px;font-weight:800;line-height:1.2}
.md-product-actions .added_to_cart{font-size:13px;font-weight:800;color:var(--accent-dark)}
.md-product-actions.has-view-action .md-mini-button,.md-product-actions.has-view-action .add_to_cart_button,.md-product-actions.has-view-action .ajax_add_to_cart,.md-product-actions.has-view-action .added_to_cart,.md-product-actions.has-view-action .md-card-link{width:100%}

.md-price,.md-download-price{font-size:var(--product-price-size);font-weight:900;color:var(--accent-dark)}

.md-offer-band{background:linear-gradient(90deg,#fceff8 0%,#fff7ea 100%)}
.md-offer-grid,.md-cta-grid{display:grid;grid-template-columns:1.2fr auto;gap:24px;align-items:center}
.md-offer-grid h2{margin:12px 0 10px;font-size:34px;line-height:1.2}
.md-offer-grid p{margin:0;color:var(--muted)}

.md-bundle-section{background:#fff}
.md-bundle-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}
.md-bundle-copy{background:linear-gradient(180deg,#fff 0%,#fcfbfe 100%);border:1px solid var(--border);border-radius:var(--card-radius);padding:30px;box-shadow:var(--shadow)}
.md-bundle-copy h2{margin:10px 0 12px;font-size:36px;line-height:1.2}
.md-bundle-copy p{margin:0 0 18px;color:var(--muted)}
.md-bundle-points{padding-left:18px;margin:0 0 22px}
.md-bundle-points li{margin:8px 0}
.md-bundle-panels{display:grid;gap:16px}
.md-panel-card{padding:24px}
.md-panel-card strong{display:block;font-size:18px;margin-bottom:8px}
.md-panel-card p{margin:0;color:var(--muted)}

.md-testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--grid-gap)}
.md-testimonial-card{padding:24px}
.md-stars{font-size:18px;letter-spacing:2px;color:var(--accent-dark);margin-bottom:10px}
.md-testimonial-card p{margin:0 0 14px;color:var(--muted)}

.md-faq-wrap{max-width:950px}
.md-faq-grid{display:grid;gap:14px}
.md-faq-item{padding:0;overflow:hidden}
.md-faq-item summary{list-style:none;cursor:pointer;padding:18px 20px;font-weight:800}
.md-faq-item summary::-webkit-details-marker{display:none}
.md-faq-answer{padding:0 20px 18px;color:var(--muted)}

.md-final-cta{background:linear-gradient(90deg,#fffaf0 0%,#f7efff 100%)}

.md-content-single{max-width:980px}
.md-content-single article{padding:30px}
.md-single-thumb{margin:16px 0 20px}
.md-single-thumb img{border-radius:18px}
.md-post-list{display:grid;gap:18px}
.md-post-card{padding:24px}

.md-download-layout{max-width:1180px}
.md-download-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}
.md-download-grid.layout-left{grid-template-columns:420px minmax(0,1fr)}
.md-download-grid.layout-left .md-download-primary{order:2}
.md-download-grid.layout-left .md-download-summary{order:1}
.md-download-grid.layout-stacked{grid-template-columns:1fr}
.md-download-media{overflow:hidden}
.md-product-thumb-large{aspect-ratio:4/4.9}
.md-download-summary{padding:28px;position:sticky;top:130px}
.md-wc-buy-row form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.md-wc-buy-row form.cart .quantity{display:inline-flex}
.md-wc-buy-row form.cart input.qty{min-height:48px;width:82px;padding:0 10px;border:1px solid var(--border);border-radius:12px}
.md-wc-buy-row .single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;padding:var(--button-py) var(--button-px);border:none;border-radius:999px;font-weight:800;cursor:pointer}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce .button:hover{background:var(--accent-dark);color:#fff}
.woocommerce .quantity .qty{padding:0 10px;border:1px solid var(--border);border-radius:10px;min-height:42px}
.md-woo-box{padding:30px}
.woocommerce table.shop_table{border-collapse:separate;border-spacing:0;width:100%;border:1px solid var(--border);border-radius:18px;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px;border-bottom:1px solid var(--border)}
.woocommerce .cart_totals,.woocommerce .woocommerce-checkout-review-order{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:var(--shadow)}
.md-download-summary h1{margin:14px 0 10px;font-size:38px;line-height:1.15;letter-spacing:-.03em}
.md-meta-grid{display:grid;grid-template-columns:repeat(var(--product-meta-cols),minmax(0,1fr));gap:12px;margin:18px 0}
.md-meta-grid div{padding:14px;border-radius:18px;background:var(--soft-2);display:flex;flex-direction:column}
.md-meta-grid strong{font-size:12px;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.md-buy-row{margin:18px 0}
.md-download-points{padding-left:18px;color:var(--muted)}
.md-download-content{margin-top:24px;padding:28px}
.md-related-wrap{margin-top:36px}

.md-footer{background:#160f23;color:#eae4f7;margin-top:20px;padding-top:42px}
.md-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:24px}
.md-footer h3{margin-top:0;color:#fff}
.md-footer p,.md-footer a,.md-footer li{color:#d6cfea}
.md-footer-menu{display:flex;flex-direction:column;gap:10px}
.md-footer-bottom{padding:16px 0;margin-top:20px;border-top:1px solid rgba(255,255,255,.08);text-align:center}
.md-footer-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.md-footer-tags span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:13px}

.md-mobile-bottom-nav{display:none}
.md-mobile-bottom-nav a svg,.md-header-action svg{width:22px;height:22px}

@media (max-width: 1160px){
  .md-main-header-row{grid-template-columns:190px 1fr auto}
  .md-utility-left{max-width:45%}
  .md-products-grid.is-home-best{grid-template-columns:repeat(var(--best-cols-tablet),minmax(0,1fr))}
  .md-products-grid.is-home-new{grid-template-columns:repeat(var(--new-cols-tablet),minmax(0,1fr))}
  .md-products-grid.is-related{grid-template-columns:repeat(var(--related-cols-tablet),minmax(0,1fr))}
  .md-products-grid.is-archive{grid-template-columns:repeat(var(--archive-cols-tablet),minmax(0,1fr))}
  .md-category-grid{grid-template-columns:repeat(var(--category-cols-tablet),minmax(0,1fr))}
  .md-testimonial-grid{grid-template-columns:1fr 1fr}
  .md-footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 920px){
  .md-topbar-row{flex-direction:column;justify-content:center;text-align:center}
  .md-header-utility{display:none}
  .md-main-header-row{grid-template-columns:1fr auto;min-height:var(--mobile-header-height);padding:10px 0}
  .md-search-desktop{display:block;min-width:0}
  .md-mobile-toggle{display:inline-flex}
  .md-header-action .md-action-label{display:none}
  .md-header-action{padding:10px;width:44px;height:44px;justify-content:center}
  .md-mobile-search-wrap{display:none}
  .md-desktop-nav{display:none}
  .md-notice-row{grid-template-columns:1fr 1fr}
  .md-hero-grid,.md-bundle-grid,.md-offer-grid,.md-cta-grid,.md-download-grid,.md-download-grid.layout-left{grid-template-columns:1fr}
  .md-download-grid.layout-left .md-download-primary,.md-download-grid.layout-left .md-download-summary{order:initial}
  .md-download-summary{position:static}
  .md-hero h1{font-size:clamp(32px,calc(var(--hero-title-size) - 10px),42px)}
  .md-section-head h1,.md-section-head h2,.md-offer-grid h2,.md-bundle-copy h2{font-size:clamp(24px,calc(var(--section-title-size) - 4px),32px)}
}

@media (max-width: 640px){
  .md-container{width:min(100% - 20px,var(--site-width))}
  .md-topbar-link{width:100%}
  .md-notice-row{grid-template-columns:1fr}
  .md-products-grid.is-home-best{grid-template-columns:repeat(var(--best-cols-mobile),minmax(0,1fr))}
  .md-products-grid.is-home-new{grid-template-columns:repeat(var(--new-cols-mobile),minmax(0,1fr))}
  .md-products-grid.is-related{grid-template-columns:repeat(var(--related-cols-mobile),minmax(0,1fr))}
  .md-products-grid.is-archive{grid-template-columns:repeat(var(--archive-cols-mobile),minmax(0,1fr))}
  .md-category-grid{grid-template-columns:repeat(var(--category-cols-mobile),minmax(0,1fr))}
  .md-footer-grid,.md-meta-grid,.md-promo-card-mini-wrap{grid-template-columns:1fr}
  .md-hero-main,.md-promo-card,.md-content-single article,.md-download-summary,.md-download-content,.md-testimonial-card,.md-panel-card,.md-post-card{border-radius:20px}
  .md-hero-main{padding:28px}
  .md-hero h1{font-size:clamp(24px,calc(var(--hero-title-size) - 17px),34px)}
  .md-section{padding:34px 0}
  .md-mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--border);border-left:0;border-right:0;border-bottom:0;border-radius:var(--mobile-footer-radius);box-shadow:0 -8px 24px rgba(11,8,18,.08);z-index:700}
  .md-mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;height:48px;border-radius:10px;color:#493f49}
  .md-mobile-bottom-nav a:hover,.md-mobile-bottom-nav a:focus{background:var(--soft);color:var(--accent)}
  .md-mobile-bottom-nav a svg{width:24px;height:24px}
  body{padding-bottom:78px}
}


/* Responsive and UX fixes */
html,body{overflow-x:hidden}
.md-mobile-drawer[hidden]{display:none !important}
.md-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:800;line-height:1}
.md-header-action.md-cart-link{position:relative}
.md-mobile-bottom-nav a{flex-direction:column;gap:2px;font-size:11px;font-weight:700}
.md-mobile-bottom-nav a .screen-reader-text{position:static!important;clip:auto;height:auto;width:auto;overflow:visible;white-space:normal}
@media (max-width: 920px){
  .md-site-header-shell.is-sticky{top:0}
  .md-main-header-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .md-logo-wrap{min-width:0}
  .md-site-title{font-size:clamp(26px,8vw,38px);line-height:1;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .md-header-actions{gap:8px}
  .md-header-action{border-color:var(--border);background:#fff}
  .md-mobile-search-wrap{display:none !important}
  .md-search-field,.md-search-submit{height:44px}
  .md-notice-row{display:flex;overflow:auto;scroll-snap-type:x proximity}
  .md-notice-row > div{min-width:240px;scroll-snap-align:start;border-right:1px solid var(--border)}
}
@media (max-width: 640px){
  .md-topbar{display:none}
  .md-header-action[href*="my-account"]{display:none}
  .md-mobile-toggle,.md-header-action{width:42px;height:42px;padding:8px;border-radius:10px}
  .md-cart-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;font-size:11px;padding:0 5px}
  .md-main-header-row{padding:8px 0}
  .md-mobile-drawer-inner{width:min(88vw,340px);padding:18px 16px 24px}
  .md-mobile-bottom-nav{grid-template-columns:repeat(4,1fr);gap:6px;padding-left:8px;padding-right:8px}
  .md-mobile-bottom-nav a{height:54px}
  .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px;font-size:13px}
}


/* Meesho-style compact mobile product cards */
@media (max-width: 920px){
  .md-products-grid.is-home-best,
  .md-products-grid.is-home-new,
  .md-products-grid.is-related,
  .md-products-grid.is-archive{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .md-product-card{
    border-radius:16px;
  }
  .md-product-thumb{
    aspect-ratio:1 / 1.18;
  }
  .md-product-body{
    padding:10px;
  }
  .md-meta-chips{
    gap:6px;
    margin-bottom:6px;
  }
  .md-chip{
    font-size:clamp(9.5px,calc(var(--product-chip-size) - .5px),11px);
    padding:5px 8px;
  }
  .md-product-title{
    margin:0 0 6px;
    font-size:clamp(12px,calc(var(--product-title-size) - 6px),15px);
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:35px;
  }
  .md-product-excerpt{
    display:none;
  }
  .md-product-meta-row{
    justify-content:flex-start;
    gap:8px;
    font-size:clamp(10px,calc(var(--product-meta-size) - 2px),12px);
    margin-bottom:8px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .md-product-meta-row span:last-child::before{
    content:'•';
    margin-right:8px;
  }
  .md-price,
  .md-download-price{
    font-size:clamp(16px,calc(var(--product-price-size) - 6px),20px);
    line-height:1.1;
  }
  .md-product-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .md-product-actions{
    width:100%;
    gap:6px;
  }
  .md-product-actions .md-button,
  .md-product-actions .md-mini-button,
  .md-product-actions .edd-submit.button,
  .md-product-actions .added_to_cart,
  .md-product-actions .ajax_add_to_cart,
  .md-product-actions .add_to_cart_button,
  .md-product-actions .md-card-link{
    width:100%;
    min-height:34px;
    padding:8px 10px;
    border-radius:9px;
    font-size:clamp(11px,calc(var(--button-font-size) - 2px),13px);
    line-height:1.2;
    justify-content:center;
  }
  .md-card-link{
    display:inline-flex;
    min-height:34px;
    padding:8px 10px;
    border-radius:9px;
    font-size:clamp(11px,calc(var(--button-font-size) - 2px),13px);
  }
}

@media (max-width: 480px){
  .md-container{width:min(100% - 16px,var(--site-width))}
  .md-products-grid.is-home-best,
  .md-products-grid.is-home-new,
  .md-products-grid.is-related,
  .md-products-grid.is-archive{
    gap:8px;
  }
  .md-product-card{
    border-radius:14px;
  }
  .md-product-thumb{
    aspect-ratio:1 / 1.14;
  }
  .md-product-body{
    padding:8px;
  }
  .md-chip{
    font-size:clamp(9px,calc(var(--product-chip-size) - 1px),11px);
    padding:4px 7px;
  }
  .md-product-title{
    font-size:clamp(11px,calc(var(--product-title-size) - 7px),13px);
    min-height:33px;
  }
  .md-product-meta-row{
    font-size:clamp(10px,calc(var(--product-meta-size) - 3px),11px);
    gap:6px;
  }
  .md-price,
  .md-download-price{
    font-size:clamp(15px,calc(var(--product-price-size) - 8px),18px);
  }
}


/* Mobile-first declutter improvements */
@media (max-width: 920px){
  .md-search-desktop{display:block !important}
  .md-mobile-search-wrap{display:none !important}
  .md-hero-side{display:none}
  .md-hero-grid{grid-template-columns:1fr}
  .md-mobile-drawer-links{padding-bottom:12px;margin-bottom:12px}
  .md-mobile-drawer-links a{display:flex;align-items:center;justify-content:center}
}

@media (max-width: 640px){
  .md-notice-bar{display:none}
  .md-mobile-secondary{display:none}
  .md-home-categories .md-section-head{margin-bottom:12px}
  .md-home-categories .md-category-grid{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:76px;
    grid-template-columns:none;
    gap:10px;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }
  .md-home-categories .md-category-grid::-webkit-scrollbar{display:none}
  .md-home-categories .md-category-card{
    gap:8px;
    padding:10px 6px;
    border-radius:min(var(--category-card-radius),14px);
    box-shadow:none;
  }
  .md-home-categories .md-category-media{width:54px;height:54px}
  .md-home-categories .md-category-image,
  .md-home-categories .md-category-icon{border-radius:min(var(--category-image-radius),14px)}
  .md-home-categories .md-category-title{font-size:clamp(10px,calc(var(--category-title-size) - 3px),12px)}
  .md-hero{padding-top:16px}
  .md-hero-main{padding:18px}
  .md-hero h1{font-size:clamp(22px,calc(var(--hero-title-size) - 24px),28px);line-height:1.15;margin:10px 0 8px}
  .md-hero p{font-size:clamp(13px,calc(var(--body-text-size) - 2px),15px);margin-bottom:14px}
  .md-hero-actions{gap:8px;margin-bottom:12px}
  .md-hero-actions .md-button,
  .md-hero-actions .md-button-light{flex:1 1 0;min-width:0;padding:11px 12px;font-size:clamp(12px,calc(var(--button-font-size) - 1px),14px)}
  .md-hero-points span{padding:7px 9px;font-size:11px}
  .md-section-head h1,
  .md-section-head h2{font-size:clamp(20px,calc(var(--section-title-size) - 10px),26px)}
}

@media (max-width: 480px){
  .md-meta-chips .md-chip:nth-child(2){display:none}
  .md-product-meta-row span:last-child{display:none}
  .md-product-meta-row span:last-child::before{content:none}
}


/* Desktop and tablet declutter improvements */
.md-product-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

@media (max-width: 1160px){
  .md-topbar{display:none}
  .md-main-header-row{grid-template-columns:180px 1fr auto;gap:14px}
  .md-header-action{padding:10px 11px}
  .md-hero-side{display:none}
  .md-hero-grid{grid-template-columns:1fr}
  .md-hero-main{padding:32px}
  .md-hero h1{font-size:clamp(30px,calc(var(--hero-title-size) - 8px),42px)}
  .md-section-head h1,.md-section-head h2{font-size:clamp(24px,calc(var(--section-title-size) - 4px),32px)}
  .md-product-card{border-radius:20px}
  .md-product-body{padding:14px}
  .md-product-title{font-size:clamp(15px,calc(var(--product-title-size) - 2px),18px);line-height:1.3}
  .md-product-excerpt{font-size:clamp(12px,calc(var(--product-excerpt-size) - 1px),14px);margin-bottom:10px}
  .md-chip{padding:6px 10px}
  .md-footer{padding-top:34px}
}

@media (min-width: 641px) and (max-width: 1160px){
  .md-products-grid.is-home-best,
  .md-products-grid.is-archive,
  .md-products-grid.is-related{gap:16px}
  .md-products-grid.is-home-new{grid-template-columns:repeat(2,minmax(0,1fr))}
  .md-product-meta-row{font-size:12px;gap:10px}
  .md-product-actions .md-mini-button,
  .md-product-actions .add_to_cart_button,
  .md-product-actions .ajax_add_to_cart,
  .md-product-actions .added_to_cart,
  .md-product-actions .md-card-link{
    min-height:40px;
    padding:10px 14px;
    border-radius:10px;
  }
}

@media (min-width: 921px){
  .md-mobile-drawer{display:none !important}
}

@media (max-width: 520px){
  .md-product-actions.has-view-action{grid-template-columns:1fr 1fr;gap:6px}
  .md-download-summary h1{font-size:clamp(22px,7vw,30px)}
  .md-product-shortdesc{font-size:14px;margin-bottom:14px}
  .md-detail-section-head h2{font-size:24px}
}

/* Single product page refinements */
.md-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 22px;color:var(--muted);font-size:13px;font-weight:600}
.md-breadcrumbs a:hover{color:var(--accent)}
.md-single-product-grid{align-items:start}
.md-single-product-primary{min-width:0}
.md-single-product-media-card{padding:20px;background:#fff;border:1px solid var(--border);border-radius:calc(var(--card-radius) - 2px);box-shadow:var(--shadow)}
.md-single-product-thumb{position:relative;aspect-ratio:1 / 1.08;border-radius:18px;overflow:hidden;background:#f8f4f9}
.md-single-product-summary{background:#fff;border:1px solid var(--border);border-radius:calc(var(--card-radius) - 2px);box-shadow:var(--shadow)}
.md-single-product-shortdesc{color:#433e45;font-size:16px;line-height:1.75}
.md-single-product-shortdesc p{margin:0 0 14px}
.md-single-product-cta-row{display:grid;gap:12px}
.md-single-product-cta-row .md-button,
.md-single-product-cta-row .single_add_to_cart_button,
.md-single-product-cta-row .woocommerce-variation-add-to-cart,
.md-single-product-cta-row form.cart{width:100%}
.md-single-product-cta-row form.cart{display:grid;gap:12px}
.md-single-product-cta-row form.cart .single_add_to_cart_button{width:100%}
.md-button-dark{background:#111;color:#fff}
.md-button-dark:hover{background:#000;color:#fff}
.md-single-product-meta-line{padding-top:6px;color:var(--muted);font-size:14px}
.md-single-product-meta-line strong{color:#27222b;margin-right:6px}
.md-single-tabs-card{margin-top:28px;background:#fff;border:1px solid var(--border);border-radius:calc(var(--card-radius) - 2px);box-shadow:var(--shadow);overflow:hidden}
.md-single-tabs-nav{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--border);background:#fff}
.md-single-tab-button{appearance:none;border:0;background:#fff;padding:18px 22px;font-weight:800;font-size:16px;color:#2d2832;cursor:pointer;position:relative}
.md-single-tab-button.is-active{color:var(--accent-dark)}
.md-single-tab-button.is-active::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--accent)}
.md-single-tab-panels{padding:28px}
.md-single-tab-panel h2{margin:0 0 18px;font-size:36px;line-height:1.15;letter-spacing:-.03em}
.md-single-product-content{color:#403b43;font-size:17px;line-height:1.9}
.md-single-product-content > *:first-child{margin-top:0}
.md-single-product-content ul,.md-single-product-content ol{padding-left:20px}
.md-single-product-content li{margin:8px 0}
.md-single-product-content p{margin:0 0 18px}
.md-single-tab-panel[hidden]{display:none !important}
.md-single-tabs-card .comment-respond,
.md-single-tabs-card .woocommerce-Reviews,
.md-single-tabs-card #reviews{margin-top:0}

@media (max-width: 920px){
  .md-breadcrumbs{margin-bottom:14px;font-size:12px}
  .md-single-product-media-card{padding:12px;border-radius:18px}
  .md-single-product-thumb{aspect-ratio:1 / 1.05;border-radius:14px}
  .md-single-product-summary{padding:18px;border-radius:18px}
  .md-download-summary h1{font-size:clamp(28px,6vw,40px)}
  .md-single-product-shortdesc{font-size:15px;line-height:1.7}
  .md-single-tabs-card{margin-top:20px;border-radius:18px}
  .md-single-tabs-nav{display:grid;grid-template-columns:1fr 1fr}
  .md-single-tab-button{padding:14px 12px;font-size:15px;text-align:center}
  .md-single-tab-panels{padding:20px}
  .md-single-tab-panel h2{font-size:30px}
  .md-single-product-content{font-size:16px;line-height:1.8}
}

@media (max-width: 640px){
  .md-breadcrumbs{gap:6px;font-size:11px;margin:0 0 12px}
  .md-single-product-page .md-section{padding-top:18px}
  .md-single-product-media-card{padding:10px;border-radius:16px}
  .md-single-product-thumb{border-radius:12px}
  .md-single-product-summary{padding:0;background:transparent;border:0;box-shadow:none}
  .md-download-summary h1{margin:12px 0 8px;font-size:clamp(20px,7vw,32px);line-height:1.15}
  .md-single-product-shortdesc{font-size:14px;line-height:1.75}
  .md-meta-grid{gap:10px;margin:14px 0}
  .md-meta-grid div{padding:12px;border-radius:14px}
  .md-single-product-cta-row{gap:10px}
  .md-single-product-cta-row .md-button,
  .md-single-product-cta-row .single_add_to_cart_button,
  .md-single-product-cta-row .md-button-dark{width:100%;min-height:46px;border-radius:8px}
  .md-single-tabs-card{margin-top:18px;border-radius:14px}
  .md-single-tabs-nav{grid-template-columns:1fr 1fr}
  .md-single-tab-button{padding:12px 10px;font-size:14px}
  .md-single-tab-panels{padding:16px}
  .md-single-tab-panel h2{font-size:22px;margin-bottom:12px}
  .md-single-product-content{font-size:15px;line-height:1.75}
}

@media (max-width: 920px){
  .md-search-desktop{display:block !important;grid-column:1 / -1;order:3;margin-top:4px}
  .md-search-wrap .md-search-form{width:100%}
}


/* Account page and small-screen headline fixes */
.md-page-head{margin-bottom:22px}
.md-page-head p{margin:8px 0 0;color:var(--muted);max-width:760px}
.md-account-box .woocommerce{width:100%}
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce .u-column1,
.woocommerce-account .woocommerce .u-column2{
  width:100%;
}
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:22px;
  box-shadow:var(--shadow);
}
.woocommerce-account .woocommerce .col2-set{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.woocommerce-account .woocommerce h2{
  font-size:clamp(24px,3vw,34px);
  line-height:1.15;
  margin:0 0 18px;
}
.woocommerce-account .woocommerce form .password-input,
.woocommerce-account .woocommerce form input.input-text,
.woocommerce-account .woocommerce form textarea,
.woocommerce-account .woocommerce form select{
  width:100%;
  min-height:48px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 14px;
}
.woocommerce-account .woocommerce .show-password-input,
.woocommerce-account .woocommerce .show-password-input::after{
  top:50%;
  transform:translateY(-50%);
}
.woocommerce-account .woocommerce .woocommerce-form-login__rememberme{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:12px;
}
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button{
  min-height:46px;
}

@media (max-width: 920px){
  .md-content-single > article > h1,
  .md-account-head h1,
  .md-woo-box > h1,
  .woocommerce-account .entry-title,
  .woocommerce-account .woocommerce h2,
  .md-download-summary h1,
  .md-section-head h1,
  .md-section-head h2{
    font-size:clamp(22px,6.2vw,32px) !important;
    line-height:1.18;
    word-break:break-word;
    overflow-wrap:anywhere;
  }
  .md-site-title{
    font-size:clamp(20px,7vw,30px);
    max-width:100%;
  }
  .woocommerce-account .woocommerce .col2-set{
    grid-template-columns:1fr;
    gap:16px;
  }
  .woocommerce-account .woocommerce form.login,
  .woocommerce-account .woocommerce form.register,
  .md-woo-box,
  .md-content-single article{
    padding:18px;
    border-radius:18px;
  }
}

@media (max-width: 640px){
  .md-account-head p{font-size:14px}
  .woocommerce-account .woocommerce form.login,
  .woocommerce-account .woocommerce form.register{
    padding:16px;
  }
  .woocommerce-account .woocommerce .woocommerce-form-login__rememberme{
    display:flex;
    margin:10px 0 0;
  }
  .woocommerce-account .woocommerce button.button,
  .woocommerce-account .woocommerce a.button{
    width:100%;
    justify-content:center;
  }
}


/* v4.0 header, homepage and buy-now refinements */
@media (max-width: 920px){
  .md-main-header-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;row-gap:12px}
  .md-logo-wrap{display:flex;align-items:center;min-width:0}
  .md-site-title{font-size:clamp(18px,6.8vw,28px);line-height:1.05;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .md-header-actions{gap:8px;flex-shrink:0}
  .md-search-desktop{grid-column:1 / -1;order:3;min-width:0;margin-top:2px}
  .md-search-form{width:100%;min-width:0;border-radius:18px}
  .md-search-field{min-width:0;font-size:16px;padding-right:12px}
  .md-search-submit{flex:0 0 128px;min-width:128px;padding:0 14px;font-size:16px}
}
@media (max-width: 640px){
  .md-main-header-row{padding:10px 0;gap:10px}
  .md-site-title{font-size:clamp(18px,6.4vw,24px)}
  .md-mobile-toggle,.md-header-action{width:40px;height:40px;padding:8px;border-radius:12px}
  .md-search-field{height:50px;padding-left:44px}
  .md-search-submit{height:50px;flex-basis:116px;min-width:116px}
}
.md-buy-now-button{width:100%;min-height:52px}
.md-single-product-preview{width:100%;min-height:52px}
.md-single-product-cta-row{grid-template-columns:1fr}


/* v6.2 product-card and category-heading refinements */
.md-home-categories .md-section-kicker{display:none}
.md-home-categories .md-section-head{margin-bottom:18px}

.md-product-actions{flex-shrink:0}
.md-product-actions.has-view-action{
  display:flex;
  width:auto;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart,
.md-product-actions.has-view-action .added_to_cart,
.md-product-actions.has-view-action .md-card-link{
  width:auto;
  min-width:96px;
  min-height:44px;
  padding:10px 16px;
  border-radius:12px;
  white-space:nowrap;
  line-height:1.15;
  text-align:center;
  justify-content:center;
}
.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart{
  min-width:112px;
}
.md-product-actions.has-view-action .md-card-link{
  background:#fff;
  border-color:#dbcfe0;
}

@media (max-width: 1160px){
  .md-product-actions.has-view-action .md-mini-button,
  .md-product-actions.has-view-action .add_to_cart_button,
  .md-product-actions.has-view-action .ajax_add_to_cart,
  .md-product-actions.has-view-action .added_to_cart,
  .md-product-actions.has-view-action .md-card-link{
    min-height:40px;
    padding:10px 14px;
    border-radius:10px;
    min-width:88px;
  }
  .md-product-actions.has-view-action .md-mini-button,
  .md-product-actions.has-view-action .add_to_cart_button,
  .md-product-actions.has-view-action .ajax_add_to_cart{
    min-width:104px;
  }
}

@media (max-width: 640px){
  .md-home-categories .md-section-head{margin-bottom:14px}
}

@media (max-width: 520px){
  .md-product-actions.has-view-action{
    display:grid;
    width:100%;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .md-product-actions.has-view-action .md-mini-button,
  .md-product-actions.has-view-action .add_to_cart_button,
  .md-product-actions.has-view-action .ajax_add_to_cart,
  .md-product-actions.has-view-action .added_to_cart,
  .md-product-actions.has-view-action .md-card-link{
    width:100%;
    min-width:0;
    min-height:38px;
    padding:9px 10px;
    border-radius:10px;
    font-size:12px;
  }
}


/* v6.3 compact cards and cleaner section headings */
.md-section-head .md-section-kicker{display:none}

.md-product-body{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.md-meta-chips{
  margin:0;
}

.md-product-title{
  margin:0;
}

.md-product-excerpt,
.md-product-meta-row,
.md-meta-chips .md-chip + .md-chip{
  display:none !important;
}

.md-product-footer{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px;
}

.md-price,
.md-download-price{
  line-height:1;
}

.md-product-actions,
.md-product-actions.has-view-action{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:8px;
  width:100%;
  min-width:0;
  justify-content:stretch;
}

.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart,
.md-product-actions.has-view-action .added_to_cart,
.md-product-actions.has-view-action .md-card-link,
.md-product-actions .md-mini-button,
.md-product-actions .add_to_cart_button,
.md-product-actions .ajax_add_to_cart,
.md-product-actions .added_to_cart,
.md-product-actions .md-card-link{
  width:100%;
  min-width:0;
  min-height:42px;
  padding:10px 12px;
  border-radius:10px;
  font-size:13px;
  line-height:1.2;
  text-align:center;
  white-space:normal;
  word-break:break-word;
}

.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart,
.md-product-actions .md-mini-button,
.md-product-actions .add_to_cart_button,
.md-product-actions .ajax_add_to_cart{
  background:var(--soft);
}

.md-product-actions.has-view-action .md-card-link,
.md-product-actions .md-card-link{
  background:#fff;
  border:1px solid #dbcfe0;
}

@media (max-width: 1160px){
  .md-product-body{gap:8px}
  .md-product-footer{grid-template-columns:1fr;align-items:stretch}
  .md-price,.md-download-price{font-size:clamp(20px,2.3vw,var(--product-price-size))}
}

@media (max-width: 640px){
  .md-product-card{border-radius:16px}
  .md-product-body{padding:12px;gap:8px}
  .md-product-title{font-size:clamp(13px,4vw,16px);line-height:1.35}
  .md-product-footer{gap:8px}
  .md-product-actions,
  .md-product-actions.has-view-action{gap:8px}
  .md-product-actions.has-view-action .md-mini-button,
  .md-product-actions.has-view-action .add_to_cart_button,
  .md-product-actions.has-view-action .ajax_add_to_cart,
  .md-product-actions.has-view-action .added_to_cart,
  .md-product-actions.has-view-action .md-card-link,
  .md-product-actions .md-mini-button,
  .md-product-actions .add_to_cart_button,
  .md-product-actions .ajax_add_to_cart,
  .md-product-actions .added_to_cart,
  .md-product-actions .md-card-link{
    min-height:38px;
    padding:9px 10px;
    font-size:12px;
  }
}


/* v6.4 quick-access spacing cleanup */
.md-home-categories{
  padding-top:18px;
  padding-bottom:18px;
}
.md-home-categories.is-titleless{
  padding-top:12px;
  padding-bottom:12px;
}
.md-home-categories.is-titleless .md-section-head{
  display:none;
  margin:0;
}
.md-home-categories .md-container{
  display:flex;
  flex-direction:column;
  gap:0;
}
.md-home-categories .md-category-grid{
  margin:0;
}
@media (max-width: 920px){
  .md-home-categories{
    padding-top:14px;
    padding-bottom:14px;
  }
  .md-home-categories.is-titleless{
    padding-top:10px;
    padding-bottom:10px;
  }
}
@media (max-width: 640px){
  .md-home-categories{
    padding-top:10px;
    padding-bottom:10px;
  }
  .md-home-categories.is-titleless{
    padding-top:6px;
    padding-bottom:8px;
  }
}


/* v6.6 homepage title section spacing */
.md-home-best-section,
.md-home-new-section{
  padding-top:18px;
}
.md-home-best-section .md-section-head,
.md-home-new-section .md-section-head{
  margin-bottom:14px;
}
@media (max-width: 920px){
  .md-home-best-section,
  .md-home-new-section{
    padding-top:14px;
  }
  .md-home-best-section .md-section-head,
  .md-home-new-section .md-section-head{
    margin-bottom:12px;
  }
}
@media (max-width: 640px){
  .md-home-best-section,
  .md-home-new-section{
    padding-top:10px;
  }
  .md-home-best-section .md-section-head,
  .md-home-new-section .md-section-head{
    margin-bottom:10px;
  }
}


/* Single product compact layout + preview CTA */
.md-single-product-grid{grid-template-columns:minmax(0,700px) 390px;gap:20px}
.md-single-product-primary{max-width:700px}
.md-single-product-media-card{padding:14px}
.md-single-product-thumb{aspect-ratio:1 / .94;max-height:720px}
.md-single-product-thumb img{width:100%;height:100%;object-fit:cover}
.md-single-product-summary{padding:24px}
.md-single-product-cta-row{grid-template-columns:1fr;gap:10px}
.md-single-product-cta-row .md-button,
.md-single-product-cta-row .single_add_to_cart_button,
.md-single-product-preview{width:100%;min-height:50px;border-radius:14px}
.md-single-product-preview{background:#fff;color:var(--accent);border:2px solid rgba(168,36,150,.28)}
.md-single-product-preview:hover{background:#fdf3fb;color:var(--accent-dark);border-color:rgba(168,36,150,.44)}
@media (max-width:1180px){
  .md-single-product-grid{grid-template-columns:minmax(0,1fr) 360px;gap:18px}
  .md-single-product-primary{max-width:none}
}
@media (max-width:920px){
  .md-single-product-grid{grid-template-columns:1fr}
  .md-single-product-media-card{padding:12px}
  .md-single-product-thumb{aspect-ratio:1 / .98;max-height:none}
  .md-single-product-summary{padding:20px}
}


/* v6.8 stability fixes */
.md-mobile-drawer[hidden],
.md-mobile-drawer[aria-hidden="true"],
.md-mobile-drawer:not(.is-open){display:none !important;visibility:hidden !important;opacity:0 !important;pointer-events:none !important}
.md-mobile-drawer.is-open{display:block !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important}
.md-download-grid.is-product-detail{grid-template-columns:minmax(0,1fr) 390px;gap:20px}
.md-single-product-media-card{max-width:760px}
.md-single-product-thumb{aspect-ratio:4/4.4}
.md-buy-row,.md-single-product-cta-row{display:grid;gap:10px}
.md-single-product-cta-row .md-button,
.md-single-product-cta-row .md-single-product-preview{width:100%;min-height:48px;border-radius:12px}
.md-single-product-preview{background:#fff;color:var(--accent-dark);border:1px solid rgba(159,32,137,.22)}
.md-product-actions,
.md-product-actions.has-view-action{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch;width:100%}
.md-product-actions .md-mini-button,
.md-product-actions .add_to_cart_button,
.md-product-actions .ajax_add_to_cart,
.md-product-actions .md-card-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 12px;border-radius:10px;white-space:nowrap;text-align:center}
.md-card-link{background:#fff;border:1px solid rgba(159,32,137,.24)}
.md-page-fallback-wrap > .md-section-head:first-child{margin-top:0}
@media (max-width: 920px){
  .md-download-grid.is-product-detail{grid-template-columns:1fr}
  .md-product-actions,
  .md-product-actions.has-view-action{grid-template-columns:1fr 1fr}
}
@media (max-width: 480px){
  .md-product-actions,
  .md-product-actions.has-view-action{grid-template-columns:1fr 1fr;gap:6px}
  .md-product-actions .md-mini-button,
  .md-product-actions .add_to_cart_button,
  .md-product-actions .ajax_add_to_cart,
  .md-product-actions .md-card-link{min-height:36px;padding:8px 8px;font-size:12px}
}


/* v6.9 card button + compact pricing fixes */
.md-meta-chips,
.md-meta-chips .md-chip,
.md-product-card .md-chip{display:none !important}

.md-product-body{
  gap:12px;
}

.md-product-footer{
  display:grid;
  grid-template-columns:1fr;
  align-items:stretch;
  gap:12px;
}

.md-card-price-row,
.md-price.md-card-price-row{
  display:block;
  width:100%;
}

.md-card-price-pair{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:end;
  gap:12px;
  width:100%;
}

.md-card-price-regular,
.md-card-price-pair del{
  margin:0;
  color:#7f6b87;
  font-size:clamp(18px,1.7vw,22px);
  font-weight:800;
  text-decoration-thickness:2px;
  text-align:left;
}

.md-card-price-sale,
.md-card-price-pair ins{
  margin:0;
  color:var(--accent-dark);
  font-size:clamp(22px,2vw,28px);
  font-weight:900;
  text-decoration:none;
  text-align:right;
}

.md-card-price-single{
  display:block;
  color:var(--accent-dark);
  font-size:clamp(22px,2vw,28px);
  font-weight:900;
  line-height:1.1;
}

.md-product-actions,
.md-product-actions.has-view-action{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%;
  gap:10px;
  align-items:stretch;
}

.md-product-actions .md-mini-button,
.md-product-actions .add_to_cart_button,
.md-product-actions .ajax_add_to_cart,
.md-product-actions .added_to_cart,
.md-product-actions .md-card-link,
.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart,
.md-product-actions.has-view-action .added_to_cart,
.md-product-actions.has-view-action .md-card-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:11px 12px;
  border-radius:10px;
  white-space:nowrap;
  word-break:normal;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
  font-size:14px;
  line-height:1.1;
  writing-mode:horizontal-tb !important;
}

.md-product-actions .md-mini-button,
.md-product-actions .add_to_cart_button,
.md-product-actions .ajax_add_to_cart,
.md-product-actions.has-view-action .md-mini-button,
.md-product-actions.has-view-action .add_to_cart_button,
.md-product-actions.has-view-action .ajax_add_to_cart{
  background:var(--soft);
  color:var(--accent-dark);
}

.md-product-actions .md-card-link,
.md-product-actions.has-view-action .md-card-link{
  background:#fff;
  border:1px solid #dbcfe0;
  color:var(--accent-dark);
}

@media (max-width: 991px){
  .md-card-price-pair{gap:10px}
  .md-card-price-regular,
  .md-card-price-pair del{font-size:18px}
  .md-card-price-sale,
  .md-card-price-pair ins,
  .md-card-price-single{font-size:22px}
}

@media (max-width: 640px){
  .md-product-body{padding:12px;gap:10px}
  .md-product-title{font-size:clamp(14px,4vw,18px);line-height:1.35}
  .md-card-price-pair{gap:8px}
  .md-card-price-regular,
  .md-card-price-pair del{font-size:16px}
  .md-card-price-sale,
  .md-card-price-pair ins,
  .md-card-price-single{font-size:20px}
  .md-product-actions,
  .md-product-actions.has-view-action{gap:8px}
  .md-product-actions .md-mini-button,
  .md-product-actions .add_to_cart_button,
  .md-product-actions .ajax_add_to_cart,
  .md-product-actions .added_to_cart,
  .md-product-actions .md-card-link,
  .md-product-actions.has-view-action .md-mini-button,
  .md-product-actions.has-view-action .add_to_cart_button,
  .md-product-actions.has-view-action .ajax_add_to_cart,
  .md-product-actions.has-view-action .added_to_cart,
  .md-product-actions.has-view-action .md-card-link{
    min-height:40px;
    padding:10px 8px;
    font-size:12px;
  }
}


/* v7.2 single product mobile CTA refinement */
.md-single-product-grid{grid-template-columns:minmax(0,640px) 420px;gap:18px}
.md-single-product-primary{max-width:640px}
.md-single-product-media-card{padding:12px}
.md-single-product-thumb{aspect-ratio:4/4.2;max-height:680px}
.md-single-product-summary{padding:22px}
.md-single-product-cta-row{display:grid;grid-template-columns:1fr;gap:12px}
.md-single-product-cta-row.has-preview{grid-template-columns:1fr 1fr}
.md-single-product-cta-row.no-preview > *{grid-column:1/-1}
.md-single-product-cta-row .md-button,
.md-single-product-cta-row .single_add_to_cart_button,
.md-single-product-cta-row .md-single-product-preview{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:12px 16px;border-radius:12px;font-size:16px;font-weight:700;line-height:1.2;text-align:center;white-space:nowrap}
.md-single-product-cta-row .md-buy-now-button{background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;border:0;box-shadow:0 12px 24px rgba(159,32,137,.18)}
.md-single-product-cta-row .md-single-product-preview{background:#fff;color:var(--accent-dark);border:1px solid rgba(159,32,137,.22);box-shadow:none}
.md-single-product-cta-row .md-single-product-preview:hover{background:#fcf2fb;color:var(--accent-dark);border-color:rgba(159,32,137,.4)}
@media (max-width:1180px){
  .md-single-product-grid{grid-template-columns:minmax(0,1fr) 390px;gap:18px}
  .md-single-product-primary{max-width:none}
}
@media (max-width:920px){
  .md-single-product-grid{grid-template-columns:1fr;gap:14px}
  .md-single-product-media-card{max-width:none;padding:10px}
  .md-single-product-thumb{aspect-ratio:1/1;max-height:none}
  .md-single-product-summary{padding:0;background:transparent;border:0;box-shadow:none}
  .md-single-product-cta-row{gap:10px}
  .md-single-product-cta-row.has-preview{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .md-single-product-page .md-section{padding-top:12px}
  .md-single-product-grid{gap:12px}
  .md-single-product-media-card{padding:8px;border-radius:16px}
  .md-single-product-thumb{border-radius:12px}
  .md-single-product-summary{padding:0}
  .md-single-product-shortdesc{font-size:14px;line-height:1.7}
  .md-single-product-cta-row.has-preview{grid-template-columns:1fr 1fr}
  .md-single-product-cta-row .md-button,
  .md-single-product-cta-row .single_add_to_cart_button,
  .md-single-product-cta-row .md-single-product-preview{min-height:50px;padding:12px 10px;border-radius:10px;font-size:15px}
}
@media (max-width:380px){
  .md-single-product-cta-row.has-preview{grid-template-columns:1fr 1fr}
  .md-single-product-cta-row .md-button,
  .md-single-product-cta-row .single_add_to_cart_button,
  .md-single-product-cta-row .md-single-product-preview{font-size:14px;padding:10px 8px}
}


/* v7.3 mobile single-product meta grid cleanup */
@media (max-width: 767px){
  .md-single-product-summary > .md-badge{display:none !important}
  .md-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px}
  .md-meta-grid div{min-height:112px;justify-content:flex-start}
  .md-meta-grid strong{margin-bottom:10px}
}
@media (max-width: 420px){
  .md-meta-grid{gap:10px}
  .md-meta-grid div{padding:12px;min-height:100px;border-radius:14px}
  .md-meta-grid strong{font-size:11px}
}


/* v7.4 live preview placement */
.md-single-product-cta-row.has-preview > .md-single-product-preview{grid-column:1}
.md-single-product-cta-row.has-preview > .md-buy-now-button,
.md-single-product-cta-row.has-preview > form,
.md-single-product-cta-row.has-preview > .button{grid-column:2}
.md-product-preview-card{padding:20px}
.md-product-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.md-product-preview-actions{width:min(100%,420px)}
.md-product-preview-image{margin-bottom:18px;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:#fff}
.md-product-preview-image img{display:block;width:100%;height:auto}
.md-product-preview-shortdesc{margin-bottom:12px}
@media (max-width: 767px){
  .md-product-preview-head{flex-direction:column;gap:14px}
  .md-product-preview-actions{width:100%}
}
