@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;800&display=swap');

:root {
   --jiji-green: #3db83a;
   --jiji-orange: linear-gradient(90deg, #ff9940, #f78320);
   --jiji-bg: #f2f4f5;
   --text-black: #000000;
   --text-gray: #808080;
   --cloud-white: #ffffff;
   --ruby-flame: #ef4444;
   --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

* {
   font-family: 'Lexend', sans-serif;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   outline: none;
   border: none;
   text-decoration: none;
   transition: all 0.2s ease;
}

*::selection {
   background-color: var(--jiji-green);
   color: var(--cloud-white);
}

*::-webkit-scrollbar {
   height: .6rem;
   width: 1.2rem;
}

*::-webkit-scrollbar-track {
   background-color: var(--shadow-ink);
}

*::-webkit-scrollbar-thumb {
   background: linear-gradient(135deg, var(--mystic-blue), var(--sunlit-gold));
   border-radius: 2rem;
}

html {
   font-size: 62.5%;
   overflow-x: hidden;
   scroll-behavior: smooth;
   scroll-padding-top: 7rem;
}

body {
   background: var(--shadow-ink);
   color: var(--snow-glow);
}

section {
   padding: 4rem 3rem;
   animation: glowFade 0.8s ease-in-out;
}

/* Utility Classes */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.flex {
    display: flex;
    align-items: center;
}

.message {
   position: fixed;
   top: 2rem;
   right: 2rem;
   background: var(--ivory-cream);
   border: 0.1rem solid var(--stone-gray);
   padding: 1.5rem;
   border-radius: .6rem;
   display: flex;
   align-items: center;
   gap: 1rem;
   z-index: 1100;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.message span {
   color: var(--deep-obsidian);
   font-size: 1.8rem;
}

.message i {
   font-size: 2rem;
   color: var(--warning-red);
   cursor: pointer;
}

.message i:hover {
   transform: scale(1.3) rotate(180deg);
   color: var(--snow-glow);
}

.disabled {
   pointer-events: none;
   opacity: .6;
   user-select: none;
   background: var(--stone-gray) !important;
   cursor: not-allowed;
}

.btn,
.delete-btn,
.option-btn {
   display: inline-block;
   border-radius: 3rem;
   margin: 1rem 0.5rem;
   font-size: 1.9rem;
   color: var(--cloud-white);
   cursor: pointer;
   padding: 1.2rem 3.5rem;
   text-transform: uppercase;
   position: relative;
   overflow: hidden;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.btn::before,
.delete-btn::before,
.option-btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
   transition: left 0.5s ease;
}

.btn:hover::before,
.delete-btn:hover::before,
.option-btn:hover::before {
   left: 100%;
}

.btn {
   background: var(--sunset-orange);
}

.delete-btn {
   background: var(--warning-red);
}

.option-btn {
   background: var(--lime-green);
}

.btn:hover,
.delete-btn:hover,
.option-btn:hover {
   color: var(--cloud-white);
   box-shadow: var(--glow-shadow);
   transform: translateY(-3px);
   background: darken(var(--sunset-orange), 10%);
}

.delete-btn:hover {
   background: darken(var(--warning-red), 10%);
}

.option-btn:hover {
   background: darken(var(--lime-green), 10%);
}

.empty {
   padding: 2rem;
   font-size: 2rem;
   color: var(--deep-obsidian);
   background: var(--ivory-cream);
   border-radius: 1rem;
   text-align: center;
   border: 0.1rem solid var(--stone-gray);
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.empty:hover {
   box-shadow: var(--glow-shadow);
   transform: scale(1.03);
}

.more-btn {
   margin-top: 2.5rem;
   text-align: center;
}

.heading {
   display: flex;
   flex-flow: column;
   align-items: center;
   justify-content: center;
   gap: 1.5rem;
   background: linear-gradient(135deg, var(--dusk-navy), var(--shadow-ink));
   text-align: center;
   min-height: 30vh;
   border-radius: 1rem;
   margin-bottom: 2rem;
}

.heading h3 {
   font-size: 6rem;
   color: var(--twilight-blue);
}

.heading p {
   font-size: 1.6rem;
   color: var(--deep-obsidian);
}

.heading p a {
   color: var(--sunset-orange);
   text-decoration: none;
}

.heading p a:hover {
   text-decoration: underline;
   color: var(--mystic-blue);
   text-shadow: 0 0 8px var(--mystic-blue);
}

.title {
   text-align: center;
   margin-bottom: 3rem;
   color: var(--sunlit-gold);
   text-transform: uppercase;
   font-size: 4.5rem;
   text-shadow: 0 0 10px var(--sunlit-gold);
}

@keyframes glowFade {
   0% {
      opacity: 0;
      transform: scale(0.95);
   }

   100% {
      opacity: 1;
      transform: scale(1);
   }
}

/* Professional Auth Forms (Jiji-Style) */
.form-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--jiji-bg);
}

.form-container form {
    width: 45rem;
    border-radius: 1rem;
    background: #fff;
    padding: 4rem 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.form-container form h3 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 800;
}

.form-container form .box {
    width: 100%;
    margin: 1.2rem 0;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: #333;
    background: #f8f9fa;
    border-radius: .5rem;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.form-container form .box:focus {
    border-color: #3db83a;
    background: #fff;
    box-shadow: 0 0 10px rgba(61, 184, 58, 0.1);
}

.form-container form .btn {
    width: 100%;
    margin: 1rem 0;
    background: #3db83a !important;
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    border: none;
}

.form-container form .btn:hover {
    background: #34a832 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 184, 58, 0.4);
}

.form-container form p {
    font-size: 1.4rem;
    color: #777;
    margin-top: 2rem;
}

.form-container form p a {
    color: #3db83a;
    font-weight: 700;
}

.form-container form p a:hover {
    text-decoration: underline;
}

/* Jiji-Style Professional Header */
.header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--jiji-green);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-right a, .header-right div {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-black);
    cursor: pointer;
}

.sell-btn {
    background: var(--jiji-orange);
    color: #fff !important;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
}

/* User Icon Button */
.user-icon-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-black);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon-btn:hover {
    background: #f0f0f0;
    color: var(--jiji-green);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.account-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    display: block !important;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--jiji-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.user-info span {
    display: block;
    font-weight: 600;
    color: var(--text-black);
    font-size: 1.1rem;
}

.user-info small {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.account-dropdown hr {
    margin: 0;
    border: none;
    border-top: 1px solid #eee;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-black);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 1rem;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-gray);
}

.sell-btn:hover {
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(247, 131, 32, 0.3);
}

/* Jiji Hero Section */
.jiji-hero {
    background: var(--jiji-green);
    padding: 4rem 7%;
    text-align: center;
    color: #fff;
}

.jiji-hero h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-search-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.8rem;
    display: flex;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.region-select {
    width: 200px;
    border-right: 1px solid #eee;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 1.4rem;
}

.hero-search-box input {
    flex: 1;
    padding: 1.5rem;
    font-size: 1.6rem;
    background: transparent;
}

.hero-search-btn {
    background: var(--jiji-green);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Category Sidebar */
.main-content {
    display: flex;
    gap: 2rem;
    padding: 3rem 7%;
}

.jiji-sidebar {
    width: 280px;
    background: #fff;
    border-radius: 0.8rem;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 2rem;
    transition: background 0.2s;
    cursor: pointer;
}

.sidebar-item:hover {
    background: #f8f9fa;
}

.sidebar-item i {
    width: 30px;
    height: 30px;
    background: #f2f4f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jiji-green);
    font-size: 1.4rem;
}

.sidebar-item-info h4 {
    font-size: 1.4rem;
    color: var(--text-black);
}

.sidebar-item-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Jiji Product Card */
.jiji-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

.jiji-card {
    background: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.2s;
}

.jiji-card:hover {
    transform: translateY(-5px);
}

.jiji-card-img {
    width: 100%;
    height: 180px;
    position: relative;
}

.jiji-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jiji-price {
    background: rgba(61, 184, 58, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    font-weight: 800;
    font-size: 1.4rem;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.jiji-card-content {
    padding: 1.5rem;
}

.jiji-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 1rem;
    height: 4rem;
    overflow: hidden;
}

.jiji-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
    border-top: 1px solid #f2f4f5;
    padding-top: 1rem;
}

/* Custom Dropdowns */
.account-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    display: none;
    z-index: 1001;
}

.account-dropdown.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    font-size: 1.3rem;
    color: var(--text-black);
    border-radius: 0.4rem;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--jiji-green);
}

/* Jiji Product Detail View */
.view-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding: 2rem 7%;
    align-items: start;
}

.product-main {
    background: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-image-large {
    width: 100%;
    height: 450px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info-section {
    padding: 2.5rem;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-title-row h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-black);
}

.product-price-large {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--jiji-green);
}

.product-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.product-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.product-description p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #444;
}

/* Seller Sidebar */
.seller-box, .safety-tips {
    background: #fff;
    border-radius: 0.8rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    background: #f2f4f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--jiji-green);
}

.seller-name {
    font-size: 1.8rem;
    font-weight: 800;
}

.seller-stats {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--jiji-green);
    color: #fff;
    text-align: center;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    cursor: pointer;
}

.chat-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--jiji-green);
    color: var(--jiji-green);
    text-align: center;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    background: transparent;
    cursor: pointer;
}

.safety-tips h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.safety-tips ul li {
    list-style: none;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    display: flex;
    gap: 1rem;
}

.safety-tips ul li i {
    color: var(--jiji-green);
}

.carousel-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.carousel-content p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.hero-service-cards {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--mystic-blue);
}

.service-card h4 {
    font-size: 1.4rem;
    color: #1e293b;
}

.service-card p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Flash Sales */
.flash-sales {
    padding: 3rem 7%;
}

.flash-sales .container {
    background: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
    background: var(--sunset-orange);
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-title i {
    font-size: 2rem;
}

.flash-title h3 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

#timer {
    background: #fff;
    color: var(--sunset-orange);
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
}

.see-all {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.flash-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.flash-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s;
    text-align: center;
}

.flash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flash-card .discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fef2f2;
    color: var(--sunset-orange);
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.flash-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.flash-card .name {
    font-size: 1.4rem;
    color: #475569;
    margin-bottom: 1rem;
}

.flash-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
}

.flash-card .badge {
   position: absolute;
   top: -8px;
   right: -10px;
   background: var(--sunset-orange);
   color: #fff;
   font-size: 1.2rem;
   padding: 0.1rem 0.6rem;
   border-radius: 2rem;
   font-weight: 700;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Modern animated hamburger menu */
.hamburger {
   display: none;
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: var(--cloud-white);
   border: none;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
   align-items: center;
   justify-content: center;
   cursor: pointer;
   position: relative;
   z-index: 1200;
   transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
   outline: none;
}

.hamburger:focus {
   box-shadow: 0 0 0 3px var(--sunset-orange);
}

.hamburger .bar {
   display: block;
   width: 26px;
   height: 3.5px;
   margin: 5px auto;
   background: var(--twilight-blue);
   border-radius: 2px;
   transition: 0.4s;
}

.hamburger.active {
   background: var(--sunset-orange);
}

.hamburger.active .bar {
   background: var(--cloud-white);
}

.hamburger.active .bar:nth-child(1) {
   transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
   opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
   transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 991px) {
   .hamburger {
      display: flex;
   }
}

/* Profile card dropdown style */
.products .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
   gap: 2rem;
   align-items: flex-start;
   justify-content: center;
}

.products .box-container .box {
   background: var(--ivory-cream);
   border: 0.1rem solid var(--stone-gray);
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
   border-radius: 0.8rem;
   padding: 2rem;
   text-align: center;
   position: relative;
}

.products .box-container .box .image {
   height: 20rem;
   width: 100%;
   object-fit: contain;
   border-radius: 0.6rem;
   margin-bottom: 1rem;
}

.products .box-container .box .fa-eye,
.products .box-container .box .price {
   position: absolute;
   top: 1.5rem;
   border-radius: .8rem;
}

.products .box-container .box .price {
   font-size: 1.8rem;
   padding: 1.2rem;
   background: var(--sunset-orange);
   color: var(--cloud-white);
   left: 1.5rem;
}

.products .box-container .box .fa-eye {
   right: 1.5rem;
   height: 5rem;
   width: 5rem;
   line-height: 4.8rem;
   font-size: 2.2rem;
   background: var(--ivory-haze);
   color: var(--shadow-ink);
   border: var(--border);
}

.products .box-container .box .fa-eye:hover {
   background: var(--sunlit-gold);
   color: var(--shadow-ink);
}

.products .box-container .box .name {
   margin: 1rem 0;
   font-size: 2rem;
   color: var(--deep-obsidian);
}

.products .box-container .box .qty {
   width: 8rem;
   padding: 0.8rem;
   font-size: 1.6rem;
   color: var(--deep-obsidian);
   border: 0.1rem solid var(--stone-gray);
   background: var(--mist-gray);
   border-radius: .4rem;
   margin: 0.5rem auto;
}

.products .box-container .box .btn,
.products .box-container .box .option-btn {
   width: 100%;
}

.quick-view form {
   max-width: 65rem;
   padding: 3rem;
   text-align: center;
   border: var(--border);
   box-shadow: var(--box-shadow);
   border-radius: 1rem;
   background: var(--ivory-haze);
   margin: 0 auto;
}

.quick-view form .image {
   height: 35rem;
   border: var(--border);
   border-radius: .8rem;
}

.quick-view form .name {
   margin: 1.5rem 0;
   font-size: 2.5rem;
   color: var(--shadow-ink);
}

.quick-view form .price {
   color: var(--sunlit-gold);
   font-size: 3rem;
   padding: .8rem 0;
}

.quick-view form .details {
   padding: 1.5rem 0;
   font-size: 1.8rem;
   color: var(--mist-silver);
   line-height: 1.8;
}

.quick-view form .qty {
   width: 100%;
   padding: 1.5rem;
   font-size: 2rem;
   color: var(--shadow-ink);
   border-radius: .8rem;
   border: var(--border);
   background: var(--fog-gray);
   margin: .8rem 0;
}

.home-contact {
   background: linear-gradient(135deg, var(--dusk-navy), var(--shadow-ink));
   text-align: center;
   padding: 4rem;
   border-radius: 1rem;
}

.home-contact .content {
   max-width: 60rem;
   margin: 0 auto;
}

.home-contact .content h3 {
   text-transform: uppercase;
   color: var(--snow-glow);
   font-size: 3.5rem;
   text-shadow: 0 0 10px var(--mystic-blue);
}

.home-contact .content p {
   line-height: 1.8;
   font-size: 1.8rem;
   color: var(--mist-silver);
   padding: 1.5rem 0;
}

.home-contact .content .btn:hover {
   background: var(--snow-glow);
   color: var(--shadow-ink);
}

.about .flex {
   max-width: 1400px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 2rem;
}

.about .flex .image {
   flex: 1 1 45rem;
}

.about .flex .image img {
   width: 100%;
   border-radius: 1rem;
}

.about .flex .content {
   flex: 1 1 45rem;
   text-align: center;
}

.about .flex .content h3 {
   font-size: 3.5rem;
   text-transform: capitalize;
   color: var(--mystic-blue);
}

.about .flex .content p {
   padding: 1.5rem 0;
   font-size: 1.8rem;
   color: var(--mist-silver);
   line-height: 1.8;
}

.about .flex:nth-child(2) {
   margin: 4rem auto;
   flex-wrap: wrap-reverse;
}

.reviews .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
   gap: 2rem;
   align-items: flex-start;
   justify-content: center;
}

.reviews .box-container .box {
   padding: 3rem;
   text-align: center;
   background: var(--ivory-haze);
   box-shadow: var(--box-shadow);
   border: var(--border);
   border-radius: 1rem;
}

.reviews .box-container .box img {
   height: 12rem;
   width: 12rem;
   border-radius: 50%;
}

.reviews .box-container .box p {
   padding: 1.5rem 0;
   font-size: 1.8rem;
   color: var(--mist-silver);
   line-height: 1.8;
}

.reviews .box-container .box .stars {
   display: inline-block;
   background: var(--fog-gray);
   border-radius: .8rem;
   padding: 1.2rem 2rem;
   border: var(--border);
}

.reviews .box-container .box .stars i {
   color: var(--sunlit-gold);
   font-size: 2rem;
   margin: 0 .4rem;
}

.reviews .box-container .box h3 {
   font-size: 2.5rem;
   color: var(--shadow-ink);
   margin-top: 1.5rem;
}

.contact form {
   max-width: 55rem;
   background: var(--ivory-haze);
   border-radius: 1rem;
   box-shadow: var(--box-shadow);
   border: var(--border);
   text-align: center;
   padding: 3rem;
   margin: 0 auto;
}

.contact form h3 {
   font-size: 3rem;
   margin-bottom: 1.5rem;
   color: var(--mystic-blue);
   text-transform: uppercase;
}

.contact form .box {
   width: 100%;
   border-radius: .8rem;
   border: var(--border);
   margin: 1.2rem 0;
   padding: 1.5rem;
   font-size: 2rem;
   color: var(--shadow-ink);
   background: var(--fog-gray);
}

.contact form textarea {
   height: 18rem;
   resize: none;
}

.search-form form {
   max-width: 1400px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   gap: 1.5rem;
}

.search-form form .box {
   width: 100%;
   border: var(--border);
   background: var(--ivory-haze);
   box-shadow: var(--box-shadow);
   padding: 1.5rem;
   font-size: 2rem;
   border-radius: .8rem;
}

.search-form form .btn {
   margin-top: 0;
}

.wishlist .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, 35rem);
   gap: 2rem;
   align-items: flex-start;
   justify-content: center;
}

.wishlist .box-container .box {
   padding: 2.5rem;
   text-align: center;
   background: var(--ivory-haze);
   border: var(--border);
   box-shadow: var(--box-shadow);
   border-radius: 1rem;
   position: relative;
}

.wishlist .box-container .box .image {
   height: 40rem;
   width: 100%;
   object-fit: cover;
   border-radius: .8rem;
}

.wishlist .box-container .box .fa-eye,
.wishlist .box-container .box .fa-times {
   position: absolute;
   top: 1.5rem;
   height: 5rem;
   width: 5rem;
   line-height: 4.8rem;
   font-size: 2.2rem;
   border-radius: .8rem;
}

.wishlist .box-container .box .fa-eye {
   right: 1.5rem;
   border: var(--border);
   background: var(--ivory-haze);
   color: var(--shadow-ink);
}

.wishlist .box-container .box .fa-eye:hover {
   background: var(--sunlit-gold);
   color: var(--shadow-ink);
}

.wishlist .box-container .box .fa-times {
   background: var(--ruby-flame);
   color: var(--snow-glow);
}

.wishlist .box-container .box .fa-times:hover {
   background: var(--mystic-blue);
}

.wishlist .box-container .box .name {
   font-size: 2.5rem;
   color: var(--shadow-ink);
   margin: 1.5rem 0;
}

.wishlist .box-container .box .price {
   font-size: 3rem;
   color: var(--sunlit-gold);
   margin: .8rem 0;
}

.wishlist .wishlist-total {
   max-width: 1400px;
   margin: 0 auto;
   padding: 2.5rem;
   text-align: center;
   background: var(--ivory-haze);
   border: var(--border);
   box-shadow: var(--box-shadow);
   border-radius: 1rem;
   margin-top: 2.5rem;
}

.wishlist .wishlist-total p {
   font-size: 3rem;
   color: var(--mist-silver);
   margin-bottom: 1.5rem;
}

.wishlist .wishlist-total p span {
   color: var(--mystic-blue);
}

.shopping-cart .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, 35rem);
   gap: 2rem;
   align-items: flex-start;
   justify-content: center;
}

.shopping-cart .box-container .box {
   padding: 2.5rem;
   text-align: center;
   background: var(--ivory-haze);
   border: var(--border);
   box-shadow: var(--box-shadow);
   border-radius: 1rem;
   position: relative;
}

.shopping-cart .box-container .box .image {
   height: 40rem;
   width: 100%;
   object-fit: cover;
   border-radius: .8rem;
}

.shopping-cart .box-container .box .fa-eye,
.shopping-cart .box-container .box .fa-times {
   position: absolute;
   top: 1.5rem;
   height: 5rem;
   width: 5rem;
   line-height: 4.8rem;
   font-size: 2.2rem;
   border-radius: .8rem;
}

.shopping-cart .box-container .box .fa-eye {
   right: 1.5rem;
   border: var(--border);
   background: var(--ivory-haze);
   color: var(--shadow-ink);
}

.shopping-cart .box-container .box .fa-eye:hover {
   background: var(--sunlit-gold);
   color: var(--shadow-ink);
}

.shopping-cart .box-container .box .fa-times {
   background: var(--ruby-flame);
   color: var(--snow-glow);
}

.shopping-cart .box-container .box .fa-times:hover {
   background: var(--mystic-blue);
}

.shopping-cart .box-container .box .name {
   font-size: 2.5rem;
   color: var(--shadow-ink);
   margin: 1.5rem 0;
}

.shopping-cart .box-container .box .price {
   font-size: 3rem;
   color: var(--sunlit-gold);
   margin: .8rem 0;
}

.shopping-cart .box-container .box .qty {
   width: 10rem;
   padding: 1.5rem;
   border-radius: .8rem;
   border: var(--border);
   font-size: 2rem;
   background: var(--fog-gray);
}

.shopping-cart .box-container .box .sub-total {
   margin-top: 2rem;
   font-size: 2.2rem;
   color: var(--mist-silver);
}

.shopping-cart .box-container .box .sub-total span {
   color: var(--mystic-blue);
}

.shopping-cart .cart-total {
   max-width: 1400px;
   margin: 0 auto;
   padding: 2.5rem;
   text-align: center;
   background: var(--ivory-haze);
   border: var(--border);
   box-shadow: var(--box-shadow);
   border-radius: 1rem;
   margin-top: 2.5rem;
}

.shopping-cart .cart-total p {
   font-size: 3rem;
   color: var(--mist-silver);
   margin-bottom: 1.5rem;
}

.shopping-cart .cart-total p span {
   color: var(--mystic-blue);
}

.display-order {
   max-width: 600px;
   margin: 0 auto;
   text-align: center;
   padding-bottom: 0;
}

.display-order p {
   display: inline-block;
   border-radius: .8rem;
   font-size: 1.8rem;
   color: var(--deep-obsidian);
   padding: 1.2rem 2rem;
   margin: .8rem;
   background: var(--ivory-cream);
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
   border: 0.1rem solid var(--stone-gray);
}

.display-order p span {
   color: var(--sunset-orange);
}

.display-order .grand-total {
   margin-top: 2.5rem;
   font-size: 2rem;
   color: var(--sunset-orange);
}

.checkout form {
   background: var(--ivory-cream);
   border: 0.1rem solid var(--stone-gray);
   max-width: 60rem;
   margin: 0 auto;
   border-radius: .8rem;
   padding: 2.5rem;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.checkout form h3 {
   padding: 2rem;
   font-size: 2.8rem;
   margin-bottom: 1.2rem;
   background: var(--sunset-orange);
   color: var(--cloud-white);
   border-radius: .8rem;
   text-align: center;
   text-transform: uppercase;
}

.checkout form .flex {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
   gap: 1.5rem;
}

.checkout form .flex .inputBox {
   flex: 1 1 45rem;
   display: flex;
   flex-direction: column;
}

.checkout form .flex .inputBox input,
.checkout form .flex .inputBox select {
   margin: 1.2rem 0;
   width: 100%;
   background: var(--mist-gray);
   padding: 1.2rem;
   border: 0.1rem solid var(--stone-gray);
   font-size: 1.6rem;
   color: var(--deep-obsidian);
   border-radius: .6rem;
}

.checkout form .flex .inputBox span {
   font-size: 1.8rem;
   color: var(--deep-obsidian);
   margin-bottom: 0.5rem;
}

.placed-orders .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   gap: 2rem;
   align-items: flex-start;
}

.placed-orders .box-container .box {
   all: unset;
}

.placed-orders .box-container .box p {
   margin: 0.5rem 0;
   font-size: 1.8rem;
   line-height: 1.6;
   color: var(--deep-obsidian);
}

.placed-orders .box-container .box p span {
   color: var(--sunset-orange);
}

.footer {
   background: var(--dusk-navy);
   color: var(--snow-glow);
}

.footer .box-container {
   max-width: 1400px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
   gap: 2rem;
   align-items: flex-start;
}

.footer .box-container .box h3 {
   font-size: 2.8rem;
   color: var(--snow-glow);
   margin-bottom: 2rem;
   text-transform: uppercase;
   text-shadow: 0 0 8px var(--mystic-blue);
}

.footer .box-container a,
.footer .box-container p {
   font-size: 1.9rem;
   color: var(--mist-silver);
   padding: 1.2rem 0;
   display: block;
}

.footer .box-container a i,
.footer .box-container p i {
   color: var(--sunlit-gold);
   padding-right: 1.2rem;
}

.footer .box-container a:hover {
   color: var(--mystic-blue);
   text-shadow: 0 0 8px var(--mystic-blue);
}

.footer .credit {
   text-align: center;
   padding-top: 3rem;
   margin-top: 3rem;
   border-top: var(--border);
   font-size: 2.2rem;
   color: var(--mist-silver);
}

.footer .credit span {
   color: var(--sunlit-gold);
}

.cart .table-container {
   max-width: 1400px;
   margin: 2rem auto;
   border-radius: 10px;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
   overflow-x: auto;
}

.cart table {
   width: 100%;
   border-collapse: collapse;
   border-spacing: 0;
   background: var(--ivory-cream);
   border: 0.1rem solid var(--stone-gray);
   border-radius: 10px;
   overflow: 0.1rem solid hidden;
}

.cart table th,
.cart table td {
   padding: 1.5rem;
   font-size: 1.8rem;
   text-align: center;
   color: var(--deep-obsidian);
   border-bottom: 0.1rem solid var(--stone-gray);
   border-right: 0.1rem solid var(--stone-gray);
}

.cart table th:last-child,
.cart table td:last-child {
   border-right: none;
}

.cart table th {
   background: var(--twilight-blue);
   color: var(--cloud-white);
   text-transform: uppercase;
   font-weight: bold;
   font-family: 'Inter', sans-serif;
}

.cart table tr:last-child td {
   border-bottom: none;
}

.cart table tr:hover {
   background: var(--mist-gray);
}

.cart table .cart-image {
   height: 6rem;
   border-radius: 0.6rem;
}

.cart table .qty {
   width: 8rem;
   padding: 0.8rem;
   font-size: 1.6rem;
   background: var(--mist-gray);
   border: 0.1rem solid var(--stone-gray);
   border-radius: 0.4rem;
   text-align: center;
}

/* .cart table .actions {
   display: flex;
   gap: .5rem;
   justify-content: center;
   align-items .items-align-items: center center;
} */
.icons a.disabled {
   opacity: 0.5;
   pointer-events: none;
   cursor: not-allowed;
}

.cart .cart-actions {
   max-width: 1400px;
   margin: 2rem auto;
   display: flex;
   gap: 1rem;
   justify-content: center;
}

@media (max-width:991px) {
   html {
      font-size: 58%;
   }
   
   .jiji-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width:768px) {
   .jiji-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
   }
   
   .main-content {
      flex-direction: column;
   }
   
   .jiji-sidebar {
      width: 100%;
      order: 2;
   }
}

@media (max-width:576px) {
   .jiji-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
   }
   
   #menu-btn {
      display: inline-block;
   }
}

@media (max-width:768px) {
   .header .flex {
      padding: 2.5rem;
   }

   .header .flex .navbar {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--twilight-blue);
      border: 0.1rem solid var(--stone-gray);
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
      display: none;
   }

   .header .flex .navbar.active {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
      display: flex;
   }

   .header .flex .navbar ul {
      flex-direction: column;
   }

   .header .flex .navbar ul li {
      width: 100%;
      padding: .8rem;
   }

   .header .flex .navbar ul li a {
      padding: 1rem;
      display: block;
   }

   .header .flex .navbar ul li ul {
      position: static;
      width: 100%;
      animation: none;
      background: var(--cloud-white);
      min-width: 15rem;
   }

   .header .flex .navbar ul li ul li {
      padding-left: 3rem;
   }

   .home .content h3 {
      font-size: 4.5rem;
   }

   .cart table {
      font-size: 1.4rem;
   }

   .cart table .cart-image {
      height: 4rem;
   }

   .cart .cart-actions {
      flex-direction: column;
   }
}

@media (max-width:450px) {
   html {
      font-size: 55%;
   }

   .heading h3 {
      font-size: 5rem;
   }

   .title {
      font-size: 3.5rem;
   }
}

/* Modern order card styles for orders.php (moved to end for priority) */
.order-card {
   background: #f8fafc;
   border-radius: 1.1rem;
   box-shadow: 0 4px 18px rgba(44, 62, 80, 0.10);
   padding: 1.5rem 2rem 1.2rem 2rem;
   margin-bottom: 2rem;
   min-width: 270px;
   max-width: 420px;
   flex: 1 1 350px;
   display: flex;
   flex-direction: column;
   gap: 1.1rem;
   border: 2.5px solid #3b82f6;
   transition: box-shadow 0.2s, border 0.2s;
}

.order-card:hover {
   box-shadow: 0 8px 32px rgba(44, 62, 80, 0.16);
   border-color: #ff6f61;
}

.order-card-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   border-bottom: 1px solid #e0e6ed;
   padding-bottom: 0.6rem;
   margin-bottom: 0.5rem;
}

.order-card-header .order-date {
   font-size: 1.08rem;
   color: #6b7a90;
   display: flex;
   align-items: center;
   gap: 0.4rem;
}

.order-card-header .order-status {
   font-size: 1.08rem;
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 0.4rem;
   padding: 0.2rem 0.7rem;
   border-radius: 1rem;
}

.order-card-header .order-status.paid {
   background: #e6fbe9;
   color: #22c55e;
}

.order-card-header .order-status.pending {
   background: #fff4e6;
   color: #ff9800;
}

.order-card-body {
   display: flex;
   gap: 1.2rem;
   justify-content: space-between;
   flex-wrap: wrap;
}

.order-info,
.order-details {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
   font-size: 1.08rem;
   color: #222b45;
}

.order-info i,
.order-details i {
   color: #3b82f6;
   margin-right: 0.5rem;
   min-width: 18px;
   text-align: center;
}

.order-details {
   align-items: flex-end;
   text-align: right;
   flex: 1 1 120px;
}

.order-total {
   font-size: 1.18rem;
   font-weight: 700;
   color: #ff6f61;
   margin-top: 0.5rem;
}

@media (max-width: 700px) {
   .order-card-body {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.7rem;
   }

   .order-details {
      align-items: flex-start;
      text-align: left;
   }
}