/* ═══════════════════════════════════════
   ELEGANZA — Homepage Components CSS
   ═══════════════════════════════════════ */

/* ── SEO Section ── */
.eseo-section {
    background: linear-gradient(160deg, #faf8f4 0%, #f3ede4 100%);
    padding: 5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative corner ornaments */
.eseo-section::before,
.eseo-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.eseo-section::before {
    background: radial-gradient(circle, #c8a96e, transparent 70%);
    top: -80px;
    left: -80px;
}

.eseo-section::after {
    background: radial-gradient(circle, #1a1a2e, transparent 70%);
    bottom: -80px;
    right: -80px;
}

.eseo-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.eseo-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.eseo-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.4));
}

.eseo-header-line--r {
    background: linear-gradient(90deg, rgba(200,169,110,0.4), transparent);
}

.eseo-header-center {
    text-align: center;
    flex-shrink: 0;
}

.eseo-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c8a96e;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(200,169,110,0.35);
    border-radius: 20px;
    margin-bottom: 0.4rem;
}

.eseo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

.eseo-title em {
    font-style: italic;
    color: #c8a96e;
}

/* ── Body Layout ── */
.eseo-body {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0 3rem;
    align-items: start;
}

.eseo-divider-v {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(200,169,110,0.3), transparent);
    align-self: stretch;
    min-height: 180px;
}

/* ── Lead Paragraph ── */
.eseo-lead {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.22rem;
    font-weight: 400;
    color: #1a1a2e;
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.eseo-lead strong {
    font-weight: 700;
    color: #c8a96e;
}

/* ── Paragraph ── */
.eseo-p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: rgba(26,26,46,0.65);
    line-height: 1.85;
    margin: 0 0 1.1rem;
}

.eseo-p:last-child { margin-bottom: 0; }

/* ── Category pills inside text ── */
.eseo-keyword {
    display: inline;
    font-weight: 600;
    color: #1a1a2e;
}

/* ── Feature list ── */
.eseo-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.eseo-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.eseo-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(200,169,110,0.15), rgba(200,169,110,0.05));
    border: 1px solid rgba(200,169,110,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a96e;
    font-size: 0.85rem;
    margin-top: 1px;
}

.eseo-feature-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(26,26,46,0.7);
    line-height: 1.6;
}

.eseo-feature-text strong {
    font-weight: 700;
    color: #1a1a2e;
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.1rem;
}

/* ── CTA strip ── */
.eseo-cta-strip {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(200,169,110,0.18);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.eseo-cta-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
}

.eseo-cta-text em {
    font-style: italic;
    color: #c8a96e;
}

.eseo-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.eseo-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.eseo-cta-link--primary {
    background: #1a1a2e;
    color: #c8a96e;
    border: 1.5px solid #1a1a2e;
}

.eseo-cta-link--primary:hover {
    background: transparent;
    color: #1a1a2e;
}

.eseo-cta-link--outline {
    background: transparent;
    color: #1a1a2e;
    border: 1.5px solid rgba(26,26,46,0.25);
}

.eseo-cta-link--outline:hover {
    border-color: #c8a96e;
    color: #c8a96e;
}

/* ═══════════════════════════════════════
   ELEGANZA — Categories Section
   ═══════════════════════════════════════ */

.ecat-section {
    background: #fff;
    padding: 3.5rem 0 4rem;
}

.ecat-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Section Header (shared pattern) ── */
.ecat-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}

.ecat-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.35));
}

.ecat-header-line--r,
.ecat-header-line:last-child {
    background: linear-gradient(90deg, rgba(200,169,110,0.35), transparent);
}

.ecat-header-center {
    text-align: center;
    flex-shrink: 0;
}

.ecat-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold, #c8a96e);
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(200,169,110,0.35);
    border-radius: 20px;
}

.ecat-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark, #1a1a2e);
    margin: 0;
    line-height: 1.2;
}

.ecat-title em {
    font-style: italic;
    color: var(--gold, #c8a96e);
}

/* ── Ana Kategori Sekmeleri ── */
.ecat-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 2.8rem;
    border-bottom: 1px solid #e9e4da;
    flex-wrap: wrap;
}

.ecat-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    min-width: 110px;
}

.ecat-tab-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e9e4da;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    background: #f7f4ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecat-tab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ecat-tab-avatar--empty {
    font-size: 1.5rem;
    color: #b5a48a;
}

.ecat-tab-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9a8c78;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.25s;
}

.ecat-tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold, #c8a96e);
    transition: transform 0.25s ease;
    border-radius: 2px 2px 0 0;
}

.ecat-tab:hover .ecat-tab-avatar {
    border-color: var(--gold, #c8a96e);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200,169,110,0.2);
}

.ecat-tab:hover .ecat-tab-name { color: var(--primary-dark, #1a1a2e); }

.ecat-tab.active .ecat-tab-avatar {
    border-color: var(--gold, #c8a96e);
    box-shadow: 0 6px 24px rgba(200,169,110,0.25);
    transform: translateY(-4px);
}

.ecat-tab.active .ecat-tab-name {
    color: var(--primary-dark, #1a1a2e);
    font-weight: 700;
}

.ecat-tab.active .ecat-tab-indicator {
    transform: translateX(-50%) scaleX(1);
}

/* ── Panel ── */
.ecat-panel { display: none; animation: ecatFade 0.3s ease; }
.ecat-panel.active { display: block; }

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

/* ── Alt Kategori Grid ── */
.ecat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.2rem;
}

.ecat-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #f7f4ef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26,26,46,0.12);
}

.ecat-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.ecat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ecat-card:hover .ecat-card-media img { transform: scale(1.08); }

.ecat-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #c5b99a;
    background: linear-gradient(145deg, #f0ebe2, #e8e0d0);
}

.ecat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.55) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecat-card:hover .ecat-card-overlay { opacity: 1; }

.ecat-card-cta {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ecat-card-foot {
    padding: 0.65rem 0.7rem 0.75rem;
    background: #fff;
    border-top: 1px solid rgba(200,169,110,0.15);
    text-align: center;
}

.ecat-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary-dark, #1a1a2e);
    line-height: 1.3;
    display: block;
}

/* ── Quick Pills ── */
.ecat-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(200,169,110,0.2);
    align-items: center;
}

.ecat-pills-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a8c78;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.ecat-pill {
    padding: 0.38rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(200,169,110,0.4);
    font-family: 'Poppins', sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--primary-dark, #1a1a2e);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent;
}

.ecat-pill:hover {
    background: var(--primary-dark, #1a1a2e);
    border-color: var(--primary-dark, #1a1a2e);
    color: var(--gold, #c8a96e);
}

.ecat-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #b5a48a;
}

.ecat-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.ecat-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; }

/* ═══════════════════════════════════════
   ELEGANZA — Category Products Sections
   ═══════════════════════════════════════ */

.hcp-section {
    background: #ffffff;
    padding: 4rem 0;
    position: relative;
}

.hcp-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.22), transparent);
}

.hcp-section--alt { background: #faf8f5; }

.hcp-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Shared header pattern (reuse ecat variables) */
.hcp-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hcp-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.3));
}

.hcp-header-line--r {
    background: linear-gradient(90deg, rgba(200,169,110,0.3), transparent);
}

.hcp-header-center {
    text-align: center;
    flex-shrink: 0;
}

.hcp-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold, #c8a96e);
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(200,169,110,0.35);
    border-radius: 20px;
}

.hcp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-dark, #1a1a2e);
    margin: 0;
    line-height: 1.2;
}

.hcp-title em {
    font-style: italic;
    color: var(--gold, #c8a96e);
}

/* "Tümünü Gör" Butonu */
.hcp-footer {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200,169,110,0.18);
}

.hcp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 2.2rem;
    border: 1.5px solid var(--primary-dark, #1a1a2e);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    color: var(--primary-dark, #1a1a2e);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
    background: transparent;
}

.hcp-btn:hover {
    background: var(--primary-dark, #1a1a2e);
    color: var(--gold, #c8a96e);
}

.hcp-btn i { transition: transform 0.25s ease; }
.hcp-btn:hover i { transform: translateX(5px); }

.hcp-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #b5a48a;
}

.hcp-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.hcp-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; }

/* ═══════════════════════════════════════
   ELEGANZA — Best Sellers (Dark Navy)
   ═══════════════════════════════════════ */

.hbs-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 0 0 4rem;
}

.hbs-deco-top,
.hbs-deco-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 2rem 1.5rem;
}

.hbs-deco-top span,
.hbs-deco-bottom span {
    flex: 1;
    max-width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.4));
}

.hbs-deco-top span:last-child,
.hbs-deco-bottom span:last-child {
    background: linear-gradient(90deg, rgba(200,169,110,0.4), transparent);
}

.hbs-deco-top i,
.hbs-deco-bottom i {
    color: var(--gold, #c8a96e);
    font-size: 1rem;
    opacity: 0.65;
}

.hbs-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hbs-header {
    text-align: center;
    margin-bottom: 2.8rem;
}

.hbs-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold, #c8a96e);
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: 20px;
}

.hbs-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.hbs-title em {
    font-style: italic;
    color: var(--gold, #c8a96e);
}

.hbs-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    letter-spacing: 0.02em;
}

.hbs-grid .eleganza-category-product-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}

.hbs-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(200,169,110,0.45);
}

.hbs-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.hbs-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; color: rgba(255,255,255,0.35); }

/* ═══════════════════════════════════════
   ORTAK ÜRÜN GRİDİ
   ═══════════════════════════════════════ */

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

/* Price above, button below */
.home-products-grid .pcard-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}
.home-products-grid .pcard-btn {
    width: 100%;
    justify-content: center;
    font-size: .7rem;
    padding: .55rem .8rem;
}
.home-products-grid .pcard-name { font-size: .88rem; }
.home-products-grid .pcard-brand { font-size: .62rem; }
.home-products-grid .pcard-body { padding: .8rem .9rem .5rem; }
.home-products-grid .pcard-footer { padding: .6rem .9rem .75rem; }
.home-products-grid .pcard-ship { padding: .38rem .9rem; font-size: .63rem; }
.home-products-grid .pcard-price .price-current { font-size: 1.3rem; }

/* ── SEO Section Responsive ── */
@media (max-width: 900px) {
    .eseo-body {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .eseo-divider-v { display: none; }
    .eseo-title { font-size: 1.6rem; }
    .eseo-section { padding: 3.5rem 0 4rem; }
}

@media (max-width: 576px) {
    .eseo-header-line { display: none; }
    .eseo-title { font-size: 1.4rem; }
    .eseo-lead { font-size: 1.05rem; }
    .eseo-cta-strip { flex-direction: column; align-items: flex-start; }
    .eseo-cta-links { width: 100%; }
    .eseo-cta-link { flex: 1; justify-content: center; }
}

/* ── Homepage Grid Responsive ── */
@media (max-width: 1400px) {
    .home-products-grid { grid-template-columns: repeat(5, 1fr); }
    .ecat-grid { grid-template-columns: repeat(7, 1fr); }
}

@media (max-width: 1200px) {
    .home-products-grid { grid-template-columns: repeat(4, 1fr); }
    .ecat-grid { grid-template-columns: repeat(6, 1fr); }
    .hcp-title, .hbs-title { font-size: 1.65rem; }
    .ecat-title { font-size: 1.75rem; }
}

@media (max-width: 992px) {
    .home-products-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
    .ecat-grid { grid-template-columns: repeat(5, 1fr); }
    .hcp-header-line, .ecat-header-line { display: none; }
    .hcp-title, .hbs-title, .ecat-title { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .hcp-section, .hbs-section { padding-top: 2.5rem; }
    .ecat-section { padding: 2.5rem 0 3rem; }
    .ecat-grid { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
    .ecat-tab { padding: 0.7rem 1.2rem 0.8rem; min-width: 80px; }
    .ecat-tab-avatar { width: 58px; height: 58px; }
    .ecat-tab-name { font-size: 0.7rem; }
}

@media (max-width: 576px) {
    .home-products-grid { gap: 0.65rem; }
    .home-products-grid .eleganza-category-product-name { font-size: 0.8rem; }
    .ecat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .ecat-tab { padding: 0.6rem 0.9rem 0.7rem; min-width: 68px; }
    .ecat-tab-avatar { width: 50px; height: 50px; }
    .ecat-card-name { font-size: 0.7rem; }
    .hcp-btn { font-size: 0.75rem; padding: 0.65rem 1.5rem; }
    .hbs-title { font-size: 1.6rem; }
}