/* ============================================
   Site Genel Stilleri
   ============================================ */

body {
    font-family: 'Nunito', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* iOS Safari: 16px altındaki input'lara odaklanınca otomatik zoom olur */
@media screen and (max-width: 767px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* ============================================
   Header
   ============================================ */

.site-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
    background: #fff;
}

/* -- Header Bar (Üst Mor Çubuk) -- */

.header-bar {
    background-color: #1900ab;
}

.header-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0px;
}

.header-bar-text {
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.2px;
}

.header-bar-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-bar-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    margin: 0 10px;
    user-select: none;
}

.header-bar-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.header-bar-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header-bar-links a svg {
    flex-shrink: 0;
}

/* -- Header Main -- */

.header-main {
    padding: 16px 0;
    background: #fff;
}

.header-main-inner {
    display: flex;
    align-items: center;
}

.header-logo {
    flex-shrink: 0;
    margin-right: 40px;
}

.header-logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* -- Search -- */

.header-search {
    flex: 1;
    max-width: 620px;
    margin: 0 auto;
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-icon {
    position: absolute;
    left: 16px;
    color: #999;
    pointer-events: none;
}

.header-search-input {
    width: 100%;
    height: 44px;
    padding: 0 20px 0 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #333;
    background: #f7f7f7;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.header-search-input:focus {
    border-color: #1900ab;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, 0.06);
}

/* -- Header Actions -- */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    margin-left: 40px;
}

.header-action-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
    padding: 6px 10px;
    border-radius: 8px;
}

.header-action-link svg {
    color: #444;
    flex-shrink: 0;
}

.header-action-link:hover {
    color: #1900ab;
    background: rgba(25, 0, 171, 0.04);
}

.header-action-link:hover svg {
    color: #1900ab;
}

/* -- Hamburger Menü Butonu -- */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -- Menü Overlay -- */

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
}

/* -- Header Nav (Tek Menü: Desktop yatay / Mobil yan panel) -- */

.header-nav {
    border-top: 1px solid #eee;
    background: #fff;
}

.header-nav-search {
    display: none;
}

.header-nav-footer {
    display: none;
}

.header-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.header-nav-list li {
    position: relative;
}

.header-nav-list li a {
    display: block;
    padding: 11px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    letter-spacing: 0.1px;
    transition: color 0.15s ease;
    position: relative;
}

.header-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1900ab;
    transition: width 0.2s ease;
}

.header-nav-list li a:hover {
    color: #1900ab;
}

.header-nav-list li a:hover::after {
    width: 60%;
}

/* -- Header Responsive -- */

@media (max-width: 991px) {
    .header-main-inner {
        flex-wrap: wrap;
    }

    .header-logo {
        order: 1;
        margin-right: 0;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 12px;
    }

    .header-search-desktop {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin: 12px 0 0 0;
    }

    .header-nav-list {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header-nav-list::-webkit-scrollbar {
        display: none;
    }

    .header-nav-list li a {
        padding: 10px 16px;
        white-space: nowrap;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        margin-right: 12px;
    }

    .header-bar {
        text-align: center;
    }

    .header-bar-inner {
        justify-content: center;
        padding: 8px 0;
    }

    .header-bar-links {
        display: none;
    }

    .header-bar-text {
        font-size: 12px;
    }

    .header-main {
        padding: 12px 0;
    }

    .header-search-desktop {
        display: none;
    }

    .header-action-desktop {
        display: none;
    }

    .header-action-cart {
        flex-direction: row;
        gap: 6px;
        padding: 4px;
    }

    .header-action-cart span {
        display: inline;
        font-size: 12px;
    }

    .header-logo {
        margin-right: auto;
    }

    .header-logo img {
        height: 34px;
    }

    .header-actions {
        margin-left: 0;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Menü -> Yan Panel */
    .menu-overlay.active {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-top: none;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .header-nav-search {
        display: block;
        padding: 20px 20px 0;
    }

    .header-nav-search form {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: 14px;
        border-bottom: 2px solid #1900ab;
    }

    .header-nav-search svg {
        flex-shrink: 0;
        color: #666;
    }

    .header-nav-search input {
        flex: 1;
        border: none;
        outline: none;
        font-family: 'Nunito', sans-serif;
        font-size: 15px;
        color: #333;
        background: transparent;
    }

    .header-nav-search input::placeholder {
        color: #aaa;
    }

    .header-nav-list {
        flex-direction: column;
        justify-content: flex-start;
        overflow: visible;
        flex: 1;
        padding: 8px 0;
    }

    .header-nav-list li a {
        padding: 15px 20px;
        font-size: 14px;
        font-weight: 700;
        color: #222;
        letter-spacing: 0.5px;
        text-transform: none;
        white-space: normal;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav-list li a::after {
        display: none;
    }

    .header-nav-list li a:hover {
        background: #f8f8f8;
        color: #1900ab;
    }

    .header-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 18px 20px;
        border-top: 1px solid #eee;
    }

    .header-nav-footer a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #444;
        text-decoration: none;
    }

    .header-nav-footer a:hover {
        color: #1900ab;
    }
}

/* ============================================
   Ana sayfa - Teslimat adresi
   ============================================ */

.home-address-bar {
    background: linear-gradient(135deg, #141428 0%, #1e1e38 100%);
    border-radius: 12px;
    padding: 18px 20px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-address-form {
    margin: 0;
}

.home-address-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.home-address-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.home-address-input {
    flex: 1;
    min-width: 200px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: #222;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-address-input::placeholder {
    color: #888;
}

.home-address-input:focus {
    border-color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, 0.2);
}

.home-address-btn {
    height: 46px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #1900ab;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.home-address-btn:hover {
    background: #14008a;
}

.home-address-btn:active {
    transform: scale(0.98);
}

.home-address-hint {
    margin: 12px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

@media (max-width: 767px) {
    .home-address-bar {
        padding: 14px 16px 12px;
    }

    .home-address-fields {
        flex-direction: column;
    }

    .home-address-input {
        min-width: 100%;
        width: 100%;
    }

    .home-address-btn {
        width: 100%;
    }
}

/* ============================================
   Owl Carousel - Hero
   ============================================ */

.hero-carousel {
    border-radius: 12px;
    overflow: hidden;
}

.hero-carousel .owl-stage-outer {
    border-radius: 12px;
}

.carousel-slide {
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-content {
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 600px;
}

.carousel-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.carousel-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.carousel-content .btn {
    font-weight: 600;
    padding: 10px 32px;
    border-radius: 50px;
}

.hero-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
    padding: 0 12px;
}

.hero-carousel .owl-nav button {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}

.hero-carousel:hover .owl-nav button {
    opacity: 1;
}

.hero-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.45) !important;
}

.hero-carousel .owl-nav button span {
    display: none;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.hero-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

.hero-carousel .owl-dots .owl-dot.active span {
    background: #fff;
}

@media (max-width: 768px) {
    .carousel-slide {
        min-height: 240px;
    }

    .carousel-content h2 {
        font-size: 1.4rem;
    }

    .carousel-content p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .carousel-content .btn {
        padding: 8px 24px;
        font-size: 0.85rem;
    }

    .hero-carousel .owl-nav button {
        width: 36px;
        height: 36px;
    }

    .hero-carousel .owl-nav button svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   Cards
   ============================================ */

.card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.card-title {
    font-weight: 700;
}

.card-text {
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    margin-top: auto;
}

.footer-main {
    background: #f5f5f5;
    padding: 48px 0 40px;
    border-top: 1px solid #e5e5e5;
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 17px;
    border-bottom: 1px dashed #5d5d5d;
    padding-bottom: 7px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1900ab;
}

/* Satıcı paneli kutusu */
.footer-seller-box {
    margin-bottom: 20px;
}


.footer-seller-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 8px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.footer-seller-btn:last-child {
    margin-bottom: 0;
}

.footer-seller-btn--primary {
    background: #1900ab;
    color: #fff;
}

.footer-seller-btn--primary:hover {
    background: #14008a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(25, 0, 171, 0.3);
}

.footer-seller-btn--outline {
    background: #fff;
    color: #1900ab;
    border: 1.5px solid #1900ab;
}

.footer-seller-btn--outline:hover {
    background: #f0ecff;
    color: #1900ab;
    transform: translateY(-1px);
}

.footer-seller-btn ion-icon {
    font-size: 16px;
}

/* İletişim */
.footer-contact {
    text-align: right;
}

.footer-contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1900ab;
    margin-bottom: 4px;
}

.footer-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    text-decoration: none;
}

.footer-contact-phone:hover {
    color: #1900ab;
}

.footer-contact-phone ion-icon {
    font-size: 18px;
    color: #1900ab;
}

/* Alt bölüm */
.footer-bottom {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 32px 0 0;
}

.footer-bottom-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e5e5;
}

/* Sosyal medya */
.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.footer-social-icons a:hover {
    background: #444;
}

/* Uygulama indirme */
.footer-app-badges {
    display: flex;
    gap: 10px;
}

.footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.footer-app-badge:hover {
    background: #333;
    color: #fff;
}

.footer-app-badge ion-icon {
    font-size: 22px;
}

.footer-app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-app-badge small {
    font-size: 0.55rem;
    font-weight: 400;
    opacity: 0.7;
}

.footer-app-badge strong {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Güvenlik rozetleri */
.footer-security-badges {
    display: flex;
    gap: 12px;
}

.footer-sec-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
}

.footer-sec-badge ion-icon {
    font-size: 28px;
    color: #111;
}

.footer-sec-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-sec-badge strong {
    font-size: 0.7rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.03em;
}

.footer-sec-badge small {
    font-size: 0.58rem;
    font-weight: 600;
    color: #777;
}

/* Copyright satırı + ödeme logoları */
.footer-copyright-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.footer-copyright-text {
    font-size: 0.72rem;
    color: #888;
}

.footer-payment-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fpl {
    font-size: 0.78rem;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .footer-bottom-row {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 32px 0 28px;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-app-badges {
        flex-direction: column;
    }

    .footer-security-badges {
        flex-direction: column;
    }

    .footer-copyright-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-payment-logos {
        justify-content: center;
    }
}

/* ============================================
   Kategori / ürün listesi
   ============================================ */

.category-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
    border-color: #c4b5fd;
    box-shadow: 0 4px 12px rgba(25, 0, 171, 0.08);
    transform: translateY(-2px);
}

.category-card--all {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #c4b5fd;
}

.category-card--all:hover {
    border-color: #1900ab;
    box-shadow: 0 4px 14px rgba(25, 0, 171, 0.14);
}

.category-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.category-card--all .category-card-icon {
    background: #1900ab;
    color: #fff;
}

.listing-delivery-pin ion-icon {
    font-size: 14px;
}

.listing-delivery-save ion-icon {
    font-size: 18px;
}

.category-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Ürün kartı */
.pcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pcard:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    color: inherit;
}

.pcard-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pcard:hover .pcard-img img {
    transform: scale(1.04);
}

.pcard-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding: 0;
    z-index: 2;
}

.pcard-fav:hover {
    color: #e11d48;
    border-color: #e11d48;
}
.pcard-fav-active {
    color: #e11d48;
    background: #fff;
    border-color: #e11d48;
}
.pcard-fav-active:hover {
    color: #e11d48;
}

.pcard-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pcard-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 6px;
}

.pcard-delivery ion-icon {
    font-size: 14px;
}

.pcard-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcard-brand {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard-price {
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
}

.product-card {
    border-radius: 0.5rem;
}

.product-description {
    line-height: 1.6;
}

/* Son bakılan ürünler */
.recently-viewed-section {
    margin-bottom: 1rem;
}

.recently-viewed-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 14px;
}

.recently-viewed-carousel .owl-stage {
    display: flex;
}

.recently-viewed-carousel .owl-item {
    display: flex;
}

.recently-viewed-carousel .pcard {
    width: 100%;
}

.recently-viewed-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333 !important;
    border: none;
    padding: 0 !important;
    z-index: 5;
}

.recently-viewed-carousel .owl-nav button.owl-prev {
    left: -12px;
}

.recently-viewed-carousel .owl-nav button.owl-next {
    right: -12px;
}

.recently-viewed-carousel .owl-nav button:hover {
    background: #f5f5f5 !important;
}


/* ============================================
   Ürün listesi (kategori) — breadcrumb + teslimat şeridi
   ============================================ */

.products-listing-breadcrumb {
    font-size: 0.8125rem;
    color: #5c5c5c;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 0.2rem 0.35rem;
}

.products-listing-breadcrumb a {
    color: #5c5c5c;
    text-decoration: none;
}

.products-listing-breadcrumb a:hover {
    color: #2a9d5c;
    text-decoration: underline;
}

.products-listing-bc-sep {
    color: #9a9a9a;
    user-select: none;
    margin: 0 0.1rem;
}

.products-listing-bc-current {
    font-weight: 700;
    color: #1a1a1a;
}

.products-listing-h1 {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

.listing-delivery-bar {
    background: #f7f4ef;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 1.75rem;
    border: 1px solid #e8e2d8;
}

.listing-delivery-form {
    margin: 0;
}

.listing-delivery-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.listing-delivery-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #22c55e;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 0 16px;
    min-height: 48px;
    border-radius: 50px;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.listing-delivery-cta ion-icon {
    font-size: 16px;
}

.listing-delivery-cta:hover {
    background: #16a34a;
    color: #fff !important;
}

.listing-delivery-cta:disabled {
    opacity: 0.7;
    cursor: wait;
}

.listing-delivery-pill {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #f9fdf9 0%, #e8f5ec 100%);
    border: 2px solid #2a9d5c;
    border-radius: 999px;
    padding: 6px 8px 6px 12px;
    min-height: 48px;
    margin-left: 12px;
}

.listing-delivery-pin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a9d5c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.listing-delivery-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #14532d;
    outline: none;
}

.listing-delivery-input::placeholder {
    color: #5a8a6e;
    font-weight: 500;
}

.listing-delivery-save {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #2a9d5c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 0;
}

.listing-delivery-save:hover {
    color: #16a34a;
}

@media (max-width: 767px) {
    .listing-delivery-bar {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .listing-delivery-cta {
        padding: 0 10px;
        min-height: 40px;
        font-size: 0;
        gap: 0;
    }

    .listing-delivery-cta ion-icon {
        font-size: 20px;
    }

    .listing-delivery-pill {
        padding: 3px 6px;
    }

    .listing-delivery-input {
        font-size: 0.78rem;
    }

    .listing-delivery-pin {
        width: 26px;
        height: 26px;
    }

    .listing-delivery-pin ion-icon {
        font-size: 12px;
    }

    .listing-delivery-save {
        width: 32px;
        height: 32px;
    }

    .listing-delivery-save ion-icon {
        font-size: 16px;
    }
}

/* ============================================
   Adres modal
   ============================================ */

.address-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.address-modal-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left;
    font-size: 0.82rem;
    color: #15803d;
}

.address-modal-info ion-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.address-modal-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 50px;
    padding: 10px 16px;
    transition: border-color 0.2s ease;
}

.address-modal-input-wrap:focus-within {
    border-color: #22c55e;
}

.address-modal-pin {
    font-size: 22px;
    color: #6b7280;
    flex-shrink: 0;
}

.address-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #111;
    background: transparent;
}

.address-modal-input::placeholder {
    color: #9ca3af;
}

.address-modal-btn {
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    transition: background 0.2s ease;
}

.address-modal-btn:hover {
    background: #16a34a;
    color: #fff;
}

.pac-container {
    z-index: 1060 !important;
}

/* ============================================
   Ürün Detay Sayfası
   ============================================ */

.pd-gallery {
    position: sticky;
    top: 20px;
}

.pd-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.pd-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pd-main-img:hover img {
    transform: scale(1.05);
}

.pd-main-img--empty {
    flex-direction: column;
    gap: 8px;
    color: #aaa;
    font-size: 1rem;
}

.pd-main-img--empty ion-icon {
    font-size: 48px;
}

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #eee;
    background: #f8f8f8;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-thumb--active,
.pd-thumb:hover {
    border-color: #1900ab;
    box-shadow: 0 0 0 2px rgba(25, 0, 171, 0.18);
}

.pd-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-brand {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #1900ab;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pd-brand:hover {
    color: #2d14c9;
    text-decoration: underline;
}

.pd-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    line-height: 1.35;
    margin-bottom: 10px;
}

.pd-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.pd-meta strong {
    color: #555;
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.pd-market-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.pd-price {
    font-size: 28px;
    font-weight: 800;
    color: #1900ab;
}

.pd-price-range {
    font-size: 18px;
    font-weight: 600;
    color: #888;
}

.pd-delivery-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
    margin: 12px 0 10px;
}

.pd-delivery-info ion-icon {
    font-size: 18px;
}

.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pd-stock ion-icon {
    font-size: 16px;
}

.pd-stock--in {
    color: #22c55e;
}

.pd-stock--out {
    color: #ef4444;
}

.pd-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pd-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1900ab;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pd-add-cart:hover:not(:disabled) {
    background: #2d14c9;
    transform: translateY(-1px);
}

.pd-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pd-add-cart ion-icon {
    font-size: 20px;
}

.pd-fav {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    color: #999;
}

.pd-fav:hover {
    border-color: #e11d48;
    color: #e11d48;
}
.pd-fav.pcard-fav-active {
    border-color: #e11d48;
    color: #e11d48;
    background: #fff0f3;
}

.pd-fav ion-icon {
    font-size: 24px;
}

.pd-desc-text + .pd-desc-text {
    margin-top: 12px;
}

.pd-desc-text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Tab Menü */

.pd-tabs-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
}

.pd-tabs-nav {
    display: flex;
    gap: 0;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pd-tabs-nav::-webkit-scrollbar {
    display: none;
}

.pd-tab-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 18px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.pd-tab-btn ion-icon {
    font-size: 17px;
}

.pd-tab-btn:hover {
    color: #1900ab;
    background: rgba(25, 0, 171, 0.03);
}

.pd-tab-btn--active {
    color: #1900ab;
    background: #fff;
    border-bottom-color: #1900ab;
}

.pd-tabs-content {
    padding: 32px 28px;
    min-height: 120px;
}

.pd-tab-pane {
    display: none;
}

.pd-tab-pane--active {
    display: block;
    animation: pdTabFade 0.3s ease;
}

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

/* Tab boş durum */

.pd-tab-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.pd-tab-empty ion-icon {
    font-size: 48px;
    color: #d0d0d0;
    margin-bottom: 14px;
}

.pd-tab-empty p {
    font-size: 15px;
    color: #888;
    margin: 0;
    font-weight: 500;
}

.pd-tab-empty-sub {
    font-size: 13px;
    color: #aaa;
    margin-top: 6px;
}

/* Özellik kartları */

.pd-attrs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.pd-attr-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f9f9fb;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.pd-attr-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.pd-attr-card-value {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

/* İade/İptal blokları */

.pd-return-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-return-block {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: #f9f9fb;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.pd-return-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ff;
    border-radius: 10px;
    color: #1900ab;
}

.pd-return-icon ion-icon {
    font-size: 22px;
}

.pd-return-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}

.pd-return-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 8px;
}

.pd-return-info ul {
    padding-left: 18px;
    margin: 0;
}

.pd-return-info li {
    font-size: 13px;
    color: #666;
    line-height: 1.9;
}

@media (max-width: 767.98px) {
    .pd-tabs-section {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: -12px;
        margin-right: -12px;
    }

    .pd-tabs-nav {
        gap: 0;
        padding: 0 4px;
    }

    .pd-tab-btn {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 10px;
        font-size: 10px;
        gap: 4px;
        min-width: 0;
        flex: 1 0 auto;
    }

    .pd-tab-btn ion-icon {
        font-size: 20px;
    }

    .pd-tab-btn span {
        display: block;
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    .pd-tabs-content {
        padding: 20px 16px;
    }

    .pd-attrs-grid {
        grid-template-columns: 1fr;
    }

    .pd-return-block {
        flex-direction: column;
        gap: 12px;
    }

    .pd-tab-empty {
        padding: 28px 16px;
    }

    .pd-tab-empty ion-icon {
        font-size: 40px;
    }
}

/* Varyasyon Seçicileri */

.pd-variations {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}

.pd-var-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.pd-var-label strong {
    color: #111;
    font-weight: 700;
}

.pd-var-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-var-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 42px;
    padding: 0 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-var-btn:hover:not(:disabled) {
    border-color: #1900ab;
    color: #1900ab;
    background: #f4f1ff;
}

.pd-var-btn--active {
    border-color: #1900ab;
    background: #1900ab;
    color: #fff;
}

.pd-var-btn--active:hover {
    background: #2d14c9;
    border-color: #2d14c9;
    color: #fff;
}

.pd-var-btn--img {
    width: 56px;
    height: 56px;
    padding: 3px;
    border-radius: 12px;
}

.pd-var-btn--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.pd-var-btn--img.pd-var-btn--active {
    padding: 2px;
}

.pd-var-btn--disabled {
    border-color: #f0f0f0;
    color: #ccc;
    background: #fafafa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.pd-var-btn--disabled.pd-var-btn--img {
    opacity: 0.35;
    text-decoration: none;
}

/* Ürün Özellikleri */

.pd-attr-yes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #22c55e;
    font-weight: 600;
}

.pd-attr-no {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ef4444;
    font-weight: 600;
}

.pd-attr-yes ion-icon,
.pd-attr-no ion-icon {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .pd-gallery {
        position: static;
    }

    .pd-title {
        font-size: 18px;
    }

    .pd-price {
        font-size: 24px;
    }

    .pd-thumb {
        width: 60px;
        height: 60px;
    }

    .pd-main-img {
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {
    .pd-main-img {
        border-radius: 8px;
        aspect-ratio: auto;
    }

    .pd-thumbs {
        gap: 8px;
        margin-top: 10px;
    }

    .pd-thumb {
        width: 52px;
        height: 52px;
        border-radius: 8px;
    }

    .pd-brand {
        font-size: 12px;
    }

    .pd-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .pd-meta {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .pd-price-block {
        padding: 12px 0;
        gap: 8px;
    }

    .pd-price {
        font-size: 22px;
    }

    .pd-price-range {
        font-size: 14px;
    }

    .pd-market-price {
        font-size: 13px;
    }

    .pd-variations {
        gap: 14px;
        margin-bottom: 14px;
    }

    .pd-var-btn {
        min-width: 42px;
        height: 38px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 8px;
    }

    .pd-var-btn--img {
        width: 48px;
        height: 48px;
    }

    .pd-delivery-info {
        font-size: 12px;
        margin: 8px 0 6px;
    }

    .pd-stock {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .pd-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        padding: 12px 16px;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        gap: 10px;
        margin-bottom: 0;
    }

    .pd-add-cart {
        padding: 13px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .pd-add-cart ion-icon {
        font-size: 18px;
    }

    .pd-fav {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .pd-tabs-section {
        margin-bottom: 72px;
    }
}

/* Boş Kategori */

.empty-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 20px;
}

.empty-category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ff;
    border-radius: 50%;
    margin-bottom: 18px;
}

.empty-category-icon ion-icon {
    font-size: 28px;
    color: #1900ab;
}

.empty-category-text {
    font-size: 15px;
    color: #777;
    margin: 0 0 18px;
}

.empty-category-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1900ab;
    text-decoration: none;
}

.empty-category-link:hover {
    text-decoration: underline;
    color: #2d14c9;
}

/* ============================================
   Genel Yardımcılar
   ============================================ */

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn {
    border-radius: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Auth Modal ── */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}
.auth-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(25, 0, 171, 0.12);
    padding: 36px 32px 28px;
    transform: translateY(24px) scale(.97);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.auth-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}
.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.auth-modal-close:hover { background: #e5e7eb; }
.auth-modal-close ion-icon { font-size: 20px; color: #6b7280; }

.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(25, 0, 171, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.auth-modal-icon ion-icon {
    font-size: 26px;
    color: #1900ab;
}
.auth-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e2f;
    margin: 0 0 6px;
}
.auth-modal-header p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.auth-modal-body { margin-top: 0; }

.auth-modal-error {
    font-size: 13px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 14px;
    text-align: center;
}
.auth-modal-error:empty {
    display: none;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.auth-input-wrap {
    position: relative;
    margin-bottom: 16px;
}
.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    pointer-events: none;
}
.auth-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1e1e2f;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.auth-input:focus {
    border-color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, 0.1);
    background: #fff;
}

.auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #1900ab;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.auth-btn:hover { background: #2d14c9; }
.auth-btn:active { transform: scale(.98); }
.auth-btn:disabled { opacity: .6; cursor: not-allowed; }
.auth-btn ion-icon { font-size: 18px; }
.auth-btn-outline {
    background: transparent;
    color: #1900ab;
    border: 1.5px solid #1900ab;
}
.auth-btn-outline:hover {
    background: rgba(25, 0, 171, 0.06);
    color: #1900ab;
}

.auth-wp-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 12px;
    color: #9ca3af;
}
.auth-wp-note ion-icon { font-size: 16px; color: #25d366; }

.auth-code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-code-digit {
    width: 48px;
    height: 54px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2f;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.auth-code-digit:focus {
    border-color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, 0.1);
    background: #fff;
}

.auth-resend {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
}
.auth-resend-btn {
    background: none;
    border: none;
    color: #1900ab;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.auth-resend-btn:hover { text-decoration: underline; }

.auth-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
}
.auth-back-link:hover { color: #1900ab; }

/* ── Account Page ── */
.auth-page {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    background: #f7f7fb;
}
.auth-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(25, 0, 171, 0.07);
    padding: 40px 36px 32px;
}
.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.auth-card-icon ion-icon {
    font-size: 30px;
    color: #10b981;
}
.auth-card-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2f;
    margin: 0 0 6px;
}
.auth-card-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.account-menu { margin-bottom: 20px; }
.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #f0f0f5;
    border-radius: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #1e1e2f;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, border-color .15s;
}
.account-menu-item:hover {
    background: #f4f1ff;
    border-color: rgba(25, 0, 171, 0.15);
    color: #1900ab;
}
.account-menu-item ion-icon { font-size: 20px; color: #1900ab; }
.account-menu-item span { flex: 1; }
.account-menu-arrow { font-size: 16px !important; color: #c4c4d0 !important; }

/* ── Profile Page ── */
.auth-card-wide { max-width: 480px; }

.profile-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color .15s;
}
.profile-back:hover { color: #1900ab; }
.profile-back ion-icon { font-size: 16px; }

.profile-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}
.profile-alert ion-icon { font-size: 18px; flex-shrink: 0; }
.profile-alert-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.profile-form-group {
    margin-bottom: 18px;
}
.profile-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.profile-field-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}
.auth-input-error {
    border-color: #dc2626 !important;
}
.profile-input-disabled {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}
.profile-field-hint {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

/* ── Favorites Page ── */
.favorites-header { margin-bottom: 20px; }
.favorites-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2f;
    margin: 12px 0 0;
}
.favorites-title ion-icon { color: #e11d48; font-size: 24px; }

/* ── Header Cart Badge ── */
.header-action-cart { position: relative; }
.header-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* ── Product Quantity Selector ── */
.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.pd-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.pd-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.pd-qty-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    color: #374151;
    font-size: 18px;
    transition: background .15s;
}
.pd-qty-btn:hover:not(:disabled) { background: #f3f4f6; }
.pd-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.pd-qty-btn ion-icon { font-size: 16px; }
.pd-qty-input {
    width: 48px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    font-size: 15px;
    font-weight: 600;
    color: #1e1e2f;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Cart Toast ── */
.pd-cart-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 12px;
    animation: pdToastIn .3s ease;
}
.pd-cart-toast--success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.pd-cart-toast--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.pd-cart-toast ion-icon { font-size: 18px; flex-shrink: 0; }
@keyframes pdToastIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Cart Page ── */
.cart-page { padding: 32px 0; }
.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 24px;
}
.cart-title ion-icon { color: #1900ab; font-size: 26px; }

.cart-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f5;
    border-radius: 14px;
    margin-bottom: 12px;
    transition: box-shadow .15s, opacity .3s, max-height .3s;
}
.cart-item:hover { box-shadow: 0 2px 16px rgba(25, 0, 171, .05); }

.cart-item-img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f9fafb;
    display: block;
    text-decoration: none;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e1e2f;
    margin: 0 0 4px;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}
.cart-item-name:hover { color: #1900ab; }
.cart-item-brand {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}
.cart-item-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.cart-item-opt {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: #4b5563;
    background: #f4f1ff;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(25, 0, 171, .08);
}
.cart-item-opt strong {
    font-weight: 600;
    color: #1900ab;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #c4c4d0;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: color .15s, background .15s;
    flex-shrink: 0;
}
.cart-item-remove:hover { color: #dc2626; background: #fef2f2; }

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.cart-qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    color: #374151;
    transition: background .15s;
}
.cart-qty-btn:hover:not(:disabled) { background: #f3f4f6; }
.cart-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.cart-qty-btn ion-icon { font-size: 14px; }
.cart-qty-val {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e1e2f;
    border-left: 1.5px solid #e5e7eb;
    border-right: 1.5px solid #e5e7eb;
    line-height: 34px;
}

.cart-item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.cart-item-unit {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}
.cart-item-price {
    font-size: 17px;
    font-weight: 700;
    color: #1900ab;
    white-space: nowrap;
}

.cart-summary {
    background: #fff;
    border: 1px solid #f0f0f5;
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 24px;
}
.cart-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f5;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: #1e1e2f;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 2px solid #f0f0f5;
}
.cart-summary-total span:last-child { color: #1900ab; }
.cart-checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #1900ab;
    cursor: pointer;
    transition: background .2s;
    margin-top: 16px;
}
.cart-checkout-btn:hover { background: #2d14c9; }
.cart-checkout-btn ion-icon { font-size: 18px; }
.cart-continue-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color .15s;
}
.cart-continue-link:hover { color: #1900ab; }

@media (max-width: 767.98px) {
    .cart-item { gap: 12px; padding: 14px; }
    .cart-item-img { width: 85px; height: 85px; border-radius: 10px; }
    .cart-item-name { font-size: 14px; }
    .cart-item-bottom { margin-top: 10px; }
    .cart-item-price { font-size: 15px; }
    .cart-summary { position: static; margin-top: 20px; }
}
@media (max-width: 575.98px) {
    .cart-item { flex-wrap: wrap; }
    .cart-item-img { width: 72px; height: 72px; }
    .cart-item-body { width: calc(100% - 84px); }
}

/* Auth responsive */
@media (max-width: 575.98px) {
    .auth-modal { padding: 28px 20px 22px; border-radius: 12px; margin: 12px; }
    .auth-modal-header h2 { font-size: 18px; }
    .auth-code-digit { width: 42px; height: 48px; font-size: 19px; }
    .auth-code-inputs { gap: 7px; }
    .auth-page { padding: 24px 0; }
    .auth-card { padding: 28px 20px 24px; border-radius: 12px; }
    .auth-card-header h1 { font-size: 19px; }
    .auth-card-wide { max-width: 100%; }
    .pd-qty-btn { width: 34px; height: 34px; }
    .pd-qty-input { width: 40px; height: 34px; font-size: 14px; }
}

/* ── Cart Share ── */
.cart-share-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    margin-top: 8px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.cart-share-btn:hover {
    border-color: #1900ab;
    color: #1900ab;
    background: #f5f3ff;
}
.cart-share-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.cart-share-btn ion-icon {
    font-size: 16px;
}

.cart-share-result {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.cart-share-input {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 12px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    min-width: 0;
}
.cart-share-input:focus {
    border-color: #1900ab;
}
.cart-share-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
}
.cart-share-copy:hover {
    border-color: #1900ab;
    color: #1900ab;
}
.cart-share-copy ion-icon {
    font-size: 16px;
}

.cart-share-toast {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}
.cart-share-toast--success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.cart-share-toast--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
