/* ============================
   3D Hediye Dünyası - Ana Tema CSS
   Tüm HTML şablon stillerini birebir içerir
   ============================ */

:root {
    --primary-pink: #ff85a2;
    --secondary-yellow: #ffda79;
    --soft-purple: #a29bfe;
    --mint: #55efc4;
    --blue: #74b9ff;
    --dark-text: #2d3436;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: #fff9fb;
    color: var(--dark-text);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader-box {
    text-align: center;
    color: white;
}

.loading-icon {
    font-size: 3rem;
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #f1f1f1;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-pink), var(--soft-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    margin: 0 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-pink) !important;
    transform: scale(1.1);
}

/* --- HERO AREA --- */
.hero {
    height: 90vh;
    background: radial-gradient(circle, #fff0f3 0%, #ffe4e9 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.shape {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Sosyal Medya */
.social-sidebar {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-sidebar a {
    width: 55px;
    height: 55px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: 0.4s;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.social-sidebar .inst {
    background: #E1306C;
}

.social-sidebar .face {
    background: #1877F2;
}

.social-sidebar .wp {
    background: #25D366;
}

.social-sidebar a:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Slider */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 450px;
    z-index: 10;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-img {
    max-width: 80%;
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: 50px;
    overflow: hidden;
    filter: drop-shadow(0 20px 30px rgba(255, 133, 162, 0.4));
}

.nav-arrow {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: 0.3s;
    transform: translateY(-50%);
}

.nav-arrow:hover {
    background: var(--primary-pink);
    color: white;
}

.nav-arrow.left {
    left: -10px;
}

.nav-arrow.right {
    right: -10px;
}

.hero-text {
    text-align: center;
    z-index: 10;
    margin-bottom: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.btn-joy {
    background: var(--primary-pink);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: 0.4s;
    box-shadow: 0 10px 0 #d6617e;
    text-decoration: none;
    display: inline-block;
}

.btn-joy:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 0 #d6617e;
    color: white;
}

/* --- HIZLI KATEGORİ SEÇİCİ --- */
.quick-cats {
    padding: 30px 0;
    background: white;
    border-bottom: 2px solid #f8f9fa;
}

.quick-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.quick-cat-item:hover .cat-icon {
    transform: translateY(-10px) rotate(8deg);
}

.quick-cat-item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
}

/* --- KATEGORİ KARTLARI --- */
.cat-card {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    height: 300px;
    border: 8px solid white;
    transition: 0.4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.cat-card:hover {
    transform: scale(1.05) rotate(-2deg);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 20px;
    padding: 10px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary-pink);
}

/* --- PRODUCT CARDS --- */
.prod-card {
    background: white;
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    border: 2px solid #fef1f4;
}

.prod-card:hover {
    border-color: var(--primary-pink);
}

.prod-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 15px;
}

.prod-price {
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ================= NEDEN BİZ ================= */
.feature-box {
    background: #fff;
    padding: 36px 22px;
    border-radius: 16px;
    transition: .3s;
}

.feature-box i {
    font-size: 38px;
    color: #e83e8c;
    margin-bottom: 18px;
}

/* ================= İLETİŞİM ================= */
.contact-box {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.contact-box i {
    font-size: 28px;
    color: #e83e8c;
    margin-bottom: 10px;
}


/* ==============================================
   KATEGORİ SAYFALARI - ASK KOLEKSİYONU (Yeni Doğan)
   ============================================== */
.page-yenidogan {
    --romance-pink: #ff85a2;
    --love-red: #ff4d4d;
    --bg-light: #fff5f7;
    --text-dark: #2d3436;
    background-color: var(--bg-light);
}

/* ==============================================
   KATEGORİ SAYFALARI - ANAHTARLIK
   ============================================== */
.page-anahtarlik {
    --gamer-purple: #a29bfe;
    --gamer-dark: #2d3436;
    --neon-blue: #74b9ff;
    --bg-dark: #f0f2f5;
    background-color: var(--bg-dark);
}

/* ==============================================
   KATEGORİ SAYFALARI - OFİS ARKADAŞLARI
   ============================================== */
.page-ofis {
    --mint-green: #55efc4;
    --office-blue: #74b9ff;
    --bg-soft: #f4fcf9;
    --text-dark: #2d3436;
    background-color: var(--bg-soft);
}

/* ==============================================
   KATEGORİ SAYFALARI - EV DEKOR
   ============================================== */
.page-evdekor {
    --home-orange: #ffb8b8;
    --home-dark: #2d3436;
    --accent-gold: #fdcb6e;
    --bg-light: #fdfaf7;
    background-color: var(--bg-light);
}

/* --- KATEGORİ ORTAK STİLLER --- */
.category-header {
    padding: 60px 0;
    color: white;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 25px;
    padding: 15px;
    border: 2px solid transparent;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    background: #f9f9f9;
}

.product-info {
    padding: 15px 5px;
    text-align: center;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #444;
}

.price-box {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.buy-btn {
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.buy-btn:hover {
    color: white;
    transform: scale(1.05);
}

.back-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    display: inline-block;
    transition: 0.3s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Badge'ler */
.heart-badge,
.gamer-badge,
.office-badge,
.home-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.heart-badge {
    background: white;
    color: #ff4d4d;
}

.gamer-badge {
    background: #2d3436;
    color: #a29bfe;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.office-badge {
    background: white;
    color: #74b9ff;
}

.home-badge {
    background: #2d3436;
    color: #fdcb6e;
}

/* Yeni Doğan - Özel */
.page-yenidogan .category-header {
    background: linear-gradient(135deg, #ff85a2 0%, #ff4d4d 100%);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2);
}

.page-yenidogan .price-box {
    color: #ff4d4d;
}

.page-yenidogan .buy-btn {
    background: #ff85a2;
}

.page-yenidogan .buy-btn:hover {
    background: #ff4d4d;
}

/* Anahtarlık - Özel */
.page-anahtarlik .category-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.page-anahtarlik .product-card:hover {
    border-color: #a29bfe;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
}

.page-anahtarlik .price-box {
    color: #6c5ce7;
}

.page-anahtarlik .buy-btn {
    background: #2d3436;
}

.page-anahtarlik .buy-btn:hover {
    background: #a29bfe;
}

/* Ofis - Özel */
.page-ofis .category-header {
    background: linear-gradient(135deg, #55efc4 0%, #74b9ff 100%);
    box-shadow: 0 10px 25px rgba(85, 239, 196, 0.2);
}

.page-ofis .price-box {
    color: #00b894;
}

.page-ofis .buy-btn {
    background: #74b9ff;
}

.page-ofis .buy-btn:hover {
    background: #0984e3;
}

/* Ev Dekor - Özel */
.page-evdekor .category-header {
    background: linear-gradient(135deg, #e17055 0%, #fab1a0 100%);
    box-shadow: 0 10px 25px rgba(225, 112, 85, 0.3);
}

.page-evdekor .product-card:hover {
    border-color: #ffb8b8;
    box-shadow: 0 20px 40px rgba(225, 112, 85, 0.15);
}

.page-evdekor .price-box {
    color: #e17055;
}

.page-evdekor .buy-btn {
    background: #2d3436;
}

.page-evdekor .buy-btn:hover {
    background: #ffb8b8;
}

/* ============================
   MOBILE RESPONSIVE - EKSIKSIZ
   ============================ */

/* === VIEWPORT META FIX === */
html {
    -webkit-text-size-adjust: 100%;
}

/* ================================================
   TABLET (max-width: 991px)
   ================================================ */
@media (max-width: 991px) {

    /* --- NAVBAR --- */
    .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 20px;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px;
    }

    .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .d-flex {
        flex-direction: column;
        width: 100%;
        margin: 10px 0 !important;
        gap: 8px;
    }

    .navbar-nav .btn-joy {
        margin: 5px 0 !important;
        text-align: center;
        width: 100%;
    }

    .navbar .d-flex.align-items-center {
        flex-wrap: wrap;
        gap: 5px;
    }

    .lang-selector {
        margin-top: 5px;
    }

    /* --- HERO & SLIDER (TABLET) --- */
    .hero {
        height: auto;
        min-height: auto;
        padding: 30px 0 40px;
    }

    .hero-slider {
        position: relative;
        min-height: auto;
    }

    .hero-slide {
        position: relative;
        opacity: 0;
        display: none;
    }

    .hero-slide.active {
        opacity: 1;
        display: block;
    }

    .hero-slide .row {
        flex-direction: column-reverse !important;
    }

    .hero-slide .col-lg-5,
    .hero-slide .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-text {
        margin-top: 20px;
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0;
    }

    .hero-text .badge {
        font-size: 0.85rem;
    }

    .hero-slide-img {
        max-width: 70%;
        max-height: 280px;
        border-radius: 25px;
        margin: 0 auto;
        display: block;
    }

    /* Slider Okları - Tablet */
    .nav-arrow {
        width: 45px;
        height: 45px;
        top: 35%;
        font-size: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-arrow.left {
        left: 5px;
    }

    .nav-arrow.right {
        right: 5px;
    }

    .hero .row {
        flex-direction: column;
    }

    .hero .col-lg-6 {
        text-align: center;
    }

    /* --- SOCIAL SIDEBAR --- */
    .social-sidebar {
        position: fixed;
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        gap: 8px;
        z-index: 1000;
    }

    .social-sidebar a {
        width: 42px;
        height: 42px;
        border-radius: 15px;
        font-size: 1.1rem;
    }

    /* --- QUICK CATEGORIES --- */
    .quick-cats {
        padding: 20px 0;
    }

    /* --- CATEGORY CARDS --- */
    .cat-card {
        height: 220px;
        border-radius: 25px;
    }

    /* --- CART PAGE --- */
    .cart-item-row {
        flex-direction: column;
        gap: 10px;
    }

    /* --- CHECKOUT PAGE --- */
    .checkout-form {
        padding: 20px;
    }
}

/* ================================================
   MOBILE (max-width: 767px)
   ================================================ */
@media (max-width: 767px) {

    /* --- GENEL --- */
    body {
        font-size: 14px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.15rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    /* --- NAVBAR --- */
    .navbar {
        padding: 8px 0;
    }

    .navbar-brand {
        font-size: 1.4rem !important;
    }

    .navbar-brand img {
        height: 40px !important;
    }

    .navbar-toggler {
        border: 2px solid var(--primary-pink) !important;
        padding: 4px 8px;
    }

    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }

    /* --- HERO & SLIDER (MOBILE) --- */
    .hero {
        height: auto;
        min-height: auto;
        padding: 15px 0 25px;
    }

    .hero-slider {
        position: relative;
        min-height: auto;
    }

    .hero-slide {
        position: relative;
        opacity: 0;
        display: none;
    }

    .hero-slide.active {
        opacity: 1;
        display: block;
    }

    .hero-slide .row {
        flex-direction: column-reverse !important;
    }

    .hero-slide .col-lg-5,
    .hero-slide .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-text {
        margin-top: 15px;
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.35rem !important;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        padding: 0;
    }

    .hero-text .badge {
        font-size: 0.75rem;
        padding: 5px 10px !important;
    }

    .hero-slide-img {
        max-width: 80%;
        max-height: 200px;
        border-radius: 18px;
        margin: 0 auto;
        display: block;
    }

    /* Slider Okları - Mobile */
    .nav-arrow {
        width: 36px;
        height: 36px;
        top: 30%;
        font-size: 0.8rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }

    .nav-arrow.left {
        left: 3px;
    }

    .nav-arrow.right {
        right: 3px;
    }

    /* --- BUTONLAR --- */
    .btn-joy {
        padding: 10px 25px;
        font-size: 1rem;
        box-shadow: 0 6px 0 #d6617e;
    }

    /* --- SLIDER OKLAR --- */
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .nav-arrow.left {
        left: 5px;
    }

    .nav-arrow.right {
        right: 5px;
    }

    /* --- HIZLI KATEGORİLER --- */
    .quick-cats {
        padding: 15px 0;
    }

    .quick-cats .row {
        gap: 15px 0;
    }

    .quick-cats .col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        border-radius: 16px;
    }

    .quick-cat-item span {
        font-size: 0.85rem;
    }

    /* --- KATEGORİ KARTLARI --- */
    .cat-card {
        height: 180px;
        border-radius: 20px;
        border-width: 4px;
        margin-bottom: 15px;
    }

    .cat-title {
        font-size: 0.85rem;
        margin: 0 10px;
        padding: 8px;
        border-radius: 12px;
    }

    /* --- ÜRÜN KARTLARI (Ana Sayfa) --- */
    .prod-card {
        border-radius: 20px;
        padding: 12px;
    }

    .prod-card img {
        border-radius: 15px;
    }

    .prod-price {
        font-size: 1.1rem;
    }

    /* --- ÜRÜN KARTLARI (Kategori Sayfası) --- */
    .product-card {
        border-radius: 18px;
        padding: 10px;
    }

    .product-img {
        border-radius: 14px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .price-box {
        font-size: 1.1rem;
    }

    .buy-btn {
        padding: 10px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    /* --- KATEGORİ HEADER --- */
    .category-header {
        padding: 30px 15px;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
        margin-bottom: 25px;
    }

    .category-header h1 {
        font-size: 1.5rem !important;
    }

    .category-header p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .back-link {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    /* --- NEDEN BİZ (FEATURE) --- */
    .feature-box {
        padding: 25px 15px;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .feature-box i {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .feature-box h5 {
        font-size: 0.95rem !important;
    }

    .feature-box p {
        font-size: 0.85rem;
    }

    /* --- İLETİŞİM --- */
    .contact-box {
        padding: 20px;
        border-radius: 14px;
    }

    .contact-box .row {
        gap: 15px 0;
    }

    .contact-box .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .contact-box .d-flex .rounded-circle {
        margin: 0 auto 8px;
    }

    .contact-box .form-control,
    .contact-box textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .contact-box .btn {
        font-size: 0.95rem;
        padding: 10px;
    }

    /* --- LOGIN / REGISTER --- */
    section[style*="min-height: 80vh"] {
        min-height: 70vh !important;
        padding: 20px 0 !important;
    }

    section[style*="min-height: 80vh"] .col-md-5 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    section[style*="min-height: 80vh"] .p-5 {
        padding: 25px 20px !important;
        border-radius: 20px !important;
        margin: 0 5px;
    }

    section[style*="min-height: 80vh"] h3 {
        font-size: 1.3rem !important;
    }

    section[style*="min-height: 80vh"] .form-control {
        padding: 10px !important;
        font-size: 0.95rem;
    }

    section[style*="min-height: 80vh"] .btn {
        padding: 12px !important;
        font-size: 1rem !important;
    }

    /* --- SEPET (CART) --- */
    section[style*="min-height: 70vh"] .col-lg-8,
    section[style*="min-height: 70vh"] .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    section[style*="min-height: 70vh"] .d-flex.align-items-center.p-3 {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px !important;
        border-radius: 15px !important;
    }

    section[style*="min-height: 70vh"] .d-flex.align-items-center.p-3 img {
        width: 60px !important;
        height: 60px !important;
        border-radius: 12px !important;
    }

    section[style*="min-height: 70vh"] .d-flex.align-items-center.p-3 .ms-3 {
        flex: 1;
        min-width: 0;
    }

    section[style*="min-height: 70vh"] .d-flex.align-items-center.p-3 .ms-3 h6 {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section[style*="min-height: 70vh"] .col-lg-4>div {
        margin-top: 20px;
        border-radius: 18px !important;
    }

    /* --- CHECKOUT --- */
    .checkout-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* --- BADGE'LER --- */
    .heart-badge,
    .gamer-badge,
    .office-badge,
    .home-badge {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    /* --- FOOTER --- */
    footer {
        padding: 25px 0 !important;
    }

    footer p {
        font-size: 0.85rem;
    }

    /* --- SOCIAL SIDEBAR (MOBILE) --- */
    .social-sidebar {
        position: fixed;
        right: 8px;
        top: auto;
        bottom: 15px;
        transform: none;
        flex-direction: row;
        gap: 6px;
        z-index: 1000;
    }

    .social-sidebar a {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 1rem;
    }

    /* --- SHAPES / DEKORASYON --- */
    .shape {
        display: none;
    }
}

/* ================================================
   SMALL MOBILE (max-width: 480px)
   ================================================ */
@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* --- NAVBAR --- */
    .navbar-brand {
        font-size: 1.2rem !important;
    }

    .navbar-brand img {
        height: 32px !important;
    }

    .navbar-collapse {
        padding: 15px;
        border-radius: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px 0 !important;
    }

    /* --- HERO --- */
    .hero {
        padding: 15px 0;
        min-height: 40vh;
    }

    .hero-text h1 {
        font-size: 1.15rem !important;
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .hero-slider {
        min-height: 160px;
    }

    .hero-slide-img {
        max-height: 160px;
        border-radius: 15px;
    }

    .btn-joy {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* --- QUICK CATEGORIES --- */
    .cat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 14px;
    }

    .quick-cat-item span {
        font-size: 0.75rem;
    }

    /* --- CATEGORY CARDS --- */
    .cat-card {
        height: 150px;
        border-radius: 16px;
        border-width: 3px;
    }

    .cat-title {
        font-size: 0.75rem;
        margin: 0 8px;
        padding: 6px;
        border-radius: 10px;
    }

    /* --- PRODUCT CARDS --- */
    .prod-card {
        padding: 8px;
        border-radius: 15px;
    }

    .prod-card h5 {
        font-size: 0.85rem !important;
    }

    .prod-price {
        font-size: 0.95rem;
    }

    .product-card {
        padding: 8px;
        border-radius: 14px;
    }

    .product-img {
        border-radius: 12px;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .price-box {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .buy-btn {
        padding: 8px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    /* --- CATEGORY HEADER --- */
    .category-header {
        padding: 20px 10px;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
        margin-bottom: 20px;
    }

    .category-header h1 {
        font-size: 1.3rem !important;
    }

    /* --- FEATURE / İLETİŞİM --- */
    .feature-box {
        padding: 18px 12px;
    }

    .contact-box {
        padding: 15px;
        border-radius: 12px;
    }

    /* --- LOGIN / REGISTER --- */
    section[style*="min-height: 80vh"] .p-5 {
        padding: 18px 15px !important;
        border-radius: 16px !important;
    }

    section[style*="min-height: 80vh"] .fa-3x {
        font-size: 2rem !important;
    }

    /* --- CART --- */
    section[style*="min-height: 70vh"] .d-flex.align-items-center.p-3 img {
        width: 50px !important;
        height: 50px !important;
    }

    section[style*="min-height: 70vh"] h2 {
        font-size: 1.2rem !important;
    }

    /* --- SOCIAL SIDEBAR --- */
    .social-sidebar a {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .social-sidebar {
        gap: 5px;
        bottom: 10px;
        right: 5px;
    }

    /* --- NAV ARROWS --- */
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .nav-arrow.left {
        left: 3px;
    }

    .nav-arrow.right {
        right: 3px;
    }
}

/* ================================================
   LANDSCAPE PHONE FIX
   ================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 15px 0;
    }

    .hero-slider {
        min-height: 150px;
    }

    .hero-text h1 {
        font-size: 1.2rem !important;
    }

    .social-sidebar {
        display: none;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {

    .navbar,
    .social-sidebar,
    footer,
    .btn-joy,
    .nav-arrow,
    #preloader {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: 0;
    }

    body {
        font-size: 12pt;
    }
}