/* METTA PIC — Shop / product-card / header / footer final polish */
:root{
  --mp-page:#fbfbfb;
  --mp-white:#fff;
  --mp-black:#0b0b0b;
  --mp-gray:#707070;
  --mp-line:#e9e9e9;
  --mp-card-radius:22px;
}
html,body{background:#fbfbfb!important;color:var(--mp-black)!important;font-family:'Estedad',system-ui,-apple-system,sans-serif!important}
body,.site,.site-main,#main-content,.woocommerce{background:#fbfbfb!important}
*,*:before,*:after{box-sizing:border-box}

/* Shop page rhythm */
body.woocommerce-shop #main-content,
body.post-type-archive-product #main-content{overflow:clip}
body.woocommerce-shop .page-hero,
body.post-type-archive-product .page-hero{padding:126px 0 54px;background:#0b0b0b;color:#fff}
body.woocommerce-shop .page-hero .container,
body.post-type-archive-product .page-hero .container{max-width:1240px}
body.woocommerce-shop .page-hero h1,
body.post-type-archive-product .page-hero h1{margin:7px 0 10px;font-size:clamp(34px,3.5vw,52px);line-height:1.2;font-weight:900;letter-spacing:-.035em}
body.woocommerce-shop .page-hero p,
body.post-type-archive-product .page-hero p{max-width:620px;margin:0;font-size:clamp(11px,1vw,14px);line-height:2;color:#bdbdbd}
body.woocommerce-shop .section,
body.post-type-archive-product .section{padding:52px 0 90px}

/* Header — quiet, clean, consistent */
.site-header{font-family:'Estedad',system-ui,-apple-system,sans-serif!important}
.site-header .header-inner{min-height:76px;height:76px;display:flex;align-items:center}
.site-header .brand strong{font-size:16px;line-height:1.2;font-weight:900}
.site-header .brand small{font-size:9px;line-height:1.5}
.site-header .desktop-nav{gap:27px}
.site-header .desktop-nav>a,
.site-header .nav-dropdown>a{font-size:11px;font-weight:800;line-height:1.2}
.site-header .header-actions{gap:7px}
.site-header .header-icon,.site-header .header-cart{width:40px;height:40px;border-radius:12px}
.site-header .header-icon svg,.site-header .header-cart svg{width:18px;height:18px}
.site-header .mp-cart-count{font-size:8px;min-width:16px;height:16px}

/* Product cards — one measured system everywhere */
.mp-products-grid,.products-grid,.product-grid-shop,.woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.mp-product-card,
.woocommerce ul.products li.product{
  height:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #e7e7e7!important;
  border-radius:var(--mp-card-radius)!important;
  box-shadow:0 2px 10px rgba(0,0,0,.022)!important;
}
.mp-product-card:hover{border-color:#d8d8d8!important;box-shadow:0 3px 12px rgba(0,0,0,.032)!important}
.mp-product-media{
  position:relative!important;
  flex:0 0 auto!important;
  width:auto!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  margin:10px 10px 0!important;
  padding:10px!important;
  border:1px solid #ededed!important;
  border-radius:18px!important;
  background:#f7f7f5!important;
  overflow:hidden!important;
}
.mp-product-media>a{display:block!important;width:100%!important;height:100%!important}
.mp-product-media img{
  width:100%!important;height:100%!important;display:block!important;
  object-fit:contain!important;object-position:center!important;
  padding:5px!important;margin:0!important;border-radius:14px!important;background:#fff!important;
}
.mp-product-id{top:9px!important;right:11px!important;font-size:8px!important;color:#777!important;z-index:5}
.mp-product-badge{left:10px!important;top:10px!important;font-size:8px!important;padding:4px 8px!important;background:#fff!important;color:#111!important;border:1px solid #dedede!important;box-shadow:none!important}
.mp-wishlist{right:10px!important;top:48px!important;width:36px!important;height:36px!important;border:1px solid #d8d8d8!important;background:#fff!important;color:#111!important;box-shadow:0 1px 5px rgba(0,0,0,.025)!important}
.mp-wishlist:hover{background:#111!important;color:#fff!important;border-color:#111!important}
.mp-product-body{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-width:0!important;padding:13px 13px 12px!important;background:#fff!important}
.mp-product-title-link h3,.mp-product-body h3{font-size:13px!important;line-height:1.65!important;min-height:42px!important;margin:0!important;font-weight:900!important;color:#111!important;text-align:right!important}
.mp-product-excerpt{font-size:9px!important;line-height:1.75!important;min-height:31px!important;margin:4px 0 0!important;color:#777!important}
.mp-product-rating{margin-top:7px!important;font-size:8px!important;color:#777!important}
.mp-stars{font-size:10px!important;color:#111!important}
.mp-product-bottom{margin-top:auto!important;padding-top:11px!important;border-top:1px solid #ededed!important;display:flex!important;direction:ltr!important;align-items:center!important;justify-content:space-between!important;gap:9px!important}
.mp-product-price{direction:rtl!important;align-items:flex-start!important;text-align:left!important}
.mp-old-price{font-size:8px!important;color:#999!important}
.mp-product-price strong{font-size:21px!important;line-height:1.2!important;font-weight:950!important;color:#111!important}
.mp-product-price small{font-size:7px!important;color:#888!important;margin-top:2px!important}
.mp-add-cart{
  width:46px!important;height:46px!important;min-width:46px!important;
  border-radius:50%!important;border:1px solid #111!important;
  background:#111!important;color:#fff!important;
  box-shadow:inset 0 2px 5px rgba(255,255,255,.09),inset 0 -3px 7px rgba(0,0,0,.25)!important;
}
.mp-add-cart svg{width:20px!important;height:20px!important;stroke-width:1.7!important}
.mp-add-cart:hover{background:#fff!important;color:#111!important}
.mp-details-btn{min-height:35px!important;margin-top:9px!important;border-radius:11px!important;background:#fff!important;border:1px solid #dedede!important;color:#111!important;font-size:9px!important;font-weight:850!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.04)!important}

/* Footer */
.site-footer{font-family:'Estedad',system-ui,-apple-system,sans-serif!important;background:#0b0b0b!important;color:#fff!important}
.site-footer .footer-main{max-width:1240px;padding:64px 0 42px;display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:42px}
.site-footer .footer-brand p{max-width:430px;font-size:10px;line-height:2.1;color:#aaa}
.site-footer .footer-col{display:flex;flex-direction:column;gap:9px}
.site-footer .footer-col h3{margin:0 0 5px;font-size:11px;color:#fff;font-weight:900}
.site-footer .footer-col a,.site-footer .footer-col span{font-size:9px;line-height:1.8;color:#aaa;text-decoration:none}
.site-footer .footer-col a:hover{color:#fff}
.site-footer .footer-bottom{border-top:1px solid rgba(255,255,255,.09)}
.site-footer .footer-bottom .container{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-footer .footer-bottom span{font-size:8px;color:#888}

/* Tablet */
@media (min-width:768px) and (max-width:1199px){
  .mp-products-grid,.products-grid,.product-grid-shop,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
  .site-header .desktop-nav{gap:17px}.site-header .desktop-nav>a,.site-header .nav-dropdown>a{font-size:10px}
  .site-footer .footer-main{grid-template-columns:1.5fr 1fr 1fr;gap:28px;padding-left:24px;padding-right:24px}.site-footer .footer-brand{grid-column:1/-1}
}
/* Phone */
@media (max-width:767px){
  .site-header .header-inner{height:64px;min-height:64px}
  .site-header .brand strong{font-size:14px}.site-header .brand small{font-size:7px}
  .site-header .header-icon,.site-header .header-cart{width:36px;height:36px;border-radius:11px}
  body.woocommerce-shop .page-hero,body.post-type-archive-product .page-hero{padding:98px 0 38px}
  body.woocommerce-shop .page-hero h1,body.post-type-archive-product .page-hero h1{font-size:30px}
  body.woocommerce-shop .page-hero p,body.post-type-archive-product .page-hero p{font-size:10px;line-height:1.95}
  body.woocommerce-shop .section,body.post-type-archive-product .section{padding:32px 0 70px}
  .mp-products-grid,.products-grid,.product-grid-shop,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .mp-product-card{border-radius:18px!important}
  .mp-product-media{margin:7px 7px 0!important;padding:7px!important;border-radius:15px!important}
  .mp-product-media img{border-radius:11px!important;padding:4px!important}
  .mp-wishlist{top:43px!important;right:7px!important;width:31px!important;height:31px!important}
  .mp-wishlist svg{width:15px!important;height:15px!important}
  .mp-product-id{font-size:7px!important;top:7px!important;right:8px!important}
  .mp-product-badge{font-size:7px!important;top:7px!important;left:7px!important;padding:3px 6px!important}
  .mp-product-body{padding:9px!important}
  .mp-product-title-link h3,.mp-product-body h3{font-size:10px!important;line-height:1.6!important;min-height:34px!important}
  .mp-product-excerpt{font-size:7px!important;line-height:1.7!important;min-height:24px!important}
  .mp-product-rating{font-size:7px!important;margin-top:5px!important}.mp-stars{font-size:8px!important}
  .mp-product-bottom{gap:5px!important;padding-top:8px!important}
  .mp-old-price{font-size:6.5px!important}.mp-product-price strong{font-size:14px!important}.mp-product-price small{font-size:6px!important}
  .mp-add-cart{width:37px!important;height:37px!important;min-width:37px!important}.mp-add-cart svg{width:16px!important;height:16px!important}
  .mp-details-btn{min-height:31px!important;margin-top:7px!important;border-radius:10px!important;font-size:7.5px!important}
  .site-footer .footer-main{grid-template-columns:1fr 1fr;gap:26px;padding:45px 18px 30px}
  .site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-brand p{font-size:9px}.site-footer .footer-col h3{font-size:10px}.site-footer .footer-col a,.site-footer .footer-col span{font-size:8px}
  .site-footer .footer-bottom .container{padding:12px 18px;min-height:auto;flex-direction:column;align-items:flex-start;gap:5px}.site-footer .footer-bottom span{font-size:7px}
}
/* Large screens */
@media (min-width:1440px){
  .mp-products-grid,.products-grid,.product-grid-shop,.woocommerce ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:20px!important}
  .site-header .header-inner,.site-footer .footer-main{max-width:1380px}
}
@media (min-width:1920px){.mp-products-grid,.products-grid,.product-grid-shop,.woocommerce ul.products{gap:22px!important}.mp-product-title-link h3,.mp-product-body h3{font-size:14px!important}.mp-product-price strong{font-size:22px!important}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
