/* SAFWA BERANDA PREMIUM 1.1.0
   Fix only the Safwa fashion draft (#sfwa-premium) and the plugin's own shortcode.
   !important is intentional: the original draft embeds object-fit:cover in a late <style> block.
*/
#sfwa-premium .sfwa-frames img,
.editor-styles-wrapper #sfwa-premium .sfwa-frames img,
#sfwa-premium .sfwa-editorial img,
.editor-styles-wrapper #sfwa-premium .sfwa-editorial img,
#sfwa-premium .sfwa-category img,
.editor-styles-wrapper #sfwa-premium .sfwa-category img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #f6f4f2 !important;
}
#sfwa-premium .sfwa-frames img,
.editor-styles-wrapper #sfwa-premium .sfwa-frames img {
  padding: 4px !important;
  vertical-align: middle !important;
}
#sfwa-premium .sfwa-editorial img,
.editor-styles-wrapper #sfwa-premium .sfwa-editorial img {
  padding: 4px !important;
  vertical-align: middle !important;
}
#sfwa-premium .sfwa-category img,
.editor-styles-wrapper #sfwa-premium .sfwa-category img {
  padding: 3px !important;
}
/* Make portrait editorial pictures reliably visible in three columns on phones. */
@media (max-width:767px) {
  #sfwa-premium .sfwa-editorial img,
  .editor-styles-wrapper #sfwa-premium .sfwa-editorial img {
    height: 275px !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  #sfwa-premium .sfwa-frames img,
  .editor-styles-wrapper #sfwa-premium .sfwa-frames img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 2px !important;
  }
}
/* Optional [safwa_beranda_premium] full landing page */
.sfp-landing{font-family:Arial,Helvetica,sans-serif;color:#161616;background:#fff;width:100%;max-width:1400px;margin:0 auto;line-height:1.5;}
.sfp-landing,.sfp-landing *{box-sizing:border-box}
.sfp-landing a{text-decoration:none;color:inherit}
.sfp-landing img{max-width:100%;height:auto;display:block}
.sfp-landing .sfp-announcement{height:56px;background:#090909;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;letter-spacing:2px;font-size:12px;padding:10px}
.sfp-landing .sfp-header{display:flex;align-items:center;gap:15px;min-height:83px;background:#fff;padding:8px max(15px,calc((100% - 1180px)/2));border-bottom:1px solid #eee}
.sfp-landing .sfp-menu{font-size:30px;line-height:1;padding:6px}
.sfp-landing .sfp-brand{display:flex;align-items:center;gap:10px;min-width:0;margin-right:auto}
.sfp-landing .sfp-brand img{width:53px;height:53px;object-fit:contain;border-radius:50%;border:1px solid #ddd;background:#101010}
.sfp-landing .sfp-brand span{font:normal 24px Georgia,'Times New Roman',serif;white-space:nowrap}
.sfp-landing .sfp-quicknav{display:flex;gap:13px;align-items:center}
.sfp-landing .sfp-quicknav a{padding:6px;display:flex;align-items:center}
.sfp-landing .sfp-quicknav svg{width:24px;height:24px}
.sfp-landing .sfp-hero{background:radial-gradient(ellipse at top,#5e5b68 0%,#27252e 72%);position:relative;overflow:hidden;min-height:450px;display:flex;align-items:flex-end;justify-content:center}
.sfp-landing .sfp-hero-copy{position:absolute;z-index:2;top:20px;left:18%;right:18%;text-align:center;color:#fff;text-shadow:0 2px 3px rgba(0,0,0,.6)}
.sfp-landing .sfp-hero-copy>span{font-size:12px;letter-spacing:3px}
.sfp-landing .sfp-hero-copy h1{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(33px,5vw,66px);font-weight:400;line-height:1.13;letter-spacing:1px;margin:9px 0 4px;padding:0}
.sfp-landing .sfp-hero-copy p{font-size:13px;letter-spacing:2px;margin:4px 0}
.sfp-landing .sfp-hero-btn{display:inline-block;margin-top:9px;background:#fff;color:#25212b;padding:9px 18px;font-size:11px;text-shadow:none;letter-spacing:1px}
.sfp-landing .sfp-photo-row{display:grid;grid-template-columns:24% 17% 17% 17% 24%;gap:.5%;align-items:end;width:97%;padding-bottom:18px}
.sfp-landing .sfp-photo{height:268px;border:1px solid rgba(255,255,255,.7);border-radius:5px;overflow:hidden;background:#f8f6f3;display:flex;align-items:center;justify-content:center;padding:4px}
.sfp-landing .sfp-photo:first-child,.sfp-landing .sfp-photo:last-child{height:316px}
.sfp-landing .sfp-photo img{width:100%;height:100%;object-fit:contain!important;object-position:center center!important}
.sfp-landing .sfp-img-empty{width:100%;height:100%;background:#ebe3df}
.sfp-landing .sfp-features{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;max-width:1200px;margin:0 auto;padding:40px 14px;text-align:center}
.sfp-landing .sfp-feature{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.sfp-landing .sfp-feature b{font-size:11px;letter-spacing:.4px;margin-top:9px}
.sfp-landing .sfp-feature small{font-size:10px;line-height:1.3;max-width:170px;color:#777;margin-top:7px}
.sfp-landing .sfp-serif{font:normal 38px/1.2 Georgia,'Times New Roman',serif;text-align:center;color:#111}
.sfp-landing .sfp-display-heading{margin:17px 8px 30px}
.sfp-landing .sfp-editorial{display:grid;grid-template-columns:1fr 1fr 1fr;min-height:385px;max-width:1200px;margin:0 auto;background:#f8f7f6}
.sfp-landing .sfp-editorial-photo{height:390px;padding:6px;background:#f8f6f3;display:flex;justify-content:center;align-items:center}
.sfp-landing .sfp-editorial-photo img{width:100%;height:100%;object-fit:contain!important;object-position:center center!important}
.sfp-landing .sfp-editorial-text{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px}
.sfp-landing .sfp-editorial-text h3{font:normal 36px/1.15 Georgia,'Times New Roman',serif;margin:0}
.sfp-landing .sfp-editorial-text p{font-size:12px;color:#666;line-height:1.7}
.sfp-landing .sfp-editorial-text a{display:inline-block;border:1px solid #252525;padding:10px 15px;font-size:11px;margin-top:15px}
.sfp-landing .sfp-lower{max-width:1200px;margin:44px auto;padding:0 20px}
.sfp-landing .sfp-lower>h2{margin:0 0 4px}
.sfp-landing .sfp-lower>p{text-align:center;font-size:12px;color:#777;margin:0 0 25px}
.sfp-landing .sfp-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.sfp-landing .sfp-category{text-align:center}
.sfp-landing .sfp-category img{display:block;width:100%;height:auto;aspect-ratio:5 / 3;object-fit:contain!important;background:#f8f6f3}
.sfp-landing .sfp-category span{display:block;text-transform:uppercase;font-size:12px;letter-spacing:.4px;padding:11px 3px}
.sfp-landing .sfp-search{background:#f9f7f5;padding:24px 18px}
.sfp-landing .sfp-search form{display:flex;max-width:650px;margin:0 auto;background:#fff;border:1px solid #aaa}
.sfp-landing .sfp-search input{flex:1;min-width:0;padding:13px;border:0;background:#fff;color:#111;font-size:14px}
.sfp-landing .sfp-search button{border:0;background:#161616;color:#fff;padding:0 24px;font-size:13px;cursor:pointer}
.sfp-landing .sfp-products ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.sfp-landing .sfp-products ul.products li.product{width:auto!important;float:none!important;clear:none!important;margin:0!important}
.sfp-landing .sfp-products ul.products li.product img{object-fit:contain!important;background:#f8f6f3}
.sfp-landing .sfp-footer{background:#f5f2ee;text-align:center;padding:28px 15px;font-size:12px;letter-spacing:1px}
.sfp-landing .sfp-footer p{margin:10px 0 0}
@media(max-width:767px){
.sfp-landing .sfp-announcement{height:50px;font-size:10px;letter-spacing:1.4px}
.sfp-landing .sfp-header{min-height:72px;gap:5px;padding:7px 12px}
.sfp-landing .sfp-menu{font-size:27px;padding:3px}
.sfp-landing .sfp-brand{gap:6px}
.sfp-landing .sfp-brand img{width:43px;height:43px}
.sfp-landing .sfp-brand span{font-size:clamp(13px,3.7vw,20px)}
.sfp-landing .sfp-quicknav{gap:0}
.sfp-landing .sfp-quicknav a{padding:4px}
.sfp-landing .sfp-quicknav svg{width:20px;height:20px}
.sfp-landing .sfp-hero{min-height:310px}
.sfp-landing .sfp-hero-copy{left:10%;right:10%;top:20px}
.sfp-landing .sfp-hero-copy>span{font-size:9px}
.sfp-landing .sfp-hero-copy h1{font-size:32px;margin:6px 0}
.sfp-landing .sfp-hero-copy p{font-size:10px}
.sfp-landing .sfp-hero-btn{font-size:9px;padding:7px 12px;margin-top:6px}
.sfp-landing .sfp-photo-row{padding-bottom:13px}
.sfp-landing .sfp-photo{height:128px;padding:2px;border-radius:3px}
.sfp-landing .sfp-photo:first-child,.sfp-landing .sfp-photo:last-child{height:184px}
.sfp-landing .sfp-features{gap:6px;padding:30px 9px}
.sfp-landing .sfp-feature svg{width:29px;height:29px}
.sfp-landing .sfp-feature b{font-size:8px}
.sfp-landing .sfp-feature small{font-size:7px}
.sfp-landing .sfp-serif{font-size:27px}
.sfp-landing .sfp-display-heading{margin:15px 7px 22px}
.sfp-landing .sfp-editorial{min-height:0}
.sfp-landing .sfp-editorial-photo{height:288px;padding:3px}
.sfp-landing .sfp-editorial-text{padding:5px}
.sfp-landing .sfp-editorial-text h3{font-size:19px}
.sfp-landing .sfp-editorial-text p{font-size:9px;line-height:1.4}
.sfp-landing .sfp-editorial-text a{font-size:9px;padding:7px 8px;margin-top:7px}
.sfp-landing .sfp-lower{padding:0 12px;margin:34px auto}
.sfp-landing .sfp-category-grid{grid-template-columns:repeat(2,1fr);gap:11px}
.sfp-landing .sfp-category span{font-size:10px}
.sfp-landing .sfp-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:370px){.sfp-landing .sfp-brand span{font-size:12px}.sfp-landing .sfp-header{padding:7px 5px}}

/* Slider 1.1.0: uses five complete photos per slide; no thumbnail cropping. */
.sfp-landing .sfp-slider{background:radial-gradient(ellipse at top,#5e5b68 0%,#27252e 72%);position:relative;overflow:hidden;width:100%;height:520px;isolation:isolate}
.sfp-landing .sfp-slides{height:100%;width:100%;position:relative}
.sfp-landing .sfp-slide{display:flex;flex-direction:column;align-items:center;justify-content:space-between;height:100%;width:100%;padding:25px 46px 46px;animation:sfp-fade .4s ease both}
.sfp-landing .sfp-slide[hidden]{display:none!important}
@keyframes sfp-fade{from{opacity:.15}to{opacity:1}}
.sfp-landing .sfp-slide-copy{position:relative;z-index:2;text-align:center;color:#fff;width:100%;flex:0 0 153px;text-shadow:0 2px 3px rgba(0,0,0,.4)}
.sfp-landing .sfp-slide-copy span{font-size:12px;letter-spacing:2.5px;text-transform:uppercase}
.sfp-landing .sfp-slide-copy h1,.sfp-landing .sfp-slide-copy h2{color:#fff!important;font:normal clamp(29px,4vw,60px)/1.13 Georgia,'Times New Roman',serif!important;margin:6px 0!important;padding:0!important;letter-spacing:.5px}
.sfp-landing .sfp-slide-copy p{font-size:13px;letter-spacing:1px;margin:6px 0}
.sfp-landing .sfp-slide-copy .sfp-hero-btn{display:inline-block;background:#fff;color:#28252e;font-size:11px;letter-spacing:1px;text-shadow:none;padding:7px 15px;margin-top:6px}
.sfp-landing .sfp-slider .sfp-photo-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:end;width:100%;height:280px;padding:0;flex:1;max-width:1170px}
.sfp-landing .sfp-slider .sfp-photo{display:flex;justify-content:center;align-items:center;height:96%;padding:5px;background:#f8f6f3;border:1px solid rgba(255,255,255,.9);border-radius:4px;overflow:hidden;min-width:0}
.sfp-landing .sfp-slider .sfp-photo:first-child,.sfp-landing .sfp-slider .sfp-photo:last-child{height:100%}
.sfp-landing .sfp-slider .sfp-photo img{width:100%;height:100%;max-width:100%;object-fit:contain!important;object-position:center center!important}
.sfp-landing .sfp-slider .sfp-arrow{position:absolute;z-index:3;top:48%;transform:translateY(-50%);width:36px;height:46px;border:0;border-radius:3px;background:rgba(0,0,0,.32);color:white;font-size:21px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.sfp-landing .sfp-slider .sfp-prev{left:4px}.sfp-landing .sfp-slider .sfp-next{right:4px}
.sfp-landing .sfp-slider .sfp-dots{display:flex;align-items:center;justify-content:center;gap:9px;position:absolute;bottom:15px;left:0;right:0;z-index:4}
.sfp-landing .sfp-slider .sfp-dot{width:9px;height:9px;border-radius:50%;border:1px solid #fff;background:transparent;cursor:pointer;display:block;padding:0}
.sfp-landing .sfp-slider .sfp-dot.is-active{background:#fff}
.sfp-landing .sfp-slider button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:767px){
.sfp-landing .sfp-slider{height:355px}
.sfp-landing .sfp-slide{padding:20px 19px 34px}
.sfp-landing .sfp-slide-copy{flex:0 0 133px}
.sfp-landing .sfp-slide-copy span{font-size:9px;letter-spacing:2px}
.sfp-landing .sfp-slide-copy h1,.sfp-landing .sfp-slide-copy h2{font-size:clamp(25px,7vw,34px)!important;line-height:1.1!important;margin:4px 0!important}
.sfp-landing .sfp-slide-copy p{font-size:11px;margin:4px 0}
.sfp-landing .sfp-slide-copy .sfp-hero-btn{font-size:9px;margin-top:4px;padding:6px 11px}
.sfp-landing .sfp-slider .sfp-photo-row{height:170px;gap:3px;grid-template-columns:repeat(5,minmax(0,1fr))}
.sfp-landing .sfp-slider .sfp-photo,.sfp-landing .sfp-slider .sfp-photo:first-child,.sfp-landing .sfp-slider .sfp-photo:last-child{height:100%;padding:2px}
.sfp-landing .sfp-slider .sfp-arrow{width:24px;height:34px;font-size:16px;top:55%}
.sfp-landing .sfp-slider .sfp-dots{bottom:12px}
.sfp-landing .sfp-slider .sfp-dot{width:8px;height:8px}
}
@media(prefers-reduced-motion:reduce){.sfp-landing .sfp-slide{animation:none}}

/* v1.2.0 — Premium category cards, scoped to the Safwa landing only.
   Do not alter stock, product pages, WooCommerce catalog, checkout, or slider.
   Images use CONTAIN so all existing banner artwork remains visible.
*/
.sfp-landing .sfp-category-section{
  padding:42px 34px 46px;
  max-width:1240px;
  margin-top:45px;
  margin-bottom:45px;
  background:linear-gradient(160deg,#fbf9f5 0%,#f8f5ee 100%);
  border:1px solid #e9dfcf;
}
.sfp-landing .sfp-section-intro{text-align:center;margin:0 auto 34px}
.sfp-landing .sfp-section-intro .sfp-overline{
  display:flex;align-items:center;justify-content:center;gap:12px;
  letter-spacing:3px;color:#8a7051;font-size:10px;font-weight:700;
  margin-bottom:12px;
}
.sfp-landing .sfp-section-intro .sfp-overline span{
  width:23px;height:1px;background:#bba37b;display:inline-block;
}
.sfp-landing .sfp-section-intro h2{
  font:normal clamp(29px,3.1vw,43px)/1.2 Georgia,'Times New Roman',serif;
  color:#2b2522;letter-spacing:.25px;margin:0 0 8px;
}
.sfp-landing .sfp-section-intro p{
  margin:0;color:#847c71;font-size:13px;letter-spacing:.1px;
}
.sfp-landing .sfp-category-section .sfp-category-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
}
.sfp-landing .sfp-category-section .sfp-category{
  display:block;min-width:0;overflow:hidden;text-align:left;
  border:1px solid #e1d5c5;border-radius:12px;
  background:#fffdf9;
  box-shadow:0 3px 10px rgba(67,39,24,.045);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.sfp-landing .sfp-category-section .sfp-category:hover,
.sfp-landing .sfp-category-section .sfp-category:focus-visible{
  transform:translateY(-3px);border-color:#baa17c;
  box-shadow:0 11px 24px rgba(67,39,24,.10);
  outline-offset:3px;
}
.sfp-landing .sfp-category-section .sfp-category-media{
  position:relative;display:flex;align-items:center;justify-content:center;
  aspect-ratio: 5 / 3;background:#f7f1e8;
  padding:6px;border-bottom:1px solid #eee3d5;
  overflow:hidden;
}
.sfp-landing .sfp-category-section .sfp-category-media img{
  display:block;width:100%;height:100%;max-width:100%;
  aspect-ratio:auto;object-fit:contain!important;object-position:center center!important;
  background:transparent!important;border-radius:6px;
}
.sfp-landing .sfp-category-section .sfp-category-number{
  position:absolute;top:10px;left:10px;
  padding:5px 7px;background:rgba(255,252,246,.93);
  color:#93744f;border:1px solid #dfd0b9;border-radius:4px;
  font:600 10px/1 Arial,sans-serif;letter-spacing:1px;
}
.sfp-landing .sfp-category-section .sfp-category-details{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;min-height:98px;padding:13px 13px 14px 15px;
}
.sfp-landing .sfp-category-section .sfp-category-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}
.sfp-landing .sfp-category-section .sfp-category-eyebrow{
  display:block;padding:0;font:600 8px/1.3 Arial,sans-serif;
  color:#b39b7c;letter-spacing:1.4px;text-transform:uppercase;
}
.sfp-landing .sfp-category-section .sfp-category-name{
  display:block;padding:0;text-transform:none;
  font:normal 17px/1.2 Georgia,'Times New Roman',serif;
  color:#30251f;letter-spacing:0;
}
.sfp-landing .sfp-category-section .sfp-category-arabic{
  display:block;padding:0;text-transform:none;
  font:normal 12px/1.4 Tahoma,Arial,sans-serif;
  color:#7b6c61;text-align:left;direction:rtl;unicode-bidi:isolate;
  align-self:flex-start;
}
.sfp-landing .sfp-category-section .sfp-category-arrow{
  flex:0 0 30px;width:30px;height:30px;border:1px solid #c9b394;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#8f6c45;font:normal 17px/1 Arial,sans-serif;
  transition:background .2s ease,color .2s ease;
}
.sfp-landing .sfp-category-section .sfp-category:hover .sfp-category-arrow{
  background:#8f6c45;color:white;
}
.sfp-landing .sfp-categories-footnote{
  text-align:center;margin-top:27px;font:600 10px/1.5 Arial,sans-serif;
  letter-spacing:2px;color:#978672;
}
.sfp-landing .sfp-categories-footnote span{margin:0 5px}
@media(max-width:1000px){
 .sfp-landing .sfp-category-section .sfp-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:767px){
 .sfp-landing .sfp-category-section{
   padding:27px 12px 30px;
   margin:32px 8px;
   border-radius:2px;
 }
 .sfp-landing .sfp-section-intro{margin-bottom:25px}
 .sfp-landing .sfp-section-intro .sfp-overline{font-size:9px;letter-spacing:2px;margin-bottom:9px}
 .sfp-landing .sfp-section-intro h2{font-size:clamp(25px,7vw,34px)}
 .sfp-landing .sfp-section-intro p{font-size:11px}
 .sfp-landing .sfp-category-section .sfp-category-grid{gap:12px}
 .sfp-landing .sfp-category-section .sfp-category{border-radius:10px}
 .sfp-landing .sfp-category-section .sfp-category-media{padding:4px;aspect-ratio:5 / 3}
 .sfp-landing .sfp-category-section .sfp-category-number{top:7px;left:7px;font-size:9px;padding:4px 5px}
 .sfp-landing .sfp-category-section .sfp-category-details{min-height:83px;padding:10px 7px 10px 10px;gap:4px}
 .sfp-landing .sfp-category-section .sfp-category-name{font-size:clamp(12px,3.6vw,16px)}
 .sfp-landing .sfp-category-section .sfp-category-eyebrow{font-size:7px;letter-spacing:.8px}
 .sfp-landing .sfp-category-section .sfp-category-arabic{font-size:10px}
 .sfp-landing .sfp-category-section .sfp-category-arrow{width:23px;height:23px;flex-basis:23px;font-size:13px}
 .sfp-landing .sfp-categories-footnote{font-size:9px;letter-spacing:1.2px;margin-top:22px}
}
@media(max-width:350px){
 .sfp-landing .sfp-category-section{padding:20px 8px}
 .sfp-landing .sfp-category-section .sfp-category-grid{gap:8px}
 .sfp-landing .sfp-category-section .sfp-category-details{padding:8px 5px 8px 7px}
}
@media(prefers-reduced-motion:reduce){
 .sfp-landing .sfp-category-section .sfp-category,
 .sfp-landing .sfp-category-section .sfp-category-arrow{transition:none}
}

/* v1.3.0 - Softer category artwork and deliberately compact boutique cards.
 * Applies ONLY to shortcode's Shop By Category section, not slider/product pages.
 * Asset is unchanged; gentle website-only color blending makes burgundy posters
 * warm taupe and cream to better match the site's beige header.
 */
.sfp-landing .sfp-category-section {
  max-width:1060px;
  margin-top:30px;
  margin-bottom:34px;
  padding:30px 26px 32px;
  background:#fbf9f5;
  border-color:#e9e1d5;
}
.sfp-landing .sfp-section-intro {margin-bottom:23px}
.sfp-landing .sfp-section-intro h2 {font-size:clamp(26px,2.8vw,36px)}
.sfp-landing .sfp-section-intro p {font-size:12px}
.sfp-landing .sfp-category-section .sfp-category-grid {gap:13px}
.sfp-landing .sfp-category-section .sfp-category {
  background:#fffcf8;
  border:1px solid #e4d9ca;
  border-radius:10px;
  box-shadow:0 2px 7px rgba(71,54,33,.04);
}
.sfp-landing .sfp-category-section .sfp-category-media {
  aspect-ratio: 2.12 / 1;
  background-color:#dfd0be;
  padding:4px;
  overflow:hidden;
  border-bottom:1px solid #e8ddd0;
}
.sfp-landing .sfp-category-section .sfp-category-media img {
  width:100%; height:100%;
  object-fit:contain!important;
  mix-blend-mode:luminosity;
  filter:brightness(1.04) contrast(.96);
  border-radius:5px;
  background-color:transparent!important;
}
.sfp-landing .sfp-category-section .sfp-category-number {display:none!important}
.sfp-landing .sfp-category-section .sfp-category-details {
  min-height:66px;
  padding:9px 10px 10px 11px;
  gap:5px;
  direction:ltr;
}
.sfp-landing .sfp-category-section .sfp-category-copy {gap:2px}
.sfp-landing .sfp-category-section .sfp-category-eyebrow {font-size:7px;letter-spacing:1px;color:#ac977a}
.sfp-landing .sfp-category-section .sfp-category-name {font-size:16px;line-height:1.16}
.sfp-landing .sfp-category-section .sfp-category-arabic {font-size:10px;color:#8b7d6d}
.sfp-landing .sfp-category-section .sfp-category-arrow {
  flex:0 0 24px;width:24px;height:24px;
  font-size:12px;color:#8d755a;border-color:#c7b59c;
}
.sfp-landing .sfp-categories-footnote {margin-top:19px;font-size:9px}
@media(max-width:767px) {
  .sfp-landing .sfp-category-section {
    margin:21px 5px 23px;
    padding:20px 10px 22px;
  }
  .sfp-landing .sfp-section-intro {margin-bottom:18px}
  .sfp-landing .sfp-section-intro h2 {font-size:25px;margin-bottom:5px}
  .sfp-landing .sfp-section-intro p {font-size:10px}
  .sfp-landing .sfp-category-section .sfp-category-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sfp-landing .sfp-category-section .sfp-category {border-radius:9px}
  .sfp-landing .sfp-category-section .sfp-category-media {aspect-ratio:2.12 / 1;padding:3px}
  .sfp-landing .sfp-category-section .sfp-category-details {min-height:55px;padding:8px 7px 9px 8px;gap:4px}
  .sfp-landing .sfp-category-section .sfp-category-eyebrow {display:none!important}
  .sfp-landing .sfp-category-section .sfp-category-name {font-size:clamp(12px,3.45vw,15px)}
  .sfp-landing .sfp-category-section .sfp-category-arabic {font-size:9px}
  .sfp-landing .sfp-category-section .sfp-category-arrow {flex-basis:20px;width:20px;height:20px;font-size:11px}
  .sfp-landing .sfp-categories-footnote {font-size:8px;margin-top:15px}
}

/* v1.4.0 — Approved Safwa Malabis cream + chocolate boutique category artwork.
   Each card remains a separate, clickable real product category.
   Desktop uses full horizontal boutique banners, narrow screens use art + real,
   legible HTML titles instead of shrinking the text embedded in the artwork. */
.sfp-landing .sfp-category-section {
  background:#fffaf5!important;
  border:1px solid #e8d6c3!important;
  max-width:1130px;
  padding:34px 26px 35px;
}
.sfp-landing .sfp-category-section .sfp-category-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:15px 18px!important;
}
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique {
  display:block!important;
  padding:0!important;
  background:#fff8f1!important;
  border:1px solid #cda888!important;
  border-radius:7px!important;
  box-shadow:0 3px 12px rgba(100,63,40,.09)!important;
  overflow:hidden!important;
  transition:transform .18s ease,box-shadow .18s ease;
  color:#492818!important;
}
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique:hover,
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique:focus-visible {
  transform:translateY(-2px);box-shadow:0 6px 20px rgba(100,63,40,.15)!important;
}
.sfp-landing .sfp-category-section .sfp-boutique-banner {
  display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:561 / 221;object-fit:fill!important;
  filter:none!important;mix-blend-mode:normal!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
}
.sfp-landing .sfp-category-section .sfp-boutique-mobile {display:none!important}
.sfp-landing .sfp-section-intro h2{color:#572d1d}
.sfp-landing .sfp-categories-footnote{color:#8a5e41}
@media(max-width:767px) {
  .sfp-landing .sfp-category-section{margin:16px 3px 27px;padding:18px 9px 23px}
  .sfp-landing .sfp-category-section .sfp-category-grid {gap:10px!important}
  .sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique {border-radius:9px!important}
  .sfp-landing .sfp-category-section .sfp-boutique-banner {display:none!important}
  .sfp-landing .sfp-category-section .sfp-boutique-mobile {
    display:flex!important;flex-direction:column!important;
    background:#fffaf6!important;min-width:0;
  }
  .sfp-landing .sfp-category-section .sfp-boutique-art {
    display:block!important;width:100%!important;height:auto!important;
    aspect-ratio:1.55 / 1!important;object-fit:cover!important;object-position:center 47%!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
    filter:none!important;mix-blend-mode:normal!important;
    background:#edd4be;
  }
  .sfp-landing .sfp-category-section .sfp-boutique-labels {
    display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;
    padding:8px 11px 10px;position:relative;min-height:63px;gap:2px;
    background:#fff9f2;
  }
  .sfp-landing .sfp-category-section .sfp-boutique-title {
    font-family:Georgia,'Times New Roman',serif!important;
    color:#4b281c!important;font-size:clamp(13px,3.6vw,17px)!important;
    line-height:1.18!important;font-weight:500!important;padding-right:7px;
  }
  .sfp-landing .sfp-category-section .sfp-boutique-arabic {
    color:#835a45!important;font-size:clamp(10px,2.8vw,12px)!important;
    align-self:flex-start!important;text-align:left!important;line-height:1.3!important;
  }
  .sfp-landing .sfp-category-section .sfp-boutique-arrow {
    display:flex;align-items:center;justify-content:center;
    position:absolute;right:8px;top:50%;transform:translateY(-50%);
    width:22px;height:22px;border-radius:50%;background:#75432d;color:#fff;
    font-size:21px;line-height:1;
  }
}
@media(prefers-reduced-motion:reduce){.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique{transition:none}}


/* v1.5.0 | Safwa Malabis approved monochrome. Scoped to plugin layout only.
 * Product photos are NOT filtered and remain fully colored, object-fit:contain.
 * Category illustration thumbnails (not merchandise photos) are rendered gray.
 */
.sfp-landing{color:#383838!important;background:#fff!important}
.sfp-landing .sfp-announcement{background:#444!important;color:#fff!important}
.sfp-landing .sfp-header{background:#fff!important;border-color:#e3e3e3!important}
.sfp-landing .sfp-brand img{width:64px!important;height:56px!important;object-fit:contain!important;background:#fff!important;border:0!important;border-radius:0!important;filter:none!important}
.sfp-landing .sfp-brand span{color:#3c3c3c!important}
.sfp-landing .sfp-slider,.sfp-landing .sfp-hero{background:#404040!important;background-image:none!important;color:#fff!important}
.sfp-landing .sfp-slider .sfp-photo{background:#f8f8f8!important;border-color:#f0f0f0!important}
.sfp-landing .sfp-slider .sfp-photo img,.sfp-landing .sfp-editorial-photo img,.sfp-landing .sfp-products li.product img{filter:none!important;mix-blend-mode:normal!important;object-fit:contain!important}
.sfp-landing .sfp-slider .sfp-hero-btn{background:#fff!important;color:#333!important}
.sfp-landing .sfp-slider .sfp-arrow{background:rgba(31,31,31,.78)!important;color:#fff!important}
.sfp-landing .sfp-feature svg{color:#414141!important}
.sfp-landing .sfp-editorial,.sfp-landing .sfp-search{background:#f5f5f5!important}
.sfp-landing .sfp-category-section{background:#f5f5f5!important;border:1px solid #dfdfdf!important}
.sfp-landing .sfp-section-intro h2{color:#414141!important}
.sfp-landing .sfp-section-intro .sfp-overline,.sfp-landing .sfp-section-intro p,.sfp-landing .sfp-categories-footnote{color:#666!important}
.sfp-landing .sfp-section-intro .sfp-overline span{background:#888!important}
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique{background:#fff!important;border:1px solid #d6d6d6!important;box-shadow:0 3px 12px rgba(50,50,50,.08)!important;color:#3c3c3c!important}
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique:hover{border-color:#888!important}
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique .sfp-boutique-art,
.sfp-landing .sfp-category-section .sfp-category.sfp-category-boutique .sfp-boutique-banner{filter:grayscale(1)!important;mix-blend-mode:normal!important}
.sfp-landing .sfp-category-section .sfp-boutique-mobile{background:#f5f5f5!important}
.sfp-landing .sfp-category-section .sfp-boutique-title,.sfp-landing .sfp-category-section .sfp-boutique-arabic{color:#414141!important}
.sfp-landing .sfp-search button{background:#444!important;color:#fff!important}
.sfp-landing .sfp-footer{background:#ebebeb!important;color:#444!important}
/* When shortcoded on existing front page, retain per-category shelves but remove duplicate header and category shortcut tiles. */
body.page-id-13:has(#safwa-beranda-plugin) .sfwa-new-hero,
body.home:has(#safwa-beranda-plugin) .sfwa-new-hero{display:none!important}
body.page-id-13:has(#safwa-beranda-plugin) .sfwa-cat-showcase > h2,
body.home:has(#safwa-beranda-plugin) .sfwa-cat-showcase > h2,
body.page-id-13:has(#safwa-beranda-plugin) .sfwa-cat-showcase > p,
body.home:has(#safwa-beranda-plugin) .sfwa-cat-showcase > p,
body.page-id-13:has(#safwa-beranda-plugin) .sfwa-category-tiles,
body.home:has(#safwa-beranda-plugin) .sfwa-category-tiles{display:none!important}
/* Hide mixed 'Just Arrived' section; per-category shelves continue below. */
body.page-id-13:has(#safwa-beranda-plugin) .sfp-products,
body.home:has(#safwa-beranda-plugin) .sfp-products{display:none!important}
@media(max-width:767px){
  .sfp-landing .sfp-brand img{width:48px!important;height:44px!important}
  .sfp-landing .sfp-category-section{padding:21px 10px!important}
  .sfp-landing .sfp-slider .sfp-photo{background:#fff!important}
}


/* v1.5.1 | Compact category banners on mobile */

@media(max-width:767px){
  #safwa-beranda-plugin .sfp-category-section{
    margin:10px 2px 18px!important;
    padding:12px 6px 14px!important;
    background:#fff!important;
    border:0!important;
  }
  #safwa-beranda-plugin .sfp-section-intro{margin-bottom:12px!important;}
  #safwa-beranda-plugin .sfp-section-intro h2{font-size:20px!important;line-height:1.15!important;margin-bottom:4px!important;}
  #safwa-beranda-plugin .sfp-section-intro p{font-size:10px!important;}
  #safwa-beranda-plugin .sfp-category-grid{gap:8px!important;}
  #safwa-beranda-plugin .sfp-category.sfp-category-boutique{border-radius:8px!important;box-shadow:0 2px 8px rgba(50,50,50,.06)!important;}
  #safwa-beranda-plugin .sfp-boutique-mobile{background:#fff!important;}
  #safwa-beranda-plugin .sfp-boutique-art{
    aspect-ratio:2.05 / 1!important;
    object-fit:cover!important;
    object-position:center 44%!important;
    background:#efefef!important;
  }
  #safwa-beranda-plugin .sfp-boutique-labels{
    min-height:44px!important;
    padding:6px 28px 7px 7px!important;
    gap:1px!important;
    background:#fafafa!important;
  }
  #safwa-beranda-plugin .sfp-boutique-title{
    font-size:clamp(10px,3.1vw,13px)!important;
    line-height:1.08!important;
    padding-right:0!important;
  }
  #safwa-beranda-plugin .sfp-boutique-arabic{
    font-size:clamp(8px,2.4vw,10px)!important;
    line-height:1.15!important;
  }
  #safwa-beranda-plugin .sfp-boutique-arrow{
    right:6px!important;
    width:18px!important;
    height:18px!important;
    font-size:16px!important;
  }
  #safwa-beranda-plugin .sfp-categories-footnote{display:none!important;}
}

@media(min-width:768px){
  #safwa-beranda-plugin .sfp-category-grid{gap:12px 14px!important;}
  #safwa-beranda-plugin .sfp-category-section{padding:24px 18px 24px!important;}
  #safwa-beranda-plugin .sfp-boutique-banner{max-height:170px!important;object-fit:cover!important;}
}
