 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}



header {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
	background: linear-gradient(to right, #1c1c1c 0%, #4a3f35 40%, #c9a961 70%, #f5e6d3 100%);
	 /* for bookstore: #FAF8F3 #F5F1E8 */
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	color: #fff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}




.home_seperator {
    width: 2px;
    height: 40px;
    /*background: linear-gradient(to bottom, transparent, #667eea, transparent); */
}


.homePage_header_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.homePage_logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    
}

.homePage_logo_image {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
   
    font-size: 28px;
}
.homePage_cart_icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.homePage_cart_icon:hover {
    transform: scale(1.1);
}

.homePage_cart_svg {
    width: 32px;
    height: 32px;
}

.homePage_cart_badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
		
.homePage_circle_image {
	width: 50px;         /* Set a fixed width */
	height: 50px;        /* Set a fixed height (must match the width for a perfect circle) */
	border-radius: 60%;   /* Crops the image into a circle */
	object-fit: cover;    /* Ensures the image covers the entire circle without stretching */
}




.cart-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.1rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}


.cart-icon a {
	text-decoration: none;
	color: #394352;
	padding: 0 10px;
}
.cart-icon a:hover {
	color: #4e5c70;
	text-decoration: none;
}



nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-toggle {
    display: none;
    background: #AA6C39 /*#667eea;*/
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    margin: 10px 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-menu > li > a:hover {
    /*background: #667eea;*/
    color:  #AA6C39;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    list-style: none;
}

.nav-menu > li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: #f8f8f8;
    color: #667eea;
    padding-left: 2rem;
}

main {
    padding: 2rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}




.product-card a {
	text-decoration: none;

}
.rrp {
	text-decoration: line-through;
}




.product-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.price {
	 font-size: 1.1rem;
    /*font-size: 1.5rem;	
    font-weight: bold;*/
    color: #764ba2;
    margin: 1rem 0;
}

.btn {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
	background: linear-gradient(to right, #1c1c1c 0%, #4a3f35 40%, #c9a961 70%, #f5e6d3 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s;
    width: 90%;
}

.btn:hover {
    opacity: 0.9;
}

/*
.cart-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}
*/
.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-remove {
    background: #e74c3c;
    padding: 0.5rem 1rem;
}

.cart-total {
    text-align: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #667eea;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: #f8f8f8;
    }

    .nav-menu > li:hover .dropdown {
        display: none;
    }

    .nav-menu > li.active .dropdown {
        display: block;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        text-align: center;
    }

    .cart-icon {
        margin-top: 1rem;
    }
}

/* Slideshow */
.slideshow {
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
}

.slide-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.slide-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slide-dot.active {
    background: white;
}
     
.category-title {
    font-size: 1.5em;
    margin: 30px 0 20px;
	color: #667eea;	
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}	 

/*Search bar*/
.search-filter { 
	background: white;
	padding: 20px; 
	border-radius: 8px; 
	margin-bottom: 30px; 
	box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.search-filter form { 
	display: flex; 
	gap: 15px; flex-wrap: wrap; 
	align-items: center; 
}

.search-filter input, .search-filter select {
	padding: 10px; 
	border: 1px solid #ddd; 
	border-radius: 4px; font-size: 14px; 
	}
	
.search-filter input[type="text"] { 
	flex: 1; min-width: 200px; 
}

.search-filter select {
	min-width: 150px; 
}


.search-filter button { 
	padding: 10px 20px; 
	background: #3498db; color: white; 
	border: none; border-radius: 4px; 
	cursor: pointer; font-size: 14px; 
}

.search-filter button:hover {
	background: #2980b9; 
}




span .info {
	display: block;
	color:  #555555;
	padding: 20px 0 2px 0;
}        

.product-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #2c3e50; }
.product-price { font-size: 1.3rem; color: #27ae60; font-weight: bold; margin-bottom: 1rem; }

/*.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
    z-index: 1000;
}
.notification.show {
    opacity: 1;
    transform: translateX(0);
}

*/

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notification-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.notification-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0000FF; 
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.notification-close-btn:hover {
    background: #c9bdff;
    transform: rotate(90deg);
}

.notification-body {
    color: #666;
    line-height: 1.5;
}

.notification-body a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.notification-body a:hover {
    color: #764ba2;
    text-decoration: underline;
}


/*related to cart*/

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #f9f9f9;
}

.item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-price {
    color: #666;
    font-size: 16px;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-control button {
    width: 35px;
    height: 35px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.quantity-control button:hover {
    background: #e0e0e0;
}

.quantity-control input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.remove-btn:hover {
    background: #ee5a6f;
}

.item-total {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    min-width: 100px;
    text-align: right;
}

.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
	color: #333;
	
}

.summary-row.total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.checkout-btn {
    width: 45%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-cart-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s;
}


/*Product page related*/
.productPage_container {   /*not used*/
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.productPage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;  /*40px */
    padding: 40px;
    /*background: linear-gradient(to bottom, #1c1c1c 0%, #4a3f35 40%, #c9a961 70%, #f5e6d3 100%);*/
}

/* Image Slider Styles */
.productPage_sliderContainer {
    position: relative;
    width: 100%;   /* 100%; */
	/* height: 100%;   added */
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    background: #f5f5f5;
}

.productPage_sliderWrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.productPage_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.productPage_slide.active {
    opacity: 1;
}

.productPage_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productPage_sliderNav  {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.productPage_sliderDot  {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: green; /*rgba(255, 255, 255, 0.5);*/
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid white;
}

.productPage_sliderDot.active {
    background: red; /* white; */
    transform: scale(1.2);
}

.productPage_sliderArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: green; /*rgba(255, 255, 255, 0.9); */
	color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.productPage_sliderArrow:hover {
    background: white;
	color: red;
    transform: translateY(-50%) scale(1.1);
}

.productPage_sliderArrow.prev {
    left: 10px;
}

.productPage_sliderArrow.next {
    right: 10px;
}

/* Product Info Styles */
.productPage_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
	 color: #666;
}

.productPage_title {
    font-size: 25px;
    font-weight: 700;
    color: #333;
}

.productPage_rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.productPage_price {
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
}

.productPage_rrp {
	color: #BBBBBB;
	text-decoration: line-through;
	font-size: 20px;
}


.productPage_desc {
    color: #666;
    line-height: 1.6;
	
}

.productPage_features {
    list-style: none;
}

.productPage_features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.productPage_features li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
}

.productPage_quantity_selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.productPage_quantity_selector label {
    font-weight: 600;
}

.productPage_quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.productPage_quantity button {
    background: #f3f4f6;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.productPage_quantity button:hover {
    background: #e5e7eb;
}

.productPage_quantity input {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem;
}

.productPage_add_cart_btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: background 0.2s;
}

.productPage_add_cart_btn:hover {
    background: #1d4ed8;
}

.productPage_add_cart_btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.productPage_lowstock {
    background: #fff3cd;
    border-left: 4px solid #ffa502;
    padding: 12px 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
}		

/* Similar Products Section */
.productPage_similar_section {
    margin-top: 60px;
}

.productPage_similar_header  {
    text-align: center;
    margin-bottom: 40px;
}

.productPage_similar_header  h2 {
    font-size: 32px;
    color: #2d3436;
    margin-bottom: 10px;
}

.productPage_similar_header  p {
    color: #636e72;
    font-size: 16px;
}

.productPage_similar_grid  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.productPage_similar_card  {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.productPage_similar_card :hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.productPage_similar_card_image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.productPage_similar_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.productPage_similar_card :hover . productPage_similar_card_image img {
    transform: scale(1.1);
}

.productPage_quick_view {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #0984e3;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.productPage_similar_card :hover .productPage_quick_view {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.productPage_similar_card_content  {
    padding: 20px;
}

.productPage_similar_card_content  h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2d3436;
    font-weight: 600;
}

.productPage_similar_rating  {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.productPage_similar_stars {
    color: #ffa502;
    font-size: 14px;
}

.productPage_similar_rating_value {
    color: #636e72;
    font-size: 14px;
}

.productPage_similar_price {
    font-size: 24px;
    font-weight: bold;
    color: #00b894;
}

.productPage_similar_card_actions  {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}	

 /* Modal Styles for quickview */
.productPage_quickView_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.productPage_quickView_modal.active {
    display: flex;
}

.productPage_modal_content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.productPage_modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.productPage_modal_close:hover {
    background: #ee5a6f;
    transform: rotate(90deg);
}

/*purchase popups*/	
        .purchase_popup_notification {
            position: fixed;
            bottom: -200px;
            left: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            padding: 20px;
            max-width: 380px;
            transition: bottom 0.5s ease-in-out;
            z-index: 1000;
            border-left: 4px solid #e74c3c;
        }

        .purchase_popup_notification.show {
            bottom: 20px;
        }

        .purchase_popup_header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .purchase_popup_title {
            font-size: 14px;
            color: #7f8c8d;
            font-weight: 600;
        }

        .purchase_popup_close_btn {
            background: none;
            border: none;
            font-size: 20px;
            color: #95a5a6;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .purchase_popup_close_btn:hover {
            color: #e74c3c;
        }

        .purchase_popup_content {
            display: flex;
            gap: 15px;
        }

        .purchase_popup_product_image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            background: #f8f9fa;
        }

        .purchase_popup_info {
            flex: 1;
        }

        .purchase_popup_customer_name {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .purchase_popup_text {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 5px;
        }

        .purchase_popup_product_name {
            font-weight: 600;
            color: #e74c3c;
            margin-bottom: 5px;
        }

        .purchase_popup_location_time {
            font-size: 12px;
            color: #95a5a6;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .purchase_popup_badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #27ae60;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            margin-top: 5px;
        }

/*end of style for purchase popups*/

/*flowing banner on top */
   
        .pageHome_banner {
            /*position: fixed; */
            top: 0;
            left: 0;
            width: 100%;
             background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            overflow: hidden;
            height: 30px;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
			border-bottom: 1px solid #d4af37;
        }

        .pageHome_banner_content {
            display: flex;
            white-space: nowrap;
            animation: scroll 40s linear infinite;
        }

        .pageHome_banner_item {
            padding: 0 50px;
            font-size: 16px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        /* Pause animation on hover */
        .pageHome_banner:hover .pageHome_banner_content {
            animation-play-state: paused;
        }
		
/*end of running banner style*/
		
/*Image slides for perfume page*/

.perfumePage_slider {
            position: relative;
            width: 100%;
            height: 50vh;
            overflow: hidden;
        }

        .perfumePage_slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .perfumePage_slide.active {
            opacity: 1;
        }

        .perfumePage_slide_bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            filter: brightness(0.7);
            transition: transform 8s ease-out;
        }

        .perfumePage_slide.active .perfumePage_slide_bg {
            transform: scale(1.1);
        }

        .perfumePage_slide_content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            padding: 40px;
            animation: perfumePage_perfumePage 1s ease-out;
        }

        @keyframes perfumePage_perfumePage {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .perfumePage_slide_content h2 {
            font-size: 4rem;
            font-weight: 300;
            letter-spacing: 8px;
            margin-bottom: 20px;
            text-transform: uppercase;
            text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
        }

        .perfumePage_slide_content p {
            font-size: 1.3rem;
            line-height: 1.8;
            margin-bottom: 40px;
            font-family: 'Arial', sans-serif;
            font-weight: 300;
            letter-spacing: 2px;
            text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
        }

        .perfumePage_cta_button {
			  position: static;
           
            padding: 18px 50px;
            background: rgba(255,255,255,0.1);
            border: 2px solid #fff;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.9rem;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
        }

        .perfumePage_cta_button:hover {
            background: #fff;
            color: #000;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255,255,255,0.3);
        }

        .perfumePage_title {
            position: absolute;
            top: 170px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            font-size: 3rem;
            letter-spacing: 2px;
            font-weight: 300;
            color: #fff;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
        }

		.perfumePage_title2 {
			font-size: 1.8rem;
			text-align: center;
			color: #daa520;
			text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
			margin-bottom: 0.5rem;
		}
		
		.title_glowing {
			font-size: 1.8rem;
			text-align: center;
			color: #daa520;
			text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
			margin-bottom: 0.5rem;
		}
		
		
/*Search bar*/

        .search_sidebar_open_btn {
            background: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            padding: 9px 20px;
            font-size: 1rem;
            cursor: pointer;
            border-radius: 50px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .search_sidebar_open_btn:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .search_sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0,0,0,0.2);
            transition: right 0.4s ease;
            z-index: 1000;
            display: flex;
            flex-direction: column;
        }

        .search_sidebar.active {
            right: 0;
        }

        .search_sidebar_header {
            /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
			background: linear-gradient(to right, #1c1c1c 0%, #4a3f35 40%, #c9a961 70%, #f5e6d3 100%);
            color: white;
            padding: 0.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .search_sidebar_close_btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            line-height: 1;
            transition: transform 0.3s ease;
        }

        .search_sidebar_close_btn:hover {
            transform: rotate(90deg);
        }

        .search_sidebar_form {
            padding: 2rem;
            border-bottom: 1px solid #eee;
        }

        .search_sidebar_input {
            width: 100%;
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .search_sidebar_input:focus {
            outline: none;
            border-color: #667eea;
        }

        .search_sidebar_submit_btn {
            width: 50%;
            margin-top: 1rem;
            padding: 10px;
            /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
			background: linear-gradient(to right, #1c1c1c 0%, #4a3f35 40%, #c9a961 70%, #f5e6d3 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .search_sidebar_submit_btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

	    .select_wrapper {
            position: relative;
        }

        select {
            width: 100%;
            padding: 10px 30px 10px 10px;
            font-size: 12px;
            color: #2c2c2c;
            background: #fafafa;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            cursor: pointer;
            appearance: none;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        select:hover {
            border-color: #c9a47e;
            background: white;
        }

        select:focus {
            outline: none;
            border-color: #b8936d;
            background: white;
            box-shadow: 0 0 0 3px rgba(184, 147, 109, 0.1);
        }

        .select_wrapper::after {
            content: '▼';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #b8936d;
            pointer-events: none;
            font-size: 12px;
        }

        option {
            padding: 10px;
            background: white;
            color: #2c2c2c;
        }

        option:disabled {
            color: #999;
        }
		
        label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
		
		/*header icons: search icon, cart icon */
        .header_icons_container {
            display: flex;
             gap: 0px;   /*orig; 10px */
            align-items: center;
        }

        .header_icon_btn {
            background: none;
            border: none;
            cursor: pointer;
            position: relative;
            transition: transform 0.2s;
            padding: 8px;
        }

        .header_icon_btn:hover {
            transform: translateY(-2px);
        }

        .header_icon_btn svg {
            width: 24px;
            height: 24px;
            stroke: #2c2c2c;
            fill: none;
            stroke-width: 2;
        }
		
        .header_cart_count {
            position: absolute;
            top: 0;
            right: 0;
            background: #d4a574;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
        }		
		

@media (max-width: 768px) {
	
	h1 {
    font-size: 1.1rem;
	}
	
    .productPage {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .productPage_title {
        font-size: 23px;
    }

    .productPage_price {
        font-size: 19px;
    }
	.productPage_rrp {
		font-size: 19px;
	}
    .productPage_similar_grid  {
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 15px;
   }   
   .item-name {
    font-size: 9px;
	}
	.item-price {
    font-size: 9px;
	}
	.checkout-btn {
    padding: 8px;
    font-size: 12px;
    }

    .perfumePage_slide_content h2 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .perfumePage_slide_content p {
        font-size: 0.8rem;
    }	
	.perfumePage_title {
		 font-size: 1.0rem;
		  top: 200px;
		  letter-spacing: 0px;
	}
	.perfumePage_slider {
            height: 30vh;

     }
	 
	 
	.pageHome_banner_item {
  
	font-size: 12px;
  
	}


}

