/* ===== CSS VARIABLES ===== */
:root {
    --primary-blue: #004AAD;
    --accent-red: #ED3237;
    --light-blue: #14A8E0;
    --dark-blue: #2c3e50;
    --gold: #ffd700;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;

    /* Font Families */
    --font-heading: 'Geist', serif;
    /* --font-body: 'Inter', sans-serif; */
    --font-body: 'Geist', sans-serif;

    /*Font sizes */
    /*
    1rem = whatever the root font-size is in html tag(usually 16px)
    2rem = 2 × root font-size
    0.5rem = 0.5 × root font-size
    */

    --text-xs: 0.5rem; /*8px - Tiny Text-labels*/ 

    --text-xs: 0.75rem; /*12px - small text-captions*/

    --text-sm: 0.875rem; /*14px - small body text*/

    --text-base:1rem; /*16px- Base body text*/

    --text-lg: 1.125rem; /*18px  - Slightly Larger body text*/

    --text-xl: 1.25rem; /*20px - Large body, small headings*/

    --text-2xl: 1.5rem; /*24px - sub-headings h3,h4*/

    --text-3xl: 1.875rem; /*30px - Medium Headings*/

    --text-4xl: 2.0rem; /*32px - Main Headings*/

    --text-5xl: 2.25rem; /*36px - Large Headings*/

    --text-6xl: 2.5rem; /*40px - Hero Text*/

    --text-7xl: 3rem; /*48px - Large Hero Text*/

    --text-8xl: 4rem; /*64px* - Extra Large Displays/

    /* Font weight */
    --light:300;

    --normal:400;

    --medium: 500;

    --semibold: 600;

    --bold: 700;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #f1f1f1;
}

header {
    width: 100%;
    z-index: 99;
}

body {
    font-family: var(--font-body);
    /* font-size: var(--text-base); */
    font-weight: var(--normal);  /*400*/
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

 h1, h2, h3, h4{
    font-family: var(--font-body);
    line-height: 1.2;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

h1{
    font-size: var(--text-4xl);
        font-weight: 700;
    letter-spacing: -0.02em; /*sometimes a tiny negative tracking looks great on large serifs*/
}

button {
  display: inline-block;
  background-color: var(--light-blue);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  /* letter-spacing: 0.15rem; */
  font-weight: var(--semibold);
  /* font-size: 0.875rem; */
  border: none;
  border-radius: 4px;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*====== TOP BAR ======*/
.top-bar {
    background-color: var(--light-blue);
    padding: 0.15rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar-text {
    color: var(--white);
    font-size: var(--text-xs);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-text i {
    font-size: 0.85rem;
}

.top-bar-text.sales-mail{
    display: none;
}

/*====MAIN NAVIGATION=====*/
.main-navigation {
    background: var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 0;
    border-bottom: 1px solid var(--light-gray);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0.25rem 1rem;
    gap: 1rem;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    width: 65px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    cursor: pointer;
    transform: scale(1.15);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    margin: 2px 0;
    transition: var(--transition);
    transform-origin: left center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/*Searcg Container*/
.search-container {
    display: none;
    flex: 1;
    max-width: 500px;
    margin: 0 1rem;
    position: relative;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-box {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 0.875rem;
    outline: none;
}

.search-button {
    padding: 0.75rem 1.25rem;
    background-color: var(--accent-red);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background-color: #c12a2e;
}

/*Navigation Icons*/
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon-item {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-icon-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.nav-icon {

    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    /* NOMA */
}


.icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/*===== CATEGORIES NAVIGATION =====*/
.categories-nav {
    background-color: var(--light-blue);
    padding: 0.125rem 0;
}

.categories-container {
    display: flex;
    position: relative;
    align-items: center;
    /* width: 90%; */
    max-width: 1580px;
    margin: 0 auto;
    /* padding: 0 1rem; */
    gap: 1.5rem;
}

.categories-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.categories-toggle:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.categories-menu {
    display: none;
    position: absolute;
    top: 35px;
    background: var(--light-blue);
    z-index: 100000;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-item {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.category-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.additional-menu {
    display: none;
    margin-left: auto;
}

.menu-item {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

/* ====Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--white);
    padding: 1.5rem 1rem;
    overflow-y: auto;
    transition: var(--transition);
}

.mobile-nav-overlay.active .mobile-nav {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.close-nav {
    color: var(--accent-red);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    display: block;
    padding: 1rem 0;
    color: var(--dark-gray);
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.mobile-nav-item:hover {
    color: var(--primary-blue);
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    box-sizing: border-box;
    font-family: var(--font-body);
}
table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid black;
}

th,
td {
    padding: 2.5px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.hidden {
    display: none;
}

.form-container {
    margin-top: 20px;
}

/* ////////////////////////////////////////////////////////////// */


.container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: auto;
    padding: 0.5rem;
}

.column {
    flex: 1;
    min-width: 200px;
    /* Adjust as needed */
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.site-content {
    width: 100%;
    margin: 5px auto;
    background-color: var(--white);
    /* border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
}

.site-content:hover{
    .slider-button{
        display: flex;
    }
}


.content-container {
    background-color: #ffffff;
    height: auto;
    width: 100%;
    margin: 2.5px auto;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.content-container-header {
    height: auto;
    width: 90%;
    margin: auto;
    justify-content: space-between;
}

.login-container {
    display: flex;
}



/* ====  Login page ===== */
.login-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.login-half {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.login-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-table {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.login-form-table label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2b5876;
}

.login-form-table input[type="text"],
.login-form-table input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form-table input[type="text"]:focus,
.login-form-table input[type="password"]:focus {
    border-color: #2b5876;
    outline: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 13px;
    color: #777;
    cursor: pointer;
}

.login-form-table input[type="submit"],
.login-form-table button {
    width: 100%;
    padding: 12px;
    /* background: linear-gradient(135deg, #1a2a6c, #2b5876); */
    color: white;
    border: none;
    border-radius: 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.login-form-table input[type="submit"]:hover,
.login-form-table button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.login-form-table button {
    /* background: linear-gradient(135deg, #4ecdc4, #2b5876); */
    margin-top: 1rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
}


.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    color: #777;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background: #3b5998;
}

.google {
    background: #db4a39;
}

.twitter {
    background: #1da1f2;
}

/* Error message styling */
.error-popup {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 350px;
}

.error-popup.show {
    display: block;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Password strength meter */
.password-strength {
    height: 5px;
    margin-top: -10px;
    margin-bottom: 15px;
    background: #eee;
    border-radius: 3px;
}

.strength-meter {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
}



/* ==== Registration page */
.registration-container {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.registration-wrapper {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.registration-header {
    background: var(--light-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.registration-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.registration-header p {
    opacity: 0.9;
}

.registration-form {
    padding: 2rem;

}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;

}

.form-group {
    flex: 1 0 calc(50% - 2rem);
    margin: 0 1rem 1.5rem;
    min-width: 250px;
}

.form-group.full-width {
    flex: calc(100%-2rem);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2b5876;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #2b5876;
    outline: none;
    box-shadow: 0 0 0 2px rgba(43, 88, 118, 0.2);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 15px;
    top: 13px;
    color: #777;
    cursor: pointer;
}

.password-strength {
    height: 5px;
    margin-top: 8px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}


.strength-meter {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
}

.password-rules {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

.submit-btn {
    /* background: linear-gradient(135deg, #1a2a6c, #2b5876); */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    display: block;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.login-redirect {
    text-align: center;
    margin-top: 1.5rem;
    color: #777;
}

.login-redirect a {
    color: #2b5876;
    text-decoration: none;
    font-weight: 600;
}

.login-redirect a:hover {
    text-decoration: underline;
}

/* Error message styling */
.error-popup {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 350px;
}

.error-popup.show {
    display: block;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* end-carusel */
.header {
    background-image: url(images/man.jpg);
    background-size: cover;
    background-position: top 30% left;
    height: 50vh;
    opacity: 0.8;
}

.cat-header {
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
    margin: auto;
    font-size: var(--text-sm);
    background: #00b9ff;
}


.cat-title {
   font-family: var(--font-body);
   font-size: var(--text-xl);
    text-transform: capitalize;
    font-weight: 400;
    letter-spacing: 0.5px;
    /* margin: 0 70px 0 0; */
    color: #ffffff;
}

.header-countdown {
    display: none;
    align-items: center;
    background-color: #FF0000;
    padding: 7px 5px 7px 11px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-radius: 3px;
    line-height: 1;
}

.header-link {
    margin-right: 8px;
}

.header-link a {
    /* font-size: var(--text-sm); */
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 1rem;
    transition: var(--transition);
}

.header-link a:hover {
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
}

.container-wrapper {
    padding: 0.5rem;
}

.button {
    height: 50px;
    background-color: #FF0000;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    transition: all .5;
    padding: 0 25px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    color: #004AAD;
    /* text-decoration: underline; */
}


.icon {
    height: 20px;
    color: #000000
}

.text {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.products-wrapper .content-container {
    display: flex;
    flex-direction: column;
}

.heading {
    background: var(--light-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    display: block;
    border-radius: 0.85rem;
}

.heading h1 {
    font-size: 2rem;
}

.row {
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
    /* padding: ; */
    justify-content: space-evenly;
}

.item-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 22%;
    margin: 0 15px 0;
}

.item-content:hover .user-pref {
    display: flex;
}

.item-content h4 {
    font-size: 1rem;
    color: #000000;
    text-align: left;
}

.image-container {
    width: 200px;
}

.item-content .image-container img {
    width: 100%;
    height: auto;
}

.product {
    background-color: #DDDDDD;
    padding: 8px;
    margin: 2.5px;
    border-radius: 5.5px;
}

.carousel-item {
    flex: 0 0 50%;
    padding: 0.25rem;
    box-sizing: border-box;
    min-height: 1px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    border: 0.5px solid #e7e7e7;
    border-radius: 0.5rem;
    margin: 0.125rem;
    padding: 0.25rem 1.25rem;
}

.carousel-item:hover {
    /* transform: translateY(1px); */
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.12);
}

.carousel-item:hover .add-to-cart{
    background: #004AAD;
}

.product-img {
    width: 85%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

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

.product-info {
    /* padding: 15px; */
}

.product-title {
    height: 40px;
    font-family: var(--font-heading);
    font-weight: var(--medium);
    font-size: var(--text-xs);
    margin-bottom: 0.5em;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #2d3748;
    
}

.product-price {
    height: 20px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--medium);
    color: var(--accent-red);
    text-align: center;
    margin: 0.5rem;
}

.current-price {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
}

.original-price {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--medium);
    text-decoration: line-through;
    color: #718096;
    margin-left: 8px;
}


.discount {
    font-family: var(--font-body);
    background: #ff3366;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: auto;
}

.product-rating {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 15px; */
}

.stars {
    font-size: 1.0rem;
    color: #FFB800;
    margin-right: 5px;
}

.rating-count {
    font-size: 13px;
    color: #718096;
}

.add-to-cart {
    flex-grow: 0.5;
    background: var(--light-gray) !important;
    color: var(--light-blue);
    border: none;
    padding: 8px 0px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart:hover{
    background: #00b9ff;
}

.product-actions {
    display: flex;
    justify-content: center;
}


.wishlist {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #f7f9fc;
    border: none;
    border-radius: 50%;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist:hover {
    color: var(--accent-red);
    background: var(--light-blue);
    transition: all 1s ease-in-out;
}

.wishlist:hover .wishlist i{
    width: 35px;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
    color: #14A8E0;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.slider-button:hover {
    background: #14A8E0;
    color: white;
}



.user-pref {
    display: none;
    flex-direction: row;
    margin-left: 0px;
    width: 100%;
    /* justify-content: space-between; */
}

.user-pref li,
.carousel-item li {
    display: inline-block;
    text-decoration: none;
    line-height: 1.5;
}

.user-pref li a {
    margin: 5px 5px;
}

.user-pref li {
    /* width: 55px;*/
    border-radius: 50%;
}

.user-pref li a:hover {
    background-color: #FF0000;

}

.image-container {
    width: 200px;
    display: flex;
    transition: transform 0.3s;
}

.icons {
    display: block;
    height: 25px;
}

.price {
    font-size: 18px;
    color: #FF0000;
    font-weight: 600;
}

.prd-title {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
}

/* carousel */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}


.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Mobile-specific fixes */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    touch-action: pan-y; /* Better touch handling */
}

.carousel-slide {
    display: flex;
    flex: 0 0 50%;
    transition: transform 0.05s ease;
}

.carousel-slide img {
    height: 302.22px;
    margin: 15px auto;
}

.carousel-dots {
    text-align: center;
    /* margin-top: 20px; */
}

.active {
    /* background-color: var(--light-blue); */
    /* display: block; */
}



.slide-container {
    position: relative;
    width: 100%;
    display: flex;
    height: auto;
}

.slide {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.popular-products .slide img,
.popular-products .slide h4 {
    margin: auto;
    text-align: center;
    color: #FF0000;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    /* Mobile fixes */
    width: 100%;
    height: 100%; /* Ensure proper height */
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

.content-container:hover .prev {
    left: 10px;
}

.content-container:hover .next {
    right: 10px;
}

/* Dots/bullets */
.dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #cbd5e0;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

.dot.active {
    background: #14A8E0;
    transform: scale(1.2);
}



.image-cont img {
    width: 500px;
    height: auto;
}

/* Form container  */
.contact-wrapper {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-wrapper .heading h1 {
    font-size: 30px;
    text-align: center;
}

form {
    position: relative;
    background-color: #F9F9F9;
    margin: 0;
    /* padding: 30px; */
    flex: 1 1 66.66%;
}



/* Form elements */
label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea {
    /* width: calc(100% - 20px); */
    padding: 10px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    /* Allow vertical resizing of textarea */
}

input[type="submit"] {
    background-color: var(--light-blue);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin: 15px 0px;
}

input[type="submit"]:hover {
    background-color: #FF0000;
}

.toggle-eye {
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

/* about page */
.box-wrapper {
    display: flex;

}

.image {
    margin: 15px;
    width: 35%;
    height: 400px;
}

.image img {
    width: 100%;
    height: 300px;
}

.text-overlay {
    position: absolute;
    text-align: center;
    color: #bbb;

}

.text-overlay h1 {
    font-size: 60px;
    text-align: center;
    color: #bbb;
}

.text-overlay h2 {
    font-size: 55px;
    text-align: center;
}

.text-overlay h4 {
    font-size: 50px;
    text-align: center;
}

.main-heading h1 {
    font-size: 45px;
    text-align: center;
    color: #14A8E0;
    text-decoration: underline;
}

.text-container {
    width: 45%;
    margin: 15px;
}

.text-container p {
    font-size: 14px;
    font-family: Geneva, Tahoma, sans-serif;
}

.brands-container h4 {
    font-size: 20px;
}

.column-container {
    display: flex;
    justify-content: space-between;
}

.background-color {
    background-color: wheat;
    margin: 5px 10px 15px;
    padding: 5px;
}

.column ul {
    display: flex;
    flex-direction: column;
    all: unset;
}

.content-wrapper ul {
    display: flex;
    flex-direction: column;

}

.location .image-container {
    position: relative;
    left: 50%;
    right: 50%;
}

.location .image-container img {
    position: relative;
    left: 50%;
    right: 50%;
}

.text {
    align-items: center;
    font-size: 15px;
}

.column {
    width: 30%;
}

.background-color {
    width: 40%;
}

.column-info {
    width: 70%;
    text-align: center;
}

.column-info p {
    font-size: 14px;
}

.list-items {}

.list-items h1,
p {
    text-align: center;
    font-size: 0.8rem;
}

.column ul li {
    margin: 10px;
    /* text-decoration: underline; */
}

.column p {
    font-weight: 800;
}

.bold ul {
    display: flex;
    flex-direction: column;
}

.bold ul li {
    font-weight: 600;
}

.table-container {
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

/* Table styling */
table {
    width: 95%;
    border-collapse: collapse;
    /* Collapses the borders into a single border */
    margin: 20px auto;
    vertical-align: baseline;
    font: inherit;
    font-size: 100%;
    background-color: #c7c4c4;
    text-align: center;
}

/* Example margin for spacing */

table,
th,
td {
    border: 0;
    /* Border style for cells */
    padding: 0;
    border: 1px solid black;
    /* Padding inside cells */
    /* Align text inside cells */
}

table td {
    padding: 15px 12px;
    border-bottom: 1px solid black;
    font-weight: 200;

}

th {
    background-color: #f2f2f2;
    /* Background color for header cells */
}

caption {
    font-weight: bold;
    /* Example: make caption bold */
    margin-bottom: 10px;
    /* Example margin for spacing */
}

table {
    width: 100%;
    border-collapse: collapse;
}

.hidden {
    display: none;
}

.form-container {
    margin-top: 20px;
}



/* styling tables */
.table-container {
    height: 90vh;
    overflow: scroll;
    position: relative;

}


footer {
    align-items: center;
    background: linear-gradient(135deg, #1a2a6c, #2b5876);
    color: var(--white);
    padding: 3rem 1rem 1rem;
    margin-top: auto;
}

.content-container-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1580px;
    height: auto;
    width: 90%;
    margin: 0 auto 2rem;
    gap: .5rem;
}

.footer-heading {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.0rem;
}

.footer-heading nav {
    display: flex;
    flex-direction: column;

}

.footer-heading ul {
    flex-direction: column;
}

.footer-heading h4 {
    font-size: 1.0rem;
    position: relative;
    margin-bottom: 0.50rem;
}

.footer-heading p {
    text-align: left;
}

/* .footer-heading h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4ecdc4;
} */


.footer-list-group {
    list-style: none;
    /* margin-left: 0.8rem; */
}

.footer-li-item {
    font-size: 0.8rem;
}

.footer-li-item a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-li-item a:hover {
    color: #4ecdc4;
}

.footer-bottom {
    max-width: 1580px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.125rem;
}

.footer-legacy {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.8rem;
}

.footer-legacy a:hover {
    color: #4ecdc4;
}

.address-line {
    padding-left: 15px;
    /* Matches icon width + margin */
    text-indent: 0;
}

.craftby {
    /* display: none; */
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.copyright {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #4ecdc4;
    transform: translateY(-1.5px);
}


/* Drawer for th e cart */
/* Drawer styling */
.cart-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cart-button{
      padding: 0.50rem 1.5rem;
}



#cart-icon-container {
    position: relative;
    height: 35px;
    display: flex;
    margin: auto;
}

#cart-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
    /* border: 1px solid rebeccapurple; */
}

#cart-count {
    position: absolute;
    top: -10px;
    /* right: -25px; */
    background-color: #FF0000;
    color: white;
    border-radius: 50%;
    /* padding: 5px; */
    font-size: 12px;
    min-width: 20px;
    text-align: center;
}

.drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
}

.drawer.open {
    right: 0;
    max-width: 85%;
    /* Show the drawer */
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99;
}

.overlay.show {
    display: block;
}

.product {
    margin: 15px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.cart-item span {
    width: 450px;
    font-family: 'roboto' sans-serif;
    font-size: 0.875rem;

}

.cart-item input,
button {
    margin: 1.5px;
}

.cart-item input {
    height: 30px;
    width: 70px;
}


/* .cart-item button {
   
} */

.cart-item button:hover, .clear-cart:hover{
    cursor: pointer;
    background-color: var(--accent-red);
}

.place-cart:hover{
    background: #0d8ec7;
}

.clear-cart:hover, .place-cart:hover{
    cursor: pointer;
}


/* ============ Mobile-first styles ===============*/

/* mobile phones - 2nd tier */
@media screen and (min-width: 576px) {
    .site-content{
        width: 100%;
    }
    .drawer.open{
        max-width: 90%;
        /* top: 45px; */
    }

    .carousel-item{
        width: 50.00%;
    }

    .product-img{

    }
}

/* Tablet styles */
@media screen and (min-width: 768px) {
    .site-content{
        width: 100%;
        max-width: 750px;
    }

    .content-container {
        width: 100%;
        overflow: hidden;
        flex-direction: column;
        border-radius: 8px;
        /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    }

    .logo img {
        width: 80px;
    }

    .nav-container{
        width: 750px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .search-container {
        display: flex;
    }

    .login-container {
        display: flex;
        flex-direction: column;
        /* height: 450px; */
        /* width: 50%; */
    }

    .login-wrapper {
        display: flex;
        flex-direction: row;
        padding: 15px;
        /* height: 60vh; */
        /* width: 100%; */
        /* background-color: #c7c4c4; */
    }

    .login-half {
        flex: 0 0 50%;
    }

    .login,
    .register {
        width: 80%;
    }

    .header-countdown {
        display: flex;
    }

    .header-countdown span {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        font-size: 11px;
    }

    .header-countdown .time-counter {
        font-size: 11px;
    }

    .current-price {
        font-size: var(--text-base);
    }


    .cat-header {
        width: 100%;
        max-width: 750px;
        height: 38px;
    }

    .login-form {
        margin: 45px auto;
    }

    .login-form-table {
        padding: 15px;
        border-radius: 10px;
        margin: 15px;
        background-color: #e3e3e3;
    }

    .content-container-footer {
        width: 100%;
        max-width: 728px;
        flex-direction: row;
    }

    .footer-heading {
        flex: 0 0 20.00%;
        /* margin-right: 25px; */
        min-width: 20%;
    }

    .carousel-item{
        flex: 0 0 25%;
        padding: 0.25rem 0.25rem;
    }

    .add-to-cart {
        flex-grow: 1;
        font-size: 0.75rem;
    }

    .drawer.open{
        max-width: 70%;
        /* top: 45px; */
    }
}

/* larger tablets */
@media screen and (min-width: 992px) {
    .site-content{
        width: 100%;
    }

    .carousel-item{
        flex: 0 0 50.000%;
    }

    .drawer.open{
        width: 90%;
        /* top: 45px; */
    }
}

/* tablets and small laptops */
@media screen and (min-width: 1024px) {
    .site-content {
        width: 100%;
        max-width: 924px;
    }

    .content-container {
        width: 100%;
        max-width: 924px;
        display: flex;
    }

    .logo img {
        width: 85px;
    }

    .nav-container{
        max-width: 924px;
        width: 100%;
    }

    .content-container-header {
        width: 100%;
    }

    .search-container {
        display: flex;
    }

    .cat-header {
        width: 100%;
        max-width: 984px;
        min-height: 48px;
    }

    .product-title{
        font-size: var(--text-sm);
    }

    .content-container-footer, .footer-bottom{
        width: 100%;
        max-width: 924px;
    }

    .footer-bottom{
        justify-content: center;
        row-gap: 15px;
        column-gap: 25px;
    }

     .top-bar{
        height: 35px;
        align-content: center;
    }

    .top-bar-text.sales-mail{
        display: flex;
    }

    .wishlist {
        display: flex;
    }

    .carousel-item{
        flex: 0 0 20.00%;
    }

    .current-price {
        font-size: var(--text-base);
    }
}

/* large laptops */
@media screen and (min-width: 1200px) {
    .site-content {
        width: 100%;
        max-width: 1100px;
    }
    .nav-container{
        width: 100%;
        max-width: 1100px;
    }
    .categories-container{
        width: 100%;
        max-width: 1100px;
    }

    .content-container {
        width: 100%;
        max-width: 1100px;
        display: flex;
    }

    .content-container-header {
        width: 85%;
    }

    .search-container {
        display: flex;
    }

    .cat-header {
        width: 100%;
        max-width: 1170px;
        height: 48px;
    }

    .content-container-footer, .footer-bottom{
        width: 1100px;
        max-width: 100%;
    }

    .footer{
        padding: 1rem 1rem;
    }

    .footer-heading{
        flex: 0 0 20%;
    }

    /* .footer-bottom{} */

    .carousel-item{
        flex: 0 0 20.00%;
    }
}

/* Standard Desktop */
@media screen and (min-width: 1400px) {
    .site-content{
        width: 100%;
        max-width: 1360px;
    }

    .content-container {
        width: 100%;
        max-width: 1360px;
        display: flex;
    }

    .cat-header{
        width: 100%;
        max-width: 1360px;
        height: 48px;
    }

    .logo img {
    width: 80px;
    }

   .nav-container{
        width: 100%;
        max-width: 1360px;
    }

    .categories-container{
        width: 100%;
        max-width: 1360px;
    }
    .nav-container{
        width: 1360px;
    }

    .content-container-header, .content-container-footer {
        width: 100%;
        max-width: 1360px;
    }

    .carousel-item{
        flex: 0 0 20%;
    }

    .drawer.open {
        max-width: 40%;
        top: 45px;
    }

}

/* LARGE DESKTOPS */
@media screen and (min-width:1600px) {

    .nav-container{
        max-width: 1440px;
        width: 1440px;
        padding: auto;
    }
 
    .categories-container{
        width: 100%;
        max-width: 1360px;
    }

    .input-container {
        width: 90%;
        max-width: fit-content;
        padding: 5px 15px 0 15px;
    }

    .form-container {
        padding: 5px 5px;
    }

    .textarea {
        width: 500px;
        height: 50px;
    }

    .input-text {
        width: 500px;
        height: 20px;
        border: 1px solid #ddd;

    }

    .input-number {
        width: 500px;
        height: 25px;
        border: 1px solid #ddd;

    }

    .input-file {
        width: 150px;
        border: 1px solid #ddd;
    }

    .category-list {
        width: 500px;
        height: 30px;
        border: 0.55px solid #ddd;
        border-radius: 5px;
    }

    .form-buttons {
        background-color: #004AAD;

    }

    .form-buttons:hover {
        background-color: #FF0000;
    }

    .drawer.open {
        max-width: 40%;
        top: 45px;
    }

    .carousel-item{
        flex: 0 0 16.66667%;
    }

    .current-price {
        font-size: var(--text-base);
    }
}

/* 4K DESKTOPS AND SCREENS */
@media screen and (min-width:1920px) {

    .logo img {
        width: 100px;
    }

    .carousel-item{
        flex: 0 0 14.285%;
        /* margin: 0 1.25rem; */
    }
}

