/* ═══════════════════════════════════════════════════════════
   ELEGANZA — Homepage Components CSS  (Dark Navy Edition)
   ═══════════════════════════════════════════════════════════ */

/* ─── Shared section header pattern ──────────────────────── */
.ecat-header,
.eseo-header,
.hcp-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}
.ecat-header-line,
.eseo-header-line,
.hcp-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,200,122,.35));
}
.ecat-header-line--r,
.eseo-header-line--r,
.hcp-header-line--r,
.ecat-header-line:last-child,
.hcp-header-line:last-child {
    background: linear-gradient(90deg, rgba(232,200,122,.35), transparent);
}
.ecat-header-center,
.eseo-header-center,
.hcp-header-center {
    text-align: center;
    flex-shrink: 0;
}

/* Shared eyebrow badge */
.ecat-eyebrow,
.eseo-eyebrow,
.hcp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e8c87a;
    padding: .22rem .9rem;
    border: 1px solid rgba(232,200,122,.35);
    border-radius: 20px;
    margin-bottom: .4rem;
}

/* Shared titles */
.ecat-title,
.eseo-title,
.hcp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.ecat-title em,
.eseo-title em,
.hcp-title em {
    font-style: italic;
    color: #e8c87a;
}

/* ═══════════════════════════════════════
   SEO Section
   ═══════════════════════════════════════ */
.eseo-section {
    background: linear-gradient(175deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}
.eseo-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,200,122,.07) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}
.eseo-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,52,96,.5) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

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

/* Body */
.eseo-section .eseo-body {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 3rem;
    align-items: start;
}
.eseo-divider-v {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(232,200,122,.25), transparent);
    align-self: stretch;
    min-height: 180px;
}

/* Lead */
.eseo-lead {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255,255,255,.88);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}
.eseo-lead strong { font-weight: 700; color: #e8c87a; }

.eseo-p {
    font-family: 'Poppins', sans-serif;
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.85;
    margin: 0 0 1.1rem;
}
.eseo-p:last-child { margin-bottom: 0; }
.eseo-keyword { display: inline; font-weight: 600; color: rgba(255,255,255,.8); }

/* Feature list */
.eseo-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.eseo-feature-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 14px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(232,200,122,.12);
    border-radius: 12px;
    transition: all .2s;
}
.eseo-feature-item:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(232,200,122,.3);
    transform: translateX(4px);
}
.eseo-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(232,200,122,.2), rgba(232,200,122,.08));
    border: 1px solid rgba(232,200,122,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8c87a;
    font-size: 1rem;
}
.eseo-feature-text {
    font-family: 'Poppins', sans-serif;
    font-size: .84rem;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
}
.eseo-feature-text strong {
    font-weight: 700;
    color: #fff;
    display: block;
    font-size: .875rem;
    margin-bottom: .1rem;
}

/* CTA strip */
.eseo-cta-strip {
    margin-top: 3.5rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(232,200,122,.14);
    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: rgba(255,255,255,.9);
}
.eseo-cta-text em { font-style: italic; color: #e8c87a; }
.eseo-cta-links { display: flex; flex-wrap: wrap; gap: .6rem; }

.eseo-cta-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem 1.4rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .22s;
}
.eseo-cta-link--primary {
    background: linear-gradient(135deg, #e8c87a, #f0d48a);
    color: #1a1a2e;
    border: none;
    box-shadow: 0 4px 16px rgba(232,200,122,.3);
}
.eseo-cta-link--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232,200,122,.45);
    color: #1a1a2e;
}
.eseo-cta-link--outline {
    background: transparent;
    color: #e8c87a;
    border: 1.5px solid rgba(232,200,122,.4);
}
.eseo-cta-link--outline:hover {
    background: rgba(232,200,122,.1);
    border-color: #e8c87a;
    color: #e8c87a;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   Categories Section  — Dark Navy
   ═══════════════════════════════════════ */
.ecat-section {
    background: #f0ede8;
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}
.ecat-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,169,110,.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}
.ecat-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
.ecat-header { margin-bottom: 2.8rem; }

.ecat-title { color: #1a1a2e; }
.ecat-title em { color: #e8c87a; }
.ecat-eyebrow { color: #1a1a2e; border-color: rgba(200,169,110,.4); background: transparent; }
.ecat-header-line {
    background: linear-gradient(90deg, transparent, rgba(200,169,110,.35));
}
.ecat-header-line--r,
.ecat-header-line:last-child {
    background: linear-gradient(90deg, rgba(200,169,110,.35), transparent);
}

/* Tabs */
.ecat-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 2.8rem;
    border-bottom: 1px solid #ddd8d0;
    flex-wrap: wrap;
}
.ecat-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2.2rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all .25s ease;
    min-width: 110px;
}
.ecat-tab-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd8d0;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.ecat-tab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ecat-tab-avatar--empty { font-size: 1.5rem; color: #aaa; }
.ecat-tab-name {
    font-family: 'Poppins', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: color .25s;
}
.ecat-tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #e8c87a;
    transition: transform .25s ease;
    border-radius: 2px 2px 0 0;
}
.ecat-tab:hover .ecat-tab-avatar {
    border-color: #e8c87a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200,169,110,.25);
}
.ecat-tab:hover .ecat-tab-name { color: #1a1a2e; }
.ecat-tab.active .ecat-tab-avatar {
    border-color: #e8c87a;
    box-shadow: 0 8px 28px rgba(200,169,110,.3);
    transform: translateY(-4px);
}
.ecat-tab.active .ecat-tab-name { color: #1a1a2e; font-weight: 700; }
.ecat-tab.active .ecat-tab-indicator { transform: translateX(-50%) scaleX(1); }

/* Panel */
.ecat-panel { display: none; animation: ecatFade .3s ease; }
.ecat-panel.active { display: block; }
@keyframes ecatFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Subcategory 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: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e3dc;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ecat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,.12);
    border-color: #e8c87a;
}
.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 .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: #bbb;
    background: #f5f2ee;
}
.ecat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.55) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: .7rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.ecat-card:hover .ecat-card-overlay { opacity: 1; }
.ecat-card-cta {
    font-family: 'Poppins', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: .05em;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.ecat-card-foot {
    padding: .65rem .7rem .75rem;
    background: #fff;
    border-top: 1px solid #f0ebe3;
    text-align: center;
}
.ecat-card-name {
    font-family: 'Poppins', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
    display: block;
}

/* Quick pills */
.ecat-pills {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid #ddd8d0;
    align-items: center;
}
.ecat-pills-label {
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
    margin-right: .2rem;
    flex-shrink: 0;
}
.ecat-pill {
    padding: .38rem 1rem;
    border-radius: 30px;
    border: 1px solid #d4c9b8;
    font-family: 'Poppins', sans-serif;
    font-size: .76rem;
    font-weight: 500;
    color: #1a1a2e;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
}
.ecat-pill:hover {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #e8c87a;
}
.ecat-empty { text-align: center; padding: 4rem 1rem; color: #aaa; }
.ecat-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.ecat-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; color: #999; }

/* ═══════════════════════════════════════
   Category Products Sections
   ═══════════════════════════════════════ */
.hcp-section {
    background: linear-gradient(175deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 72px 0 80px;
    position: relative;
}
.hcp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(232,200,122,.05) 0%, transparent 60%);
    pointer-events: none;
}
.hcp-section--alt {
    background: linear-gradient(175deg, #0f3460 0%, #16213e 60%, #1a1a2e 100%);
}

.hcp-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
.hcp-header { margin-bottom: 2.5rem; }

.hcp-footer {
    display: flex;
    justify-content: center;
    margin-top: 2.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(232,200,122,.15);
}
.hcp-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 2.4rem;
    border: 1.5px solid rgba(232,200,122,.5);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .07em;
    color: #e8c87a;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .25s;
    background: transparent;
}
.hcp-btn:hover {
    background: linear-gradient(135deg, #e8c87a, #f0d48a);
    border-color: transparent;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,200,122,.3);
}
.hcp-btn i { transition: transform .25s; }
.hcp-btn:hover i { transform: translateX(5px); }

.hcp-empty { text-align: center; padding: 3rem 1rem; color: rgba(232,200,122,.45); }
.hcp-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.hcp-empty p { font-family: 'Poppins', sans-serif; font-size: .9rem; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════
   Best Sellers (Dark Navy)
   ═══════════════════════════════════════ */
.hbs-section {
    background: linear-gradient(180deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    padding: 0 0 80px;
    position: relative;
}
.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(232,200,122,.4));
}
.hbs-deco-top span:last-child,
.hbs-deco-bottom span:last-child {
    background: linear-gradient(90deg, rgba(232,200,122,.4), transparent);
}
.hbs-deco-top i,
.hbs-deco-bottom i {
    color: #e8c87a;
    font-size: 1rem;
    opacity: .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: .68rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #e8c87a;
    margin-bottom: .6rem;
    padding: .22rem .9rem;
    border: 1px solid rgba(232,200,122,.3);
    border-radius: 20px;
}
.hbs-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .6rem;
    line-height: 1.2;
}
.hbs-title em { font-style: italic; color: #e8c87a; }
.hbs-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    color: rgba(255,255,255,.4);
    margin: 0;
}
.hbs-grid .eleganza-category-product-card {
    box-shadow: 0 4px 20px rgba(0,0,0,.28);
}
.hbs-empty { text-align: center; padding: 3rem 1rem; color: rgba(232,200,122,.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,.35); }

/* ═══════════════════════════════════════
   Product Grid (shared)
   ═══════════════════════════════════════ */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.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; }

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .eseo-section .eseo-body { grid-template-columns: 1fr; gap: 1.5rem 0; }
    .eseo-divider-v          { display: none; }
    .eseo-title              { font-size: 1.6rem; }
    .eseo-section            { padding: 52px 0 60px; }
}
@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; }
}

@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: .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; }
    .hcp-section, .hbs-section          { padding-top: 52px; }
}
@media (max-width: 768px) {
    .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
    .hcp-section, .hbs-section { padding-top: 48px; }
    .ecat-section       { padding: 52px 0 60px; }
    .ecat-grid          { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
    .ecat-tab           { padding: .7rem 1.2rem .8rem; min-width: 80px; }
    .ecat-tab-avatar    { width: 58px; height: 58px; }
    .ecat-tab-name      { font-size: .7rem; }
}
@media (max-width: 576px) {
    .home-products-grid { gap: .65rem; }
    .ecat-grid          { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
    .ecat-tab           { padding: .6rem .9rem .7rem; min-width: 68px; }
    .ecat-tab-avatar    { width: 50px; height: 50px; }
    .ecat-card-name     { font-size: .7rem; }
    .hcp-btn            { font-size: .75rem; padding: .65rem 1.5rem; }
    .hbs-title          { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════
   Per-Category Full-Width Carousels
   ═══════════════════════════════════════ */
.hcat-section {
    padding: 48px 0 56px;
    background: #fff;
    overflow: hidden;
}
.hcat-section--alt {
    background: #f5f5f7;
}
.hcat-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 0 0 32px;
}

/* Header row */
.hcat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 32px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.hcat-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}
.hcat-title-link {
    color: inherit;
    text-decoration: none;
}
.hcat-title-link:hover {
    color: #c8a96e;
}

/* Subcategory image strip */
.hcat-substrip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    padding-right: 32px;
    margin-bottom: 1.4rem;
}
.hcat-substrip::-webkit-scrollbar { display: none; }

.hcat-subcard {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    transition: transform .18s;
}
.hcat-subcard:hover { transform: translateY(-2px); }

.hcat-subcard-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .18s;
}
.hcat-subcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hcat-subcard-img i {
    font-size: 1.6rem;
    color: #aaa;
}
.hcat-subcard:hover .hcat-subcard-img {
    border-color: #c8a96e;
}

.hcat-subcard-img--all {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-color: #c8a96e;
}
.hcat-subcard-img--all i {
    color: #c8a96e;
}

.hcat-subcard-name {
    font-size: .72rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}
.hcat-subcard--all .hcat-subcard-name {
    color: #c8a96e;
}

/* See-all button */
.hcat-see-all {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.3rem;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #c8a96e;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s;
    align-self: flex-start;
}
.hcat-see-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15,52,96,.25);
    color: #d4b97e;
}
.hcat-see-all i {
    font-size: 1rem;
}

/* Carousel outer wrapper — positions arrows */
.hcat-carousel-outer {
    position: relative;
    width: 100%;
}

/* Navigation arrows */
.hcat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(26,26,46,.85);
    color: #c8a96e;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
}
.hcat-arrow--l { left: -16px; }
.hcat-arrow--r { right: 16px; }
.hcat-arrow:hover {
    background: #1a1a2e;
    color: #d4b97e;
    transform: translateY(-50%) scale(1.08);
}
.hcat-arrow--hidden {
    opacity: 0;
    pointer-events: none;
}

/* The scrollable track — full viewport width */
.hcat-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    padding-right: 32px;
}
.hcat-carousel::-webkit-scrollbar { display: none; }

/* Each carousel item — fixed width so many fit */
.hcat-item {
    flex: 0 0 210px;
    width: 210px;
}
.hcat-item .pcard {
    width: 100%;
}
.hcat-item .pcard-name   { font-size: .82rem; }
.hcat-item .pcard-brand  { font-size: .62rem; }
.hcat-item .pcard-body   { padding: .7rem .8rem .4rem; }
.hcat-item .pcard-footer { padding: .5rem .8rem .65rem; flex-direction: column; align-items: flex-start; gap: .45rem; }
.hcat-item .pcard-btn    { width: 100%; justify-content: center; font-size: .68rem; padding: .5rem .7rem; }
.hcat-item .pcard-ship   { padding: .32rem .8rem; font-size: .62rem; }
.hcat-item .pcard-price .price-current { font-size: 1.2rem; }

/* Responsive */
@media (max-width: 900px) {
    .hcat-inner  { padding-left: 16px; }
    .hcat-head   { padding-right: 16px; }
    .hcat-substrip { padding-right: 16px; }
    .hcat-carousel { padding-right: 16px; }
    .hcat-title  { font-size: 1.5rem; }
    .hcat-item   { flex: 0 0 170px; width: 170px; }
    .hcat-arrow--l { left: -4px; }
    .hcat-arrow--r { right: 4px; }
    .hcat-subcard-img { width: 68px; height: 68px; }
    .hcat-subcard-name { max-width: 68px; font-size: .68rem; }
}
@media (max-width: 576px) {
    .hcat-inner  { padding-left: 12px; }
    .hcat-head   { padding-right: 12px; }
    .hcat-substrip { padding-right: 12px; gap: 8px; }
    .hcat-carousel { padding-right: 12px; gap: 10px; }
    .hcat-title  { font-size: 1.3rem; }
    .hcat-item   { flex: 0 0 148px; width: 148px; }
    .hcat-see-all { font-size: .75rem; padding: .45rem 1rem; }
    .hcat-arrow  { width: 34px; height: 34px; font-size: .9rem; }
    .hcat-subcard-img { width: 60px; height: 60px; }
    .hcat-subcard-name { max-width: 60px; font-size: .65rem; }
}

/* ═══════════════════════════════════════
   Blog Son Yazılar Carousel (Homepage)
   ═══════════════════════════════════════ */
.hblog-section {
    background: linear-gradient(175deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 56px 0 64px;
    overflow: hidden;
}
.hblog-inner {
    width: 100%;
    padding: 0 0 0 32px;
}

/* Header */
.hblog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-right: 32px;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.hblog-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c8a96e;
    margin-bottom: .45rem;
}
.hblog-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.hblog-title em {
    color: #c8a96e;
    font-style: normal;
}
.hblog-see-all {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem 1.4rem;
    background: linear-gradient(135deg, #c8a96e, #d4b97e);
    color: #1a1a2e;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s;
}
.hblog-see-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,169,110,.4);
    color: #1a1a2e;
}

/* Carousel outer */
.hblog-carousel-outer {
    position: relative;
    width: 100%;
}

/* Arrows */
.hblog-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(200,169,110,.5);
    background: rgba(26,26,46,.9);
    color: #c8a96e;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    backdrop-filter: blur(6px);
}
.hblog-arrow--l { left: -14px; }
.hblog-arrow--r { right: 18px; }
.hblog-arrow:hover {
    background: #c8a96e;
    color: #1a1a2e;
    border-color: #c8a96e;
    transform: translateY(-50%) scale(1.08);
}
.hblog-arrow--hidden { opacity: 0; pointer-events: none; }

/* Scrollable track */
.hblog-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    padding-right: 32px;
}
.hblog-carousel::-webkit-scrollbar { display: none; }

/* Each card */
.hblog-card {
    flex: 0 0 260px;
    width: 260px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(200,169,110,.18);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all .22s;
    backdrop-filter: blur(4px);
}
.hblog-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(200,169,110,.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

/* Card image */
.hblog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    flex-shrink: 0;
}
.hblog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.hblog-card:hover .hblog-card-img { transform: scale(1.05); }
.hblog-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(200,169,110,.4);
}
.hblog-card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c8a96e;
    color: #1a1a2e;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .25rem .6rem;
    border-radius: 4px;
}

/* Card body */
.hblog-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hblog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hblog-card-excerpt {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.hblog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .72rem;
    color: rgba(200,169,110,.75);
    margin-top: 4px;
}
.hblog-card-meta i { margin-right: 3px; }

/* Responsive */
@media (max-width: 900px) {
    .hblog-inner  { padding-left: 16px; }
    .hblog-head   { padding-right: 16px; }
    .hblog-carousel { padding-right: 16px; }
    .hblog-title  { font-size: 1.6rem; }
    .hblog-card   { flex: 0 0 220px; width: 220px; }
}
@media (max-width: 576px) {
    .hblog-inner  { padding-left: 12px; }
    .hblog-head   { padding-right: 12px; align-items: flex-start; }
    .hblog-carousel { padding-right: 12px; gap: 10px; }
    .hblog-title  { font-size: 1.4rem; }
    .hblog-card   { flex: 0 0 200px; width: 200px; }
    .hblog-arrow  { width: 36px; height: 36px; font-size: .9rem; }
}
