/* Ürünlerimizi İnceleyin — vitrin katalog */
.lv2-catalog-page {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.lv2-catalog-page-head {
    text-align: left;
    margin: 0 0 2rem;
}

.lv2-catalog-page-head h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
    .lv2-catalog-page-head h1 {
        font-size: 2.125rem;
    }
}

.lv2-catalog-page-head .lv2-catalog-search {
    max-width: 100%;
}

@media (min-width: 768px) {
    .lv2-catalog-page-head .lv2-catalog-search {
        max-width: 36rem;
    }
}

.lv2-catalog-search {
    position: relative;
    display: block;
    width: 100%;
}

.lv2-catalog-search input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9375rem;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lv2-catalog-search input:focus {
    outline: none;
    border-color: #640200;
    box-shadow: 0 0 0 3px rgba(100, 2, 0, 0.1);
}

.lv2-catalog-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

.lv2-catalog-search__icon svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.lv2-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .lv2-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .lv2-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .lv2-catalog-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.lv2-catalog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lv2-catalog-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.25);
    transform: translateY(-3px);
}

.lv2-catalog-card__media {
    position: relative;
    aspect-ratio: 12 / 18;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.lv2-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.lv2-catalog-card:hover .lv2-catalog-card__media img {
    transform: scale(1.04);
}

.lv2-catalog-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 1rem;
    color: #64748b;
}

.lv2-catalog-loading__spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid #e2e8f0;
    border-top-color: #640200;
    border-radius: 50%;
    animation: lv2-catalog-spin 0.8s linear infinite;
}

@keyframes lv2-catalog-spin {
    to { transform: rotate(360deg); }
}

.lv2-catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
    font-size: 0.9375rem;
}

/* Detay modal */
#lv2-catalog-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#lv2-catalog-modal.is-open {
    display: flex;
}

#lv2-catalog-modal .lv2-catalog-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

#lv2-catalog-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 56rem;
    max-height: min(92vh, 780px);
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    #lv2-catalog-modal-card {
        max-width: 68rem;
        max-height: min(90vh, 820px);
    }
}

@media (min-width: 1024px) {
    #lv2-catalog-modal-card {
        max-width: 72rem;
    }
}

.lv2-catalog-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fafafa;
    flex-shrink: 0;
}

#lv2-catalog-modal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    padding-right: 0.5rem;
}

@media (min-width: 768px) {
    #lv2-catalog-modal-title {
        font-size: 1.125rem;
    }
}

.lv2-catalog-modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

@media (min-width: 768px) {
    .lv2-catalog-modal-body {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem);
        gap: 1.75rem;
        padding: 1.5rem 1.75rem;
        align-items: stretch;
        overflow: hidden;
    }
}

@media (min-width: 1024px) {
    .lv2-catalog-modal-body {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 28rem);
        gap: 2rem;
        padding: 1.75rem 2rem;
    }
}

.lv2-catalog-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.lv2-catalog-modal-media {
    aspect-ratio: 12 / 18;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    touch-action: pan-y;
}

@media (min-width: 768px) {
    .lv2-catalog-gallery {
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        justify-self: center;
    }

    .lv2-catalog-modal-media {
        width: auto;
        height: min(calc(90vh - 11rem), 540px);
        max-width: 100%;
        max-height: min(calc(90vh - 11rem), 540px);
    }

    .lv2-catalog-gallery__dots {
        width: 100%;
    }
}

.lv2-catalog-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lv2-catalog-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.lv2-catalog-gallery__nav:hover:not(:disabled) {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.lv2-catalog-gallery__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.lv2-catalog-gallery__nav--prev {
    left: 0.5rem;
}

.lv2-catalog-gallery__nav--next {
    right: 0.5rem;
}

.lv2-catalog-gallery__nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

.lv2-catalog-gallery__counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
}

.lv2-catalog-gallery__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.625rem;
}

.lv2-catalog-gallery__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.lv2-catalog-gallery__dot.is-active {
    background: #640200;
    transform: scale(1.15);
}

.lv2-catalog-modal-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-self: stretch;
    min-width: 0;
    height: 100%;
}

@media (min-width: 768px) {
    .lv2-catalog-modal-info {
        gap: 1rem;
        position: static;
        overflow: hidden;
        min-height: 0;
        max-height: 100%;
    }

    .lv2-catalog-modal-sku,
    .lv2-catalog-options,
    .lv2-catalog-tg-btn {
        flex-shrink: 0;
    }

    .lv2-catalog-attrs {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .lv2-catalog-attrs-scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

.lv2-catalog-modal-sku {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #640200;
    margin: 0;
}

.lv2-catalog-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.125rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
}

.lv2-catalog-option {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.lv2-catalog-option__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.lv2-catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0;
}

.lv2-catalog-color-chips {
    gap: 0.5rem;
}

.lv2-catalog-chip {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.lv2-catalog-chip--color-thumb {
    padding: 0;
    width: 3.25rem;
    aspect-ratio: 12 / 18;
    height: auto;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.lv2-catalog-chip--color-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lv2-catalog-chip--color-thumb.is-active {
    border-color: #640200;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #640200;
}

button.lv2-catalog-chip--color-thumb:hover:not(.is-active) {
    border-color: #94a3b8;
    background: #fff;
    color: inherit;
}

button.lv2-catalog-chip--color-thumb.is-active,
button.lv2-catalog-chip--color-thumb.is-active:hover {
    background: #fff;
    color: inherit;
}

@media (min-width: 768px) {
    .lv2-catalog-chip--color-thumb {
        width: 3rem;
    }
}

.lv2-catalog-chip.is-active,
.lv2-catalog-chip--size {
    cursor: default;
}

button.lv2-catalog-chip--color:not(.lv2-catalog-chip--color-thumb).is-active,
button.lv2-catalog-chip--color:not(.lv2-catalog-chip--color-thumb):hover {
    background: #640200;
    border-color: #640200;
    color: #fff;
}

.lv2-catalog-chip--empty {
    cursor: default;
    color: #94a3b8;
    background: #f8fafc;
    border-style: dashed;
}

.lv2-catalog-tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    background-color: #2aabee;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px -8px rgba(42, 171, 238, 0.55);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
    .lv2-catalog-tg-btn {
        font-size: 0.875rem;
        padding: 0.8125rem 1.125rem;
    }
}

.lv2-catalog-tg-btn:hover {
    background-color: #2299d6;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(42, 171, 238, 0.6);
}

.lv2-catalog-tg-btn__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.lv2-catalog-attrs {
    width: 100%;
    padding: 1rem 1rem 1.125rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-sizing: border-box;
}

.lv2-catalog-attrs-title {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #640200;
}

.lv2-catalog-attrs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.lv2-catalog-attrs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    table-layout: fixed;
}

.lv2-catalog-attrs-table thead th {
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.lv2-catalog-attrs-table thead th:first-child {
    width: 38%;
}

.lv2-catalog-attrs-table tbody th,
.lv2-catalog-attrs-table tbody td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    line-height: 1.4;
}

.lv2-catalog-attrs-table tbody tr:last-child th,
.lv2-catalog-attrs-table tbody tr:last-child td {
    border-bottom: none;
}

.lv2-catalog-attrs-table tbody tr:nth-child(even) th {
    background: #fafafa;
}

.lv2-catalog-attr-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-align: left;
}

.lv2-catalog-attr-value {
    margin: 0;
    font-size: 0.8125rem;
    color: #0f172a;
    word-break: break-word;
}

@media (min-width: 768px) {
    .lv2-catalog-modal-info {
        justify-content: flex-start;
    }

    .lv2-catalog-modal-head {
        padding: 1.125rem 1.75rem;
    }
}

.lv2-hero__cta-catalog {
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.35);
}

.lv2-catalog-header-btn {
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.35);
}
