/* Tyre detail page styles */
.tyre_container { max-width: 1200px; margin: 10px auto; padding: 1rem; }
.tyre_wrapper { display: flex; flex-wrap: wrap; gap: 1rem; }
.tyre_image { flex: 1 1 300px; max-width: 458px; align-self: flex-start; }
.tyre_info { flex: 1 1 400px; display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.ph_main_image { width: 100%; height: auto; border-radius: 10px; display: block; }
.ph_brand_model { display: flex; align-items: baseline; gap: 0.5rem; font-size: 1.6rem; flex-wrap: wrap; }
.ph_manufacturer_name { font-weight: 700; font-size: 1.8rem; line-height: 1.2; }
.ph_dezen_name { font-weight: 400; font-size: 1.4rem; color: #333; line-height: 1.2; }
.ph_describtion { font-size: 1rem; color: #555; text-align: left; margin: 0; padding: 0; box-sizing: border-box; align-self: flex-start; }
.filter_lane { display: flex; flex-wrap: wrap; gap: 1rem; }
.ph_price_text { font-size: 1.5rem; color: #000; }
.ph_stock_status { color: #28a745; font-size: 1.2rem; }
.ph_buy_button_wrap { display: flex; justify-content: flex-start; }
.ph_buy_button { display: flex; align-items: center; gap: 5px; padding: 4px 16px; background-color: #232323; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-size: 1rem; font-weight: 700; transition: background-color 0.3s ease; }
.ph_buy_button:hover { background-color: #3c3c3c; }
.cart-icon-img { width: 36px; height: 36px; }

/* Slider */
.tyre-slider { position: relative; width: 100%; max-width: 100%; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.tyre-slider_view { width: 100%; height: clamp(260px, 45vw, 520px); background: #f7f7f7; }
.tyre-slider_track { display: flex; height: 100%; transition: transform 0.35s ease; will-change: transform; }
.tyre-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; user-select: none; }
.tyre-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tyre-slider_btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.tyre-slider_btn:hover { background: rgba(0,0,0,0.6); }
.tyre-slider_btn[disabled] { opacity: 0.4; cursor: default; }
.tyre-slider_btn-prev { left: 10px; }
.tyre-slider_btn-next { right: 10px; }
.tyre-slider_thumbs { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; }
.tyre-thumb { flex: 0 0 auto; width: 70px; height: 70px; border-radius: 6px; overflow: hidden; opacity: 0.7; border: 2px solid transparent; cursor: pointer; }
.tyre-thumb.active { opacity: 1; border-color: #232323; }
.tyre-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 768px) {
    .tyre_wrapper { flex-direction: column; align-items: center; }
    .tyre_image, .tyre_info { max-width: 100%; text-align: center; margin: 0 auto;}
    .ph_describtion { text-align: center; align-self: center; margin: 0 auto; }
    .ph_buy_button_wrap { justify-content: center; }
    .ph_brand_model { justify-content: center; text-align: center; }
    .filter_lane { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
    .tyre-slider_view { height: clamp(240px, 60vw, 320px); }
    .tyre-thumb { width: 56px; height: 56px; }
}
