

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #333;
}

/* Header */
.header {
    background-color: black;
    height: 60px;
    color: white;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}
.header-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    margin-right: 10px;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    cursor: pointer;
    color: white;
}
.header-action:hover {
    opacity: 0.8;
}


/* layout**/
.container {
    width: 99%;
    /* background-color: red; */
    height: 100%;
    margin: auto;

}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
    gap: 15px;
}
/**logo***/

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 120px; /* Adjust based on your logo size */
    height: 50px; /* Adjust based on your logo size */
    background: url('images/quad.jpg') no-repeat center center/contain;
}

.dotin {
    position: relative;
    margin-left: -13px;
    margin-top: -10px;
}

.border-white {
    padding: 5px;
    border: 1.5px solid transparent;
}

.border-white:hover {
    border: 1.5px solid #ffffff;
}

/***********addresss************/
.address-container {
    margin-left: 10px;
}

.address-container p {
    margin: 0;
}

.icon-address {
    display: flex;
    align-items: center;
}

.hello {
    font-size: 0.8rem;
    padding-left: 20px;
    color: #ccc;
}

.icon-location {
    margin-right: 3px;
}


/***search-container****/
/* Search Form Styles */

.search-container {
    flex: 1;
    max-width: 450px;
    min-width: 200px;
    margin: 0 10px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
}

/* Search Suggestions */
.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

/* Product Card Styles */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
    color: #B12704;
}

.original-price {
    text-decoration: line-through;
    color: #555;
    font-size: 0.9rem;
    margin-left: 8px;
}

.discount {
    color: #067D62;
    font-size: 0.9rem;
    margin-left: 8px;
}

.rating {
    color: #FFA41C;
    margin: 5px 0;
}

.rating-count {
    color: #555;
    font-size: 0.8rem;
}

.stock {
    font-size: 0.9rem;
    margin: 5px 0;
}

.in-stock {
    color: #067D62;
}

.out-of-stock {
    color: #B12704;
}

.delivery {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0;
}

.color-options {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.color-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.view-product {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: #FFD814;
    color: #0F1111;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.view-product:hover {
    background: #F7CA00;
}

/***lauguage section*/
.language-container {
    margin-left: 25px;
}

.language-container p {
    font-size: 0.8rem;
    margin: 0;
}

.lauguge-image {
    width: 20px;
}

.lauguge-image img {
    width: 100%;
}


/***login-container***/
.login-container {
    margin-left: 15px;
}

.login-container p {
    margin: 0;
}

.account {
    font-weight: 900;
    font-size: 1.1rem;
}

.return-order-container {
    width: 65px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.return-order-container p {
    margin: 0;
}

.order {
    font-size: 1rem;
    font-weight: 900;
    display: flex;
    width: 70px;
}

/****cart container***/
.cart-container {
    font-size: 1.1rem;
    display: flex;
}

.cart-container i {
    font-size: 1rem;
}
.nav {
    background-color: black;
    height: 40px;
    color: white;
    padding: 0 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed; /* Fix the navigation below the header */
    top: 60px; /* Adjust based on header height */
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure the navigation is above other elements */
}

.container-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
}

.container-nav ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1rem;
    color: white;
    list-style: none;
    gap: 20px;
}

.container-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0px 2px;

}

.nav-right-image-amazon-prime {
    min-width: 300px;
    height: 300;
    max-width: 500px;
}

.nav-right-image-amazon-prime img {
    width: 100%;
    height: 100%;
}

.prime-image {
    background-color: white;
    height: 350px;
    width: 350px;
    position: absolute;
    z-index: 1;
    display: none;
    color: #000;
    margin-left: -10px;
    transition: display 1s;
    padding: 10px;
}

.prime-image-hover:hover .prime-image {
    transition: display 1s;
    display: block;
}

.prime-image img {
    width: 100%;
    height: 100%;
}






/*--image slider --*/
.image-container {
    position: relative;
}

.image-list {
    display: flex;
    overflow: hidden;
}

.image-item {
    min-width: 100%;
    height: 600px;
    /* transform: translateX(-300%); */
    transition: transform 0.3s;

}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-btn-container {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.slider-btn {
    border: 1px solid transparent;
    padding: 100px 20px;
    font-size: 50px;
    font-weight: 300;
    background-color: transparent;
    color: #000;
}

.slider-btn i {
    font-weight: 900;
}

.slider-btn:focus {
    border-color: seagreen;
    box-shadow: -2px -2px 2px rgb(230, 227, 227),
        2px 2px 2px white;
    margin: 2px;
}


/*sidebar navigation****/
#open-nav-sidebar {
    cursor: pointer;
}

.sidebar-container-navigation {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background-color: transparent;
    transform: translateX(-100%);
    display: flex;
    transition: transform 0.3s;


}

.slidebar-show {
    transform: translateX(0%);
    background-color: rgba(0, 0, 0, 0.7);
}

.sidebar-left-part {
    background-color: white;
    width: 365px;
    height: 100%;
    box-sizing: 5px 5px 10px rgba(0, 0, 0, 0.8);
}

.sidebar-top {
    display: flex;
    align-items: center;
    padding: 12px;
    padding-left: 30px;
    background-color: rgb(19, 25, 33);
    color: white;
}

.sidebar-top h2 {
    font-size: 22px;
    margin: 0;
}

.sidebar-top i {
    padding-right: 10px;
    font-size: 25px;
}

.sidebar-item {
    padding-left: 30px;
    border-top: 1.5px solid #ccc;
}

.sidebar-item h2 {
    font-size: 20px;
}

.sidebar-item p {
    color: rgb(65, 62, 62);
}

#sidebar-navigation-close {
    background-color: transparent;
    align-self: flex-start;
    font-size: 30px;
    border: none;
    color: white;
    padding: 20px;
    cursor: pointer;
}

.sidebar-wrap {
    height: 100%;
    overflow: auto;
    padding-bottom: 100px;
}

/*product card container*/
.main {
    background-color: #EAEDED;
    padding: 20px;
    margin-top: 100px; /* Adjust based on your header height */
}
.productBackgraound{
    background-color: rgba(213, 247, 247,0.4);
}
.card-product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.card-product {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid #333;
}
.card-product h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff; /* White text for better contrast */
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}
.card-product:nth-child(1) {
    border-top: 4px solid #ff9f00; /* Orange for first card */
}

.card-product:nth-child(2) {
    border-top: 4px solid #00a8e1; /* Blue for second card */
}

.card-product:nth-child(3) {
    border-top: 4px solid #ff6b6b; /* Red for third card */
}

.card-product:nth-child(4) {
    border-top: 4px solid #6bff6b; /* Green for fourth card */
}
.card-nested {
    text-align: center;
    background-color: rgba(255,255,255,0.05);
    padding: 15px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.card-nested:hover {
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.02);
}


.card-product-nested-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: #444;
}



.card-nested p {
    font-size: 14px;
    color: #ddd;
    margin: 0;
    font-weight: 500;
}
.card-nested img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}
.card-product-btn{
    font-size: 14px;
    align-self: flex-start;
    margin: 7px 10px; 
    padding-left: 0;
    background-color: transparent;
    border:none;
    color:rgb(25, 105, 105)
}
.card-product-btn:hover{
    text-decoration: underline;
    cursor: pointer;
}
.card-product-btn {
    background: linear-gradient(to right, #ff9f00, #ff7700);
}
.card-product-btn1 {
    background: linear-gradient(to right, #00a8e1, #0077cc);
}
.card-product-btn2 {
    background: linear-gradient(to right, #ff6b6b, #ff4141);
}
.card-product-btn3 {
    background: linear-gradient(to right, #6bff6b, #41cc41);
}
.card-product-btn,
.card-product-btn1,
.card-product-btn2,
.card-product-btn3 {
    color: #111;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.card-product-btn:hover,
.card-product-btn1:hover,
.card-product-btn2:hover,
.card-product-btn3:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .card-product-container {
        grid-template-columns: 1fr;
    }
    
    .card-product-nested-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

.today_deals_container{
    margin: 30px;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.1),
    2px 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #f2ef93;
    
}
.today_deals_heading{
    display: flex;
    align-items: center;
    padding: 2px 20px;
}
.today_deals_heading p a{
    color:rgb(39, 114, 107);
    text-decoration: none;
    padding-left: 20px;
}
.today_deals_heading p a:hover{
    text-decoration: underline;
}

.today_deals_product_container{
    /* background-color: red; */
    height: 300px;
    position: relative;
}
.today_deals_product_list{
    display: flex;
    overflow: hidden;

}
.today_deals_product_item{
    min-width: 250px;
    height: 250px;
    padding: 0px 10px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    transform: translateX(0%);
    transition: transform 1s;
}
.todayDeals_product_image{
    height: 200px;
    width: 210px;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 15px;
}
.today_deals_product_item img{
    width: 100%;
    height: 100%;
    /* padding: 20px 20px; */
    background-color: red;
}
.today_deals_product_item p{
    justify-self: flex-end;
}

.discount_Contaienr a{
    padding: 5px 10px;
    font-size: 14px;
    color:rgb(211, 30, 84);
    text-decoration: none;
}
.discount_Contaienr a:first-child{
    background-color: rgb(211, 30, 84);
    padding: 5px 10px;
    color:white;
    font-weight: 550;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
}

.today_deals_btn_container{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 20px;
    z-index: 10;
}
.today_deal_btn{
    padding: 40px 10px;
    font-size: 40px;
    border: none;
    outline: none;
    background-color: rgb(255,255,255,0.4);
}
/* Hero Section Styles */
.hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    background: #dad70b;
    color: rgb(15, 12, 12);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: #2575fc;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-product {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-content {
    animation: slideIn 1s ease-in-out;
}
.footer {
    background: #2d2d2d;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
}

.social-icons a:hover {
    color: #000000;
}
.card-product-btn ,.card-product-btn1,.card-product-btn2,.card-product-btn3{
    background-color: #1b0519; /* Amazon's orange color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px; /* Add some space above the button */
    transition: background-color 0.3s ease;
}


.main {
    background-color: #1a1a1a; /* Dark background matching body */
    padding: 20px;
    margin-top: 100px;
}
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns per row */
    gap: 20px; /* Gap between product cards */
    max-width: 1200px; /* Constrain the grid to a maximum width */
    margin: 0 auto; /* Center the grid on the page */
}

/* Product Card */
.product-card {
    background-color: #f9f9f9; /* Light gray background for the card */
    border-radius: 10px;
    overflow: hidden; /* Prevent content from overflowing */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px); /* Lift the card on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Product Image Container */
.product-image-container {
    width: 100%;
    height: 200px; /* Fixed height for the image container */
    overflow: hidden; /* Ensure the image doesn't overflow */
}

/* Product Image */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container without distortion */
    background-color: #f0f0f0; /* Placeholder background if no image is provided */
}

/* Product Details */
.product-details {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.product-cost {
    font-size: 16px;
    color: #555;
    margin: 5px 0;
}

.product-discount {
    font-size: 14px;
    color: #e74c3c; /* Red color for discount */
    margin: 5px 0;
}