/* ============================================
   UZMIX — Product Detail Page CSS
   ============================================ */

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.breadcrumb__inner a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb__inner a:hover {
    color: var(--blue);
}

.breadcrumb__inner a i {
    font-size: 0.85rem;
}

.breadcrumb__sep {
    color: var(--gray-300);
    font-size: 0.6rem;
}

.breadcrumb__inner > span:last-child {
    color: var(--black);
    font-weight: 600;
}

/* ============================================
   PRODUCT DETAIL — 2 ustun (gallery + info)
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* ============================================
   GALLERY
   ============================================ */
.product-gallery {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: start;
    position: sticky;
    top: 90px;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

.product-gallery__thumbs::-webkit-scrollbar {
    width: 4px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 2px;
}

.product-gallery__thumb {
    width: 90px;
    height: 75px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__thumb:hover {
    border-color: var(--blue);
}

.product-gallery__thumb.active {
    border-color: var(--blue);
    border-width: 2px;
    box-shadow: 0 4px 10px rgba(27, 75, 245, 0.15);
}

.product-gallery__thumb--video {
    flex-direction: column;
    gap: 3px;
    color: var(--gray-500);
    font-size: 0.6rem;
    text-align: center;
    background: var(--gray-50);
}

.product-gallery__thumb--video i {
    font-size: 1.3rem;
    color: var(--blue);
}

.product-gallery__thumb--video span {
    line-height: 1.1;
}

.product-gallery__main {
    position: relative;
    background: var(--gray-50);
    border-radius: 16px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.product-gallery__main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-gallery__main:hover img {
    transform: scale(1.03);
}

.product-gallery__placeholder {
    color: var(--gray-300);
    font-size: 6rem;
}

.product-gallery__expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.product-gallery__expand:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.product-gallery__badges {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

.product-badge i {
    color: var(--blue);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================
   PRODUCT INFO
   ============================================ */
.product-info {
    padding-top: 0.5rem;
}

.product-info__category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.product-info__name {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.product-info__subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-info__desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* Highlight specs */
.product-highlight-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.product-highlight-spec {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-highlight-spec__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-highlight-spec__val {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
}

.product-highlight-spec__label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============================================
   CTA (kichraytirilgan tugma)
   ============================================ */
.product-info__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.product-info__cta .btn,
.product-info__order-btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-info__cta .btn i,
.product-info__order-btn i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.product-info__order-btn:hover i {
    transform: translateX(3px);
}

.product-info__phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--black);
    transition: color 0.2s ease;
}

.product-info__phone:hover {
    color: var(--blue);
}

.product-info__phone i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.product-info__phone strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.product-info__phone span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
}

/* Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.product-feature:hover {
    border-color: var(--blue);
    background: #eff6ff;
}

.product-feature i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.product-feature strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.product-feature span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============================================
   TABS SECTION — QALIN KO'K CHIZIQ
   ============================================ */
.product-tabs-section {
    margin-bottom: 4rem;
}

.product-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-200);   /* ← 1px (ingichka) */
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tab {
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
    font-family: inherit;
}

/* CHIZIQ — 3px QALIN, KO'K */
.product-tab::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -2px;
    height: 4px;                       /* ← 4px QALIN */
    background: transparent;
    border-radius: 3px;
    transition: background 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.product-tab:hover {
    color: var(--black);
}

.product-tab:hover::after {
    background: var(--gray-300);
}

.product-tab.active {
    color: var(--black);
    font-weight: 800;
}

.product-tab.active::after {
    background: var(--blue);
    box-shadow: 0 2px 6px rgba(27, 75, 245, 0.35);   /* ← yengil soya */
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SPECS — 2 ustun (specs + PDF katalog)
   ============================================ */
.specs-container {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.specs-container--no-pdf {
    grid-template-columns: 1fr;
}

.specs-container--no-pdf .specs-grid-2col {
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
}

.specs-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
}

.spec-row-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
}

.spec-row-2__name {
    color: var(--gray-500);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.spec-row-2__name i {
    color: var(--blue);
    font-size: 0.8rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.spec-row-2__val {
    color: var(--black);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* PDF katalog kartochkasi — ixcham */
.specs-pdf-2 {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    position: sticky;
    top: 100px;
    max-width: 260px;
}

.specs-pdf-2__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.specs-pdf-2__info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.specs-pdf-2__info p {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 0;
}

.specs-pdf-2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
    text-align: center;
}

.specs-pdf-2__btn:hover {
    background: #0d3ad4;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 75, 245, 0.25);
}

.specs-pdf-2__btn i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.specs-pdf-2__btn span {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.9;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    margin-left: 4px;
    flex-shrink: 0;
}

/* ============================================
   DESCRIPTION
   ============================================ */
.product-description-content {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    max-width: 900px;
}

.product-description-content p {
    margin-bottom: 1rem;
}

/* ============================================
   DOCS
   ============================================ */
.docs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1.5px solid var(--gray-100);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.doc-item:hover {
    border-color: var(--blue);
    background: #eff6ff;
}

.doc-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.doc-item > div {
    flex: 1;
}

.doc-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.doc-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.doc-item__dl {
    color: var(--blue);
    font-size: 1rem;
}

.empty-message {
    color: var(--gray-400);
    font-size: 0.9rem;
    padding: 2rem 0;
    text-align: center;
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */
.related-products {
    padding-top: 2rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--gray-100);
}

.related-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.related-products__header h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.02em;
    margin: 0;
}

.related-products__all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.related-products__all:hover {
    gap: 0.75rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.related-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 20px rgba(27, 75, 245, 0.08);
    transform: translateY(-3px);
}

.related-card__img-wrap {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 10px;
    padding: 6px;
    overflow: hidden;
}

.related-card__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.related-card__img-ph {
    color: var(--gray-300);
    font-size: 1.5rem;
}

.related-card__info {
    flex: 1;
    min-width: 0;
}

.related-card__info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card__info > span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.3;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card__specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-card__specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.related-card__specs i {
    color: var(--blue);
    font-size: 0.7rem;
}

.related-card__arrow {
    color: var(--gray-300);
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.related-card:hover .related-card__arrow {
    color: var(--blue);
    transform: translateX(3px);
}

/* ============================================
   MODAL — Order so'rov
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    animation: modalFadeIn .2s ease;
}

.modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px;
    animation: modalSlideUp .3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    z-index: 1;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border: none;
    background: var(--gray-50);
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-600);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.modal__close:hover {
    background: var(--gray-100);
    color: var(--black);
}

.modal__header { margin-bottom: 20px; padding-right: 30px; }
.modal__header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.modal__product {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-left: 3px solid var(--blue);
    border-radius: 8px;
    font-size: 0.82rem;
    margin: 0;
}
.modal__product strong { color: var(--black); font-weight: 700; }
.modal__product span {
    color: var(--gray-500);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.modal__form .form-row {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modal__form .form-row label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-700);
}

.modal__form .form-row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.modal__form .form-row--split > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: 0.88rem;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    box-sizing: border-box;
    color: var(--black);
    background: #fff;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 75, 245, .1);
}
.form-input.is-invalid, .form-textarea.is-invalid {
    border-color: #ef4444;
}
.form-textarea {
    resize: vertical;
    min-height: 70px;
}

.form-error {
    font-size: 0.72rem;
    color: #ef4444;
    min-height: 12px;
    font-weight: 500;
}

.modal__form button[type="submit"],
.btn--full {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 6px;
    cursor: pointer;
}

.modal__form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal__success {
    text-align: center;
    padding: 16px 0 4px;
}
.modal__success-icon {
    font-size: 56px;
    color: #10b981;
    margin-bottom: 14px;
    line-height: 1;
}
.modal__success h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--black);
}
.modal__success p {
    color: var(--gray-500);
    margin-bottom: 22px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.modal__success .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
}

/* ============================================
   PHONE INPUT (+998 prefiks)
   ============================================ */
.phone-input {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-input:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 75, 245, .1);
}

.phone-input__prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.88rem;
    border-right: 1.5px solid var(--gray-200);
    user-select: none;
    white-space: nowrap;
}

.phone-input .form-input {
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    padding-left: 10px;
    background: transparent;
}
.phone-input .form-input:focus {
    border: none;
    box-shadow: none;
}
.phone-input .form-input.is-invalid {
    border: none;
    background: #fef2f2;
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.modal__content--video {
    max-width: 900px;
    padding: 0;
    background: #000;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal__content--video .modal__close {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    z-index: 10;
}

.modal__content--video .modal__close:hover {
    background: #dc2626;
    color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Planshet — 1024px */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
    }

    .product-gallery__main {
        height: 400px;
    }

    .specs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specs-container--no-pdf .specs-grid-2col {
        grid-template-columns: 1fr 1fr;
        gap: 0 3rem;
    }

    .specs-pdf-2 {
        position: static;
        max-width: 100%;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil — 768px */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
        font-size: 0.75rem;
    }

    .product-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        order: 2;
        padding-bottom: 0.5rem;
    }

    .product-gallery__thumb {
        width: 75px;
        height: 65px;
        flex-shrink: 0;
    }

    .product-gallery__main {
        height: 320px;
        padding: 1.25rem;
        order: 1;
    }

    .product-gallery__badges {
        grid-template-columns: 1fr;
        order: 3;
    }

    .product-info__name {
        font-size: 1.75rem;
    }

    .product-highlight-specs {
        grid-template-columns: 1fr;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .product-info__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .product-info__cta .btn,
    .product-info__order-btn {
        justify-content: center;
    }

    .product-info__phone {
        justify-content: center;
    }

    .product-tabs {
        gap: 0;
    }

    .product-tab {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
    }

    .product-tab::after {
        left: 1rem;
        right: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .related-card {
        padding: 0.85rem;
    }

    .related-card__img-wrap {
        width: 75px;
        height: 60px;
    }

    .modal { padding: 12px; }
    .modal__content { padding: 22px 18px; border-radius: 14px; }
    .modal__header h2 { font-size: 1.1rem; }
    .modal__form .form-row--split { grid-template-columns: 1fr; }

    .modal__content--video {
        max-width: 100%;
        border-radius: 14px;
    }
}

/* Juda kichik — 600px */
@media (max-width: 600px) {
    .specs-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .specs-container--no-pdf .specs-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 480px */
@media (max-width: 480px) {
    .product-gallery__main {
        height: 260px;
    }

    .product-info__name {
        font-size: 1.5rem;
    }

    .product-info__desc {
        font-size: 0.85rem;
    }

    .product-highlight-spec__icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .product-highlight-spec__val {
        font-size: 0.95rem;
    }

    .product-feature {
        padding: 0.75rem;
    }

    .related-products__header h2 {
        font-size: 1.25rem;
    }

    .modal__content { padding: 20px 16px; }
    .modal__success-icon { font-size: 48px; }
    .modal__success h3 { font-size: 1rem; }
}