/* ===========================
   KaamKaSamaan Theme
=========================== */

:root {
    --primary: #EA580C;
    --primary-dark: #C2410C;
    --dark: #111827;
    --light: #FFF7ED;
    --gray: #6B7280;
    --border: #E5E7EB;
}

html {
    font-size: 14px;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #ffffff;
    color: var(--dark);
}

/* Navbar */

.navbar {
    padding: 12px 0 !important;
    transition: .3s;
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary) !important;
    letter-spacing: .5px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin-left: 12px;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

    .nav-link.active,
    .nav-link:hover {
        color: var(--primary) !important;
        font-weight: 600;
    }
/* SEARCH BOX */

.search-box {
    max-width: 380px;
    width: 100%;
}

    .search-box .form-control {
        background: #F3F4F6;
        border-radius: 30px;
        padding: 12px 18px;
    }

    .search-box .input-group-text {
        border-radius: 30px 0 0 30px;
        background: #F3F4F6;
    }

/* ===========================
   BRAND LOGO
=========================== */

.logo-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    color: #EA580C;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
}

.logo-tagline {
    color: #6B7280;
    font-size: 11px;
    display: block;
}

/* Buttons */

.btn-orange {
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
}

    .btn-orange:hover {
        background: var(--primary-dark);
        color: white;
    }

/* Announcement Bar */

.top-strip {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

/* Section */

.section-title {
    font-weight: 700;
    font-size: 34px;
}

.section-subtitle {
    color: var(--gray);
}

/* Cards */

.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
    }

    .product-card img {
        height: 240px;
        object-fit: cover;
    }

/* Footer */

.footer {
    background: #111827;
    color: #D1D5DB;
    padding: 70px 0 30px;
}

    .footer a {
        color: #D1D5DB;
        text-decoration: none;
    }

        .footer a:hover {
            color: #EA580C;
        }

/* Category Box */

.category-box {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: .3s;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

    .category-box:hover {
        background: var(--light);
        transform: translateY(-4px);
    }

/* Badge */

.offer-badge {
    background: var(--primary);
    color: white;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 12px;
    display: inline-block;
}

/* ================= HERO ================= */

.hero-section {
    background: linear-gradient(135deg,#FFF7ED,#FFEFD5);
    padding: 90px 0;
    overflow: hidden;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
}

    .hero-title span {
        color: #EA580C;
    }

.hero-subtitle {
    color: #4B5563;
    font-size: 18px;
}

.hero-image img {
    max-height: 450px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.hero-stat {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .hero-stat h3 {
        color: #EA580C;
        font-weight: 700;
    }

.category-card {
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    transition: .3s;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    text-align: center;
}

    .category-card:hover {
        transform: translateY(-6px);
        background: #FFF7ED;
    }

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFF1E8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    color: #EA580C;
    font-size: 28px;
}

.section-space {
    padding: 70px 0;
}

.product-price {
    color: #EA580C;
    font-weight: 700;
    font-size: 22px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
}

.why-box {
    text-align: center;
    padding: 25px;
}

/*.why-icon {
    font-size: 40px;
    color: #EA580C;
}*/
.why-icon {
    width: 82px;
    height: 82px;
    background: #FFE2CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: .3s ease;
}

    .why-icon i {
        font-size: 34px;
        color: #FF6B00;
    }

.why-card:hover .why-icon {
    background: #FFD1AE;
    transform: translateY(-4px);
}

.instagram-banner {
    background: #EA580C;
    border-radius: 25px;
    padding: 60px;
    color: white;
}

/* ===========================
   PRODUCTS PAGE
=========================== */

.filter-box {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
    position: sticky;
    top: 100px;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.filter-category {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    margin-bottom: 8px;
    transition: .3s;
}

    .filter-category:hover {
        background: #FFF7ED;
        color: #EA580C;
    }

.page-header {
    background: #FFF7ED;
    padding: 50px 0;
    margin-bottom: 50px;
}

    .page-header h1 {
        font-size: 42px;
        font-weight: 800;
    }

.product-grid-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    transition: .3s;
}

    .product-grid-card:hover {
        transform: translateY(-6px);
    }

    .product-grid-card img {
        height: 260px;
        object-fit: cover;
    }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #EA580C;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 30px;
}

/* ================= ABOUT PAGE ================= */

.about-hero {
    background: linear-gradient(135deg,#FFF7ED,#FFE4D6);
    padding: 80px 0;
}

.about-card {
    padding: 35px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .3s;
    height: 100%;
}

    .about-card:hover {
        transform: translateY(-6px);
    }

.about-icon {
    width: 70px;
    height: 70px;
    background: #FFF1E8;
    color: #EA580C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

/* ================= CONTACT PAGE ================= */

.contact-card {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    text-align: center;
    height: 100%;
}

    .contact-card i {
        font-size: 36px;
        color: #EA580C;
    }

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

/* ================= PRODUCT DETAILS ================= */
/* ===========================
   PRODUCT DETAILS PAGE
=========================== */

.product-gallery {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.main-product-image {
    height: 520px;
    object-fit: contain;
    background: #FAFAFA;
    border-radius: 20px;
    padding: 20px;
}

.gallery-thumb {
    height: 100px;
    object-fit: contain;
    background: #fff;
    border: 2px solid #ECECEC;
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    transition: .3s;
}

    .gallery-thumb:hover {
        border-color: #EA580C;
        transform: scale(1.05);
    }

.price-box {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 20px;
    padding: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-6px);
    }

    .feature-card i {
        font-size: 36px;
        color: #EA580C;
    }

.spec-table td {
    padding: 16px;
    vertical-align: middle;
}

.trust-strip {
    background: #FFF7ED;
    padding: 30px;
    border-radius: 25px;
}

.old-price {
    text-decoration: line-through;
    color: #6B7280;
}

.product-price {
    color: #EA580C;
    font-weight: 700;
    font-size: 22px;
}
/* Floating Social Buttons */

.floating-social {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    transition: .3s;
}

    .floating-btn:hover {
        transform: translateY(-5px);
    }

.whatsapp {
    background: #25D366;
}

.instagram {
    background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4);
}

/* ===================================================
   ADMIN PANEL
===================================================*/

.admin-body {
    background: #FFF7ED;
    margin: 0;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */

.admin-sidebar {
    width: 250px;
    background: #EA580C;
    color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .admin-logo img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .admin-logo h4 {
        color: #fff;
        margin: 0;
        font-size: 20px;
    }

    .admin-logo small {
        color: #FFE7D6;
    }

.admin-sidebar hr {
    border-color: #FFB88A;
}

.admin-sidebar .nav-link {
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: .3s;
}

    .admin-sidebar .nav-link:hover {
        background: rgba(255,255,255,.15);
    }

/* Main */

.admin-content {
    flex: 1;
    padding: 35px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Cards */

.dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .dashboard-card i {
        font-size: 36px;
        color: #EA580C;
    }

    .dashboard-card h2 {
        margin-top: 15px;
        color: #EA580C;
        font-weight: 700;
    }

.admin-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Login */

.login-page {
    background: linear-gradient(135deg,#FFF7ED,#FED7AA);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    width: 420px;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
}

.login-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* Mobile */

@media(max-width:991px) {

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* =============================
   ADMIN PRODUCTS
=============================*/

.admin-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.edit-preview {
    width: 150px;
    border-radius: 16px;
    border: 2px solid #EA580C;
}

.table td {
    vertical-align: middle;
}

.admin-card .form-control,
.admin-card .form-select {
    border-radius: 12px;
    padding: 12px;
}

.admin-card label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Global Product Badges */

.badge-country {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 30px;
}

.badge-type {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 30px;
}

#affiliateSection,
#storeSection {
    transition: 0.3s;
}

.country-card {
    border-radius: 24px;
    overflow: hidden;
    min-height: 250px;
    color: white;
    display: flex;
    align-items: end;
}

    .country-card.india {
        background: linear-gradient(135deg,#EA580C,#F59E0B);
    }

    .country-card.usa {
        background: linear-gradient(135deg,#2563EB,#1D4ED8);
    }

    .country-card h3 {
        font-weight: 700;
    }

    .country-card p {
        color: #F8FAFC;
    }
/* =========================================
   Pinterest Generator
========================================= */

.stats-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
}

    .stats-card:hover {
        transform: translateY(-5px);
    }

.pin-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

    .pin-card img {
        aspect-ratio: 2/3;
        object-fit: cover;
    }

    .pin-card h4 {
        line-height: 1.4;
    }

.admin-card textarea {
    background: #fafafa;
    resize: none;
}

.amazon-preview img {
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.admin-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 24px;
}

/* ============================= */
/* AI Studio Pinterest Preview   */
/* ============================= */

.pin-preview {
    max-width: 360px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.pin-header {
    background: linear-gradient(180deg,#ea580c,#f97316);
    padding: 25px;
}

    .pin-header h3 {
        color: #fff;
        font-size: 1.4rem;
        line-height: 1.5;
    }

.text-orange {
    color: #ea580c;
}

.pinterest-generated-image {
    max-width: 340px;
    border-radius: 25px;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
/* ============================= */
/* Pinterest Image Generator */
/* ============================= */

.pinterest-generated-image {
    max-width: 340px;
    border-radius: 24px;
    border: 8px solid #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.pin-preview-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}