/* ================================================================
   Perfume Header - Responsive & Clean
================================================================ */



/* Announcement Bar */
.announcement-bar {
	background: #b38e5d;
	color: #ffffff;
	text-align: center;
	padding: 8px 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.announcement-bar p {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

/* Main Header */
.perfume-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #0d1b2a;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-main {
	padding: 15px 0;
	background: #0d1b2a;
}

.header-content {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
}

/* Right Side - القائمة */
.header-right {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/* Desktop Nav */
.desktop-nav {
	display: none;
}

.desktop-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 25px;
}

.desktop-menu-list > li > a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	transition: color 0.3s ease;
	position: relative;
}

.desktop-menu-list > li > a:hover {
	color: #b38e5d;
}

.desktop-menu-list > li > a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	right: 0;
	width: 0;
	height: 2px;
	background: #b38e5d;
	transition: width 0.3s ease;
}

.desktop-menu-list > li > a:hover::after {
	width: 100%;
}

.mobile-menu-toggle {
	background: transparent;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
	color: #b38e5d;
}

/* Center - Logo */
.header-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.site-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.site-logo-link img,
.custom-logo {
	max-height: 45px;
	width: auto;
}

.site-name {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

/* Left Side - Icons */
.header-left {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
}

.header-icon {
	position: relative;
	color: #ffffff;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.header-icon:hover {
	color: #b38e5d;
}

.cart-count {
	position: absolute;
	top: -8px;
	left: -8px;
	background: #b38e5d;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* Search Dropdown - Modern & Clean */
/* Search Dropdown - Modern & Clean */
.search-bar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.search-bar-dropdown.active {
    max-height: 100px;
    padding: 20px 0;
    opacity: 1;
    visibility: visible;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    background: #ffffff;
    border-color: #b38e5d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
    background: transparent;
    color: #0d1b2a;
    text-align: right;
    font-weight: 400;
}

.search-field::placeholder {
    color: #888;
    opacity: 0.8;
}

.search-submit {
    background: transparent;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: #b38e5d;
    background: transparent;
    transform: none;
}

.search-close {
    background: transparent;
    border: none;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: #f0f0f0;
    color: #dc3545;
    transform: rotate(90deg);
}

/* Mobile Navigation */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 280px;
	height: 100vh;
	background: #ffffff;
	box-shadow: -2px 0 10px rgba(0,0,0,0.1);
	transition: right 0.3s ease;
	z-index: 1001;
	overflow-y: auto;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: #0d1b2a;
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
}

.mobile-nav-close {
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 24px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu li {
	border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a {
	display: block;
	padding: 15px 20px;
	color: #0d1b2a;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.mobile-menu a:hover {
	background: rgba(179,142,93,0.1);
	color: #b38e5d;
}

.mobile-nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1000;
}

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

/* ================================================================
   Responsive Design - متجاوب مع كل الأجهزة
================================================================ */

/* Desktop (Show Menu, Hide Toggle) */
@media (min-width: 1025px) {
	.mobile-menu-toggle {
		display: none;
	}
	
	.desktop-nav {
		display: block;
	}
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
	.header-content {
		gap: 15px;
	}
	
	.header-left {
		gap: 15px;
	}
	
	.desktop-nav {
		display: none;
	}
	
	.mobile-menu-toggle {
		display: flex;
	}
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {

	
	.header-main {
		padding: 12px 0;
	}
	
	.header-left {
		gap: 12px;
	}
	
	.header-icon svg {
		width: 20px;
		height: 20px;
	}
	
	.site-logo-link img,
	.custom-logo {
		max-height: 40px;
	}
	
	.site-name {
		font-size: 18px;
	}
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {

	
	.header-main {
		padding: 10px 0;
	}
	
	.header-content {
		gap: 10px;
	}
	
	.header-left {
		gap: 10px;
	}
	
	.header-icon svg {
		width: 18px;
		height: 18px;
	}
	
	.site-logo-link img,
	.custom-logo {
		max-height: 35px;
	}
	
	.site-name {
		font-size: 16px;
	}
	
	.mobile-nav {
		width: 260px;
	}
	
	.search-field {
		font-size: 14px;
	}
	
	.search-submit {
		width: 38px;
		height: 38px;
	}
	
	.search-close {
		width: 36px;
		height: 36px;
		font-size: 18px;
	}
}

/* Extra Small (< 320px) */
@media (max-width: 320px) {
	.header-left {
		gap: 8px;
	}
	
	.mobile-nav {
		width: 240px;
	}
}



/* إصلاح مشكلة اللون الأحمر في iOS Safari */
html {
    background-color: #ffffff !important;
    overflow-x: hidden;
}

body {
    background-color: #ffffff !important;
    overflow-x: hidden;
}

/* منع التمطيط (bounce) في iOS */
body {
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}

/* التأكد من عدم ظهور الشريط الأحمر بعد الإغلاق */


/* التأكد من أن الهيدر يبدأ من الأعلى مباشرة */
.perfume-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #0d1b2a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* إزالة أي مسافة فوق الهيدر */
#page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Support Item Styles */
.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: color 0.3s ease;
}

.support-icons a:hover {
    color: #b38e5d;
}

/* Mobile Support Item */
.mobile-support-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-support-label {
    display: block;
    margin-bottom: 10px;
    color: #0d1b2a;
    font-weight: 600;
}

.mobile-support-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mobile-support-icons a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d1b2a;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-support-icons a:hover {
    background: #b38e5d;
    color: #ffffff;
}
