/* ============================================
   PRODUCT PAGE STYLESHEET
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
    --color-primary: #1a1a1a;
    --color-bg: #fff;
    --color-bg-alt: #f5f5f5;
    --color-bg-catalog: #f5f3f0;
    --color-bg-gallery: #c4b8a8;
    --color-bg-gallery2: #a8a8a8;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-lighter: #888;
    --color-text-lightest: #999;
    --color-border: #eee;

    --spacing-section: 60px;
    --spacing-small: 20px;
    --spacing-medium: 40px;
    --spacing-large: 60px;

    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slider: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --letter-spacing-tight: 0.5px;
    --letter-spacing-normal: 1px;
    --letter-spacing-wide: 1.5px;
    --letter-spacing-wider: 2px;
    --letter-spacing-widest: 3px;
}

/* ============================================
   CSS RESET
   ============================================ */
/* --- MOBİL KAYDIRMA (SCROLL) KİLİDİ AÇICI --- */
.slick-slider,
.slick-list,
.slick-track,
.slick-slide,
.gallery-track,
.detail-track,
.second-gallery-track,
.related-track {
    touch-action: pan-y !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--color-primary);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   DRAG PREVENTION
   ============================================ */

.gallery-track,
.detail-track,
.second-gallery-track,
.related-track {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.gallery-track img,
.detail-slide img,
.second-gallery-track img,
.related-image-wrapper img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* ============================================
   SECTION SPACING
   ============================================ */

.description-section,
.gallery-section,
.detail-section,
.second-gallery-section,
.action-buttons,
.catalog-section,
.related-section {
    margin-block-start: var(--spacing-section);
}

.hero-section {
    margin-block-start: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block-start: 1rem;
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    object-fit: cover;
}

.hero-title {
    position: relative;
    z-index: 2;
    color: var(--color-bg);
    font-size: 64px;
    font-weight: 400;
    letter-spacing: 16px;
    text-transform: uppercase;
    text-align: center;
    margin-block-start: 5rem;
}

/* ============================================
   DESCRIPTION SECTION
   ============================================ */

.description-section {
    width: 100%;
    background: var(--color-bg);
    padding-block: 100px;
    padding-inline: var(--spacing-small);
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.description-inner {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}

.description-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 300;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gallery);
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.gallery-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-slider);
    cursor: grab;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    inset-block-end: 40px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    cursor: pointer;
    opacity: 0.3;
    border: none;
    transition: opacity var(--transition-smooth);
}

.slider-dot.active {
    opacity: 1;
}

.slider-dot:hover {
    opacity: 0.6;
}

.slider-dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   DETAIL SECTION
   ============================================ */

.detail-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.detail-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.detail-track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-slider);
    cursor: grab;
}

.detail-track:active {
    cursor: grabbing;
}

.detail-slide {
    min-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.detail-image-left {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-large);
}

.detail-image-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-image-right {
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.detail-dots {
    position: absolute;
    inset-block-end: 40px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.detail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-bg);
    cursor: pointer;
    opacity: 0.3;
    border: none;
    transition: opacity var(--transition-smooth);
}

.detail-dot.active {
    opacity: 1;
}

.detail-dot:hover {
    opacity: 0.6;
}

.detail-dot:focus-visible {
    outline: 2px solid var(--color-bg);
    outline-offset: 2px;
}

/* ============================================
   SECOND GALLERY SECTION
   ============================================ */

.second-gallery-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-gallery2);
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.second-gallery-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.second-gallery-track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-slider);
    cursor: grab;
}

.second-gallery-track:active {
    cursor: grabbing;
}

.second-gallery-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.second-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.second-gallery-dots {
    position: absolute;
    inset-block-end: 40px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.second-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    opacity: 0.3;
    border: none;
    transition: opacity var(--transition-smooth);
}

.second-gallery-dot.active {
    opacity: 1;
}

.second-gallery-dot:hover {
    opacity: 0.6;
}

.second-gallery-dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.action-buttons {
    display: flex;
    width: 100%;
    overflow: visible;
    margin-block: var(--spacing-section);
    padding-inline: 10px;
    gap: 50px;
    margin-inline: var(--spacing-small);
    width: calc(100% - 40px);
}

.action-button {
    flex: 1;
    padding-block: var(--spacing-medium);
    padding-inline: var(--spacing-small);
    background: var(--color-bg-alt);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: inherit;
    transition: background var(--transition-smooth);
}

.action-button:hover {
    background: #ebebeb;
}

.action-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.action-button-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-tight);
    text-transform: capitalize;
    color: var(--color-primary);
}

.action-button-icon {
    width: 25px;
    height: 25px;
    stroke: #2d2d2d;
    stroke-width: 1.5;
}

/* ============================================
   CATALOG SECTION
   ============================================ */

.catalog-section {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: var(--color-bg-catalog);
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 50% 50%;
    overflow: hidden;
}

.catalog-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: var(--spacing-large);
    padding-inline: var(--spacing-large) 80px;
    background: var(--color-bg-catalog);
}

.catalog-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-wider);
    margin-block-end: var(--spacing-small);
    text-transform: uppercase;
    color: var(--color-primary);
    font-family: var(--font-family);
}

.catalog-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    margin-block-end: var(--spacing-medium);
    max-width: 400px;
    font-weight: 400;
}

.catalog-download {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--color-primary);
    text-decoration: none;
    border-block-end: 1px solid var(--color-primary);
    padding-block-end: 4px;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    transition: opacity var(--transition-smooth);
    font-family: var(--font-family);
}

.catalog-download:hover {
    opacity: 0.6;
}

.catalog-download:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.catalog-right {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.catalog-right img {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    height: 100%;
    object-fit: contain;
    object-position: center right;
}

/* ============================================
   RELATED PRODUCTS SECTION
   ============================================ */

.related-section {
    width: 100%;
    background: var(--color-bg);
    padding-block: var(--spacing-large);
}

.related-title {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-wider);
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.related-slider-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-block-end: var(--spacing-medium);
}

.related-slider-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.related-slider-controls.is-hidden {
    display: none;
}

.related-slider-button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(17, 17, 17, 0.85);
    background: transparent;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-smooth), color var(--transition-smooth), border-color var(--transition-smooth);
}

.related-slider-button:hover {
    background: #111111;
    color: #ffffff;
}

.related-slider-button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.related-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.related-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.related-track.slick-initialized .related-item {
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
}

.related-track:active {
    cursor: grabbing;
}

.related-item {
    min-width: 25%;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition-smooth);
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.related-image-wrapper {
    position: relative;
    width: 100%;
    padding-block-end: 70%;
    overflow: hidden;
}

.related-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.related-badge {
    position: absolute;
    inset-block-start: 15px;
    inset-inline-start: 15px;
    padding-block: 5px;
    padding-inline: 10px;
    background: rgba(100, 100, 100, 0.9);
    color: var(--color-bg);
    font-size: 9px;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
}

.related-item-info {
    padding: var(--spacing-small);
    text-align: center;
}

.related-item-name {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-normal);
    margin-block-end: 5px;
    text-transform: uppercase;
}

.related-item-category {
    font-size: 10px;
    color: var(--color-text-lightest);
}

/* ============================================
   TECHNICAL MODAL STYLES
   ============================================ */

.tech-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg-catalog);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.tech-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tech-modal-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    height: 80px;
    background: var(--color-bg-catalog);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    border-block-end: 1px solid #e0ddd8;
}

.tech-modal-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-widest);
    text-transform: uppercase;
    color: var(--color-primary);
}

.tech-modal-back {
    position: fixed;
    inset-block-start: 30px;
    inset-inline-start: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-normal);
    transition: color var(--transition-smooth);
}

.tech-modal-back:hover {
    color: var(--color-primary);
}

.tech-modal-back:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tech-modal-back svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.tech-modal-nav {
    position: fixed;
    inset-block-start: 80px;
    inset-inline: 0;
    height: 60px;
    background: #ebe8e3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    z-index: 10000;
    padding-inline: var(--spacing-medium);
    overflow-x: auto;
}

.tech-nav-item {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-text-lighter);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding-block: 8px;
    padding-inline: 0;
    position: relative;
    transition: color var(--transition-smooth);
    white-space: nowrap;
}

.tech-nav-item:hover {
    color: #555;
}

.tech-nav-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.tech-nav-item.active {
    color: var(--color-primary);
    font-weight: 500;
}

.tech-nav-item.active::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    height: 2px;
    background: var(--color-primary);
}

.tech-modal-content {
    position: fixed;
    inset-block-start: 140px;
    inset-inline: 0;
    inset-block-end: 0;
    overflow-y: auto;
    padding: var(--spacing-medium);
    z-index: 9999;
}

.tech-content-section {
    display: none;
    max-width: 1400px;
    margin-inline: auto;
    animation: fadeIn 0.4s ease;
}

.tech-content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-product-header {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-block-end: var(--spacing-large);
}

.tech-product-image {
    flex: 0 0 60%;
    padding: var(--spacing-large);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.tech-product-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.tech-product-info {
    flex: 0 0 35%;
    padding-block-start: var(--spacing-medium);
}

.tech-product-name {
    font-size: 14px;
    color: var(--color-text-light);
    margin-block-end: var(--spacing-small);
    text-transform: capitalize;
}

.tech-product-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 300;
}

.tech-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-medium);
}

.tech-dimension-item {
    padding: var(--spacing-medium);
}

.tech-dimension-item img {
    max-width: 100%;
    height: auto;
    margin-block-end: var(--spacing-small);
}

.tech-dimension-label {
    font-size: 12px;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    color: var(--color-text-light);
}

.tech-finishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.tech-finish-item {
    cursor: pointer;
    transition: transform var(--transition-smooth);
    text-align: center;
}

.tech-finish-item:hover {
    transform: translateY(-5px);
}

.tech-finish-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tech-finish-image {
    width: 100%;
    aspect-ratio: 1;
    /* Make it a perfect square */
    object-fit: cover;
    margin-block-end: 15px;
    background: #f0f0f0;
    border-radius: 4px;
}

.tech-finish-name {
    font-size: 11px;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    color: var(--color-text);
}

.tech-finish-cat {
    font-size: 9px;
    color: var(--color-text-light);
    margin-top: 4px;
}

.tech-downloads-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}

.tech-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg);
    padding-block: 25px;
    padding-inline: 30px;
    cursor: pointer;
    transition: background var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

.tech-download-item:hover {
    background: #f0f0f0;
}

.tech-download-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tech-download-info h4 {
    font-size: 14px;
    font-weight: 400;
    margin-block-end: 5px;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-normal);
}

.tech-download-info span {
    font-size: 12px;
    color: var(--color-text-lighter);
}

.tech-download-icon {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
    stroke-width: 1.5;
    fill: none;
}

.tech-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tech-cert-item {
    background: var(--color-bg);
    padding: var(--spacing-medium);
    text-align: center;
}

.tech-cert-icon {
    width: 60px;
    height: 60px;
    margin-block-end: var(--spacing-small);
    stroke: var(--color-text);
    stroke-width: 1;
    fill: none;
}

.tech-cert-name {
    font-size: 14px;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    margin-block-end: 10px;
}

.tech-cert-desc {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.tech-config-section {
    text-align: center;
    padding: var(--spacing-large);
    background: var(--color-bg);
}

.tech-config-title {
    font-size: 24px;
    letter-spacing: var(--letter-spacing-widest);
    text-transform: uppercase;
    margin-block-end: var(--spacing-small);
}

.tech-config-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin-block-end: var(--spacing-medium);
}

.tech-config-button {
    display: inline-block;
    padding-block: 15px;
    padding-inline: var(--spacing-medium);
    background: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    transition: background var(--transition-smooth);
}

.tech-config-button:hover {
    background: #333;
}

.tech-config-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* ============================================
   LAZY LOADING PLACEHOLDER
   ============================================ */

.lazy-img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.image-error {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-error::after {
    content: '⚠';
    font-size: 48px;
    color: #999;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 12px;
    }

    .detail-slide {
        grid-template-columns: 1fr;
    }

    .detail-image-left {
        padding: var(--spacing-medium);
        order: 2;
        /* Image bottom */
    }

    .detail-image-right {
        order: 1;
        /* Image top */
        min-height: 400px;
    }

    .catalog-section {
        grid-template-columns: 1fr;
        height: auto;
    }

    .catalog-left {
        padding-block: var(--spacing-large);
        padding-inline: var(--spacing-medium);
        align-items: flex-start;
        order: 2;
    }

    .catalog-right {
        min-height: 500px;
        order: 1;
    }

    .catalog-right img {
        object-position: center;
    }

    .related-item {
        min-width: 33.333%;
    }

    .tech-product-header {
        flex-direction: column;
    }

    .tech-product-image,
    .tech-product-info {
        flex: 0 0 100%;
    }

    .tech-product-image {
        min-height: 300px;
        padding: 0;
    }

    .tech-modal-nav {
        gap: 30px;
        padding-inline: var(--spacing-small);
    }

    .tech-dimensions-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Devices (Tablets & Large Phones) */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: unset;
        margin-block-start: 0;
        display: block;
        width: 100%;
        margin-inline: 0;
    }

    .hero-image {
        position: relative;
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: 6px;
        margin-block-start: 2rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        margin: 0;
    }

    .description-section {
        padding-block: var(--spacing-medium);
        padding-inline: var(--spacing-small);
        width: 100%;
        margin-inline: 0;
    }

    .description-inner {
        padding-inline: 20px;
    }

    /* Galleries need auto height to show full image */
    .gallery-section,
    .detail-section,
    .second-gallery-section {
        height: auto;
        min-height: unset;
        width: 100%;
        margin-inline: 0;
        margin-block-start: var(--spacing-medium);
    }

    .gallery-slider,
    .gallery-track,
    .gallery-slide,
    .detail-slider,
    .detail-track,
    .detail-slide,
    .second-gallery-slider,
    .second-gallery-track,
    .second-gallery-slide {
        height: auto;
    }

    .gallery-slide img,
    .detail-slide img,
    .second-gallery-slide img {
        height: auto;
        width: 100%;
        object-fit: contain;
        position: relative;
    }

    .detail-image-left {
        padding: 20px;
    }

    .detail-image-right {
        min-height: unset;
    }

    /* Action Buttons - 2 Column Grid */
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding-inline: 20px;
        margin-block: var(--spacing-medium);
        width: 100%;
        margin-inline: 0;
    }

    .action-button {
        padding-block: 20px;
        padding-inline: 10px;
        border: 1px solid var(--color-border);
    }

    /* Catalog Section - Full Width Image Top, Centered Text Bottom */
    .catalog-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .catalog-left {
        padding: 40px 20px;
        order: 2;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .catalog-right {
        order: 1;
        width: 100%;
        height: auto;
        min-height: unset;
    }

    .catalog-right img {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
        inset: unset;
    }

    .related-section {
        width: 100%;
        padding-block: var(--spacing-medium);
    }

    .related-slider-header {
        gap: 12px;
        margin-block-end: 18px;
        flex-direction: column;
    }

    .related-slider-controls {
        width: auto;
    }

    .related-slider-button {
        width: 38px;
        height: 38px;
    }

    .related-slider-wrapper {
        padding-inline: 0;
    }

    .related-item {
        min-width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    .related-track.slick-initialized .related-item {
        min-width: 0;
        max-width: none;
        flex: 0 0 auto;
    }

    .related-image-wrapper {
        padding-block-end: 70%;
    }

    .related-image-wrapper img {
        padding: 22px;
    }

    .related-item-info {
        padding: var(--spacing-small);
    }

    .related-item-name {
        font-size: 11px;
    }

    .related-item-category {
        font-size: 10px;
    }

    /* Technical Modal Mobile */
    .tech-modal-header {
        height: 60px;
    }

    .tech-modal-title {
        font-size: 14px;
    }

    .tech-modal-back {
        top: 20px;
        left: 20px;
    }

    .tech-modal-nav {
        inset-block-start: 60px;
        height: 50px;
        gap: 20px;
        justify-content: flex-start;
        /* Align left */
        padding-inline: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tech-modal-content {
        inset-block-start: 110px;
        padding: 20px;
    }

    .tech-content-section > div {
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
    }

    .tech-content-section > div > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-height: 300px;
    }

    .tech-product-header {
        gap: 30px;
    }

    .tech-finishes-grid,
    .tech-cert-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .action-buttons {
        gap: 10px;
    }

    .tech-finishes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* Force 2 columns as requested */
        gap: 12px;
    }

    .tech-finish-item {
        width: 100%;
    }

    .tech-finish-image {
        padding-bottom: 100%;
        /* Square aspect ratio */
        height: 0;
        background-color: #f0f0f0;
    }

    .tech-cert-grid {
        grid-template-columns: 1fr;
    }

    .related-item {
        min-width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    .related-track.slick-initialized .related-item {
        min-width: 0;
        max-width: none;
        flex: 0 0 auto;
    }
}

/* ============================================
   DYNAMIC FINISHES STYLES
   ============================================ */
.tech-finish-type-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.tech-finish-group:first-child .tech-finish-type-title {
    margin-top: 0;
}

.tech-finishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tech-finish-item {
    cursor: default;
    display: flex;
    flex-direction: column;
}

.tech-finish-image {
    width: 100%;
    height: 100px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.tech-finish-name {
    font-size: 13px;
    color: var(--color-text);
    text-align: center;
    line-height: 1.3;
}

.tech-finish-cat {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 4px;
    line-height: 1.2;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    .skip-link,
    .slider-dots,
    .detail-dots,
    .second-gallery-dots,
    .action-buttons,
    .tech-modal-overlay {
        display: none !important;
    }

    body {
        background: white;
    }

    .hero-section,
    .gallery-section,
    .detail-section,
    .second-gallery-section {
        height: auto;
        page-break-inside: avoid;
    }
}

/* ============================================
   DIMENSIONS TAB – IMAGE LEFT / CONTENT RIGHT
   ============================================ */
.tech-dimensions-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 30px 0;
}

.tech-dimensions-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.tech-dimensions-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

.tech-dimensions-info {
    flex: 1;
    min-width: 0;
}

.tech-dimensions-name {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.tech-dimensions-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.tech-dimensions-table tr {
    border-bottom: 1px solid #eeeeee;
}

.tech-dimensions-table tr:first-child {
    border-top: 1px solid #eeeeee;
}

.dim-label {
    padding: 10px 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    width: 45%;
}

.dim-value {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.tech-dim-badge {
    display: inline-block;
    margin: 4px 6px 4px 0;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
}

.tech-desc-block {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-left: 2px solid #1a1a1a;
}

.tech-desc-block p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.tech-maintenance {
    margin-top: 10px;
    border-left-color: #8b7355;
}

@media (max-width: 768px) {
    .tech-dimensions-layout {
        flex-direction: column;
        gap: 20px;
    }

    .tech-dimensions-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Teknik Sheet: mobilde foto üstte, yazı aşşağıda */
    .tech-sheet-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
    }

    .tech-sheet-img-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        order: -1 !important;
    }
}