/* Shared "alt" design language: dark hero accents, pill navigation,
   scroll-friendly product/instagram rails. Used by IndexAlt and ProductsAlt. */

.alt-hero {
    width: 100%;
    background-color: rgb(243, 242, 238);
    color: #111;
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.alt-hero-text {
    flex: 1 1 420px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.alt-hero-eyebrow {
    color: #e53637;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.alt-hero-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

.alt-hero-desc {
    color: rgb(90, 90, 90);
    font-size: 16px;
    line-height: 1.6;
}

.alt-hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.alt-btn-primary {
    background-color: #e53637;
    color: white;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.25s ease;
}

.alt-btn-primary:hover {
    background-color: #c62b2c;
    color: white;
}

.alt-btn-outline {
    border: 1px solid rgba(0,0,0,0.25);
    color: #111;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.alt-btn-primary.alt-btn-sm,
.alt-btn-outline.alt-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    white-space: nowrap;
}

.alt-btn-outline:hover {
    border-color: rgba(0,0,0,0.5);
    background-color: rgba(0,0,0,0.05);
    color: #111;
}

.alt-hero-visual {
    flex: 0 1 460px;
    max-width: 460px;
    width: 100%;
    position: relative;
}

.alt-hero-visual img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    display: block;
}

.alt-hero-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: white;
    color: #111;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
}

.alt-hero-badge i {
    color: #e53637;
    font-size: 20px;
}

/* ---------- Compact page header (store-style pages) ---------- */
.alt-page-header {
    width: 100%;
    background-color: rgb(243, 242, 238);
    color: #111;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alt-page-header .alt-hero-eyebrow {
    font-size: 11px;
    margin-bottom: 2px;
}

.alt-page-title {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    font-weight: 700;
}

.alt-page-breadcrumb {
    color: rgb(110,110,110);
    font-size: 12px;
}

.alt-page-breadcrumb a {
    color: rgb(110,110,110);
    text-decoration: none;
}

.alt-page-breadcrumb a:hover {
    color: #111;
}

/* ---------- Stats strip ---------- */
.alt-stats {
    width: 100%;
    padding-top: 36px;
    padding-bottom: 36px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
    background-color: white;
    border-bottom: 1px solid rgb(230,230,230);

    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.alt-stat {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.alt-stat i {
    font-size: 26px;
    color: #e53637;
}

.alt-stat-number {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.alt-stat-label {
    font-size: 13px;
    color: rgb(90,90,90);
}

/* ---------- Products ---------- */
.alt-products-section {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 20px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
}

.alt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 16px;
}

.alt-section-title {
    font-size: 26px;
    font-weight: 700;
}

.alt-pill-nav {
    display: flex;
    gap: 8px;
    background: rgb(243, 242, 238);
    padding: 5px;
    border-radius: 30px;
    flex-wrap: wrap;
}

.alt-pill-nav.scrollable {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.alt-pill-nav a {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.alt-pill-nav a.active {
    background-color: #111;
    color: white;
}

/* Product grid: wraps to a max of 4 columns and centers the last, partial row */
.alt-product-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.alt-product-card {
    flex: 0 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    min-width: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    background: white;
}

.alt-product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.alt-product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.alt-product-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alt-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.alt-product-price-current {
    font-size: 16px;
    font-weight: 700;
}

.alt-product-price-original {
    font-size: 12px;
    color: #999;
}

.alt-product-rating {
    font-size: 12px;
    color: #f5b301;
    display: flex;
    align-items: center;
    gap: 1px;
}

.alt-empty-state {
    width: 100%;
    text-align: center;
    color: #888;
    padding: 60px 0;
    font-size: 15px;
}

/* ---------- Weekly discount ---------- */
.alt-discount-banner {
    width: 100%;
    margin-top: 60px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
    background-color: #f3ede9;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 460px;
}

.alt-discount-info {
    flex: 1 1 380px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: opacity 0.2s ease;
}

.alt-discount-eyebrow {
    color: #e53637;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alt-discount-title {
    font-size: 28px;
    font-weight: 700;
}

.alt-countdown {
    display: flex;
    gap: 10px;
}

.alt-countdown-cell {
    background: #111;
    color: white;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    min-width: 56px;
}

.alt-countdown-cell span {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.alt-countdown-cell small {
    font-size: 10px;
    color: rgb(190,190,190);
}

.alt-discount-visual {
    flex: 0 1 420px;
    max-width: 420px;
    width: 100%;
    transition: opacity 0.2s ease;
}

.alt-discount-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

/* ---------- Instagram: horizontal scroll of square "post" tiles ---------- */
.alt-instagram-section {
    width: 100%;
    margin-top: 70px;
    padding-top: 0;
    padding-bottom: 70px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
}

.alt-instagram-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    margin-top: 20px;
    scrollbar-width: thin;
}

.alt-instagram-scroll a {
    flex: 0 0 auto;
    width: 320px;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.alt-instagram-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.alt-instagram-scroll a:hover img {
    transform: scale(1.06);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .alt-product-card {
        flex-basis: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 900px) {
    .alt-hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .alt-hero-visual {
        max-width: 100%;
    }

    .alt-hero-badge {
        left: 0;
    }

    .alt-discount-banner {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 0;
    }

    .alt-discount-visual {
        max-width: 100%;
        order: -1;
    }
}

@media (max-width: 768px) {
    .alt-pill-nav,
    .alt-pill-nav.scrollable {
        flex-wrap: wrap;
        overflow-x: visible;
        width: 100%;
        justify-content: center;
    }

    .alt-pill-nav a {
        padding: 7px 14px;
        font-size: 13px;
    }

    .alt-section-head {
        align-items: stretch;
    }

    .alt-product-rail {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .alt-product-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        scroll-snap-align: none;
    }

    .alt-instagram-scroll {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .alt-instagram-scroll a {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}

/* ---------- Shared form fields (Login, Account pages) ---------- */
.alt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.alt-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.alt-field input,
.alt-field select,
.alt-field textarea {
    border: 1px solid rgb(210,210,210);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    background: white;
}

.alt-field input:focus,
.alt-field select:focus,
.alt-field textarea:focus {
    outline: none;
    border-color: #111;
}

.alt-field input:disabled {
    background: rgb(248,248,248);
    color: #666;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #111;
}

/* Bootstrap modal reskin: rounder, matches site palette */
.modal-content {
    border-radius: 18px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal-header,
.modal-footer {
    border-color: rgb(235,235,235);
    padding: 18px 24px;
}

.modal-body {
    padding: 22px 24px;
}

.modal-title {
    font-size: 17px;
}

.btn-close:focus {
    box-shadow: none;
}

.alt-password-field {
    position: relative;
    width: 100%;
}

.alt-password-field input {
    padding-right: 42px;
}

.alt-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.alt-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ---------- Auth (login/register) card ---------- */
.altl-wrapper {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 80px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.altl-card {
    width: 100%;
    max-width: 440px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px;
    box-sizing: border-box;
}

.altl-tabs {
    display: flex;
    background: rgb(243, 242, 238);
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 26px;
}

.altl-tabs a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.altl-tabs a.active {
    background-color: #111;
    color: white;
}

.altl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.altl-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.altl-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.altl-forgot {
    text-align: center;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    margin-top: 6px;
}

.altl-forgot:hover {
    color: #e53637;
}

/* ---------- Account / profile pages ---------- */
.alt-account-layout {
    width: 100%;
    padding-top: 32px;
    padding-bottom: 60px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.alt-account-sidebar {
    flex: 0 0 200px;
    width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.alt-account-sidebar a {
    padding: 9px 12px;
    border-radius: 7px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 9px;
}

.alt-account-sidebar a i {
    font-size: 14px;
    width: 15px;
    text-align: center;
    color: #999;
    transition: color 0.2s ease;
}

.alt-account-sidebar a:hover {
    background: rgb(243, 242, 238);
}

.alt-account-sidebar a.active {
    background: #111;
    color: white;
}

.alt-account-sidebar a.active i {
    color: white;
}

.alt-account-sidebar .alt-account-divider {
    height: 1px;
    background: rgb(230,230,230);
    margin: 5px 4px;
}

.alt-account-content {
    flex: 1 1 600px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.alt-account-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    padding: 22px;
    box-sizing: border-box;
}

.alt-account-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Favorites/product grids inside the narrower account content area:
   force 3 columns so card width stays close to the 4-col Mağaza grid
   instead of shrinking to the rail's default min-width floor. */
.alt-account-content .alt-product-card {
    flex: 0 1 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    min-width: 240px;
}

.alt-account-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.alt-account-row .alt-field {
    flex: 1 1 220px;
}

.alt-account-mobile-toggle {
    display: none;
}

@media (max-width: 900px) {
    .alt-account-layout {
        flex-direction: column;
    }

    .alt-account-content {
        width: 100%;
    }

    .alt-account-sidebar {
        display: none;
        width: 100%;
    }

    .alt-account-sidebar.open {
        display: flex;
    }

    .alt-account-mobile-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.06);
        padding: 14px 18px;
        box-sizing: border-box;
        font-weight: 700;
        cursor: pointer;
    }
}

/* ---------- Hukuki içerik sayfaları (KVKK / Çerez / Gizlilik) ---------- */
.alt-legal-section {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: var(--content-side-padding);
    padding-right: var(--content-side-padding);
    box-sizing: border-box;
}

.alt-legal-content {
    max-width: 780px;
    color: #333;
    font-size: 14px;
    line-height: 1.75;
}

.alt-legal-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 28px;
    margin-bottom: 10px;
}

.alt-legal-content h2:first-child {
    margin-top: 0;
}

.alt-legal-content p {
    margin-bottom: 12px;
}

.alt-legal-content ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.alt-legal-content li {
    margin-bottom: 6px;
}

.alt-legal-content strong {
    color: #111;
}

.alt-legal-content .updated-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 24px;
    display: block;
}
