/* White product canvases and balanced purchase columns. */
.yc-buy .yc-buy-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,2.5vw,32px);margin-top:32px;background:transparent}
.yc-buy .yc-buy-gallery{min-width:0;background:var(--yc-surface);padding:24px;top:calc(var(--header-height,56px) + 88px)}
.yc-buy .yc-buy-info{min-width:0;padding:24px 32px 40px}
.yc-buy .yc-gallery-stage{position:relative;background:var(--yc-surface);border-radius:8px;overflow:hidden}
.yc-buy .yc-gallery-track{background:var(--yc-surface);cursor:grab;overscroll-behavior-x:contain}
.yc-buy .yc-gallery-track.is-dragging{scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing;user-select:none}
.yc-buy .yc-gallery-track>div{aspect-ratio:1;min-height:0;padding:60px 48px 100px;background:var(--yc-surface);overflow:hidden}
.yc-buy .yc-gallery-track a{height:100%;display:flex;align-items:center;justify-content:center}
.yc-buy .yc-gallery-track img{width:100%;height:100%;max-height:100%;object-fit:contain;user-select:none}
.yc-online-badge{position:absolute;top:12px;left:12px;display:inline-flex;gap:6px;align-items:center;padding:7px 10px;border-radius:4px;color:var(--yc-primary);background:var(--yc-primary-soft);font-size:12px;line-height:1.3;font-weight:500;pointer-events:none}
.yc-online-badge .micon{font-size:15px}
.yc-gallery-installment{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);display:flex;align-items:center;gap:12px;padding:11px 16px;background:var(--yc-surface);border:1px solid var(--yc-border-soft);border-radius:8px;box-shadow:0 4px 18px color-mix(in srgb,var(--yc-shadow-color) 3.14%,transparent);cursor:pointer;text-align:left;white-space:nowrap}
.yc-gallery-installment>.micon:first-child{font-size:24px;color:var(--yc-icon-color)}
.yc-gallery-installment>.micon:last-child{font-size:14px;color:var(--yc-icon-color)}
.yc-gallery-installment span{display:grid;gap:3px}
.yc-gallery-installment strong{font-size:14px;font-weight:600;color:var(--yc-primary)}
.yc-gallery-installment small{font-size:11px;color:var(--yc-muted)}
.yc-gallery-installment:hover{border-color:var(--yc-primary)}
.yc-gallery-progress{text-align:center;color:var(--yc-text-soft);font-size:11px;letter-spacing:2px;margin:10px 0}
.yc-buy .yc-gallery-thumbs{margin:8px 0 0;padding:4px;flex-wrap:nowrap;overflow:auto;justify-content:center}
.yc-buy .yc-gallery-thumbs button{flex:0 0 58px;width:58px;height:58px;padding:5px;border:1px solid var(--yc-border-soft);opacity:1;border-radius:6px}
.yc-buy .yc-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
.yc-buy .yc-gallery-thumbs button.on{border-color:var(--yc-primary);outline:1px solid var(--yc-primary);outline-offset:0}
.yc-gallery-prev:disabled,.yc-gallery-next:disabled{opacity:.25;cursor:default}
.yc-buy-info>.yc-taksit-sample{margin:10px 0 20px;padding:0;border:0}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-btn{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;grid-template-rows:auto;gap:10px;min-height:54px;padding:10px 14px;border:1px solid var(--yc-border-soft);border-radius:6px;background:var(--yc-surface-alt)}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-btn:hover{border-color:var(--yc-border);background:var(--yc-surface)}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-icon{width:28px;height:28px;background:transparent}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-copy{text-align:center}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-copy strong{font-weight:500;font-size:13px}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-toggle{grid-column:auto;justify-content:center;border:0;padding:0;background:transparent}
.yc-buy-info>.yc-taksit-sample .yc-taksit-sample-toggle em{display:none}
.yc-buy-info .yc-offer-deposit-above-cart{margin:16px 0 12px;background:var(--yc-primary-soft);color:var(--yc-text);border:1px solid var(--yc-primary-border);padding:12px 14px;min-height:46px}
.yc-buy-info .yc-offer-deposit-above-cart strong{color:var(--yc-primary);font-size:17px}
.yc-buy-info .yc-offer-deposit-above-cart .micon{color:var(--yc-icon-color)}
.yc-buy-info .yc-cart-row{margin-top:0}
/* Catalog uses real WooCommerce review scores. */
.yc-card{background:var(--yc-surface);border:1px solid var(--yc-border-soft);border-radius:8px;min-width:0;overflow:hidden}
.yc-card-media{position:relative;isolation:isolate;background:var(--yc-surface);padding:5px;flex-shrink:0;overflow:visible}
.yc-card-media img{
  position:relative;z-index:0;display:block;width:100%;height:100%;object-fit:contain;
  border-radius:var(--yc-radius-sm,6px);background:var(--yc-surface);
}
.yc-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:14px 18px 20px;text-align:left;min-width:0}
.yc-card-brand{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:var(--yc-card-brand-size,10px);font-weight:500;letter-spacing:.4px;color:var(--yc-text-soft);margin-bottom:6px}
.yc-card-brand a{display:inline-flex;align-items:center;gap:4px;max-width:100%;color:inherit;text-decoration:none}
.yc-card-brand a:hover{color:var(--yc-text)}
.yc-card-brand.is-verified{font-weight:600;color:var(--yc-text)}
.yc-brand-verified,.yc-card-brand svg.yc-brand-verified{flex:0 0 12px;width:12px;height:12px;display:block}
.yc-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yc-card .yc-card-price{justify-content:flex-start;text-align:left;margin-left:0;margin-top:auto;padding-top:14px;white-space:normal;width:100%}
.yc-card-price strong,.yc-card-price .amount{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:6px;font-size:16px;font-weight:var(--yc-card-price-weight,700)}
.yc-card-price del{order:0;font-size:11px}
.yc-card-price ins{order:1;text-decoration:none}
.yc-card-rating{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 2px;font-size:10px;color:var(--yc-muted)}
.yc-rating-squares{display:inline-flex;gap:2px}
.yc-rating-squares>span{display:grid;place-items:center;width:17px;height:17px;background:linear-gradient(to right,var(--yc-success) var(--fill),var(--yc-surface-alt) var(--fill));color:var(--yc-inverse-text);font-size:14px;line-height:1}
/* Compact photo input; the native label opens it once. */
.yc-review-upload{width:100%;max-width:460px;margin:12px auto}
.yc-review-form .yc-upload-drop{min-height:64px;padding:10px 12px;display:grid;grid-template-columns:24px auto;column-gap:10px;row-gap:2px;justify-content:center;align-content:center;text-align:left;border-radius:6px}
.yc-upload-drop>.micon{grid-row:1/3;align-self:center;font-size:22px}
.yc-upload-drop small{grid-column:2}
.yc-review-upload:focus-within .yc-upload-drop{outline:2px solid var(--yc-primary);outline-offset:2px}
.yc-upload-preview{justify-content:center}
.yc-upload-status{text-align:center;font-size:11px;color:var(--yc-muted);margin:6px 0}
.yc-upload-item{position:relative}
.yc-upload-item button{position:absolute;top:-5px;right:-5px;width:22px;height:22px;padding:0;display:grid;place-items:center;border:1px solid var(--yc-border);border-radius:50%;background:var(--yc-surface);cursor:pointer;font-size:17px}
/* The horizontal header links remain independent from this full-screen menu. */
html.yc-menu-open,html.yc-menu-open body{overflow:hidden;overscroll-behavior:none}
.yc-mobile-menu{padding:0;border:0;margin:0;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;background:var(--yc-surface);color:var(--yc-text);overflow:hidden}
.yc-mobile-menu[open]{display:flex;flex-direction:column}
.yc-mobile-menu::backdrop{background:var(--yc-surface)}
.yc-mobile-menu-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 12px;padding-top:max(16px,env(safe-area-inset-top));flex-shrink:0}
.yc-mobile-menu-head strong{font-size:22px;font-weight:600}
.yc-mobile-menu-head button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--yc-surface-alt);cursor:pointer;font-size:20px}
.yc-mobile-menu-tabs{display:grid;grid-template-columns:1fr 1fr;padding:0 20px;border-bottom:1px solid var(--yc-border-soft);flex-shrink:0}
.yc-mobile-menu-tabs button{position:relative;padding:16px 4px;background:none;border:0;font-size:14px;color:var(--yc-text-soft);cursor:pointer}
.yc-mobile-menu-tabs button[aria-selected=true]{color:var(--yc-text);font-weight:600}
.yc-mobile-menu-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:0;left:16px;right:16px;height:2px;background:var(--yc-primary)}
.yc-mobile-menu-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:10px 20px max(24px,env(safe-area-inset-bottom));flex:1}
.yc-mobile-menu-links a{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid var(--yc-border-soft);font-size:15px}
.yc-mobile-menu-links a span{color:var(--yc-text-soft)}
.yc-mobile-corporate-list{list-style:none;margin:0;padding:0}
.yc-mobile-corporate-list .sub-menu{padding-left:16px;list-style:none}
.yc-mobile-menu-label{font-size:12px;color:var(--yc-text-soft);margin:24px 0 12px}
.yc-mobile-collections{display:grid;grid-template-columns:1fr 1fr;gap:10px}
/* Mobile menu — electronics store: reviews first, bold icon tiles for categories and collections. */
.yc-mobile-menu-head strong{font-size:24px;font-weight:700;letter-spacing:-.4px}
.yc-mobile-reviews-hero{display:flex;align-items:center;gap:10px;flex-shrink:0;margin:2px 16px 10px;padding:10px 12px;border:1px solid var(--yc-border-soft);border-radius:12px;background:var(--yc-surface-alt);color:var(--yc-text);box-shadow:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
.yc-mobile-reviews-hero:is(:hover,:focus,:focus-visible,:active){background:var(--yc-surface-alt);border-color:var(--yc-border);color:var(--yc-text);box-shadow:none}
.yc-mobile-reviews-hero:focus-visible{outline:2px solid var(--yc-primary-border);outline-offset:2px}
.yc-mobile-reviews-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:var(--yc-icon-bg);color:var(--yc-icon-color)}
.yc-mobile-reviews-icon .micon{font-size:19px;color:inherit}
.yc-mobile-reviews-hero>span:nth-child(2){display:grid;gap:2px;flex:1;min-width:0}
.yc-mobile-reviews-hero strong{font-size:14px;font-weight:650;color:inherit}
.yc-mobile-reviews-hero small{font-size:11px;line-height:1.35;color:var(--yc-muted);opacity:1}
.yc-mobile-reviews-arrow{font-size:14px;color:var(--yc-text-soft)}
.yc-mobile-menu-tabs button{font-size:15px;font-weight:600;color:var(--yc-text-soft)}
.yc-mobile-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}
.yc-mobile-category-head>strong{font-size:12px;font-weight:650;color:var(--yc-text)}
.yc-mobile-category-head>a{display:inline-flex;align-items:center;gap:5px;color:var(--yc-link-color);font-size:10px;font-weight:600}
.yc-mobile-category-head>a small{color:var(--yc-muted);font-size:9px}
.yc-mobile-category-head>a>.micon{font-size:12px;color:var(--yc-icon-color)}
.yc-mobile-category-list{display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--yc-border-soft)}
.yc-mobile-category-list a,.yc-mobile-category-item>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:48px;padding:10px 2px;border:0;border-bottom:1px solid var(--yc-border-soft);background:transparent;color:var(--yc-text);font:inherit;font-size:14px;font-weight:550;line-height:1.35;text-align:left;text-decoration:none;cursor:pointer}
.yc-mobile-category-item>summary{list-style:none}
.yc-mobile-category-item>summary::-webkit-details-marker{display:none}
.yc-mobile-category-item>summary>.micon,.yc-mobile-category-link>.micon{flex:0 0 16px;color:var(--yc-text-soft);font-size:15px;transition:transform .18s ease,color .18s ease}
.yc-mobile-category-item[open]>summary{font-weight:650;color:var(--yc-text)}
.yc-mobile-category-item[open]>summary>.micon{transform:rotate(180deg);color:var(--yc-icon-color)}
.yc-mobile-category-item>summary:hover,.yc-mobile-category-list a:hover{color:var(--yc-link-hover)}
.yc-mobile-category-item>summary:focus-visible,.yc-mobile-category-list a:focus-visible{outline:2px solid var(--yc-primary-border);outline-offset:-2px}
.yc-mobile-subcategories{display:grid;grid-template-columns:minmax(0,1fr);padding:0 0 8px 14px;border-bottom:1px solid var(--yc-border-soft)}
.yc-mobile-subcategories a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:8px 4px;border:0;color:var(--yc-link-color);font-size:13px;font-weight:450}
.yc-mobile-subcategories a small{flex:0 0 auto;color:var(--yc-muted);font-size:10px;font-weight:400}
.yc-mobile-subcategories .yc-mobile-subcategory-all{min-height:38px;color:var(--yc-text);font-size:12px;font-weight:650}
.yc-mobile-menu .yc-mobile-menu-label{margin:18px 0 8px;font-size:12px;font-weight:650;color:var(--yc-text)}
.yc-mobile-collections a{display:flex;align-items:center;gap:10px;min-height:56px;padding:12px;border-radius:12px;background:var(--yc-surface-alt);color:var(--yc-link-color);font-size:13px;font-weight:600;line-height:1.3}
.yc-mobile-collections a .micon{flex-shrink:0;font-size:22px;color:var(--yc-icon-color)}
.yc-mobile-menu .yc-mobile-menu-links a{font-size:16px;font-weight:600}
@media (hover:hover){.yc-mobile-collections a:hover{background:var(--yc-surface-alt)}}
.yc-mobile-member{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;padding-top:24px;font-size:14px}
.yc-mobile-member p{flex:0 0 100%;text-align:center;margin:0;color:var(--yc-text-soft);font-size:12px}
.yc-mobile-member .yc-btn{background:var(--yc-inverse-bg);color:var(--yc-inverse-text);border-radius:6px;min-width:140px}
@media(max-width:900px){
 .yc-buy .yc-buy-top{grid-template-columns:minmax(0,1fr);margin-top:12px}
 .yc-buy .yc-buy-gallery{padding:8px 16px 16px;position:static;overflow:visible}
 .yc-buy .yc-buy-info{padding:20px 20px 32px}
 .yc-buy .yc-gallery-stage{position:relative}
 .yc-buy .yc-gallery-track>div{padding:48px 36px 86px;aspect-ratio:1;min-height:320px}
 .yc-buy .yc-gallery-track img{max-height:100%}
 .yc-buy .yc-gallery-prev,.yc-buy .yc-gallery-next{display:block;width:30px;height:30px;box-shadow:none;background:var(--yc-surface-alt)}
 .yc-buy .yc-gallery-prev{left:2px}.yc-buy .yc-gallery-next{right:2px}
 .yc-online-badge{top:4px;left:4px;font-size:11px;padding:6px 8px}
 .yc-gallery-installment{bottom:8px;padding:9px 12px;gap:10px}
 .yc-gallery-installment strong{font-size:13px}
 .yc-gallery-installment small{font-size:10px}
 .yc-gallery-progress{margin:8px 0;font-size:10px}
 .yc-buy .yc-gallery-thumbs{justify-content:flex-start;width:max-content;max-width:100%;margin-inline:auto}
 .yc-buy .yc-gallery-thumbs button{flex-basis:48px;width:48px;height:48px}
 .yc-card-media{padding:18px}
 .yc-card-body{padding:12px}
 .yc-card-price strong{font-size:14px}
 .yc-card-rating{gap:5px;font-size:9px}
 .yc-rating-squares>span{width:15px;height:15px;font-size:12px}
 .yc-review-form .yc-upload-drop{min-height:62px;padding:10px 8px;gap:2px 8px}
 .yc-upload-drop span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.yc-gallery-track,.yc-card-media img{scroll-behavior:auto;transition:none}}
.yc-review-form .yc-upload-drop>.micon{position:static;transform:none;color:var(--yc-icon-color);grid-column:1;grid-row:1/3}
.yc-review-form .yc-upload-drop>span{grid-column:2;grid-row:1;font-weight:400}
.yc-review-form .yc-upload-drop>small{grid-column:2;grid-row:2}
.yc-review-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}
.yc-review-form .comment-form-cookies-consent input{flex:0 0 16px;width:16px;height:16px;padding:0;margin:2px 0;accent-color:var(--yc-primary)}
.yc-review-form .comment-form-cookies-consent label{font-size:11px;font-weight:400;margin:0;line-height:1.5}
.yc-card{position:relative}
.yc-sample-deposit{padding:10px 12px;margin:0 0 12px;border-radius:6px;background:var(--yc-primary-soft);font-size:12px;color:var(--yc-muted)}
.yc-sample-deposit strong{float:right;color:var(--yc-primary)}
/* Offer badges belong only to archive cards. */
.yc-card-media .yc-badge,.yc-card-online,.yc-card-installment{position:absolute;z-index:2;pointer-events:none}
.yc-card-media .yc-badge{left:10px;top:10px}
.yc-card-online{left:10px;top:10px;max-width:calc(100% - 20px);padding:5px 7px;background:var(--yc-primary-soft);color:var(--yc-primary);border-radius:3px;font-size:10px;line-height:1.2;font-weight:500}
.yc-card-installment{left:50%;bottom:10px;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:calc(100% - 16px);padding:6px 9px;background:var(--yc-primary-soft);border:1px solid var(--yc-primary-border);border-radius:4px;color:var(--yc-primary);font-size:11px;line-height:1.25;white-space:nowrap}
.yc-card-installment .micon{font-size:14px}
.yc-card-media:has(.yc-card-installment){padding:40px 22px 46px}
/* Keep every section in the document's scrolling flow. */
.yc-buy .yc-buy-gallery{position:relative;top:auto;overflow:visible;z-index:auto}
.yc-buy .yc-buy-info{position:relative;top:auto;height:auto;max-height:none;overflow:visible}
.yc-buy .yc-gallery{position:relative;overflow:hidden}
.yc-buy .yc-gallery-track>div{height:clamp(300px,calc(100dvh - var(--header-height,180px) - 200px),580px);aspect-ratio:auto;padding:20px 40px;min-height:0}
.yc-buy .yc-gallery-stage{overflow:hidden}
.yc-buy .yc-reviews-form-card{position:static;top:auto}
.yc-buy [id^="yc-"],#review_form_wrapper{scroll-margin-top:calc(var(--header-height,180px) + 88px)}
@media(max-width:900px){
 .yc-buy .yc-buy-top{margin-top:8px}
 .yc-buy .yc-buy-gallery{padding:0 12px 8px}
 .yc-buy .yc-gallery{position:relative;background:var(--yc-surface);border-radius:6px}
 .yc-buy .yc-gallery-track>div{height:clamp(240px,75vw,350px);min-height:0;aspect-ratio:auto;padding:12px 26px 58px}
 .yc-buy .yc-gallery-track img{width:100%;height:100%;max-height:100%;object-fit:contain}
 .yc-buy .yc-gallery-thumbs{position:absolute;z-index:2;bottom:8px;left:50%;transform:translateX(-50%);margin:0;padding:4px 6px;gap:6px;width:max-content;max-width:calc(100% - 64px);background:color-mix(in srgb,var(--yc-surface) 92.16%,transparent);border:1px solid var(--yc-border-soft);border-radius:6px}
 .yc-buy .yc-gallery-thumbs button{width:34px;height:34px;flex-basis:34px;padding:3px;border-radius:4px}
 .yc-buy .yc-gallery-progress{position:absolute;z-index:2;bottom:17px;right:8px;margin:0;font-size:9px;letter-spacing:0}
 .yc-buy .yc-gallery-prev,.yc-buy .yc-gallery-next{top:calc(50% - 20px)}
 .yc-buy .yc-buy-info{padding:16px 20px 28px}
 .yc-buy [id^="yc-"],#review_form_wrapper{scroll-margin-top:calc(var(--header-height,200px) + 16px)}
 .yc-card-media .yc-badge,.yc-card-online{left:7px;top:7px}
 .yc-card-online{font-size:9px;padding:4px 5px}
 .yc-card-installment{font-size:9px;gap:3px;padding:5px 6px;bottom:7px}
 .yc-card-installment .micon{font-size:12px}
}
.yc-archive-grid,.yc-archive-main{min-width:0}
.yc-archive-head{flex-wrap:wrap;align-items:center}
.yc-archive-tools{min-width:0;max-width:100%}
.yc-archive-tools .woocommerce-ordering{min-width:0;margin:0}
.yc-archive-tools select{max-width:100%;font-size:12px}
@media(max-width:900px){.yc-archive-head{display:block}.yc-archive-tools{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;gap:10px;margin-top:14px}.yc-archive-tools .woocommerce-ordering select{width:100%;height:40px}.yc-filter-open{min-height:40px}}

/* Keep product discovery grids dense and readable across phone, tablet and desktop. */
.yc-grid.cols-3,.yc-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.yc-home-product-grid .yc-card,.yc-archive-main .yc-card{height:100%}
.yc-card-media{min-width:0}
.yc-card-media img{object-fit:contain}
@media(max-width:1024px){
 .yc-grid.cols-3,.yc-grid.cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
 .yc-grid.cols-3,.yc-grid.cols-4,.yc-home-product-grid.yc-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .yc-archive-main ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;margin:0;padding:0}
 .yc-archive-main ul.products>li.product{float:none!important;width:auto!important;max-width:none!important;margin:0!important;min-width:0}
 .yc-card{height:100%;border-radius:7px}
 .yc-card-media{aspect-ratio:1.04;padding:26px 9px 30px}
 .yc-card-media:has(.yc-card-installment){padding:35px 10px 37px}
 .yc-card-body{padding:9px 9px 11px}
 .yc-card-brand{font-size:9px;letter-spacing:.2px;margin-bottom:4px}
 .yc-card-title{font-size:12px;line-height:1.35;min-height:32px;-webkit-line-clamp:2}
 .yc-card-rating{gap:4px;margin:8px 0 0;font-size:9px}
 .yc-rating-squares{gap:1px}
 .yc-rating-squares>span{width:12px;height:12px;font-size:10px}
 .yc-card .yc-card-price{padding-top:9px;margin-top:auto;gap:5px}
 .yc-card-price strong,.yc-card-price .amount{font-size:13px;gap:4px}
 .yc-card-price del{font-size:9px}
 .yc-card-online{left:6px;top:6px;max-width:calc(100% - 12px);font-size:8px;padding:4px 5px}
 .yc-card-installment{bottom:6px;max-width:calc(100% - 12px);font-size:8px;padding:4px 5px;gap:3px}
 .yc-card-installment .micon{font-size:10px}
}

/* White, still product cards with room for the whole product image. */
.yc-card,.yc-card .yc-card-body,.yc-card .yc-card-media{background:var(--yc-surface)}
.yc-card .yc-card-media{aspect-ratio:1;padding:16px}
.yc-card .yc-card-media:has(.yc-card-installment){padding:34px 12px 38px}
.yc-card .yc-card-media img,.yc-card:hover .yc-card-media img{object-fit:contain;transform:none;transition:none;box-shadow:none}
.yc-card .yc-card-price>strong{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:6px;width:100%}
.yc-card-price del{order:0;white-space:nowrap;opacity:1}
.yc-card-price del .amount{font-size:12px;font-weight:400}
.yc-card-price ins{order:1;white-space:nowrap}
.yc-card-price .amount{display:inline}
@media(max-width:640px){
 .yc-card .yc-card-media{aspect-ratio:.92;padding:12px}
 .yc-card .yc-card-media:has(.yc-card-installment){aspect-ratio:.88;padding:30px 8px 32px}
 .yc-card-price del .amount{font-size:10px}
 .yc-card-price ins .amount{font-size:13px}
}

/* Cards show only the five stars, including a legible unrated state. */
.yc-card-rating .yc-rating-squares>span{box-sizing:border-box;width:17px;height:17px;font-size:13px;border-radius:2px}
.yc-card-rating .yc-rating-squares>span.is-empty{background:var(--yc-surface-alt);border:1px solid var(--yc-border);color:var(--yc-text-soft)}
.yc-buy-info.yc-live-price .woocommerce-variation-price{display:none}
@media(max-width:640px){.yc-card-rating .yc-rating-squares{gap:2px}.yc-card-rating .yc-rating-squares>span{width:15px;height:15px;font-size:11px}}

/* One product-card image and offer layout across home, archives and recommendations. */
.yc-card .yc-card-media,.yc-card .yc-card-media:has(.yc-card-installment){display:block;box-sizing:border-box;aspect-ratio:1;height:auto;min-height:0;padding:6px;overflow:hidden}
.yc-card .yc-card-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:var(--yc-surface);border-radius:var(--yc-radius-sm,6px)}
.yc-card .yc-card-media .yc-card-online{left:8px;top:8px;max-width:calc(100% - 16px)}
.yc-card .yc-card-media .yc-card-installment{left:50%;bottom:8px;max-width:calc(100% - 16px)}
@media(max-width:640px){
 .yc-card .yc-card-media,.yc-card .yc-card-media:has(.yc-card-installment){aspect-ratio:1;padding:5px}
 .yc-card .yc-card-media .yc-card-online{left:7px;top:7px;max-width:calc(100% - 14px);font-size:9px}
 .yc-card .yc-card-media .yc-card-installment{bottom:7px;max-width:calc(100% - 14px);font-size:9px}
}

/* Give every catalog card the same vertical rhythm, regardless of title length. */
.yc-card .yc-card-body{min-width:0;min-height:176px;padding:12px 14px 14px}
.yc-card .yc-card-brand{min-height:14px;margin:0 0 4px;line-height:14px}

/* Replace empty review tiles with subtle, theme-colored outline stars. */
.yc-card-rating .yc-rating-squares>span{
  display:inline-block!important;width:auto!important;height:auto!important;padding:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:linear-gradient(to right,var(--yc-rating-star,var(--yc-primary)) var(--fill),color-mix(in srgb,var(--yc-primary) 48%,var(--yc-surface)) var(--fill))!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  font-size:15px;line-height:1;vertical-align:middle
}
.yc-card-rating .yc-rating-squares>span.is-empty{color:transparent!important}
@media(max-width:640px){.yc-card-rating .yc-rating-squares>span{font-size:14px}}
.yc-card .yc-card-title{width:100%;min-height:38px;margin:0;line-height:1.35}
.yc-card .yc-card-body .yc-sp{min-height:14px;margin:5px 0 0;line-height:14px}
.yc-card .yc-card-rating{min-height:17px;margin:7px 0 0;line-height:17px}
.yc-card .yc-card-price{min-height:34px;margin-top:auto;padding-top:10px;align-items:flex-end}
@media(max-width:640px){
 .yc-card .yc-card-body{min-height:150px;padding:9px 10px 11px}
 .yc-card .yc-card-brand{min-height:12px;margin-bottom:4px;line-height:12px}
 .yc-card .yc-card-title{min-height:32px;line-height:1.35}
 .yc-card .yc-card-body .yc-sp{min-height:14px;margin-top:4px;line-height:14px}
 .yc-card .yc-card-rating{min-height:15px;margin-top:6px;line-height:15px}
 .yc-card .yc-card-price{min-height:29px;padding-top:8px}
}
