/* ================= HEADER ================= */

.header {position: sticky;top: 0;background: #fff;box-shadow: 0 2px 10px rgba(0,0,0,0.05);z-index: 999;padding: 20px 0;}
.logo {font-size: 22px;font-weight: 600;}
.logo span {color: #e67e22;}
.nav-menu {display: flex;gap: 28px;}
.nav-menu a {text-decoration: none;color: #444;font-weight: 500;transition: 0.2s;}
.nav-menu a:hover {color: #e67e22;}
.dropdown {position: relative;}
.dropdown-menu {position: absolute;top: 38px;left: 0;background: #fff;border-radius: 8px;display: none;min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);padding: 6px 0;}
.dropdown-menu a {padding: 10px 16px;display: block;}
.dropdown-menu a:hover {background: #f7f7f7;}
.dropdown.active .dropdown-menu {display: block;}
.header-actions {display: flex;align-items: center;gap: 18px;}
.user {position: relative;cursor: pointer;}
.user-menu {position: absolute;top: 38px;right: 0;background: #fff;border-radius: 8px;display: none;min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);}
.user-menu a {display: flex;gap: 10px;align-items: center;padding: 10px 16px;}
.user-menu a:hover {background: #f7f7f7;}
.user.active .user-menu {display: block;}
.cart {position: relative;cursor: pointer;}
.cart-count {position: absolute;top: -6px;right: -8px;background: #e74c3c;color: #fff;font-size: 10px;width: 15px;height: 15px;display: flex;
    align-items: center;justify-content: center;border-radius: 50%;}
.menu-toggle {display: none;font-size: 20px;cursor: pointer;}
.screen-overlay {position: fixed;width: 100%;height: 100%;background: rgba(0,0,0,0.35);top: 0;left: 0;opacity: 0;visibility: hidden;
  transition: 0.3s;}
.screen-overlay.active {opacity: 1;visibility: visible;}
.sidebar-header {display: none;}

@media(max-width: 992px) {
.menu-toggle {display: block;}
.nav-menu {position: fixed;right: -100%;top: 0;width: 260px;height: 100%;background: #fff;flex-direction: column;padding: 25px;
    gap: 18px;transition: 0.3s;box-shadow: -5px 0 20px rgba(0,0,0,0.08);z-index: 999;}
.nav-menu.active {right: 0;}
.sidebar-header {display: flex;justify-content: space-between;margin-bottom: 20px;font-weight: 600;}
.dropdown-menu {position: static;box-shadow: none;display: none;}
.dropdown.active .dropdown-menu {display: block;}
}

/* ================= HERO ================= */

.hero-section {background: #fafafa;}
.hero-section h1 {font-size: 55px;font-weight: 700;line-height: 1.3;}

.hero-section p {
    font-size: 15px;
}

/* IMAGE */
.hero-section img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

/* SWIPER */
.hero-section .swiper {
    padding-bottom: 50px;
}

.hero-section .swiper-slide {
    min-height: 420px;
    display: flex;
    align-items: center;
}
.hero-section .swiper-button-prev,
.hero-section .swiper-button-next {
    position: absolute;
    bottom: 10px;
    top: auto;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
}

/* REMOVE DEFAULT RIGHT POSITION */
.hero-section .swiper-button-prev {
    left: 0;
    right: auto;
}

.hero-section .swiper-button-next {
    left: 50px;
    right: auto;
}

/* ICON SIZE */
.hero-section .swiper-button-prev:after,
.hero-section .swiper-button-next:after {
    font-size: 14px;
}

/* ===== PAGINATION (BOTTOM RIGHT) ===== */
.hero-section .swiper-pagination {
    position: absolute;
    bottom: 18px;
    right: 0;
    left: auto;
    width: auto;
    text-align: right;
}

/* BULLETS */
.hero-section .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.hero-section .swiper-pagination-bullet-active {
    background: #e67e22;
}

/* ================= PRODUCT ================= */

.product h2 {
    font-size: 26px;
    font-weight: 600;
}

/* CARD */
.product .book-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.product .book-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.product .book-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* TITLE */
.product .book-card h4 {
    font-size: 16px;
    margin: 10px 0 5px;
}

/* AUTHOR */
.product .author {
    font-size: 13px;
    color: #777;
}

/* PRICE */
.product .price {
    font-weight: 600;
    margin: 8px 0;
}

.product .price span {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-left: 5px;
}

/* SWIPER */
.product .swiper {
    padding: 10px 0 40px;
}

/* NAV BUTTON */
.product .swiper-button-prev,
.product .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
}

.product .swiper-button-prev:after,
.product .swiper-button-next:after {
    font-size: 14px;
}

/* POSITION */
.product .swiper-button-prev {
    left: -10px;
}
.product .swiper-button-next {
    right: -10px;
}

/* ================= CATEGORY ================= */

.category {
    background: #f5f7fa;
}

/* HEADING FIX */
.category h2 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

/* CARD */
.category .category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

/* IMAGE */
.category .category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}

.category .overlay {position: absolute;bottom: 0;width: 100%;padding: 5px 14px;background: linear-gradient(to top, rgb(230 126 34), #e67e22);
    color: #fff;font-size: 15px;font-weight: 500;}

/* HOVER EFFECT */
.category .category-card:hover img {
    transform: scale(1.08);
}

.category .category-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ================= ABOUT ================= */


.about {
    background: #ffffff;
}

/* TITLE */
.about h2 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

/* TEXT */
.about p {
    font-size: 15px;
    line-height: 1.7;
}

/* IMAGE */
.about img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* SPACING */
.about .btn {
    margin-top: 10px;
}

/* =================== AUTHORS =================== */


.authors {
    background: #f5f7fa;
}

/* TITLE */
.authors h2 {
    font-size: 28px;
    font-weight: 600;
}

/* CARD */
.authors .author-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* IMAGE */
.authors .author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

/* NAME */
.authors .author-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* TEXT */
.authors .author-card p {
    font-size: 13px;
}

/* HOVER */
.authors .author-card:hover {
    transform: translateY(-5px);
    
}

/* =================== WHY SECTION =================== */


.why {
    background: #ffffff;
}

/* TITLE */
.why h2 {
    font-size: 28px;
    font-weight: 600;
}

/* CARD */
.why .why-card {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

/* HEADING */
.why .why-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.why .why-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* HOVER */
.why .why-card:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* =================== CTA SECTION =================== */

.cta {
    background: #f5f7fa;
}

/* BOX */
.cta .cta-box {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* TITLE */
.cta h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* TEXT */
.cta p {
    font-size: 15px;
    line-height: 1.6;
}

/* BUTTON */
.cta .btn {
    padding: 12px 24px;
    font-size: 15px;
}

/* =================== LATEST SECTION =================== */

/* ===== LATEST SECTION ===== */

.latest {
    background: #ffffff;
}

/* TITLE */
.latest h2 {
    font-size: 26px;
    font-weight: 600;
}

/* ===== BOOK CARD (REUSABLE FIX) ===== */

.book-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* IMAGE */
.book-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* CONTENT STRUCTURE */
.book-card h4 {
    font-size: 15px;
    margin: 10px 0 5px;
}

.book-card .author {
    font-size: 13px;
    color: #777;
}

/* PRICE */
.book-card .price {
    font-weight: 600;
    margin-top: auto;
}

/* ===== BADGE ===== */

.latest .badge-new {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e67e22;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* MAKE CARD RELATIVE */
.latest .book-card {
    position: relative;
}

/* ===== SWIPER FIX ===== */

.latest .swiper {
    padding: 10px 0 40px;
}

.latest .swiper-slide {
    height: auto;
    display: flex;
}

/* NAV BUTTON */
.latest .swiper-button-prev,
.latest .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
}

.latest .swiper-button-prev:after,
.latest .swiper-button-next:after {
    font-size: 14px;
}

/* POSITION */
.latest .swiper-button-prev {
    left: -10px;
}
.latest .swiper-button-next {
    right: -10px;
}

/* ===== RESPONSIVE ===== */

@media(max-width: 768px) {

    .book-card img {
        height: 160px;
    }

}

/* =================== TESTIMONIAL =================== */


.testimonial {
    background: #f5f7fa;
}

/* TITLE */
.testimonial h2 {
    font-size: 26px;
    font-weight: 600;
}

/* CARD */
.testimonial .testi-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
    transition: 0.3s;
}

/* TEXT */
.testimonial .testi-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* NAME */
.testimonial .testi-card h5 {
    font-size: 15px;
    margin-bottom: 2px;
}

/* ROLE */
.testimonial .testi-card span {
    font-size: 13px;
    color: #777;
}

/* HOVER */
.testimonial .testi-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* SWIPER */
.testimonial .swiper {
    padding-bottom: 40px;
}

/* PAGINATION */
.testimonial .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.testimonial .swiper-pagination-bullet-active {
    background: #e67e22;
}

/* =================== CONTACT =================== */

.contact-section{background:#050505;position:relative;}
.contact-image-wrapper{position:relative;text-align:center;}
.contact-image{position:relative;z-index:2;max-width:420px;}
.contact-gradient-frame{position:absolute;width:280px;height:380px;background:linear-gradient(45deg,#ff00cc,#7b3cff,#00d4ff);
  border-radius:20px;top:50%;left:50%;transform:translate(-50%,-50%);opacity:.7;z-index:1;}

.contact-form{margin-top:30px;}
.contact-form input,
.contact-form select,
.contact-form textarea{
width:100%;padding:14px;margin-bottom:20px;border-radius:10px;border:1px solid rgba(255,255,255,0.15);background:#0c0f16;color:#fff;font-size:14px;}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
outline:none;border-color:#7b3cff;}

@media(max-width:991px){
.contact-image{max-width:300px;margin-bottom:40px;}
.contact-gradient-frame{width:220px;height:300px;}
}

/* =================== BLOG =================== */

.blog-section{background:#050505;}
.blog-card{background:#0c0f16;border-radius:20px;overflow:hidden;padding:20px;border:1px solid rgba(255,255,255,0.08);transition:0.3s;height:100%;}
.blog-card:hover{transform:translateY(-6px);border-color:#7b3cff;}
.blog-img{border-radius:15px;margin-bottom:20px;}
.blog-meta{display:flex;gap:20px;font-size:13px;color:#7b3cff;margin-bottom:12px;}
.blog-title{font-size:20px;margin-bottom:20px;}

/* =================== SUB BANNER =================== */

.sub-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* OVERLAY */
.sub-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

/* CONTENT */
.sub-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* TITLE */
.sub-banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255,255,255,0.8);
}

/* RESPONSIVE */
@media(max-width: 768px){

    .sub-banner {
        padding: 70px 0;
    }

    .sub-banner-content h1 {
        font-size: 30px;
    }

}

/* =================== FOOTER =================== */

/* ===== FOOTER ===== */

.footer {
    background: #111;
    color: #ddd;
    padding: 50px 0 20px;
}

/* TITLE */
.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* SUBTITLE */
.footer-subtitle {
    font-size: 15px;
    margin-bottom: 10px;
    color: #fff;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* TEXT */
.footer p {
    font-size: 14px;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 30px;
}


/* ===== SUB BANNER ===== */

.sub-banner {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    padding: 50px 0 40px;
    border-bottom: 1px solid #eee;
}

/* CONTENT */
.sub-banner-content {
    text-align: center;
}

/* TITLE */
.sub-banner h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

/* BREADCRUMB */
.sub-banner .breadcrumb {
    font-size: 14px;
    color: #777;
    justify-content: center;
}

.sub-banner .breadcrumb a {
    text-decoration: none;
    color: #e67e22;
}

.sub-banner .breadcrumb span {
    margin: 0 5px;
}

/* ===== PRODUCT PAGE ===== */

.product-page {
    background: #f8fafc;
}

/* FILTER */
.product-page .filter-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.product-page .filter-box h5 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-page .filter-group {
    margin-top: 20px;
}

.product-page .filter-group h6 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #444;
}

/* LABEL STRUCTURE */
.product-page .filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    cursor: pointer;
}

/* CHECKBOX FIX */
.product-page .filter-group input[type="checkbox"] {
    flex-shrink: 0;
    margin: 0;
    width: 10px;
}



/* ===== TOP BAR ===== */

.product-page .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* RIGHT SIDE */
.product-page .top-actions {
    display: flex;
    gap: 10px;
}

/* SEARCH */
.product-page .search-input {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    width: 180px;
}

/* SORT */
.product-page .sort-select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* BOOK CARD (REUSE) */
.product-page .book-card {
    background: #fff;
}

/* RESPONSIVE */
@media(max-width: 992px){

    .product-page .filter-box {
        display: none;
    }

    .product-page .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-page .top-actions {
        width: 100%;
    }

    .product-page .search-input {
        flex: 1;
        width: 100%;
    }
}

/* ===== PRODUCT DETAILS ===== */

/* ===============================
   PRODUCT DETAILS PAGE
================================= */

.product-details {
    background: #fff;
}

/* ===== IMAGE GALLERY ===== */

.product-gallery img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.product-gallery .thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.product-gallery .thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #eee;
}

/* ===== TITLE ===== */

.product-details h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* ===== AUTHOR ===== */

.product-details .author {
    font-size: 14px;
}

/* ===== RATING ===== */

.rating {
    font-size: 14px;
    margin-bottom: 5px;
}

.rating span {
    color: #777;
    margin-left: 5px;
}

/* ===== PRICE ===== */

.price {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0;
}

.price .old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 8px;
}

.price .off {
    color: #e67e22;
    font-size: 13px;
    margin-left: 8px;
}

/* ===== DESCRIPTION ===== */

.product-details .desc {
    font-size: 14px;
    line-height: 1.6;
}

/* ===== VARIATION ===== */

.variation {
    margin-top: 15px;
}

.variation h6 {
    font-size: 14px;
    margin-bottom: 6px;
}

.variation button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    margin-right: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.variation button.active {
    border-color: #e67e22;
    color: #e67e22;
}

/* ===== CART ROW ===== */

.cart-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

/* ===== QTY ===== */

.qty-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-box button {
    width: 32px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
}

.qty-box input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
}

/* ===== BUTTON ===== */

.cart-row .btn {
    padding: 10px 20px;
}

/* ===============================
   TABS
================================= */

.product-tabs {
    margin-top: 40px;
}

/* HEADER */
.tab-header {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 10px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
}

.tab-btn.active {
    border-bottom: 2px solid #e67e22;
}

/* CONTENT */
.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

/* LIST */
.product-tabs ul {
    padding-left: 18px;
    margin-top: 10px;
}

.product-tabs li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* SUB TITLE */
.product-tabs h5 {
    font-size: 16px;
    font-weight: 600;
}

/* ===============================
   REVIEWS
================================= */

.review {
    margin-bottom: 15px;
}

.review strong {
    display: block;
    margin-bottom: 3px;
}

/* ===============================
   AUTHOR BOX
================================= */

.author-box {
    margin-top: 40px;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== RELATED ===== */

.related {
    background: #f5f7fa;
}

.related h3 {
    font-size: 22px;
    font-weight: 600;
}

/* SWIPER */
.related .swiper {
    padding-bottom: 40px;
}

.related .swiper-button-prev,
.related .swiper-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
}

.related .swiper-button-prev:after,
.related .swiper-button-next:after {
    font-size: 14px;
}

/* ===== CART PAGE ===== */

/* ===== CART PAGE ===== */

.cart {
    background: #f4f7fb;
}

/* ===== CART ITEM ===== */

.cart-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.cart-item:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

/* IMAGE */
.cart-item img {
    width: 75px;
    height: 95px;
    object-fit: cover;
    border-radius: 8px;
}

/* INFO */
.cart-info h5 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 500;
}

.cart-info .price {
    font-weight: 600;
    font-size: 15px;
    margin-top: 5px;
}

/* ACTIONS */
.cart-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* REMOVE BUTTON */
.remove-btn {
    border: none;
    background: #f9fafb;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
}

.remove-btn:hover {
    background: #ffeaea;
    color: red;
}

/* ===== QTY ===== */

.qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.qty-box button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}

.qty-box input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
}

/* ===== SUMMARY ===== */

.cart-summary {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

/* TITLE */
.cart-summary h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* ROW */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 14px;
}

.summary-row.total {
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
}

/* ===== COUPON ===== */

.coupon {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.coupon input {
    flex: 1;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #eee;
    outline: none;
}

.coupon button {
    padding: 9px 14px;
    border: none;
    background: #e67e22;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

/* BUTTON */
.cart-summary .btn {
    margin-top: 15px;
    padding: 12px;
    font-size: 15px;
}

/* ===== RESPONSIVE ===== */

@media(max-width: 768px){

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cart-summary {
        position: static;
    }

}

/* ===== CHECKOUT PAGE ===== */

.checkout {
    background: #f4f7fb;
}

/* BOX */
.checkout-box {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

/* TITLE */
.checkout-box h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

/* INPUT */
.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    outline: none;
    font-size: 14px;
}

.form-control:focus {
    border-color: #e67e22;
}

/* ===== PAYMENT ===== */

.pay-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* RADIO */
.pay-option input[type="radio"] {
    margin-top: 5px;
    flex-shrink: 0;
    accent-color: #e67e22;
        width: 10px;
}

/* BODY */
.pay-body {
    flex: 1;
}

/* TEXT */
.pay-left {
    display: flex;
    flex-direction: column;
}

/* EXPAND */
.pay-expand {
    display: none;
    margin-top: 10px;
}

.pay-option.active .pay-expand {
    display: block;
}

/* INPUT */
.pay-expand input {
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* ACTIVE */
.pay-option.active {
    border-color: #e67e22;
    background: #fffaf5;
}

/* ===== SUMMARY ===== */

.checkout-summary {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

/* ITEM */
.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 8px;
}

/* ROW */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.summary-row.total {
    font-weight: 600;
    font-size: 16px;
}

/* BUTTON */
.checkout-summary .btn {
    padding: 12px;
    font-size: 15px;
}

/* ===== RESPONSIVE ===== */

@media(max-width: 768px){

    .checkout-summary {
        position: static;
        margin-top: 20px;
    }

}


/* ===================================== PROFILE SECTION ===================================== */

/* ===== PROFILE ===== */

/* ===============================
   PROFILE SECTION
================================= */

.profile {
    background: #f4f7fb;
    padding: 40px 0;
}

/* ===============================
   SIDEBAR
================================= */

.profile-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.profile-sidebar h5 {
    font-size: 16px;
    margin-bottom: 15px;
}

/* MENU */
.profile-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



.profile-sidebar li {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: 0.25s;
    margin-bottom: 6px;
}

.profile-sidebar li a{
    color: #333;
}

/* ACTIVE + HOVER */
.profile-sidebar li.active,
.profile-sidebar li:hover {
    background: #fff3e8;
    color: #e67e22;
}

/* ===============================
   CONTENT BOX
================================= */

.profile-content {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.profile-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===============================
   DASHBOARD CARDS
================================= */

.profile-card {
    background: #fafafa;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.profile-card:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.profile-card h5 {
    font-size: 14px;
    margin-bottom: 5px;
}

.profile-card p {
    font-size: 16px;
    font-weight: 600;
}

/* ===============================
   DASHBOARD BOX (SECTIONS)
================================= */

.dashboard-box {
    background: #fafafa;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* ===============================
   ORDER ROW
================================= */

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-row:last-child {
    border-bottom: none;
}

/* ===============================
   STATUS BADGES
================================= */

.status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.status.delivered {
    background: #e8f8f0;
    color: #28a745;
}

.status.pending {
    background: #fff3e8;
    color: #e67e22;
}

.status.cancelled {
    background: #ffeaea;
    color: red;
}

/* ===============================
   ACCOUNT INFO
================================= */

.dashboard-box p {
    font-size: 14px;
    margin-bottom: 6px;
}

/* ===============================
   QUICK ACTIONS
================================= */

.action-card {
    display: block;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: 0.3s;
    font-size: 14px;
}

.action-card:hover {
    border-color: #e67e22;
    color: #e67e22;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ===============================
   FORM (FOR FUTURE PAGES)
================================= */

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 14px;
    outline: none;
}

.profile-form input:focus,
.profile-form textarea:focus {
    border-color: #e67e22;
}

/* ===============================
   BUTTON
================================= */

.profile-content .btn {
    padding: 10px 18px;
    font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width: 992px){

    .profile-sidebar {
        margin-bottom: 15px;
    }

}

@media(max-width: 768px){

    .order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

}

/* ===============================
   ORDER CARD
================================= */

.order-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.order-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* TOP */
.order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BODY */
.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

/* PRODUCT */
.order-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-product img {
    width: 50px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

.order-product h6 {
    font-size: 14px;
    margin-bottom: 3px;
}

/* PRICE */
.order-price {
    font-weight: 600;
}

/* FOOTER */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

/* ACTIONS */
.order-actions {
    display: flex;
    gap: 8px;
}

/* ===============================
   STATUS
================================= */

.status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.status.delivered {
    background: #e8f8f0;
    color: #28a745;
}

.status.pending {
    background: #fff3e8;
    color: #e67e22;
}

.status.cancelled {
    background: #ffeaea;
    color: red;
}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width: 768px){

    .order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}

/* ===============================
   PROFILE AVATAR
================================= */

.profile-avatar {
    text-align: left;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

/* INPUT FILE */
.profile-avatar input {
    font-size: 13px;
}

/* ===============================
   FORM
================================= */

.profile-form label {
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
}

.profile-form input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 14px;
    outline: none;
}

.profile-form input:focus {
    border-color: #e67e22;
}

/* BUTTON */
.profile-form .btn {
    min-width: 160px;
}


/* ===============================
   ADDRESS CARD
================================= */

.address-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}

.address-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* DEFAULT */
.address-card.active {
    border-color: #e67e22;
    background: #fffaf5;
}

/* TITLE */
.address-card h6 {
    font-size: 14px;
    margin-bottom: 5px;
}

/* BADGE */
.address-card .badge {
    background: #e67e22;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 6px;
    margin-left: 6px;
}

/* ACTIONS */
.address-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===============================
   RESPONSIVE
================================= */



.address-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.address-modal.active {
    display: block !important;
}

.address-modal .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-box {
    position: relative;
    background: #fff;
    padding: 20px;
    width: 320px;
    margin: 80px auto;
    border-radius: 12px;
}

.modal-box input {
    width: 100%;
    padding: 9px;
    margin-top: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
}
/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: #f5f5f5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

/* HOVER */
.modal-close:hover {
    background: #ffeaea;
    color: red;
}

/* ===============================
   WISHLIST CARD
================================= */

.wishlist-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.wishlist-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* IMAGE */
.wishlist-img {
    position: relative;
}

.wishlist-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* REMOVE BUTTON */
.remove-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

.remove-wishlist:hover {
    background: red;
}

/* BODY */
.wishlist-body {
    padding: 12px;
}

.wishlist-body h6 {
    font-size: 14px;
    margin-bottom: 4px;
}

/* PRICE */
.wishlist-body .price {
    font-weight: 600;
    font-size: 15px;
}

/* ===============================
   PASSWORD FIELD
================================= */

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 14px;
}

.password-field input:focus {
    border-color: #e67e22;
    outline: none;
}

/* EYE ICON */
.password-field span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
}






/*======================== RESPONSIVE ========================*/

@media(max-width: 768px){
.desktop-hide{display:none;}
.section {padding: 50px 0;}
.header-actions {position: absolute;right: 20px;top: 50%;transform: translateY(-50%);}
.hero-section img{height:200px;margin-bottom:20px;}
.hero-section h1{font-size:30px;}
.sub-banner {padding: 30px 0 20px;}
.address-actions {flex-direction: column;}
.profile-sidebar ul {display: flex;flex-wrap: wrap;}
}





