/* ============================================
   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 110px 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-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border: none;
    border-radius: 6px;
    background: #1900ab;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.1s ease;
}
.header-search-btn:hover {
    background: #14008a;
}
.header-search-btn:active {
    transform: scale(0.97);
}
.header-search-btn svg {
    flex-shrink: 0;
}

/* -- 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: left;
    }

    .header-bar-inner {
        justify-content: space-between;
        padding: 7px 0;
        gap: 10px;
    }

    .header-bar-text {
        display: inline-block;
        font-size: 11.5px;
        line-height: 1.2;
        color: rgba(255, 255, 255, 0.92);
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-bar-links {
        display: inline-flex;
        gap: 6px;
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .header-bar-sep,
    .header-bar-link--track {
        display: none;
    }

    .header-bar-links a {
        flex: 0 0 auto;
        justify-content: center;
        gap: 5px;
        padding: 5px 11px;
        font-size: 11.5px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        white-space: nowrap;
        line-height: 1;
    }

    .header-bar-links a:hover,
    .header-bar-links a:active {
        background: rgba(255, 255, 255, 0.20);
        color: #fff;
    }

    .header-bar-links a ion-icon {
        font-size: 13px;
    }

    .header-bar-links a svg {
        width: 13px;
        height: 13px;
    }

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

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

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

    .header-action-cart {
        position: relative;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(25, 0, 171, 0.06);
    }

    .header-action-cart ion-icon {
        font-size: 20px !important;
        color: #1900ab;
    }

    .header-action-cart span:not(.header-cart-badge) {
        display: inline;
        font-size: 12.5px;
        font-weight: 700;
        color: #1900ab;
        line-height: 1;
    }

    .header-cart-badge {
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        font-size: 10.5px;
        border: 2px solid #fff;
    }

    .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-search-btn {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border: none;
        border-radius: 8px;
        background: #1900ab;
        color: #fff;
        font-family: 'Nunito', sans-serif;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.18s ease, transform 0.1s ease;
    }
    .header-nav-search-btn:active {
        transform: scale(0.97);
        background: #14008a;
    }
    .header-nav-search-btn svg,
    .header-nav-search form .header-nav-search-btn svg {
        flex-shrink: 0;
        color: #fff;
        stroke: #fff;
    }

    .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;
}

/* Yeni dinamik hero slide */
.hero-slide {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hero-slide-link { display: block; line-height: 0; }

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 60%);
    line-height: 1.4;
    pointer-events: none;
}

.hero-slide-content {
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 600px;
    pointer-events: auto;
}

.hero-slide-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.hero-slide-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

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

/* Eski sabit kartlar için backward compat */
.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,
    .hero-slide-content h2 {
        font-size: 1.4rem;
    }

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

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

    .hero-slide-content {
        padding: 16px 12px;
    }

    .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;
}

.category-card-icon--image {
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.category-card--all .category-card-icon--image {
    background: #fff;
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

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

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

/* Ü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.delivery-express {
    color: #1900ab;
}
.pcard-delivery.delivery-free {
    color: #16a34a;
}

.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-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    line-height: 1;
}

.pcard-rating-score {
    font-weight: 700;
    color: #1a1a1a;
}

.pcard-rating-stars {
    display: inline-flex;
    gap: 1px;
    color: #f5a623;
    font-size: 0.85rem;
}

.pcard-rating-stars ion-icon[name="star-outline"] {
    color: #d6d6d6;
}

.pcard-rating-count {
    color: #888;
}

.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;
}


/* ============================================
   Anasayfa - Dinamik Bölümler (carousel + banner)
   ============================================ */

.home-section { display: block; }

.home-section-head {
    margin-bottom: 14px;
}

.home-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.25;
}

.home-section-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.home-products-carousel .owl-stage { display: flex; }
.home-products-carousel .owl-item  { display: flex; }
.home-products-carousel .pcard     { width: 100%; }

.home-products-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;
}
.home-products-carousel .owl-nav button.owl-prev { left:  -12px; }
.home-products-carousel .owl-nav button.owl-next { right: -12px; }
.home-products-carousel .owl-nav button:hover    { background: #f5f5f5 !important; }

/* Ürün detay - Benzer ürünler carousel */
.pd-similar {
    max-width: 1320px;
    margin: 40px auto 48px;
    padding: 0 24px;
    position: relative;
}
.pd-similar-head { margin-bottom: 18px; }
.pd-similar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}
.pd-similar-carousel .owl-stage { display: flex; }
.pd-similar-carousel .owl-item  { display: flex; }
.pd-similar-carousel .pcard     { width: 100%; }
.pd-similar-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;
}
.pd-similar-carousel .owl-nav button.owl-prev { left:  -12px; }
.pd-similar-carousel .owl-nav button.owl-next { right: -12px; }
.pd-similar-carousel .owl-nav button:hover    { background: #f5f5f5 !important; }
@media (max-width: 575px) {
    .pd-similar { padding: 0 14px; margin: 28px auto 32px; }
    .pd-similar-title { font-size: 17px; }
}

/* Bannerlar - görseller kendi en/boy oranlarıyla, tam genişlikte */
.home-banner-row { margin: 0; }

.home-banner-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    text-decoration: none;
    color: inherit;
    line-height: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}
.home-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.home-banner-card img {
    width: 100%;
    height: auto;
    display: block;
}

.home-banner-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .2px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .home-section-title { font-size: 1.05rem; }
}


/* ============================================
   Ü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;
}

/* Mağaza sayfası başlığı + ürün başlığı altındaki mağaza linki */
.seller-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 12px 0 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.seller-header-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-header-logo-placeholder {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1900ab;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-header-meta { min-width: 0; }

.seller-header-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.2;
}

.seller-header-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: #6b7280;
    font-size: 0.86rem;
}

.seller-header-info ion-icon {
    vertical-align: middle;
    margin-right: 2px;
}

/* Ürün detay - satıcı mini kartı */
.pd-seller-card {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 14px 8px 8px;
    margin: 6px 0 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
    max-width: 100%;
}

.pd-seller-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 16px rgba(25, 0, 171, 0.10);
    transform: translateY(-1px);
}

.pd-seller-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    color: #1900ab;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-seller-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-seller-card-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.pd-seller-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pd-seller-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.pd-seller-card-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1900ab;
    padding-left: 12px;
    border-left: 1px dashed #e5e7eb;
    white-space: nowrap;
    transition: color .15s ease;
}

.pd-seller-card-cta ion-icon {
    font-size: 0.95rem;
    transition: transform .2s ease;
}

.pd-seller-card:hover .pd-seller-card-cta {
    color: #2d14c9;
}

.pd-seller-card:hover .pd-seller-card-cta ion-icon {
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .pd-seller-card-cta {
        font-size: 0;
        padding-left: 8px;
    }
    .pd-seller-card-cta ion-icon {
        font-size: 1.1rem;
        color: #1900ab;
    }
    .pd-seller-card-name { max-width: 140px; }
}

@media (max-width: 576px) {
    .seller-header { padding: 12px 14px; }
    .seller-header-logo { width: 56px; height: 56px; }
    .seller-header-title { font-size: 1.05rem; }
}

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

.home-delivery-bar-wrap {
    padding-top: 1rem;
}

.home-delivery-bar-wrap .listing-delivery-bar {
    margin-bottom: 0;
}

.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;
}

.listing-delivery-clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 83, 45, 0.08);
    color: #14532d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: -6px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.listing-delivery-clear[hidden] { display: none !important; }

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

.listing-delivery-clear:hover {
    background: #dc2626;
    color: #fff;
    transform: scale(1.05);
}

@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;
    }

    .listing-delivery-clear {
        width: 24px;
        height: 24px;
        margin-right: -4px;
    }

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

/* ============================================
   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 {
    position: relative;
    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;
}

/* ---- Galeri Navigasyon Butonları ---- */
.pd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    padding: 0;
    opacity: 0;
}
.pd-main-img:hover .pd-nav {
    opacity: 1;
}
.pd-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}
.pd-nav:active {
    transform: translateY(-50%) scale(0.96);
}
.pd-nav ion-icon {
    font-size: 22px;
    line-height: 1;
}
.pd-nav--prev { left: 12px; }
.pd-nav--next { right: 12px; }

/* Mobilde her zaman görünsün */
@media (max-width: 768px) {
    .pd-nav { opacity: 1; width: 38px; height: 38px; }
    .pd-nav ion-icon { font-size: 18px; }
    .pd-nav--prev { left: 8px; }
    .pd-nav--next { right: 8px; }
}

.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-rating-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: -2px 0 14px;
}

.pd-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0;
}

.pd-rating-row--qna {
    margin-top: 7px;
}

.pd-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: 1;
}

.pd-rating-score {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.pd-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.pd-rating-stars ion-icon {
    font-size: 14px;
    color: #f5a623;
}

.pd-rating-sep {
    color: #c5c9d4;
    font-size: 13px;
    line-height: 1;
}

.pd-rating-text {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.pd-rating-cam {
    font-size: 15px;
    color: #666;
    margin-left: -2px;
}

.pd-rating-photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
}

.pd-rating-photo-badge ion-icon {
    font-size: 13px;
}

.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-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 16px 0 12px;
    border: 1.5px solid #d1fae5;
    background: #f0fdf4;
}
.pd-delivery-badge.delivery-express {
    border-color: #c7d2fe;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
}
.pd-delivery-badge.delivery-free {
    border-color: #d1fae5;
    background: #f0fdf4;
}

.pd-delivery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}
.delivery-free .pd-delivery-icon {
    background: #dcfce7;
    color: #16a34a;
}
.delivery-express .pd-delivery-icon {
    background: #e0e7ff;
    color: #1900ab;
}
.pd-delivery-icon ion-icon {
    font-size: 20px;
}

.pd-delivery-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.pd-delivery-text strong {
    font-size: 14px;
    font-weight: 700;
}
.delivery-free .pd-delivery-text strong {
    color: #16a34a;
}
.delivery-express .pd-delivery-text strong {
    color: #1900ab;
}
.pd-delivery-text small {
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 400;
}

.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-stock--low {
    color: #f97316;
    transform-origin: left center;
    animation: pdStockLowPulse 1.1s ease-in-out infinite;
}

.pd-stock--low ion-icon {
    color: #f97316;
}

@keyframes pdStockLowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
    .pd-stock--low {
        animation: none;
    }
}

.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;
}

/* ============================================
   Soru & Cevaplar
   ============================================ */
.pd-qna {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-qna-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
}
.pd-qna-alert ion-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.pd-qna-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pd-qna-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.pd-qna-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-qna-form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.pd-qna-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #111827;
    background: #fff;
    resize: vertical;
    min-height: 88px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pd-qna-textarea:focus {
    outline: none;
    border-color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, 0.12);
}

.pd-qna-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pd-qna-segment {
    display: inline-flex;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 6px;
    flex-wrap: wrap;
}

.pd-qna-segment input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.pd-qna-seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    color: #475569;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    margin: 0;
    border: 1px solid transparent;
}
.pd-qna-seg-btn ion-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: color .15s ease;
}
.pd-qna-seg-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.pd-qna-seg-btn strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
}
.pd-qna-seg-btn small {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

.pd-qna-seg-btn:hover {
    background: #f8fafc;
}

.pd-qna-segment input[type="radio"]:checked + .pd-qna-seg-btn {
    background: #eef2ff;
    border-color: #c7d2fe;
    box-shadow: 0 1px 2px rgba(25, 0, 171, 0.06);
}
.pd-qna-segment input[type="radio"]:checked + .pd-qna-seg-btn ion-icon,
.pd-qna-segment input[type="radio"]:checked + .pd-qna-seg-btn strong {
    color: #1900ab;
}

.pd-qna-segment input[type="radio"]:focus-visible + .pd-qna-seg-btn {
    outline: 2px solid #1900ab;
    outline-offset: 2px;
}

.pd-qna-segment input[type="radio"]#qna-vis-private:checked + .pd-qna-seg-btn {
    background: #fef3c7;
    border-color: #fde68a;
}
.pd-qna-segment input[type="radio"]#qna-vis-private:checked + .pd-qna-seg-btn ion-icon,
.pd-qna-segment input[type="radio"]#qna-vis-private:checked + .pd-qna-seg-btn strong {
    color: #92400e;
}

.pd-qna-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1900ab;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.pd-qna-submit:hover { background: #2d14c9; transform: translateY(-1px); }
.pd-qna-submit ion-icon { font-size: 1.05rem; }

.pd-qna-login-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 14px 18px;
}
.pd-qna-login-cta > ion-icon {
    font-size: 1.5rem;
    color: #1900ab;
    flex-shrink: 0;
}
.pd-qna-login-cta > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pd-qna-login-cta strong { color: #0f172a; font-size: 0.95rem; }
.pd-qna-login-cta span { color: #64748b; font-size: 0.82rem; }
.pd-qna-login-btn {
    background: #1900ab;
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.pd-qna-login-btn:hover { background: #2d14c9; color: #fff; }

.pd-qna-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-qna-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-qna-item--private {
    background: #fffbeb;
    border-color: #fde68a;
}

.pd-qna-q,
.pd-qna-a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pd-qna-avatar,
.pd-qna-a-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.pd-qna-avatar {
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    color: #1900ab;
}
.pd-qna-a-avatar {
    background: #1900ab;
    color: #fff;
}
.pd-qna-a-avatar ion-icon { font-size: 1.05rem; }

.pd-qna-q-body,
.pd-qna-a-body { flex: 1; min-width: 0; }

.pd-qna-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
}
.pd-qna-author { font-weight: 700; color: #0f172a; }
.pd-qna-author--seller { color: #1900ab; }
.pd-qna-dot { color: #cbd5e1; }
.pd-qna-private-badge,
.pd-qna-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.pd-qna-private-badge ion-icon { font-size: 0.8rem; }
.pd-qna-seller-badge {
    background: #ede9fe;
    color: #1900ab;
}

.pd-qna-text {
    margin: 0;
    color: #1f2937;
    font-size: 0.93rem;
    line-height: 1.55;
    white-space: pre-line;
}

.pd-qna-a {
    background: #f9fafb;
    border-left: 3px solid #1900ab;
    border-radius: 0 10px 10px 0;
    padding: 12px 14px;
}
.pd-qna-item--private .pd-qna-a {
    background: #fef9c3;
    border-left-color: #ca8a04;
}

.pd-qna-pending {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-style: italic;
    padding-left: 48px;
}
.pd-qna-pending ion-icon { font-size: 1rem; }

.pd-qna-empty {
    margin: 8px 0;
}

@media (max-width: 575.98px) {
    .pd-qna-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .pd-qna-segment {
        width: 100%;
        flex-wrap: nowrap;
    }
    .pd-qna-seg-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
    }
    .pd-qna-seg-btn small { display: none; }
    .pd-qna-submit { justify-content: center; }
    .pd-qna-login-cta { flex-direction: column; align-items: flex-start; }
    .pd-qna-pending { padding-left: 0; }
}

@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-rating-row {
        margin-bottom: 10px;
        gap: 4px 6px;
    }

    .pd-rating-score {
        font-size: 13px;
    }

    .pd-rating-stars ion-icon {
        font-size: 12px;
    }

    .pd-rating-text {
        font-size: 12px;
    }

    .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-badge {
        padding: 10px 12px;
        gap: 10px;
        margin: 10px 0 8px;
        border-radius: 10px;
    }
    .pd-delivery-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .pd-delivery-icon ion-icon {
        font-size: 17px;
    }
    .pd-delivery-text strong {
        font-size: 13px;
    }
    .pd-delivery-text small {
        font-size: 10.5px;
    }

    .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; }

.account-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.account-order-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.account-order-card--rich {
    padding: 0;
    overflow: hidden;
}
.account-order-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #f3f4f6;
}
.account-order-hero-right {
    text-align: right;
}
.account-order-pay-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.account-order-hero-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1900ab;
    line-height: 1.2;
}
.account-order-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 12px;
}
.account-order-products {
    padding: 16px 18px;
}
.account-order-product-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}
.account-order-product-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.account-order-product-row:first-child {
    padding-top: 0;
}
.account-order-product-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}
.account-order-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.account-order-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}
.account-order-thumb-fallback ion-icon {
    font-size: 26px;
}
.account-order-product-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.account-order-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e1e2f;
    line-height: 1.35;
}
.account-order-product-variant {
    font-size: 12px;
    color: #9ca3af;
}
.account-order-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}
.account-order-product-price {
    font-weight: 600;
    color: #374151;
}
.account-order-product-refunded {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border-radius: 6px;
    padding: 2px 8px;
    margin-top: 4px;
}
.account-order-refund-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #a16207;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 10px 0 0;
}
.account-order-refund-note ion-icon {
    font-size: 16px;
    flex: none;
}
.account-order-product-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}
.account-order-product-delivery ion-icon {
    font-size: 14px;
}
.account-order-product-delivery.is-express {
    color: #c2410c;
}
.account-order-product-delivery.is-cargo {
    color: #6b7280;
}
.account-order-detail-seller-pack {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fafafa;
}
.account-order-detail-seller-pack:last-child {
    margin-bottom: 0;
}
.account-order-seller-head--detail {
    padding: 12px 14px;
    margin-bottom: 0;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
}
.account-order-products--detail {
    padding: 12px 14px;
    background: #fff;
}
.account-order-detail-seller-pack .account-order-shipment-bar {
    border-top: 1px solid #f3f4f6;
    border-radius: 0;
}
.account-order-delivery {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    background: #fafafa;
    border-top: 1px solid #f3f4f6;
}
.account-order-delivery-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1900ab;
}
.account-order-delivery-icon ion-icon {
    font-size: 20px;
}
.account-order-delivery-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.account-order-delivery-title {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.account-order-delivery-line {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.account-order-delivery-addr {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}
.account-order-shipment-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    margin: 0;
    border-top: 1px solid #f3f4f6;
    font-size: 14px;
    font-weight: 700;
}
.account-order-shipment-ico {
    font-size: 22px;
    flex-shrink: 0;
}
.account-order-shipment-text {
    flex: 1;
}
.account-order-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    background: #201d9c;
    color: #fff !important;
    line-height: 1;
    white-space: nowrap;
    transition: background .15s ease, transform .1s ease;
}
.account-order-review-btn ion-icon {
    font-size: 15px;
}
.account-order-review-btn:hover {
    background: #17158a;
    color: #fff !important;
}
.account-order-review-btn:active {
    transform: scale(.98);
}
.account-order-review-btn--lg {
    padding: 11px 18px;
    font-size: 14px;
    border-radius: 12px;
}
.account-order-review-btn--lg ion-icon {
    font-size: 17px;
}
.account-order-review-done {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #047857;
    white-space: nowrap;
}
.account-order-review-done ion-icon {
    font-size: 16px;
}
.account-order-review-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 16px 0 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5f4ff 0%, #eef2ff 100%);
    border: 1px solid #e0e7ff;
}
.account-order-review-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.account-order-review-banner-text > ion-icon {
    font-size: 26px;
    color: #f5a623;
    flex-shrink: 0;
    margin-top: 2px;
}
.account-order-review-banner-text strong {
    display: block;
    font-size: 15px;
    color: #1e2233;
    margin-bottom: 2px;
}
.account-order-review-banner-text span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
@media (max-width: 576px) {
    .account-order-review-banner {
        align-items: stretch;
    }
    .account-order-review-banner .account-order-review-btn--lg {
        width: 100%;
        justify-content: center;
    }
}
.account-order-shipment-bar.account-order-badge--ok {
    background: #ecfdf5;
    color: #065f46;
}
.account-order-shipment-bar.account-order-badge--warn {
    background: #fffbeb;
    color: #92400e;
}
.account-order-shipment-bar.account-order-badge--ship {
    background: #eff6ff;
    color: #1e40af;
}
.account-order-shipment-bar.account-order-badge--muted {
    background: #f9fafb;
    color: #6b7280;
}
.account-order-shipment-bar.account-order-badge--danger {
    background: #fef2f2;
    color: #991b1b;
}
.account-order-shipment-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}
.account-order-return-btn {
    background: #fff !important;
    color: #201d9c !important;
    border: 1.5px solid #201d9c;
}
.account-order-return-btn:hover {
    background: #f5f4ff !important;
    color: #17158a !important;
}
.account-order-return-status {
    font-size: 12.5px;
    font-weight: 700;
    color: #92400e;
    white-space: nowrap;
    text-decoration: none;
}
.return-page {
    max-width: 820px;
}
.return-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
}
.return-alert ion-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.return-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.return-alert--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.return-form,
.return-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.return-panel {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.return-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.return-panel-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 750;
    color: #111827;
}
.return-panel-head p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}
.return-panel-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f4ff, #eef2ff);
    color: #201d9c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.return-panel-icon ion-icon {
    font-size: 20px;
}
.return-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.return-summary-tile {
    background: #f8f9fc;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    padding: 12px;
}
.return-summary-tile span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}
.return-summary-tile strong {
    font-size: 14px;
    color: #111827;
    word-break: break-word;
}
.return-summary-tile a {
    color: #201d9c;
    text-decoration: none;
}
.return-field {
    margin-top: 14px;
}
.return-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}
.return-label span {
    font-weight: 500;
    color: #9ca3af;
}
.return-input,
.return-textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.return-input:focus,
.return-textarea:focus {
    border-color: #201d9c;
    box-shadow: 0 0 0 3px rgba(32, 29, 156, .12);
}
.return-select-all {
    margin-left: auto;
    border: 1px solid #d9dcf0;
    background: #fff;
    color: #201d9c;
    font-weight: 700;
    font-size: 12.5px;
    padding: 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
}
.return-select-all:hover {
    background: #f5f4ff;
}
.return-item-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.return-item-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    margin: 0;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.return-item-row.is-checked {
    border-color: #201d9c;
    background: #f8f7ff;
    box-shadow: 0 0 0 3px rgba(32, 29, 156, .08);
}
.return-item-list--readonly .return-item-row {
    cursor: default;
}
.return-item-check-wrap {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 20px;
    flex-shrink: 0;
}
.return-item-check {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}
.return-item-check-ui {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid #c7cad8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.return-item-check-ui ion-icon {
    font-size: 14px;
    opacity: 0;
}
.return-item-row.is-checked .return-item-check-ui {
    background: #201d9c;
    border-color: #201d9c;
}
.return-item-row.is-checked .return-item-check-ui ion-icon {
    opacity: 1;
}
.return-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}
.return-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.return-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.return-item-name {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    line-height: 1.3;
}
.return-item-variant,
.return-item-meta {
    font-size: 12.5px;
    color: #6b7280;
}
.return-item-qty-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
    color: #374151;
    font-weight: 600;
}
.return-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.return-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    background: #f8f9fc;
    color: #201d9c;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.return-qty-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.return-item-qty {
    width: 44px;
    height: 32px;
    border: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    background: #fff;
    -moz-appearance: textfield;
}
.return-item-qty::-webkit-outer-spin-button,
.return-item-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.return-item-price {
    font-weight: 750;
    font-size: 14px;
    color: #111827;
    white-space: nowrap;
    text-align: right;
}
.return-item-price small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}
.return-reason-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.return-reason-card {
    margin: 0;
    cursor: pointer;
}
.return-reason-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.return-reason-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.return-reason-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f3f4f8;
    color: #201d9c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.return-reason-ico ion-icon {
    font-size: 18px;
}
.return-reason-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}
.return-reason-card input:checked + .return-reason-card-inner {
    border-color: #201d9c;
    background: #f8f7ff;
    box-shadow: 0 0 0 3px rgba(32, 29, 156, .1);
}
.return-photo-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 132px;
    border: 1.5px dashed #c7cbe0;
    border-radius: 14px;
    background: #fafbff;
    color: #5b6478;
    text-align: center;
    cursor: pointer;
    padding: 18px;
    transition: border-color .15s ease, background .15s ease;
}
.return-photo-drop:hover {
    border-color: #201d9c;
    background: #f5f4ff;
}
.return-photo-drop ion-icon {
    font-size: 28px;
    color: #201d9c;
    margin-bottom: 4px;
}
.return-photo-drop strong {
    font-size: 14px;
    color: #1f2937;
}
.return-photo-drop span {
    font-size: 12.5px;
}
.return-photo-drop input {
    display: none;
}
.return-photo-preview,
.return-photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.return-photo-preview-item {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: block;
    background: #f3f4f6;
}
.return-photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.return-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 2px 8px;
}
.return-cancel-link {
    color: #6b7280;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}
.return-cancel-link:hover {
    color: #111827;
}
.return-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 14px;
    background: #201d9c;
    color: #fff !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}
.return-submit-btn:hover {
    background: #17158a;
    color: #fff !important;
}
.return-submit-btn:active {
    transform: scale(.98);
}
.return-submit-btn--sm {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 12px;
}
.return-submit-btn ion-icon {
    font-size: 18px;
}
.return-empty {
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border: 1px dashed #d7dbe8;
    border-radius: 16px;
}
.return-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: #f5f4ff;
    color: #201d9c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.return-empty-icon ion-icon {
    font-size: 30px;
}
.return-empty h2 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #111827;
}
.return-empty p {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
}
.return-list-card {
    display: block;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.return-list-card:hover {
    border-color: #cfd3ea;
    box-shadow: 0 6px 18px rgba(32, 29, 156, .08);
}
.return-list-card-top,
.return-detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
}
.return-list-no {
    display: block;
    font-size: 15px;
    font-weight: 750;
    color: #111827;
}
.return-list-date {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: #9ca3af;
}
.return-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    background: #f3f4f6;
    color: #4b5563;
}
.return-status-pill.is-pending {
    background: #fff7ed;
    color: #c2410c;
}
.return-status-pill.is-approved {
    background: #ecfdf5;
    color: #047857;
}
.return-status-pill.is-rejected {
    background: #fef2f2;
    color: #b91c1c;
}
.return-list-card-body {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.return-list-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
}
.return-list-row ion-icon {
    color: #9aa0b8;
    font-size: 16px;
    flex-shrink: 0;
}
.return-list-row--strong {
    font-weight: 700;
    color: #111827;
}
.return-list-card-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
    color: #201d9c;
    font-size: 13.5px;
    font-weight: 750;
}
.return-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.return-info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 12px;
    background: #f8f9fc;
    border-radius: 12px;
}
.return-info-row span {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.return-info-row strong {
    font-size: 14px;
    font-weight: 650;
    color: #111827;
    line-height: 1.4;
}
@media (max-width: 640px) {
    .return-summary-grid,
    .return-reason-grid {
        grid-template-columns: 1fr;
    }
    .return-panel-head {
        flex-wrap: wrap;
    }
    .return-select-all {
        margin-left: 52px;
    }
    .return-item-price {
        display: none;
    }
    .return-submit-bar {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .return-cancel-link {
        text-align: center;
        padding: 10px;
    }
    .return-info-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
.account-order-card--rich .account-order-detail-link {
    padding: 14px 18px;
    margin: 0;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: center;
    background: #fafafa;
}
.account-order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.account-order-no {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #1e1e2f;
    letter-spacing: .02em;
}
.account-order-date {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}
.account-order-total {
    font-size: 17px;
    color: #1900ab;
    white-space: nowrap;
}
.account-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}
.account-order-meta ion-icon {
    font-size: 16px;
    vertical-align: -3px;
    margin-right: 2px;
}
.account-order-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #f3f4f6;
    color: #4b5563;
}
.account-order-badge--ok {
    background: #d1fae5;
    color: #065f46;
}
.account-order-badge--warn {
    background: #fef3c7;
    color: #92400e;
}
.account-order-badge--ship {
    background: #dbeafe;
    color: #1e40af;
}
.account-order-badge--muted {
    background: #f3f4f6;
    color: #6b7280;
}
.account-order-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}
.account-order-lines {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.45;
}
.account-order-lines li {
    margin-bottom: 6px;
}
.account-order-lines small {
    color: #9ca3af;
}
.account-order-qty {
    color: #9ca3af;
    margin-left: 4px;
}
.account-order-more {
    color: #9ca3af;
    font-style: italic;
}
.account-order-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1900ab;
    text-decoration: none;
}
.account-order-detail-link:hover {
    text-decoration: underline;
}
.account-order-detail-link ion-icon {
    font-size: 18px;
}

.account-order-detail-page { max-width: 920px; margin: 0 auto; }
.account-order-detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 20px;
}
.account-order-detail-no {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #1e1e2f;
}
.account-order-detail-date {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}
.account-order-detail-hero-total span {
    display: block;
    font-size: 12px;
    color: #6b7280;
}
.account-order-detail-hero-total strong {
    font-size: 22px;
    color: #1900ab;
}
.account-order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.account-order-detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
}
.account-order-detail-card--wide {
    margin-bottom: 16px;
}
.account-order-detail-card--delivery {
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 55%);
    border-color: #e8eaf6;
}
.account-order-detail-delivery {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.account-order-detail-delivery-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8eaf6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1900ab;
}
.account-order-detail-delivery-icon ion-icon {
    font-size: 24px;
}
.account-order-detail-delivery-text {
    flex: 1;
    min-width: 0;
}
.account-order-detail-delivery-text p:last-child {
    margin-bottom: 0;
}
.account-order-detail-delivery-region {
    margin: 8px 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}
.account-order-detail-address--block {
    margin-top: 6px;
}
.account-order-detail-hint--delivery {
    margin-top: 12px;
}
.account-order-detail-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e1e2f;
    margin: 0 0 14px;
}
.account-order-detail-card-title ion-icon {
    font-size: 20px;
    color: #1900ab;
}
.account-order-detail-inner.checkout-success-detail {
    border-radius: 10px;
    overflow: hidden;
}
.account-order-detail-body p { margin: 0 0 8px; }
.account-order-detail-strong { font-weight: 600; color: #111827; }
.account-order-detail-muted { font-size: 14px; color: #6b7280; }
.account-order-detail-address {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}
.account-order-detail-hint {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 13px;
    color: #6b7280;
}
.account-order-detail-hint ion-icon {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 2px;
}
.account-order-detail-intro {
    font-size: 14px;
    color: #6b7280;
    margin: -6px 0 18px;
}
.account-order-seller-block {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #fafafa;
}
.account-order-seller-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.account-order-seller-name {
    font-weight: 700;
    color: #1e1e2f;
    display: block;
}
.account-order-seller-link {
    font-size: 13px;
    font-weight: 600;
    color: #1900ab;
    text-decoration: none;
}
.account-order-seller-link:hover { text-decoration: underline; }
.account-order-seller-items.checkout-success-items {
    margin: 0;
    padding: 0;
    border: none;
}
.account-order-seller-items .checkout-success-item {
    background: #fff;
    border-radius: 8px;
}
.account-order-detail-actions {
    display: flex;
    justify-content: center;
    margin-top: 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 removed — replaced by cart-added modal) */

/* ── 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; color: #fff; text-decoration: none; }
.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;
}

/* ── Cart Added Modal ── */
.cart-added-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.cart-added-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-added-modal {
    background: #fff;
    border-radius: 18px;
    width: 420px;
    max-width: calc(100vw - 32px);
    padding: 32px 28px 28px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform .3s cubic-bezier(.22,.68,0,1.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.cart-added-overlay.active .cart-added-modal {
    transform: translateY(0) scale(1);
}

.cart-added-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color .2s;
}
.cart-added-close:hover {
    color: #374151;
}

.cart-added-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.cart-added-check {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-added-check ion-icon {
    font-size: 24px;
    color: #16a34a;
}
.cart-added-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.cart-added-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 22px;
    border: 1px solid #f3f4f6;
}
.cart-added-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.cart-added-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-added-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.cart-added-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-added-qty {
    font-size: 12.5px;
    color: #6b7280;
}
.cart-added-price {
    font-size: 15px;
    font-weight: 700;
    color: #1900ab;
}

.cart-added-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cart-added-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s;
    text-decoration: none;
}
.cart-added-btn--primary {
    background: #1900ab;
    color: #fff;
}
.cart-added-btn--primary:hover {
    background: #2d14c9;
    color: #fff;
}
.cart-added-btn--primary ion-icon {
    font-size: 18px;
}
.cart-added-btn--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1.5px solid #e5e7eb;
}
.cart-added-btn--secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}
.cart-added-btn--secondary ion-icon {
    font-size: 16px;
}

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

@media (max-width: 575.98px) {
    .cart-added-modal {
        padding: 24px 20px 22px;
        border-radius: 14px;
    }
    .cart-added-header h3 {
        font-size: 15px;
    }
    .cart-added-check {
        width: 36px;
        height: 36px;
    }
    .cart-added-check ion-icon {
        font-size: 20px;
    }
    .cart-added-img {
        width: 60px;
        height: 60px;
    }
    .cart-added-name {
        font-size: 13px;
    }
    .cart-added-btn {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 10px;
    }
}

/* ══════════════════════════════════════════════════
   CHECKOUT PAGES
   ══════════════════════════════════════════════════ */
.checkout-page {
    padding: 30px 0 60px;
}

/* ── Step Indicator ── */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}
.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}
.checkout-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    background: #e5e7eb;
    color: #9ca3af;
    transition: all .3s;
}
.checkout-step span {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
}
.checkout-step.active .checkout-step-num {
    background: #1900ab;
    color: #fff;
}
.checkout-step.active span {
    color: #1900ab;
}
.checkout-step.completed .checkout-step-num {
    background: #059669;
    color: #fff;
}
.checkout-step.completed span {
    color: #059669;
}
.checkout-step-line {
    flex: 0 0 60px;
    height: 3px;
    background: #e5e7eb;
    margin: 0 8px;
    margin-bottom: 22px;
    border-radius: 3px;
    transition: background .3s;
}
.checkout-step-line.completed {
    background: #059669;
}

/* ── Checkout Card ── */
.checkout-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
}
.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}
.checkout-card-header ion-icon {
    font-size: 22px;
    color: #1900ab;
}
.checkout-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    flex: 1;
}
.checkout-card-body {
    padding: 24px;
}
.checkout-card--compact .checkout-card-body {
    padding: 18px 24px;
}

/* ── Teslimat Yöntemi (Adres adımı) ── */
.checkout-delivery-intro {
    margin: 0 0 16px;
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.55;
}
.checkout-delivery-group {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    background: #fafbfc;
}
.checkout-delivery-group:last-child {
    margin-bottom: 0;
}
.checkout-delivery-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.checkout-delivery-store {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.checkout-delivery-store img,
.checkout-delivery-store-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #edeef2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-delivery-store-fallback ion-icon {
    font-size: 22px;
    color: #1900ab;
}
.checkout-delivery-store strong {
    display: block;
    font-size: 14px;
    color: #111827;
    line-height: 1.2;
}
.checkout-delivery-store-meta {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}
.checkout-delivery-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
}
.checkout-delivery-tag.is-express {
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fcd34d;
}
.checkout-delivery-tag.is-free {
    color: #047857;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
}
.checkout-delivery-tag.is-scheduled {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.checkout-delivery-tag ion-icon {
    font-size: 14px;
}
.checkout-delivery-mode-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.checkout-delivery-mode {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.checkout-delivery-mode:hover {
    border-color: #c7d2fe;
}
.checkout-delivery-mode.is-selected {
    border-color: #1900ab;
    background: #f5f3ff;
}
.checkout-delivery-mode input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #1900ab;
    flex-shrink: 0;
}
.checkout-delivery-mode-inner {
    flex: 1;
    min-width: 0;
}
.checkout-delivery-mode-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.checkout-delivery-mode-title ion-icon {
    font-size: 18px;
    color: #1900ab;
}
.checkout-delivery-mode-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.4;
}
.checkout-delivery-mode-price {
    font-size: 14px;
    font-weight: 700;
    color: #1900ab;
    white-space: nowrap;
}
.checkout-scheduled-slots.is-hidden,
.checkout-express90-slots.is-hidden {
    display: none;
}
.checkout-delivery-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: #4b5563;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
}
.checkout-delivery-item-name small {
    color: #9ca3af;
    font-weight: 600;
    margin-left: 2px;
}
.checkout-delivery-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 12px;
}
.checkout-delivery-info ion-icon {
    color: #1900ab;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.checkout-delivery-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-size: 13px;
    color: #b91c1c;
}
.checkout-day-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
    scrollbar-width: thin;
}
.checkout-day-tabs::-webkit-scrollbar {
    height: 4px;
}
.checkout-day-tabs::-webkit-scrollbar-thumb {
    background: #d4d8e3;
    border-radius: 4px;
}
.checkout-day-tab {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 0 0 auto;
    min-width: 92px;
    padding: 8px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    font: inherit;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
    text-align: left;
    position: relative;
}
.checkout-day-tab:hover {
    border-color: #c7d2fe;
}
.checkout-day-tab.is-active {
    border-color: #1900ab;
    background: #1900ab;
    color: #fff;
    box-shadow: 0 6px 14px rgba(25, 0, 171, .25);
}
.checkout-day-tab.is-active .checkout-day-tab-day {
    color: rgba(255, 255, 255, .8);
}
.checkout-day-tab-date {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}
.checkout-day-tab-day {
    font-size: 11.5px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1;
}
.checkout-day-tab.is-closed {
    color: #9ca3af;
    border-style: dashed;
}
.checkout-day-tab.is-closed .checkout-day-tab-date {
    text-decoration: line-through;
    text-decoration-color: rgba(156, 163, 175, .7);
    text-decoration-thickness: 1.5px;
}
.checkout-day-tab.is-closed.is-active {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff;
    box-shadow: 0 6px 14px rgba(107, 114, 128, .25);
}
.checkout-day-tab.is-closed.is-active .checkout-day-tab-date {
    text-decoration-color: rgba(255, 255, 255, .65);
}
.checkout-day-tab-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    letter-spacing: .2px;
}
.checkout-day-tab.is-active .checkout-day-tab-badge {
    color: #fff;
    background: #b91c1c;
    border-color: #b91c1c;
}

.checkout-slot-day {
    display: none;
}
.checkout-slot-day.is-active {
    display: block;
}
.checkout-slot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.checkout-slot-pill {
    cursor: pointer;
    margin: 0;
    position: relative;
}
.checkout-slot-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.checkout-slot-pill span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.checkout-slot-pill:hover span {
    border-color: #c7d2fe;
}
.checkout-slot-pill input:checked + span {
    background: #1900ab;
    border-color: #1900ab;
    color: #fff;
    box-shadow: 0 4px 14px rgba(25, 0, 171, .25);
}
.checkout-slot-pill.is-disabled {
    cursor: not-allowed;
}
.checkout-slot-pill.is-disabled span {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
    border-style: dashed;
    text-decoration: line-through;
    text-decoration-color: rgba(156, 163, 175, .65);
    text-decoration-thickness: 1.5px;
    box-shadow: none;
}
.checkout-slot-pill.is-disabled:hover span {
    border-color: #e5e7eb;
}
.checkout-slot-day.is-closed .checkout-slot-day-label strong {
    color: #6b7280;
}
.checkout-slot-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    margin-left: 4px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fecaca;
    letter-spacing: .2px;
}
.checkout-delivery-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #eef0f4;
    flex-wrap: wrap;
}
.checkout-delivery-summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.checkout-delivery-summary-row > div:first-child strong {
    display: block;
    font-size: 13.5px;
    color: #111827;
}
.checkout-delivery-summary-row > div:first-child span {
    font-size: 12px;
    color: #6b7280;
}
.checkout-delivery-summary-row > div:last-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.checkout-delivery-summary-slot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #1900ab;
    padding: 4px 10px;
    background: #eef2ff;
    border-radius: 999px;
}
.checkout-delivery-summary-slot ion-icon {
    font-size: 13px;
}

/* Ödeme yöntemi (Kart / Havale) */
.checkout-pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 24px 20px;
}
.checkout-pay-option {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
    margin: 0;
}
.checkout-pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.checkout-pay-option-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.checkout-pay-option input:checked + .checkout-pay-option-inner {
    border-color: #1900ab;
    background: #eef2ff;
    color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, .08);
}
.checkout-pay-option-inner ion-icon {
    font-size: 22px;
}
.checkout-pay-option--muted .checkout-pay-option-inner {
    opacity: .8;
}
.checkout-pay-option-badge {
    display: block;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.checkout-cc-disabled-note {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    color: #78350f;
    font-size: 14px;
    line-height: 1.45;
}
.checkout-cc-disabled-note ion-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}
.checkout-pay-btn.is-disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
}
.checkout-pay-btn.is-disabled:hover {
    background: #9ca3af !important;
}

.checkout-bank-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkout-bank-card-label {
    display: block;
    margin: 0;
    cursor: pointer;
}
.checkout-bank-card-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.checkout-bank-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.checkout-bank-card-label:hover .checkout-bank-card {
    border-color: #c7d2fe;
}
.checkout-bank-card-label:has(input:checked) .checkout-bank-card {
    border-color: #1900ab;
    background: #f5f3ff;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, .08);
}
.checkout-bank-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #edeef2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.checkout-bank-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 4px;
}
.checkout-bank-logo ion-icon {
    font-size: 26px;
    color: #1900ab;
}
.checkout-bank-meta {
    flex: 1;
    min-width: 0;
}
.checkout-bank-meta strong {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 4px;
}
.checkout-bank-meta span {
    font-size: 12px;
    color: #6b7280;
}
.checkout-bank-iban {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: .5px;
    word-break: break-all;
}
.checkout-bank-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}
.checkout-bank-ref-preview {
    text-align: center;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe;
}
.checkout-bank-ref-preview .checkout-success-ref-code--inline {
    font-size: 24px;
    letter-spacing: 6px;
    margin-bottom: 8px;
}

/* ── Inputs ── */
.checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.checkout-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    color: #1f2937;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.checkout-input:focus {
    border-color: #1900ab;
    box-shadow: 0 0 0 3px rgba(25, 0, 171, .08);
}
.checkout-textarea {
    resize: vertical;
    min-height: 80px;
}
.checkout-field-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #dc2626;
    font-weight: 500;
}

/* ── Invoice Tabs ── */
.checkout-invoice-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.checkout-invoice-tab {
    flex: 1;
    cursor: pointer;
}
.checkout-invoice-tab input {
    display: none;
}
.checkout-invoice-tab-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: #fafbfc;
    transition: all .2s;
}
.checkout-invoice-tab-inner ion-icon {
    font-size: 20px;
}
.checkout-invoice-tab input:checked + .checkout-invoice-tab-inner {
    border-color: #1900ab;
    color: #1900ab;
    background: rgba(25, 0, 171, .04);
}
.checkout-individual-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}
.checkout-individual-note ion-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.checkout-corporate-fields {
    animation: coFadeIn .3s;
}
@keyframes coFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Edit Link ── */
.checkout-edit-link {
    font-size: 13px;
    color: #1900ab;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.checkout-edit-link:hover {
    color: #1300a0;
    text-decoration: underline;
}

/* ── Address Preview ── */
.checkout-address-preview {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkout-address-preview strong {
    font-size: 14px;
    color: #1f2937;
}
.checkout-address-preview span {
    font-size: 13px;
    color: #6b7280;
}
.checkout-address-preview p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

/* ── Directions Note ── */
.checkout-directions-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fffbeb;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.4;
}
.checkout-directions-note ion-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Invoice Preview ── */
.checkout-invoice-preview {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkout-invoice-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    background: #ede9fe;
    color: #1900ab;
    margin-bottom: 4px;
}
.checkout-invoice-preview strong {
    font-size: 14px;
    color: #1f2937;
}
.checkout-invoice-preview span {
    font-size: 13px;
    color: #6b7280;
}

/* ── Secure Note ── */
.checkout-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 10px;
    font-size: 13px;
    color: #059669;
    font-weight: 500;
}
.checkout-secure-note ion-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ── Alert ── */
.checkout-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.checkout-alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.checkout-alert ion-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* ── Checkout Summary ── */
.checkout-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 20px;
}
.checkout-summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}
.checkout-summary-items {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}
.checkout-summary-items::-webkit-scrollbar {
    width: 4px;
}
.checkout-summary-items::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f9fafb;
}
.checkout-summary-item:last-child {
    border-bottom: none;
}
.checkout-summary-item-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f5f5f5;
}
.checkout-summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-summary-item-qty {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1900ab;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-summary-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkout-summary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.checkout-summary-item-opts {
    font-size: 11px;
    color: #9ca3af;
}
.checkout-summary-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #6b7280;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 4px;
    border-top: 2px solid #f3f4f6;
    font-size: 17px;
    font-weight: 800;
    color: #1f2937;
}

/* ── Buttons ── */
.checkout-next-btn,
.checkout-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 20px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.checkout-next-btn {
    background: #1900ab;
    color: #fff;
}
.checkout-next-btn:hover {
    background: #1300a0;
    color: #fff;
}
.checkout-pay-btn {
    background: #059669;
    color: #fff;
}
.checkout-pay-btn:hover {
    background: #047857;
    color: #fff;
}
.checkout-pay-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.checkout-pay-btn-hint {
    margin: 10px 0 0;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
    text-align: center;
}
.checkout-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}
.checkout-back-link:hover {
    color: #1900ab;
}

/* ── Success Page ── */
.checkout-success {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.checkout-success-icon {
    margin-bottom: 16px;
}
.checkout-success-icon ion-icon {
    font-size: 72px;
    color: #059669;
}
.checkout-success h1 {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}
.checkout-success-msg {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}
.checkout-success-order-no {
    display: inline-block;
    padding: 10px 28px;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1900ab;
    letter-spacing: 1px;
    margin-bottom: 28px;
}
.checkout-success-ref-block {
    text-align: center;
    margin: -8px 0 24px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe;
}
.checkout-success-ref-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4338ca;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.checkout-success-ref-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 28px;
    font-weight: 800;
    color: #1900ab;
    letter-spacing: 8px;
    margin-bottom: 10px;
}
.checkout-success-ref-hint {
    font-size: 13px;
    color: #5b21b6;
    line-height: 1.5;
    margin: 0;
}
.checkout-success-bank-recap {
    max-width: 420px;
    margin: 0 auto 24px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fafbfc;
    font-size: 14px;
}
.checkout-success-bank-recap strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}
.checkout-success-bank-recap span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}
.checkout-success-detail {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: left;
}
.checkout-success-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
}
.checkout-success-row:last-child {
    border-bottom: none;
}
.checkout-success-row span {
    color: #6b7280;
}
.checkout-success-row strong {
    color: #1f2937;
}
.checkout-success-items {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: left;
}
.checkout-success-items h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}
.checkout-success-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #f9fafb;
}
.checkout-success-item:last-child {
    border-bottom: none;
}
.checkout-success-item-name {
    flex: 1;
    font-weight: 600;
    color: #1f2937;
}
.checkout-success-item-name small {
    font-weight: 400;
    color: #9ca3af;
}
.checkout-success-actions {
    display: flex;
    justify-content: center;
}
.checkout-success-actions .checkout-next-btn {
    max-width: 320px;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .checkout-summary {
        position: static;
    }
}
@media (max-width: 575.98px) {
    .checkout-page {
        padding: 20px 0 40px;
    }
    .checkout-steps {
        margin-bottom: 24px;
    }
    .checkout-step-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .checkout-step span {
        font-size: 10px;
    }
    .checkout-step-line {
        flex: 0 0 30px;
        margin-bottom: 18px;
    }
    .checkout-card-header {
        padding: 14px 18px;
    }
    .checkout-card-header h2 {
        font-size: 14px;
    }
    .checkout-card-body {
        padding: 18px;
    }
    .checkout-invoice-tabs {
        flex-direction: column;
        gap: 8px;
    }
    .checkout-summary {
        padding: 18px;
    }
    .checkout-success h1 {
        font-size: 22px;
    }
    .checkout-success-order-no {
        font-size: 17px;
    }
}

/* ══════════════════════════════════════════════════
   ACCOUNT MANAGE PAGES (Addresses & Billing)
   ══════════════════════════════════════════════════ */
.account-manage-page {
    padding: 30px 0 60px;
    max-width: 800px;
}
.account-manage-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.account-manage-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.account-manage-header h1 ion-icon {
    font-size: 26px;
    color: #1900ab;
}
.account-manage-header p {
    font-size: 13px;
    color: #6b7280;
    margin: 4px 0 0;
}
.account-manage-add-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 2px solid #1900ab;
    border-radius: 10px;
    background: transparent;
    color: #1900ab;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.account-manage-add-btn:hover {
    background: #1900ab;
    color: #fff;
}
.account-manage-add-btn ion-icon {
    font-size: 18px;
}

/* ── Form Card ── */
.account-manage-form-card {
    background: #fff;
    border: 2px solid #1900ab;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    animation: coFadeIn .3s;
}
.account-manage-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #1900ab;
    margin-bottom: 18px;
}
.account-manage-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}
.account-manage-form-actions .checkout-next-btn {
    max-width: 200px;
    margin-top: 0;
    padding: 12px 20px;
    font-size: 14px;
}

/* ── Card List ── */
.account-manage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.account-manage-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color .2s;
}
.account-manage-card--default {
    border-color: #1900ab;
    background: rgba(25, 0, 171, .02);
}
.account-manage-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.account-manage-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}
.account-manage-card-label ion-icon {
    font-size: 18px;
    color: #1900ab;
}
.account-manage-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    background: #1900ab;
    color: #fff;
}
.account-manage-type-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}
.account-manage-type-badge--corporate {
    background: #ede9fe;
    color: #7c3aed;
}
.account-manage-type-badge--individual {
    background: #ecfdf5;
    color: #059669;
}
.account-manage-card-actions {
    display: flex;
    gap: 6px;
}
.account-manage-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.account-manage-action-btn:hover {
    border-color: #1900ab;
    color: #1900ab;
    background: #f5f3ff;
}
.account-manage-action-btn--danger:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
}
.account-manage-action-btn ion-icon {
    font-size: 16px;
}
.account-manage-card-body {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}
.account-manage-card-directions {
    margin-top: 6px;
    padding: 6px 10px;
    background: #fffbeb;
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.account-manage-card-directions ion-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Empty ── */
.account-manage-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}
.account-manage-empty ion-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}
.account-manage-empty p {
    font-size: 14px;
}

/* ── Checkout Saved List ── */
.checkout-saved-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.checkout-saved-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.checkout-saved-item input[type="radio"] {
    margin-top: 14px;
    accent-color: #1900ab;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.checkout-saved-item-inner {
    flex: 1;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color .2s, background .2s;
}
.checkout-saved-item input[type="radio"]:checked ~ .checkout-saved-item-inner {
    border-color: #1900ab;
    background: rgba(25, 0, 171, .03);
}
.checkout-saved-item-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}
.checkout-saved-item-label ion-icon {
    font-size: 16px;
    color: #1900ab;
}
.checkout-saved-item-detail {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.checkout-saved-item--new .checkout-saved-item-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1900ab;
    border-style: dashed;
}
.checkout-saved-item--new .checkout-saved-item-inner ion-icon {
    font-size: 20px;
}

/* ── Save Checkbox ── */
.checkout-save-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.checkout-save-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1900ab;
}

.checkout-gift-check {
    margin-bottom: 8px;
}
.checkout-gift-hint {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
}
.checkout-gift-note-wrap {
    animation: coFadeIn .25s;
}
.checkout-label-optional {
    font-weight: 500;
    color: #94a3b8;
}

.checkout-new-address-form,
.checkout-new-billing-form {
    animation: coFadeIn .3s;
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    .account-manage-page {
        padding: 20px 0 40px;
    }
    .account-manage-header {
        flex-direction: column;
    }
    .account-manage-header h1 {
        font-size: 18px;
    }
    .account-manage-add-btn {
        width: 100%;
        justify-content: center;
    }
    .account-manage-form-card {
        padding: 18px;
    }
    .account-manage-card {
        padding: 14px 16px;
    }
    .account-manage-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .checkout-saved-item input[type="radio"] {
        margin-top: 16px;
    }
}

/* ============================================================
   ÜRÜN ETİKETLERİ (Label Overlay)
   .pcard-img img { width:100%; height:100%; object-fit:cover } ve
   .owl-carousel .owl-item img { width:100% } gibi global kuralları
   bertaraf etmek için bilinçli olarak !important + yüksek spesifite.
   ============================================================ */
.product-labels {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none;
    z-index: 5;
    width: auto !important;
    height: auto !important;
}

.product-labels img.product-label {
    position: absolute !important;
    display: block !important;
    pointer-events: auto;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
    transform: none;
    transition: none !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
    animation: productLabelPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Owl-carousel'in img'ye verdiği width:100% kuralını da yendiğimizden emin olalım */
.owl-carousel .owl-item img.product-label,
.pcard-img img.product-label,
.pd-main-img img.product-label {
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Hover'da kart görseli scale alıyor; etiket büyümesin */
.pcard:hover .pcard-img img.product-label,
.pd-main-img:hover img.product-label {
    transform: none !important;
}

@keyframes productLabelPop {
    0%   { transform: scale(0.4) rotate(-8deg); opacity: 0; }
    100% { transform: scale(1)    rotate(0);    opacity: 1; }
}

/* Konumlar — sadece 3 sabit köşe */
.product-labels img.product-label--top-left     { top: 6px !important;    left: 6px !important;  right: auto !important; bottom: auto !important; }
.product-labels img.product-label--bottom-left  { bottom: 6px !important; left: 6px !important;  right: auto !important; top: auto !important; }
.product-labels img.product-label--bottom-right { bottom: 6px !important; right: 6px !important; left: auto !important;  top: auto !important; }

/* ---- Boyutlar ----
   sm  : kart (anasayfa carousel, kategori, favoriler, mağaza)
   md  : orta (gerekirse)
   lg  : ürün detay büyük görsel
*/
.product-labels--sm img.product-label { width: 22% !important; max-width: 60px !important; min-width: 36px !important; }
.product-labels--md img.product-label { width: 18% !important; max-width: 84px !important; min-width: 52px !important; }
.product-labels--lg img.product-label { width: 14% !important; max-width: 96px !important; min-width: 64px !important; }

/* Tablet */
@media (max-width: 991.98px) {
    .product-labels--lg img.product-label { max-width: 80px !important; }
}

/* Mobil */
@media (max-width: 576px) {
    .product-labels--sm img.product-label { width: 26% !important; max-width: 50px !important; min-width: 32px !important; }
    .product-labels--lg img.product-label { width: 20% !important; max-width: 64px !important; min-width: 42px !important; }
    .product-labels img.product-label--top-left     { top: 4px !important;    left: 4px !important; }
    .product-labels img.product-label--bottom-left  { bottom: 4px !important; left: 4px !important; }
    .product-labels img.product-label--bottom-right { bottom: 4px !important; right: 4px !important; }
}

/* ============================================================
   LİSTE ARAÇ ÇUBUĞU (sıralama + filtre tetikleyicileri) ve
   FİLTRE OFFCANVAS PANELİ
   ============================================================ */
.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    margin: 16px 0 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.listing-toolbar-count {
    font-size: 14px;
    color: #565b66;
}
.listing-toolbar-count strong {
    color: #111827;
    font-weight: 700;
    margin-right: 2px;
}
.listing-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.listing-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.listing-toolbar-btn:hover {
    background: #f5f7fa;
    border-color: #d1d5db;
}
.listing-toolbar-btn:active {
    transform: scale(0.98);
}
.listing-toolbar-btn ion-icon {
    font-size: 18px;
}
.listing-toolbar-btn strong {
    font-weight: 600;
}
.listing-toolbar-badge {
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.listing-sort-menu {
    border-radius: 12px;
    border: 1px solid #eef0f4;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
    padding: 6px;
    min-width: 220px;
}
.listing-sort-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    color: #1f2937;
}
.listing-sort-menu .dropdown-item.active,
.listing-sort-menu .dropdown-item:active {
    background: #eef2ff;
    color: #1d4ed8;
}
.listing-sort-menu .dropdown-item ion-icon {
    font-size: 16px;
    color: #2563eb;
}

/* Aktif filtre çipleri */
.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #1d4ed8;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}
.active-filter-chip:hover {
    background: #dbeafe;
    color: #1d4ed8;
}
.active-filter-chip ion-icon {
    font-size: 14px;
}
.active-filter-chip--clear {
    background: #fef2f2;
    color: #b91c1c;
}
.active-filter-chip--clear:hover {
    background: #fee2e2;
    color: #991b1b;
}

/* Offcanvas */
.filter-offcanvas {
    width: 420px !important;
    max-width: 100%;
}
.filter-offcanvas .offcanvas-header {
    border-bottom: 1px solid #eef0f4;
    padding: 18px 20px;
}
.filter-offcanvas .offcanvas-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
    color: #111827;
}
.filter-offcanvas .offcanvas-title ion-icon {
    font-size: 20px;
    color: #2563eb;
}
.filter-offcanvas-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.filter-offcanvas .offcanvas-body {
    padding: 0;
    overflow-y: auto;
    flex: 1 1 auto;
}
.filter-section {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f3f6;
}
.filter-section:last-child {
    border-bottom: none;
}
.filter-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.filter-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-price-row .form-control {
    border-radius: 10px;
    border-color: #e5e7eb;
}
.filter-price-row .form-control:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.filter-price-sep {
    color: #9ca3af;
    font-weight: 600;
}
.filter-price-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}
.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}
.filter-options-list--chips {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    gap: 8px;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    margin: 0;
}
.filter-check:hover {
    background: #f8fafc;
}
.filter-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    cursor: pointer;
}
.filter-chip {
    cursor: pointer;
    margin: 0;
}
.filter-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.filter-chip span {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.filter-chip:hover span {
    border-color: #93c5fd;
}
.filter-chip input:checked + span {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.filter-offcanvas-footer {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #eef0f4;
    background: #fff;
    flex-shrink: 0;
}
.filter-clear-btn {
    flex: 0 0 auto;
    border-radius: 10px;
    padding: 10px 18px;
    text-decoration: none;
}
.filter-apply-btn {
    flex: 1 1 auto;
    border-radius: 10px;
    padding: 10px 18px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    border: none;
}
.filter-apply-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width: 576px) {
    .filter-offcanvas { width: 100% !important; }
    .listing-toolbar { padding: 12px 14px; }
    .listing-toolbar-btn { padding: 7px 12px; font-size: 13px; }
}

/* ── Pagination ── */
.saatinde-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 6px 0 2px;
}

.saatinde-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.saatinde-pagination__item {
    margin: 0;
}

.saatinde-pagination__link,
.saatinde-pagination__span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1.5px solid #e0e3ef;
    background: #fff;
    color: #1900ab;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.saatinde-pagination__link:hover {
    background: #f8f7ff;
    border-color: #1900ab;
    color: #140089;
    box-shadow: 0 4px 14px rgba(25, 0, 171, 0.14);
    transform: translateY(-1px);
}

.saatinde-pagination__item--active .saatinde-pagination__span {
    background: linear-gradient(135deg, #1900ab 0%, #2d14c9 100%);
    border-color: #1900ab;
    color: #fff;
    box-shadow: 0 6px 18px rgba(25, 0, 171, 0.28);
}

.saatinde-pagination__item--disabled .saatinde-pagination__span {
    background: #f4f5f8;
    border-color: #e8eaf0;
    color: #b8bcc8;
    cursor: not-allowed;
    box-shadow: none;
}

.saatinde-pagination__item--ellipsis .saatinde-pagination__span {
    min-width: 28px;
    padding: 0 2px;
    border: none;
    background: transparent;
    color: #8b90a0;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.saatinde-pagination__item--prev .saatinde-pagination__link,
.saatinde-pagination__item--prev .saatinde-pagination__span,
.saatinde-pagination__item--next .saatinde-pagination__link,
.saatinde-pagination__item--next .saatinde-pagination__span {
    min-width: 42px;
    padding: 0 12px;
    font-size: 20px;
}

@media (max-width: 576px) {
    .saatinde-pagination__list {
        gap: 6px;
    }

    .saatinde-pagination__link,
    .saatinde-pagination__span {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 13px;
    }

    .saatinde-pagination__item--prev .saatinde-pagination__link,
    .saatinde-pagination__item--prev .saatinde-pagination__span,
    .saatinde-pagination__item--next .saatinde-pagination__link,
    .saatinde-pagination__item--next .saatinde-pagination__span {
        min-width: 38px;
        font-size: 18px;
    }
}

/* ============ ÜRÜN DEĞERLENDİRMELERİ ============ */
.pd-rv-summary {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px 4px 20px;
    border-bottom: 1px solid #eef0f4;
    margin-bottom: 18px;
}
.pd-rv-score { text-align: center; min-width: 130px; }
.pd-rv-avg { font-size: 44px; font-weight: 800; color: #1e2233; line-height: 1; }
.pd-rv-score-stars { margin: 6px 0 4px; }
.pd-rv-score-stars ion-icon { font-size: 18px; color: #f5a623; }
.pd-rv-count { font-size: 13px; color: #6b7280; }
.pd-rv-bars { flex: 1; min-width: 220px; }
.pd-rv-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.pd-rv-bar-label { font-size: 12.5px; color: #6b7280; width: 34px; display: inline-flex; align-items: center; gap: 2px; }
.pd-rv-bar-label ion-icon { font-size: 12px; color: #f5a623; }
.pd-rv-bar-track { flex: 1; height: 8px; background: #eef0f4; border-radius: 999px; overflow: hidden; }
.pd-rv-bar-fill { height: 100%; background: #f5a623; border-radius: 999px; }
.pd-rv-bar-cnt { font-size: 12.5px; color: #6b7280; width: 26px; text-align: right; }

.pd-rv-list { display: flex; flex-direction: column; gap: 14px; }
.pd-rv-item { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 14px 16px; }
.pd-rv-item-head { display: flex; align-items: flex-start; gap: 12px; }
.pd-rv-avatar { width: 40px; height: 40px; border-radius: 50%; background: #eef0ff; color: #201d9c; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pd-rv-name { font-weight: 600; font-size: 14.5px; color: #1e2233; }
.pd-rv-item-stars { display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.pd-rv-item-stars ion-icon { font-size: 14px; color: #f5a623; }
.pd-rv-date { font-size: 12px; color: #9aa0b0; margin-left: 8px; }
.pd-rv-verified { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #16a34a; font-weight: 600; white-space: nowrap; }
.pd-rv-verified ion-icon { font-size: 14px; }
.pd-rv-comment { margin: 10px 0 0; font-size: 14px; color: #444a5e; line-height: 1.55; }
.pd-rv-seller-note { margin: 8px 0 0; font-size: 12.5px; color: #9aa0b0; }
.pd-rv-photo-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
}
.pd-rv-photo-count ion-icon { font-size: 14px; }
.pd-rv-photos-block { margin: 18px 0 8px; }
.pd-rv-photos-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.pd-rv-photos-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e2233;
}
.pd-rv-photos-all {
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
}
.pd-rv-photos-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.pd-rv-photos-rail::-webkit-scrollbar { height: 6px; }
.pd-rv-photos-rail::-webkit-scrollbar-thumb { background: #dde1ea; border-radius: 999px; }
.pd-rv-photos-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f5fb;
    cursor: zoom-in;
    scroll-snap-align: start;
}
.pd-rv-photos-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-rv-item--photo { border-color: #fed7aa; }
.pd-rv-item-photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    vertical-align: middle;
    padding: 2px 6px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11px;
    font-weight: 700;
}
.pd-rv-item-photo-badge ion-icon { font-size: 12px; }
.pd-rv-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pd-rv-img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    border: 1px solid #eef0f4;
    background: #f8f9fd;
    padding: 0;
    cursor: zoom-in;
}
.pd-rv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #eef0ff;
    color: #201d9c;
    font-size: 11px;
    font-weight: 700;
    margin-left: 2px;
}
.pd-tab-cam {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #ea580c;
    margin-left: 2px;
    line-height: 1;
    font-size: 11px;
    font-weight: 700;
}
.pd-tab-cam ion-icon { font-size: 13px; }
.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(10, 12, 20, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
}
.pd-lightbox[hidden] { display: none !important; }
.pd-lightbox-img {
    max-width: min(920px, 100%);
    max-height: min(86vh, 100%);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    background: #111;
}
.pd-lightbox-close,
.pd-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.92);
    color: #1e2233;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
}
.pd-lightbox-close { top: 16px; right: 16px; }
.pd-lightbox-close ion-icon,
.pd-lightbox-nav ion-icon { font-size: 22px; }
.pd-lightbox-nav--prev { left: 14px; }
.pd-lightbox-nav--next { right: 14px; }
@media (max-width: 576px) {
    .pd-lightbox { padding: 56px 12px 24px; }
    .pd-lightbox-nav { width: 36px; height: 36px; }
    .pd-rv-photos-thumb { flex-basis: 76px; width: 76px; height: 76px; }
}
@media (max-width: 520px) {
    .pd-rv-verified { display: none; }
    .pd-rv-summary { gap: 18px; }
    .pd-rv-avg { font-size: 36px; }
}
