:root{--wf-green:#C8102E;--wf-green-dark:#9E0B23;--wf-green-soft:#FFF1F2;--wf-text:#2B2B2B;--wf-muted:#6b6b6b;--wf-border:#f1e4e6}
.wf-single-category,.wf-products-all,.wf-product-detail{width:100%;margin:0 auto;padding:5px 8px 30px;font-family:Arial,Helvetica,sans-serif;color:var(--wf-text)}
.wf-single-category{max-width:1240px}
.wf-products-all{max-width:1240px}
.wf-product-detail{max-width:1000px}
.wf-single-category *,.wf-products-all *,.wf-product-detail *{box-sizing:border-box}
.wf-single-category-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.wf-single-category-title{margin:0;color:var(--wf-green-dark);font-size:clamp(18px,2.5vw,24px);line-height:1.25;font-weight:800}
.wf-single-category-link{flex:0 0 auto;color:var(--wf-green);font-size:13px;font-weight:700;text-decoration:none!important;white-space:nowrap}
.wf-single-category-link:hover{color:#C9A24D}
.wf-single-products,.wf-products-all-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.wf-single-product,.wf-products-all-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid var(--wf-border);border-radius:17px;box-shadow:0 5px 18px rgba(200,16,46,.06);transition:transform .2s ease,box-shadow .2s ease}
.wf-single-product:hover,.wf-products-all-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(200,16,46,.12)}
.wf-single-product-image-link,.wf-products-all-image-link{display:block;position:relative;overflow:hidden;background:var(--wf-green-soft);aspect-ratio:1/1;text-decoration:none!important}
.wf-single-product-image,.wf-products-all-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.wf-single-product:hover .wf-single-product-image,.wf-products-all-card:hover .wf-products-all-image{transform:scale(1.025)}
.wf-single-product-content,.wf-products-all-content{display:flex;flex-direction:column;flex:1;padding:15px}
.wf-single-product-name,.wf-products-all-name{margin:0 0 6px;font-size:16px;line-height:1.35;font-weight:750}
.wf-single-product-name a,.wf-products-all-name a{color:var(--wf-text);text-decoration:none!important}
.wf-single-product-name a:hover,.wf-products-all-name a:hover{color:var(--wf-green)}
.wf-product-code{margin:0 0 7px;color:var(--wf-muted);font-size:11px;line-height:1.25;font-weight:700}
.wf-single-product-price,.wf-products-all-price{margin:0 0 15px;color:var(--wf-green);font-size:16px;line-height:1.3;font-weight:800}
.wf-single-product-buttons,.wf-products-all-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}
.wf-single-product-button,.wf-products-all-button{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px;border-radius:9px;font-size:11px;line-height:1.2;font-weight:700;text-align:center;text-decoration:none!important;transition:background .2s ease,border-color .2s ease}
.wf-single-detail,.wf-products-all-detail{border:1px solid var(--wf-green);background:var(--wf-green);color:#fff!important;box-shadow:0 6px 14px -6px rgba(200,16,46,.45)}
.wf-single-detail:hover,.wf-products-all-detail:hover{background:var(--wf-green-dark);border-color:var(--wf-green-dark);color:#fff!important}
.wf-single-whatsapp,.wf-products-all-whatsapp{border:1px solid #1FAF54;background:#1FAF54;color:#fff!important}
.wf-single-whatsapp:hover,.wf-products-all-whatsapp:hover{background:#17923F;border-color:#17923F}
.wf-swipe-indicator{display:none}
.wf-product-card{display:grid;grid-template-columns:42% 58%;width:100%;overflow:hidden;background:#fff;border:1px solid var(--wf-border);border-radius:18px;box-shadow:0 5px 20px rgba(200,16,46,.07)}
.wf-product-left{display:flex;flex-direction:column;min-width:0;background:#fff}
.wf-product-image-link{display:block;width:100%;overflow:hidden;background:var(--wf-green-soft);text-decoration:none!important;cursor:zoom-in}
.wf-product-image{display:block;width:100%;height:100%;min-height:330px;object-fit:cover;transition:transform .3s ease}
.wf-product-image-link:hover .wf-product-image{transform:scale(1.02)}
.wf-product-info{padding:20px}
.wf-product-name{margin:0 0 6px;font-size:22px;line-height:1.3;font-weight:800}
.wf-product-detail-code{margin:0 0 7px;color:var(--wf-muted);font-size:12px;line-height:1.3;font-weight:700}
.wf-product-price{margin:0 0 15px;color:var(--wf-green);font-size:20px;line-height:1.3;font-weight:800}
.wf-product-whatsapp{display:flex;align-items:center;justify-content:center;width:100%;min-height:43px;padding:9px 12px;border:1px solid #1FAF54;border-radius:9px;background:#1FAF54;color:#fff!important;font-size:13px;line-height:1.2;font-weight:700;text-align:center;text-decoration:none!important;transition:background .2s ease,transform .2s ease}
.wf-product-whatsapp:hover{background:#17923F;transform:translateY(-1px)}
.wf-product-description{min-width:0;padding:28px;background:#fff;border-left:1px solid var(--wf-border)}
.wf-description-title{margin:0 0 15px;color:var(--wf-green-dark);font-size:18px;line-height:1.3;font-weight:800}
.wf-description-text{margin:0;color:var(--wf-muted);font-size:14px;line-height:1.7;font-weight:700}
.wf-description-text p{margin:0 0 1.1em}.wf-description-text p:last-child{margin-bottom:0}
.wf-photo-lightbox{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;background:rgba(24,8,11,.94);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);opacity:0;visibility:hidden;pointer-events:none;z-index:999999;transition:opacity .28s ease,visibility .28s ease}
.wf-photo-lightbox.active{opacity:1;visibility:visible;pointer-events:auto}
.wf-photo-lightbox-image{display:block;width:auto;height:auto;max-width:92vw;max-height:88vh;object-fit:contain;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.55);transform:scale(.88);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
.wf-photo-lightbox.active .wf-photo-lightbox-image{transform:scale(1);opacity:1}
.wf-photo-lightbox-close{position:absolute;top:20px;right:22px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:29px;font-weight:300;line-height:1;cursor:pointer;z-index:2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .2s ease,transform .2s ease}
.wf-photo-lightbox-close:hover{background:rgba(255,255,255,.24);transform:rotate(90deg)}
.wf-photo-lightbox-hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);padding:7px 13px;border-radius:30px;background:rgba(255,255,255,.10);color:rgba(255,255,255,.75);font-size:11px;line-height:1.3;white-space:nowrap;pointer-events:none}
@media (min-width:601px) and (max-width:1100px){
.wf-single-products{display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 5px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wf-single-products::-webkit-scrollbar{display:none}
.wf-single-product{flex:0 0 calc((100% - 16px)/2);scroll-snap-align:start;border-radius:13px}
.wf-single-product:hover{transform:none}
.wf-swipe-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:11px;text-align:center}
.wf-swipe-dots{display:flex;align-items:center;justify-content:center;gap:5px;height:8px;margin-bottom:6px}
.wf-swipe-dot{width:6px;height:6px;border-radius:50%;background:#ecd5d9;transition:width .2s ease,background .2s ease}
.wf-swipe-dot.active{width:18px;border-radius:999px;background:var(--wf-green)}
.wf-swipe-text{color:#8a8a8a;font-size:10px;line-height:1.3;font-weight:600}
.wf-products-all-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wf-products-all-card{border-radius:13px}.wf-products-all-content{padding:10px}.wf-products-all-name{font-size:13px}.wf-products-all-price{font-size:13px;margin-bottom:10px}.wf-products-all-button{min-height:34px;padding:6px 3px;font-size:9px;border-radius:7px}
.wf-product-card{grid-template-columns:42% 58%;border-radius:15px}.wf-product-image{min-height:280px}.wf-product-info{padding:16px}.wf-product-name{font-size:18px}.wf-product-price{font-size:17px;margin-bottom:12px}.wf-product-whatsapp{min-height:39px;font-size:11px}.wf-product-description{padding:20px}.wf-description-title{font-size:16px;margin-bottom:12px}.wf-description-text{font-size:12px;line-height:1.6}
.wf-photo-lightbox{padding:20px}.wf-photo-lightbox-image{max-width:94vw;max-height:86vh}
}
@media (max-width:600px){
.wf-single-category,.wf-products-all,.wf-product-detail{padding-left:8px;padding-right:8px}
.wf-single-category-header{margin-bottom:13px}.wf-single-category-title{font-size:18px}.wf-single-category-link{font-size:11px}
.wf-single-products{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 5px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wf-single-products::-webkit-scrollbar{display:none}
.wf-single-product{flex:0 0 calc((100% - 10px)/2);scroll-snap-align:start;border-radius:13px;box-shadow:0 3px 12px rgba(200,16,46,.06)}
.wf-single-product:hover,.wf-products-all-card:hover{transform:none}
.wf-single-product-content,.wf-products-all-content{padding:9px}.wf-single-product-name,.wf-products-all-name{margin-bottom:5px;font-size:12px;line-height:1.3}.wf-product-code{font-size:9px;margin-bottom:5px}.wf-single-product-price,.wf-products-all-price{margin-bottom:10px;font-size:12px}.wf-single-product-button,.wf-products-all-button{min-height:31px;padding:5px 4px;border-radius:7px;font-size:9px}
.wf-swipe-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:11px;text-align:center}.wf-swipe-dots{display:flex;align-items:center;justify-content:center;gap:5px;height:8px;margin-bottom:6px}.wf-swipe-dot{width:6px;height:6px;border-radius:50%;background:#ecd5d9;transition:width .2s ease,background .2s ease}.wf-swipe-dot.active{width:18px;border-radius:999px;background:var(--wf-green)}.wf-swipe-text{color:#8a8a8a;font-size:9px;line-height:1.3;font-weight:600}
.wf-products-all-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wf-product-card{display:block;border-radius:14px}.wf-product-image{width:100%;height:auto;min-height:0;aspect-ratio:1/1;object-fit:cover}.wf-product-info{padding:15px}.wf-product-name{margin-bottom:6px;font-size:17px;line-height:1.3}.wf-product-detail-code{font-size:10px;margin-bottom:6px}.wf-product-price{margin-bottom:12px;font-size:15px}.wf-product-whatsapp{min-height:38px;padding:8px;border-radius:8px;font-size:10px}.wf-product-description{padding:17px;border-left:0;border-top:1px solid var(--wf-border)}.wf-description-title{margin-bottom:11px;font-size:16px}.wf-description-text{font-size:11px;line-height:1.6}
.wf-photo-lightbox{padding:12px;background:rgba(24,8,11,.95)}.wf-photo-lightbox-image{max-width:96vw;max-height:82vh;border-radius:9px}.wf-photo-lightbox-close{top:12px;right:12px;width:40px;height:40px;font-size:25px}.wf-photo-lightbox-hint{bottom:13px;font-size:10px}
}
@media(max-width:380px){
.wf-single-category,.wf-products-all,.wf-product-detail{padding-left:6px;padding-right:6px}.wf-single-products{gap:8px}.wf-single-product{flex-basis:calc((100% - 8px)/2)}.wf-single-product-content,.wf-products-all-content{padding:7px}.wf-single-product-name,.wf-products-all-name{font-size:11px}.wf-product-code{font-size:8px}.wf-single-product-price,.wf-products-all-price{font-size:11px;margin-bottom:9px}.wf-single-product-button,.wf-products-all-button{min-height:29px;font-size:8px}.wf-swipe-text{font-size:8px}.wf-product-info{padding:12px}.wf-product-name{font-size:15px}.wf-product-price{font-size:14px}.wf-product-whatsapp{min-height:35px;font-size:9px}.wf-product-description{padding:14px}.wf-description-title{font-size:15px}.wf-description-text{font-size:10px;line-height:1.55}
}

/* Related products: reuse the Tokoflorist product-card style */
.wf-related-products{clear:both;width:100%;max-width:1200px;margin:24px auto 10px;padding:12px 14px 22px;box-sizing:border-box;background:#fff;border-top:0;color:#2B2B2B}
.wf-related-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.wf-related-header h2{margin:0;font-size:clamp(18px,2vw,23px);line-height:1.3;font-weight:700;color:#2B2B2B}
.wf-related-header>a{flex:0 0 auto;color:var(--wf-green);font-size:13px;font-weight:700;text-decoration:none!important;transition:color .2s ease}
.wf-related-header>a:hover{color:#C9A24D}
.wf-related-slider{position:relative}
.wf-related-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/4);gap:20px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:2px 1px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.wf-related-track::-webkit-scrollbar{display:none}
.wf-related-track{cursor:grab;user-select:none;-webkit-user-select:none;touch-action:auto;will-change:scroll-position}
.wf-related-track.wf-related-is-grabbing{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.wf-related-track.wf-related-is-grabbing img{-webkit-user-drag:none;user-drag:none}
.wf-related-track.wf-related-is-grabbing a{cursor:grabbing}
.wf-related-track.wf-related-dragged{scroll-snap-type:x mandatory}
.wf-related-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;scroll-snap-align:start;text-align:left;background:#fff;border:1px solid #f1e4e6;border-radius:18px;box-shadow:0 4px 14px rgba(200,16,46,.06)}
.wf-related-image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;background:#fff8f9;overflow:hidden;text-decoration:none}
.wf-related-image img{display:block;width:100%;height:100%;object-fit:cover}
.wf-related-card-content{display:flex;flex:1;flex-direction:column;padding:14px 16px 16px}
.wf-related-card h3{font-size:16px;line-height:1.35;margin:0 0 5px;font-weight:700;color:#2B2B2B;text-align:left}
.wf-related-card h3 a{color:inherit;text-decoration:none}
.wf-related-code{font-size:12px;color:#6b6b6b;margin:0 0 7px;font-weight:500}
.wf-related-price{font-size:18px;color:#C8102E;font-weight:800;margin:0 0 15px}
.wf-related-buttons{display:flex;gap:8px;margin-top:auto}
.wf-related-button{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:42px;padding:8px 9px;box-sizing:border-box;border:1px solid #C8102E;border-radius:11px;font-size:12px;line-height:1.2;font-weight:700;text-align:center;text-decoration:none;white-space:nowrap}
.wf-related-detail{background:#C8102E;border-color:#C8102E;color:#fff}
.wf-related-detail:hover{background:#9E0B23;border-color:#9E0B23;color:#fff}
.wf-related-whatsapp{background:#1FAF54;border-color:#1FAF54;color:#fff}
.wf-related-whatsapp:hover{background:#17923F;border-color:#17923F;color:#fff}
.wf-related-controls{position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
/* Premium circular controls, matching the Tokoflorist category slider */
.wf-related-controls button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #C9A24D;border-radius:50%;background:rgba(200,16,46,.92);color:#fff;font-size:0;line-height:1;cursor:pointer;pointer-events:auto;box-shadow:0 4px 13px rgba(158,11,35,.25);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:background .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.wf-related-controls button::before{content:"";display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(225deg);margin-left:4px}
.wf-related-controls button:last-child::before{transform:rotate(45deg);margin-left:-4px}
.wf-related-controls button:first-child{transform:translateX(-11px)}
.wf-related-controls button:last-child{transform:translateX(11px)}
.wf-related-controls button:hover{background:#C9A24D;border-color:#C9A24D;color:#fff;box-shadow:0 6px 17px rgba(158,11,35,.3)}
.wf-related-controls button:first-child:hover{transform:translateX(-11px) scale(1.06)}
.wf-related-controls button:last-child:hover{transform:translateX(11px) scale(1.06)}
.wf-related-controls button:active{background:#9E0B23;transform:scale(.96)}
.wf-related-controls button:focus-visible{outline:3px solid rgba(201,162,77,.42);outline-offset:3px}
@media(max-width:900px){.wf-related-track{grid-auto-columns:calc((100% - 40px)/3);gap:20px}.wf-related-card-content{padding:12px}.wf-related-card h3{font-size:14px}.wf-related-price{font-size:16px}.wf-related-button{font-size:11px;min-height:39px;padding:7px 5px}}
@media(max-width:600px){.wf-related-products{margin-top:22px;padding:15px 10px 18px}.wf-related-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px}.wf-related-card{border-radius:14px}.wf-related-image{aspect-ratio:1/1}.wf-related-card-content{padding:10px 9px 11px}.wf-related-card h3{font-size:13px}.wf-related-code{font-size:10px}.wf-related-price{font-size:14px;margin-bottom:11px}.wf-related-buttons{gap:5px}.wf-related-button{font-size:10px;min-height:35px;padding:6px 4px;border-radius:8px}.wf-related-controls button{flex-basis:36px;width:36px;height:36px}.wf-related-controls button::before{width:8px;height:8px}.wf-related-controls button:first-child{transform:translateX(-4px)}.wf-related-controls button:last-child{transform:translateX(4px)}.wf-related-controls button:first-child:hover{transform:translateX(-4px) scale(1.05)}.wf-related-controls button:last-child:hover{transform:translateX(4px) scale(1.05)}}

/* v1.0.9: improve native touch scrolling and keep action labels inside compact cards */
.wf-related-track{touch-action:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.wf-related-track img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.wf-related-button{overflow-wrap:anywhere;word-break:normal;white-space:normal;overflow:hidden}
.wf-related-buttons{width:100%;min-width:0}
.wf-related-button:focus-visible{outline:2px solid #C9A24D;outline-offset:2px}
@media(max-width:600px){
 .wf-related-buttons{gap:5px}
 .wf-related-button{font-size:clamp(9px,2.6vw,10px);padding:6px 3px;letter-spacing:-.1px;min-width:0}
 .wf-related-whatsapp{white-space:normal;line-height:1.15}
 .wf-related-controls{touch-action:pan-y}
}


/* v1.1.0: stabilize related-product track on mobile Safari and prevent blank track areas */
.wf-related-slider{width:100%;min-width:0;max-width:100%;overflow:visible}
.wf-related-track{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch;
  width:100%;min-width:0;max-width:100%;
  gap:20px;
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y pinch-zoom;
  padding:2px 1px 8px;
}
.wf-related-card{flex:0 0 calc((100% - 60px)/4);width:calc((100% - 60px)/4);min-width:0;max-width:calc((100% - 60px)/4);scroll-snap-align:start}
.wf-related-track.wf-related-is-grabbing{scroll-snap-type:none;scroll-behavior:auto}
@media(max-width:900px){
 .wf-related-track{gap:20px}
 .wf-related-card{flex-basis:calc((100% - 40px)/3);width:calc((100% - 40px)/3);max-width:calc((100% - 40px)/3)}
}
@media(max-width:600px){
 .wf-related-products{width:100%;max-width:100%;min-width:0;overflow:hidden}
 .wf-related-slider{width:100%;min-width:0;max-width:100%}
 .wf-related-track{gap:12px;scroll-snap-type:x proximity;scroll-padding-inline:1px}
 .wf-related-card{flex-basis:calc((100% - 12px)/2);width:calc((100% - 12px)/2);max-width:calc((100% - 12px)/2)}
 .wf-related-card-content{min-width:0}
 .wf-related-buttons{display:flex;gap:5px;width:100%;min-width:0}
 .wf-related-button{flex:1 1 0;width:0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;font-size:clamp(8px,2.45vw,10px);line-height:1.15;padding:6px 2px}
 .wf-related-controls{inset:0;pointer-events:none}
 .wf-related-controls button{pointer-events:auto}
}

/* v1.1.3: hapus garis bawah pada semua tautan kartu produk & rekomendasi (menimpa gaya tema) */
.wf-related-products a,
.wf-related-products a:hover,
.wf-related-products a:focus,
.wf-related-products a:visited,
.wf-related-card h3 a,
.wf-related-button,
.wf-single-category a,
.wf-products-all a,
.wf-product-detail a{text-decoration:none!important;border-bottom:0!important;box-shadow:none}
.wf-related-card h3 a:hover{color:#C8102E}
.wf-related-detail,.wf-related-detail:hover,.wf-related-detail:focus,
.wf-related-whatsapp,.wf-related-whatsapp:hover,.wf-related-whatsapp:focus{color:#fff!important}
