/* Product card (T-11 redesign). Shared by shop, category, home carousels, related. Capital Tires identity. RTL-safe. */
.wd-product .wd-product-wrapper{background:#fff;border:1px solid #e9e9e9;border-radius:12px;box-shadow:0 1px 4px rgba(0,0,0,.06);overflow:hidden;padding:0}
.wd-product .wd-product-card-bg{display:none}

/* Image area: light gray, contained image */
.wd-product .wd-product-thumb{position:relative;margin:0;background:#f6f6f6;border-radius:0}
.wd-product .wd-product-img-link{display:block}
.wd-product .wd-product-img-link>img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;padding:10%;mix-blend-mode:multiply}

/* Brand pill: top start corner (right in RTL), never over the wishlist */
.ct-brand-pill{position:absolute;top:8px;inset-inline-start:8px;z-index:3;display:inline-flex;align-items:center;max-width:60%;min-height:26px;padding:3px 8px;background:#fff;border:1px solid #dcdcdc;border-radius:999px;color:#222;font-size:12px;font-weight:700;line-height:1;line-height:1}
.ct-brand-pill__img{display:block;height:20px;width:auto;max-width:72px;object-fit:contain}
.ct-brand-pill__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Action icons (wishlist etc.): end corner; mobile keeps the heart only */
.wd-product .wd-buttons{inset-inline-end:8px;inset-inline-start:auto;top:8px;z-index:4}
@media (max-width:1024px){
 .wd-product .wd-buttons .wd-compare-btn,.wd-product .wd-buttons .wd-quick-view-btn{display:none}
 .wd-product .wd-buttons .wd-wishlist-btn a{background:#fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.12);width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center}
}

/* Text block */
.wd-product .product-element-bottom{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px 12px 12px;text-align:start}
.wd-product .product-element-bottom>*{order:5;margin:0}
.ct-size-chip{order:1!important;align-self:flex-start;display:inline-flex;direction:ltr;unicode-bidi:isolate;padding:4px 10px;background:#fff1f1;border:1px solid #f1c4c4;border-radius:8px;color:#b82828;font-size:15px;font-weight:700;line-height:1.2;letter-spacing:.2px}
.wd-product .product-element-bottom>.wd-entities-title{order:2!important}
.wd-product .wd-entities-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:14px;font-weight:600;line-height:1.5;color:#222;overflow-wrap:anywhere;min-height:3em}
.wd-product .wd-product-cats{display:none}
.ct-size-chip~.wd-product-sku{display:none}
.wd-product .wd-product-sku{order:2;font-weight:700;color:#b82828}
.wd-product .wrap-price{order:3!important}
.wd-product .wrap-price .price{display:block;font-size:18px;font-weight:700;color:#b82828;text-align:start}
.wd-product .wrap-price .price .amount,.wd-product .wrap-price .price bdi{color:#b82828;font-weight:700}
.price-4-tires-var,.price-4-tires-card{display:block;margin-top:2px;font-size:12.5px;font-weight:600;color:#666}
.price-4-tires-var .amount,.price-4-tires-card .amount,.price-4-tires-var bdi,.price-4-tires-card bdi{color:#666;font-weight:600;font-size:12.5px}
.ct-card-avail{order:4!important;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#1a7f46}
.ct-card-avail i{width:8px;height:8px;border-radius:50%;background:#1a7f46;flex:none}
.ct-card-avail--outofstock{color:#b50808}.ct-card-avail--outofstock i{background:#b50808}
.ct-card-avail--onbackorder{color:#a35f00}.ct-card-avail--onbackorder i{background:#c77700}

/* Add to cart: full-width red, always visible, >= 44px; qty stepper stays on the product page / cart */
.wd-product .wd-add-btn{order:6!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;display:block;width:100%;margin-top:4px;padding:0;background:none}
.wd-product .wd-add-btn .quantity{display:none!important}
.wd-product .wd-add-btn .add_to_cart_button,.wd-product .wd-add-btn .product_type_variable{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:4px 10px!important;border-radius:8px;background:#dd3333;color:#fff;font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap;text-align:center}
.wd-product .wd-add-btn .add_to_cart_button:hover{background:#b82828;color:#fff}
.wd-product .wd-add-btn .add_to_cart_button .wd-action-icon{display:none}
.wd-product .wd-add-btn .add_to_cart_button .wd-action-text{display:inline;flex:none;width:auto;max-width:none;overflow:visible;text-overflow:clip;font-size:15px;line-height:1.2}
.wd-product .wd-add-btn .add_to_cart_button:focus-visible{outline:3px solid #333;outline-offset:2px}
.wd-product .wd-product-card-hover{display:none}
@media (max-width:768.98px){
 .wd-product .product-element-bottom{padding:10px}
 .ct-size-chip{font-size:14px}
 .wd-product .wd-entities-title{font-size:13px}
 .wd-product .wrap-price .price{font-size:16px}
}
.wd-product .wrap-price .price .price-4-tires-var .amount,.wd-product .wrap-price .price .price-4-tires-card .amount,.wd-product .wrap-price .price .price-4-tires-var bdi,.wd-product .wrap-price .price .price-4-tires-card bdi{color:#666;font-weight:600;font-size:12.5px}

/* Brand logo badge: box follows the logo's natural ratio (width auto from the image), never cropped */
.ct-brand-pill--logo{display:block;padding:0;border:0;background:none;border-radius:6px;min-height:0;max-width:none;overflow:visible;box-shadow:0 1px 3px rgba(0,0,0,.18);line-height:0}
.wd-product .ct-brand-pill--logo .ct-brand-pill__img{display:block;height:22px!important;width:auto!important;max-width:none!important;padding:0!important;object-fit:cover;mix-blend-mode:normal!important;border-radius:6px}
@media (min-width:1025px){.wd-product .ct-brand-pill--logo .ct-brand-pill__img{height:26px!important}}
