* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #172033;
}
/*=========================================
HEADER
=========================================*/

header{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    background:#111827;

    position:sticky;

    top:0;

    z-index:999;

    border-bottom:1px solid #1f2937;

}

/* Logo */


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}


.logo h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #2286d4;
    letter-spacing: 0.5px;
}

.logo h2 span {
    color: #1491a3;
}

.logo h5 {
    margin: 3px 0 0;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #e1e4e8;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}




/*=========================================
Navigation
=========================================*/

nav{

    display:flex;

    align-items:center;

    gap:18px;

}

nav a{

    color:white;

    text-decoration:none;

    padding:10px 16px;

    border-radius:8px;

    transition:.3s;

    font-weight:500;

}

nav a:hover{

    background:#38bdf8;

    color:#111827;

}

#user-status{

    color:#38bdf8;

    font-weight:600;

}

#logout-btn{

    border:none;

    padding:10px 16px;

    border-radius:8px;

    background:#ef4444;

    color:white;

    cursor:pointer;

    transition:.3s;

}

#logout-btn:hover{

    background:#dc2626;

}

.hero {
    min-height: 460px;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(8, 20, 35, .78), rgba(8, 20, 35, .78)),
        radial-gradient(circle at 20% 20%, #0ea5e9, transparent 35%),
        radial-gradient(circle at 80% 70%, #2563eb, transparent 35%),
        #0f172a;
}

.hero-content {
    max-width: 850px;
    color: white;
}

.small-title {
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p:not(.small-title) {
    max-width: 650px;
    margin: auto;
    color: #dbeafe;
    line-height: 1.7;
    font-size: 17px;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 25px;
    background: #0ea5e9;
    color: white;
    text-decoration: none;
    border-radius: 9px;
    font-weight: 700;
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
    
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 34px;
}



/* =========================================
   DESIGN FILTERS
   ========================================= */

.filter-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.filter-box select {
    min-width: 180px;
    padding: 12px 40px 12px 15px;

    font-size: 15px;
    font-weight: 600;

    color: #333;
    background-color: #fff;

    border: 1px solid #ccc;
    border-radius: 8px;

    cursor: pointer;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.filter-box select:hover {
    border-color: #777;
}

.filter-box select:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.filter-box select:active {
    transform: scale(0.98);
}


/* =========================================
   DESIGN CARD FILTER ANIMATION
   ========================================= */

.design-card {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.design-card.filter-hidden {
    display: none !important;
}


/* =========================================
   NO RESULTS
   ========================================= */

.no-results {
    text-align: center;
    padding: 50px 20px;
}

.no-results h2 {
    margin-bottom: 10px;
}

.no-results p {
    margin: 0;
    color: #777;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .filter-box {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .filter-box select {
        width: 100%;
        max-width: 350px;
    }
}/* =========================================
   DESIGN FILTERS
   ========================================= */

.filter-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.filter-box select {
    min-width: 180px;
    padding: 12px 40px 12px 15px;

    font-size: 15px;
    font-weight: 600;

    color: #333;
    background-color: #fff;

    border: 1px solid #ccc;
    border-radius: 8px;

    cursor: pointer;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.filter-box select:hover {
    border-color: #777;
}

.filter-box select:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.filter-box select:active {
    transform: scale(0.98);
}


/* =========================================
   DESIGN CARD FILTER ANIMATION
   ========================================= */

.design-card {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.design-card.filter-hidden {
    display: none !important;
}


/* =========================================
   NO RESULTS
   ========================================= */

.no-results {
    text-align: center;
    padding: 50px 20px;
}

.no-results h2 {
    margin-bottom: 10px;
}

.no-results p {
    margin: 0;
    color: #777;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .filter-box {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .filter-box select {
        width: 100%;
        max-width: 350px;
    }
}


/* =========================
   PAGE
========================= */

.library-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 68px 24px 70px;
   
}

.library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.eyebrow {
    color: #26ad38;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.library-heading h1 {
    color: white;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.search-box {
    width: 280px;
}

.search-box input {
    width: 100%;
    height: 43px;
    padding: 0 15px;
    border: 1px solid #ccd3dc;
    border-radius: 9px;
    background: white;
    outline: none;
    color: #1e293b;
    font-family: inherit;
    font-size: 13px;
    transition: .25s ease;
}

.search-box input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56,189,248,.12);
}

/* =========================
   CARDS
========================= */

.design-grid {
width: 90%;
max-width: 1200px;
margin: 50px auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}

.design-card {
position: relative;
background: #111827;
border: 1px solid #1f2937;
border-radius: 15px;
padding: 20px;
text-align: center;
transition: 0.3s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
overflow: hidden;
}

.design-card:hover {
    transform: translateY(-8px);
border-color: #38bdf8;
box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
}

.design-image {
    height: 232px;
    background: #e5e7eb;
    overflow: hidden;
    border-radius: 10px;
}

.design-image img {
width: 100%;
height: 220px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 15px;
transition: 0.3s ease;
}

.design-card:hover .design-image img {
    transform: scale(1.03);
}

.design-content {
    padding: 21px 20px 20px;
}

.design-content h2 {
    color: white;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 7px;
}

.design-content p {
    min-height: 44px;
    color: #c8ccc8;
    font-size: 13px;
    line-height: 1.65;
}

.tags {
    display: flex;
    gap: 7px;
    margin: 14px 0;
}

.tags span {
    padding: 5px 10px;
    border-radius: 5px;
    background: #f5faf6;
    color: #0278b6;
    font-size: 11px;
    font-weight: 600;
}

.download-btn {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #38bdf8;
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.download-btn:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
}
.Buy-btn {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #38bdf8;
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.Buy-btn:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
}
.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    color: #102744;
    margin-bottom: 5px;
}

.no-results p {
    color: #64748b;
}
/*=========================================
FOOTER
=========================================*/

footer{
    background:#111827;
    text-align:center;
    padding:35px;
    margin-top:60px;
}

.footer-links{
    margin-bottom:18px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    margin:0 15px;
}

.footer-links a:hover{
    color:#38bdf8;
}

footer p{
    color:#cbd5e1;
}

/* ===========================
   AMAZON STYLE MOBILE HEADER
=========================== */

header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    background:#111827;
    padding:15px 20px;
    z-index:999;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   TABLET
========================= */

@media (max-width: 950px) {
    .site-header {
        padding: 0 4%;
    }

    .main-nav {
        gap: 25px;
    }

    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .site-header {
        height: 75px;
        padding: 0 18px;
    }

    .brand img {
        width: 190px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        background: #111827;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 1000;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 13px 5px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .header-strip {
        height: 35px;
    }

    .library-page {
        padding: 45px 15px 55px;
    }

    .library-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }

    .library-heading h1 {
        font-size: 28px;
    }

    .search-box {
        width: 100%;
    }

    .design-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .design-image {
        height: 220px;
    }
}

/* Mobile */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .logo{
        flex:1;
        justify-content:center;
    }

    .logo h2{
        font-size:22px;
    }

    .logo img{
        width:40px;
        height:40px;
    }

    nav{
        position:fixed;
        top:70px;
        left:-100%;
        width:260px;
        height:100vh;
        background:#111827;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        padding:20px;
        transition:.35s ease;
        gap:5px;
        z-index:998;
    }

    nav.active{
        left:0;
    }

    nav a,
    #logout-btn{
        width:100%;
        padding:15px;
        text-align:left;
    }

    .cart-icon a{
        font-size:26px;
    }
}


.manual-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px 16px;
    background: #d32f2f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.manual-btn:hover {
    background: #b71c1c;
}

/*=========================================
WHATSAPP BUTTON
=========================================*/

.whatsapp-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    z-index:999;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.1);
}



#topBtn{
    position:fixed;
    bottom:100px;
    right:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#38bdf8;
    color:#111827;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:999;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}

#topBtn:hover{
    background:#0ea5e9;
    color:white;
}


/* =========================================
   PAGINATION
   ========================================= */

.pagination-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pagination-info {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination button {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #ffffff;
    color: #334155;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: .2s ease;
}

.pagination .page-number {
    width: 30px;
    padding: 0;
}

.pagination .page-number.active {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #111827;
    font-weight: 700;
}

.pagination .page-nav {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 0 5px;
    font-weight: 600;
    min-width: auto;
}

.pagination .page-nav:hover:not(:disabled) {
    color: #0ea5e9;
    background: transparent;
}

.pagination button:hover:not(:disabled):not(.active) {
    border-color: #94a3b8;
}

.pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.pagination button span {
    font-size: 18px;
    vertical-align: -1px;
}

.pagination .ellipsis {
    min-width: 24px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 700px) {
    .pagination-wrapper {
        width: 90%;
        margin-top: 5px;
        flex-direction: column;
        align-items: center;
    }

    .pagination-info {
        text-align: center;
    }

    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination .page-nav {
        font-size: 12px;
    }
}
