/* ===== 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;
}



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);
    }
}

.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;
}


.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;
}

.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;
}

.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:hover {
    /* transform: translateY(1px); */
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.12);
}

.carousel-item:hover .add-to-cart{
    background: var(--light-blue);
    color: var(--accent-red);
}

.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;
}

.add-to-cart {
     flex: 1;
    background: var(--light-gray);
    color: var(--light-blue);
    border: none;
    padding: 8px 12px;
    border-radius: 99999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 600;
}

.add-to-cart:active {
    background: var(--light-blue);
    color: white;
    transform: scale(0.98);
}

.product-actions {
     display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.wishlist {
    display: none; /* Hidden on mobile */
}

/* ==========================================
   NAVIGATION BUTTONS - HIDDEN ON MOBILE
   ========================================== */
.slider-button {
    display: none; /* Hidden by default on mobile */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    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;
    border: none;
    opacity: 0;
}

.slider-button:hover {
    background: #14A8E0;
    color: white;
    /* transform: translateY(-50%) scale(1.1); */
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


/* ==========================================
   VIEW MORE BUTTON ANIMATION
   ========================================== */
.header-link {
    margin-right: 8px;
}

.header-link a,
.view-all-link {
    font-size: var(--text-sm);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover animation for desktop */
.header-link a::before,
.view-all-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.header-link a:hover::before,
.view-all-link:hover::before {
    left: 0;
}

.header-link a:hover,
.view-all-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.header-link a:hover i,
.view-all-link:hover i {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

/* Active state for mobile touch */
.header-link a:active,
.view-all-link:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.98);
}

/* ==========================================
   CATEGORY HEADER
   ========================================== */
.cat-header {
    height: auto;
    /* min-height: 35px; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 0.5rem; */
    margin: 0 auto;
    font-size: var(--text-sm);
    background: #00b9ff;
    border-radius: 0.5rem 0.5rem 0 0;
}

.cat-title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
}
/* ==========================================
   CONTENT CONTAINERS
   ========================================== */
.site-content {
    width: 100%;
    margin: 5px auto;
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
}

.content-container {
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.container-wrapper {
    padding: 0.5rem;
}


.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 pinch-zoom;
}

.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 OPTIMIZATION - MOBILE FIRST
   ========================================== */
/* Base Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
}

.carousel {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}


/* ==========================================
   CAROUSEL ITEMS - MOBILE FIRST (2 items)
   ========================================== */
.carousel-item {
    /* Mobile: Show exactly 2 items */
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.5rem;
    box-sizing: border-box;
    
    /* Prevent selection */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    
    /* Styling */
    border: 0.5px solid #e7e7e7;
    border-radius: 0.5rem;
    margin: 0;
    background: #fff;
}

.carousel-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Product Image Container */
.product-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.5rem;
}

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

/* Product Info */
.product-info {
    /* padding: 0.5rem; */
}

.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 0;
}

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

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

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

/* ==========================================
   TOUCH OPTIMIZATION
   ========================================== */
.carousel-item {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling for touch devices */
.carousel-container {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-item {
    scroll-snap-align: start;
}

/* 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-drawer{
    display: none;
}

.checkout-overlay{
    display: none;
}

#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;
}


/* ==========================================
   FIX FOR ITEMS SLIDING OUT OF VIEW
   ========================================== */
.row.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.carousel {
    margin: 0;
    padding: 0;
    gap: 0;
}

/* Override any conflicting styles */
.carousel-container .slider-button {
    display: none;
}

/* Prevent items from shrinking */
.carousel-item {
    flex-shrink: 0;
}

/* ==========================================
   LOADING STATE
   ========================================== */
.carousel-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* mobile phones - 2nd tier */
@media screen and (min-width: 576px) {

 .carousel-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-img{
        height: 160px;
    }
}

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

    .logo img {
        width: 80px;
    }

    .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%;
        max-width: 25%;
        padding: 0.5rem;
    }

    .product-img{
        height: 180px;
    }

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

    .add-to-cart {
        font-size: 0.875rem;
    }

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

    /* Show navigation buttons on hover */
    .content-container:hover .slider-button {
        display: flex;
    }

    .wishlist {
        display: flex;
        width: 40px;
        height: 40px;
        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: rgba(237, 50, 55, 0.1);
        transform: scale(1.1);
    }

    .slider-button {
        display: flex !important; /* Force display */
    }
    
    /* Fade in on hover */
    .content-container:hover .slider-button {
        opacity: 1 !important;
    }

    /* Override any conflicting styles */
.carousel-container .slider-button {
    display: flex; !important
}

}

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

    .carousel-item{
        flex: 0 0 20%;
        max-width: 20%;
        margin: 0 0.15rem;
    }

    .drawer.open{
        width: 90%;
        /* top: 45px; */
    }
    .slider-button{
        /* opacity: 0; */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .content-container:hover .slider-button {
        opacity: 1;
    }
}

/* Desktop (1024px+) */
@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;
    }


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

    .search-container {
        display: flex;
    }

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

    .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;
    }



    .wishlist {
        display: flex;
    }

    .carousel-item{
        flex: 0 0 20%;
        max-width: 20%;
        margin: 0 0.15rem;
    }

    .product-img{
        height: 200px;
    }

    .cat-header{
        min-height: 40px;
        padding: 0.75rem 1rem;
    }

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

/* Large Desktop (1200px+) */
@media screen and (min-width: 1200px) {
    .site-content {
        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: 40px;
    }

    .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%;
        max-width: 20%;
        margin: 0 0.15rem;
    }

    .add-to-cart{
        font-size: 0.65rem;
    }

    .product-title{
        height: 45px;
    }
}

/* Extra Large Desktop (1400px+) */
@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: 40px;
    }

    .logo img {
    width: 80px;
    }



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

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

    .carousel-item{
        flex: 0 0 20%;
        max-width: 20%;
        margin: 0 0.15rem;
    }

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

}

/* Ultra Wide (1600px+) */
@media screen and (min-width:1600px) {
        .content-container {
        width: 100%;
        max-width: 1540px;
        display: flex;
    }

 
    .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%;
        max-width: 16.6667%;
        margin: 0 0.15rem;
    }

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

/* 4K Screens (1920px+) */
@media screen and (min-width:1920px) {

    .logo img {
        width: 100px;
    }

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

