3413 lines
56 KiB
CSS
3413 lines
56 KiB
CSS
|
:root {
|
||
|
/* Brand Colors */
|
||
|
--salem: #0c814a;
|
||
|
--spring-bud: #cddf96;
|
||
|
--palm-leaf: #768b46;
|
||
|
--pine-tree: #252a16;
|
||
|
--raisin-black: #231f20;
|
||
|
--cultured: #f5f5f5;
|
||
|
|
||
|
/* Typography */
|
||
|
--font-primary: 'Tajawal', sans-serif;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
scroll-behavior: smooth;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: var(--font-primary);
|
||
|
line-height: 1.6;
|
||
|
color: var(--raisin-black);
|
||
|
direction: rtl;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 90%;
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
padding: 0 15px;
|
||
|
}
|
||
|
|
||
|
/* Buttons */
|
||
|
.btn {
|
||
|
display: inline-block;
|
||
|
padding: 12px 30px;
|
||
|
border-radius: 5px;
|
||
|
text-decoration: none;
|
||
|
font-weight: 500;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.btn.primary {
|
||
|
background-color: var(--salem);
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.btn.primary:hover {
|
||
|
background-color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.btn.secondary {
|
||
|
background-color: transparent;
|
||
|
border: 2px solid var(--salem);
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.btn.secondary:hover {
|
||
|
background-color: var(--salem);
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
/* Navigation */
|
||
|
.navbar {
|
||
|
position: fixed;
|
||
|
width: 100%;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
z-index: 1000;
|
||
|
padding: 15px 0;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled {
|
||
|
background: rgba(255, 255, 255, 0.98);
|
||
|
backdrop-filter: blur(10px);
|
||
|
-webkit-backdrop-filter: blur(10px);
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-first,
|
||
|
.navbar.scrolled .brand-second,
|
||
|
.navbar.scrolled .nav-link,
|
||
|
.navbar.scrolled .search-input,
|
||
|
.navbar.scrolled .search-btn {
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-first {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-second {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-name:hover .brand-first {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-name:hover .brand-second {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.navbar .container {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
max-width: 1400px;
|
||
|
margin: 0 auto;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
|
||
|
.logo {
|
||
|
flex: 0 0 auto;
|
||
|
}
|
||
|
|
||
|
.logo img {
|
||
|
height: 50px;
|
||
|
width: auto;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.header-search {
|
||
|
flex: 0 0 auto;
|
||
|
max-width: 300px;
|
||
|
margin: 0 30px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.search-container {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
width: 100%;
|
||
|
padding: 8px 35px;
|
||
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||
|
border-radius: 20px;
|
||
|
background-color: rgba(255, 255, 255, 0.15);
|
||
|
font-family: var(--font-primary);
|
||
|
font-size: 14px;
|
||
|
color: var(--raisin-black);
|
||
|
transition: all 0.3s ease;
|
||
|
backdrop-filter: blur(5px);
|
||
|
}
|
||
|
|
||
|
.search-input::placeholder {
|
||
|
color: rgba(35, 31, 32, 0.7);
|
||
|
}
|
||
|
|
||
|
.search-input:focus {
|
||
|
outline: none;
|
||
|
background-color: rgba(255, 255, 255, 0.95);
|
||
|
border-color: var(--salem);
|
||
|
box-shadow: 0 0 0 2px rgba(12, 129, 74, 0.1);
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.search-icon {
|
||
|
position: absolute;
|
||
|
right: 12px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
color: var(--salem);
|
||
|
font-size: 14px;
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
|
||
|
.voice-search-btn {
|
||
|
position: absolute;
|
||
|
left: 10px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: var(--salem);
|
||
|
cursor: pointer;
|
||
|
padding: 0;
|
||
|
font-size: 14px;
|
||
|
transition: all 0.3s ease;
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
|
||
|
.voice-search-btn:hover,
|
||
|
.search-input:focus + .search-icon {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.search-results {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 10px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 15px;
|
||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 10px;
|
||
|
max-height: 400px;
|
||
|
overflow-y: auto;
|
||
|
z-index: 1000;
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(-10px);
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
|
||
|
.search-results.show {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 12px;
|
||
|
border-radius: 8px;
|
||
|
text-decoration: none;
|
||
|
color: #333;
|
||
|
transition: all 0.2s;
|
||
|
}
|
||
|
|
||
|
.result-item:hover {
|
||
|
background-color: #f8f9fa;
|
||
|
transform: translateX(-5px);
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 8px;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.result-info {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
margin: 0 0 5px;
|
||
|
font-size: 15px;
|
||
|
color: #333;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
margin: 0;
|
||
|
font-size: 13px;
|
||
|
color: #666;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
display: block;
|
||
|
margin-top: 5px;
|
||
|
color: #2ecc71;
|
||
|
font-weight: 600;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.search-filters {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 5px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 15px;
|
||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 15px;
|
||
|
z-index: 999;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.search-container:focus-within .search-filters {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.nav-link {
|
||
|
color: var(--raisin-black);
|
||
|
font-weight: 500;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.brand-first,
|
||
|
.brand-second {
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.navbar:not(.scrolled) .brand-first {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.navbar:not(.scrolled) .brand-second {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-first {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-second {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .nav-link {
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.brand-name:hover .brand-first {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.brand-name:hover .brand-second {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
/* Navigation */
|
||
|
.nav-links {
|
||
|
flex: 0 0 auto;
|
||
|
display: flex;
|
||
|
gap: 30px;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.nav-links a,
|
||
|
.nav-links .dropdown-toggle {
|
||
|
color: #fff;
|
||
|
text-decoration: none;
|
||
|
font-weight: 500;
|
||
|
font-size: 15px;
|
||
|
transition: all 0.3s ease;
|
||
|
position: relative;
|
||
|
padding: 5px 0;
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .nav-links a,
|
||
|
.navbar.scrolled .nav-links .dropdown-toggle {
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.nav-links a:hover,
|
||
|
.nav-links a.active,
|
||
|
.nav-links .dropdown:hover .dropdown-toggle {
|
||
|
color: var(--spring-bud);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .nav-links a:hover,
|
||
|
.navbar.scrolled .nav-links a.active,
|
||
|
.navbar.scrolled .nav-links .dropdown:hover .dropdown-toggle {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.nav-links a::after,
|
||
|
.nav-links .dropdown-toggle::after {
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
width: 0;
|
||
|
height: 2px;
|
||
|
bottom: 0;
|
||
|
right: 0;
|
||
|
background-color: var(--spring-bud);
|
||
|
transition: width 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .nav-links a::after,
|
||
|
.navbar.scrolled .nav-links .dropdown-toggle::after {
|
||
|
background-color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.nav-links a:hover::after,
|
||
|
.nav-links a.active::after,
|
||
|
.nav-links .dropdown:hover .dropdown-toggle::after {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.dropdown {
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.dropdown-toggle {
|
||
|
position: relative;
|
||
|
padding-left: 15px !important;
|
||
|
}
|
||
|
|
||
|
.dropdown-toggle::after {
|
||
|
content: '\f107';
|
||
|
font-family: 'Font Awesome 5 Free';
|
||
|
font-weight: 900;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.dropdown:hover .dropdown-toggle::after {
|
||
|
transform: translateY(-50%) rotate(180deg);
|
||
|
}
|
||
|
|
||
|
.dropdown-menu {
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
right: 0;
|
||
|
min-width: 220px;
|
||
|
background: rgba(255, 255, 255, 0.95);
|
||
|
backdrop-filter: blur(10px);
|
||
|
border-radius: 8px;
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
padding: 8px 0;
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(10px);
|
||
|
transition: all 0.3s ease;
|
||
|
z-index: 100;
|
||
|
border: 1px solid rgba(12, 129, 74, 0.1);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .dropdown-menu {
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
.dropdown:hover .dropdown-menu {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li {
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a {
|
||
|
display: block;
|
||
|
padding: 8px 20px;
|
||
|
color: var(--raisin-black);
|
||
|
font-size: 14px;
|
||
|
transition: all 0.2s ease;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a:hover {
|
||
|
background-color: rgba(12, 129, 74, 0.05);
|
||
|
color: var(--salem);
|
||
|
padding-right: 25px;
|
||
|
}
|
||
|
|
||
|
@media (max-width: 768px) {
|
||
|
.dropdown-menu {
|
||
|
position: static;
|
||
|
background: transparent;
|
||
|
box-shadow: none;
|
||
|
border: none;
|
||
|
padding-right: 15px;
|
||
|
min-width: auto;
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: none;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a {
|
||
|
padding: 5px 15px;
|
||
|
font-size: 13px;
|
||
|
}
|
||
|
|
||
|
.nav-links {
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.nav-links a,
|
||
|
.nav-links .dropdown-toggle {
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* Advanced Search Styles */
|
||
|
.search-results {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 10px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: rgba(255, 255, 255, 0.95);
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
display: none;
|
||
|
z-index: 1000;
|
||
|
backdrop-filter: blur(10px);
|
||
|
border: 1px solid rgba(12, 129, 74, 0.1);
|
||
|
max-height: 500px;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.search-results.active {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.search-filters {
|
||
|
padding: 15px;
|
||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.filter-group {
|
||
|
margin-bottom: 15px;
|
||
|
padding-bottom: 15px;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
.filter-group:last-child {
|
||
|
margin-bottom: 0;
|
||
|
padding-bottom: 0;
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.filter-group h3 {
|
||
|
margin: 0 0 10px;
|
||
|
font-size: 14px;
|
||
|
color: #666;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.category-filters {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.category-filter {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.category-filter input[type="checkbox"] {
|
||
|
margin-left: 6px;
|
||
|
}
|
||
|
|
||
|
.price-range {
|
||
|
display: flex;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.price-range input {
|
||
|
width: 100px;
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.sort-by {
|
||
|
width: 200px;
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
.search-results-list {
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
padding: 10px;
|
||
|
border-radius: 8px;
|
||
|
text-decoration: none;
|
||
|
color: #333;
|
||
|
transition: all 0.2s;
|
||
|
}
|
||
|
|
||
|
.result-item:hover {
|
||
|
background-color: #f8f9fa;
|
||
|
transform: translateX(-5px);
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 8px;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.result-info {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
margin: 0 0 5px;
|
||
|
font-size: 15px;
|
||
|
color: #333;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
margin: 0;
|
||
|
font-size: 13px;
|
||
|
color: #666;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
display: block;
|
||
|
margin-top: 5px;
|
||
|
color: #2ecc71;
|
||
|
font-weight: 600;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.search-filters {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 5px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 15px;
|
||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 15px;
|
||
|
z-index: 999;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.search-container:focus-within .search-filters {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Hero Section */
|
||
|
.hero {
|
||
|
position: relative;
|
||
|
height: 100vh;
|
||
|
background-image: linear-gradient(rgba(12, 129, 74, 0.3), rgba(37, 42, 22, 0.6)), url('../images/1.jpg');
|
||
|
background-size: cover;
|
||
|
background-position: center;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
color: white;
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
.hero-content {
|
||
|
position: relative;
|
||
|
z-index: 2;
|
||
|
max-width: 800px;
|
||
|
margin: 0 auto;
|
||
|
padding: 0 20px;
|
||
|
}
|
||
|
|
||
|
.hero-content h1 {
|
||
|
font-size: 4rem;
|
||
|
font-weight: 700;
|
||
|
margin-bottom: 20px;
|
||
|
line-height: 1.2;
|
||
|
}
|
||
|
|
||
|
.hero-content p {
|
||
|
font-size: 1.3rem;
|
||
|
margin-bottom: 40px;
|
||
|
line-height: 1.6;
|
||
|
}
|
||
|
|
||
|
.hero-buttons {
|
||
|
display: flex;
|
||
|
gap: 20px;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
/* Features Section */
|
||
|
.features {
|
||
|
padding: 80px 0;
|
||
|
background-color: var(--cultured);
|
||
|
}
|
||
|
|
||
|
.features-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||
|
gap: 30px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.feature-card {
|
||
|
padding: 30px;
|
||
|
background: white;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.feature-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
}
|
||
|
|
||
|
.feature-card i {
|
||
|
font-size: 40px;
|
||
|
color: var(--salem);
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
/* Section Headers */
|
||
|
.section-header {
|
||
|
text-align: center;
|
||
|
margin-bottom: 50px;
|
||
|
}
|
||
|
|
||
|
.section-header h2 {
|
||
|
font-size: 2.5rem;
|
||
|
color: var(--salem);
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.section-header p {
|
||
|
color: var(--raisin-black);
|
||
|
font-size: 1.1rem;
|
||
|
}
|
||
|
|
||
|
/* About Section */
|
||
|
.about {
|
||
|
padding: 100px 0;
|
||
|
background-color: var(--cultured);
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.about-content {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1fr;
|
||
|
gap: 50px;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.about-text {
|
||
|
font-size: 1.1rem;
|
||
|
line-height: 1.8;
|
||
|
}
|
||
|
|
||
|
.about-features {
|
||
|
list-style: none;
|
||
|
margin-top: 30px;
|
||
|
}
|
||
|
|
||
|
.about-features li {
|
||
|
margin-bottom: 15px;
|
||
|
padding-right: 30px;
|
||
|
position: relative;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.about-features li:before {
|
||
|
content: "✓";
|
||
|
color: var(--salem);
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.about-image {
|
||
|
position: relative;
|
||
|
border-radius: 15px;
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
||
|
}
|
||
|
|
||
|
.about-image img {
|
||
|
width: 100%;
|
||
|
height: 400px;
|
||
|
object-fit: cover;
|
||
|
transition: transform 0.5s ease;
|
||
|
}
|
||
|
|
||
|
.about-image:hover img {
|
||
|
transform: scale(1.05);
|
||
|
}
|
||
|
|
||
|
/* Products Section */
|
||
|
.products {
|
||
|
padding: 80px 0;
|
||
|
background-color: var(--cultured);
|
||
|
}
|
||
|
|
||
|
.products-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||
|
gap: 30px;
|
||
|
}
|
||
|
|
||
|
.product-card {
|
||
|
background: white;
|
||
|
border-radius: 15px;
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
|
||
|
transition: all 0.3s ease;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.product-card:hover {
|
||
|
transform: translateY(-10px);
|
||
|
box-shadow: 0 10px 30px rgba(12, 129, 74, 0.2);
|
||
|
}
|
||
|
|
||
|
.product-image {
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
height: 300px;
|
||
|
}
|
||
|
|
||
|
.product-image img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
transition: transform 0.5s ease;
|
||
|
}
|
||
|
|
||
|
.product-card:hover .product-image img {
|
||
|
transform: scale(1.1);
|
||
|
}
|
||
|
|
||
|
.product-info {
|
||
|
padding: 25px;
|
||
|
text-align: center;
|
||
|
background: white;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.product-info h3 {
|
||
|
color: var(--salem);
|
||
|
font-size: 1.5rem;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.product-features {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
gap: 15px;
|
||
|
margin: 15px 0;
|
||
|
}
|
||
|
|
||
|
.product-features span {
|
||
|
background-color: var(--spring-bud);
|
||
|
color: var(--salem);
|
||
|
padding: 5px 15px;
|
||
|
border-radius: 20px;
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
|
||
|
/* Product Category Pages */
|
||
|
.product-category-hero {
|
||
|
background-color: var(--salem);
|
||
|
color: white;
|
||
|
padding: 60px 0;
|
||
|
text-align: center;
|
||
|
margin-bottom: 40px;
|
||
|
}
|
||
|
|
||
|
.product-category-hero h1 {
|
||
|
font-size: 2.5rem;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.product-category-hero p {
|
||
|
font-size: 1.2rem;
|
||
|
max-width: 800px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.products-filter {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
margin-bottom: 30px;
|
||
|
flex-wrap: wrap;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.search-box {
|
||
|
position: relative;
|
||
|
flex: 1;
|
||
|
max-width: 400px;
|
||
|
}
|
||
|
|
||
|
.search-box input {
|
||
|
width: 100%;
|
||
|
padding: 12px 40px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 8px;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.search-box i {
|
||
|
position: absolute;
|
||
|
left: 15px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.sort-options select {
|
||
|
padding: 12px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 8px;
|
||
|
font-size: 16px;
|
||
|
min-width: 200px;
|
||
|
}
|
||
|
|
||
|
.products-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||
|
gap: 30px;
|
||
|
margin-bottom: 40px;
|
||
|
}
|
||
|
|
||
|
.product-card {
|
||
|
background: white;
|
||
|
border-radius: 12px;
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0 2px 15px rgba(0,0,0,0.1);
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.product-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
}
|
||
|
|
||
|
.product-image {
|
||
|
height: 200px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.product-image img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.product-info {
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.product-info h3 {
|
||
|
margin: 0 0 10px;
|
||
|
font-size: 1.2rem;
|
||
|
}
|
||
|
|
||
|
.product-info p {
|
||
|
color: #666;
|
||
|
margin-bottom: 15px;
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
|
||
|
.product-price {
|
||
|
font-size: 1.25rem;
|
||
|
font-weight: bold;
|
||
|
color: var(--salem);
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
/* Benefits Section */
|
||
|
.benefits {
|
||
|
padding: 80px 0;
|
||
|
}
|
||
|
|
||
|
.benefits-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||
|
gap: 30px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.benefit-card {
|
||
|
padding: 30px;
|
||
|
border-radius: 10px;
|
||
|
background: white;
|
||
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||
|
}
|
||
|
|
||
|
.benefit-card i {
|
||
|
font-size: 40px;
|
||
|
color: var(--salem);
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
/* Contact Section */
|
||
|
.contact {
|
||
|
padding: 80px 0;
|
||
|
background-color: var(--cultured);
|
||
|
}
|
||
|
|
||
|
.contact-info {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||
|
gap: 30px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.info-item {
|
||
|
padding: 30px;
|
||
|
background: white;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||
|
}
|
||
|
|
||
|
.info-item i {
|
||
|
font-size: 30px;
|
||
|
color: var(--salem);
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
/* Dropdown Menu Styles */
|
||
|
.dropdown {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.dropdown-toggle {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 5px;
|
||
|
}
|
||
|
|
||
|
.dropdown-toggle i {
|
||
|
font-size: 12px;
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.dropdown:hover .dropdown-toggle i {
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
|
|
||
|
.dropdown-menu {
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
right: 0;
|
||
|
background-color: #fff;
|
||
|
min-width: 200px;
|
||
|
border-radius: 8px;
|
||
|
box-shadow: 0 2px 15px rgba(0,0,0,0.1);
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(10px);
|
||
|
transition: all 0.3s ease;
|
||
|
z-index: 1000;
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
|
||
|
.dropdown:hover .dropdown-menu {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li {
|
||
|
display: block;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a {
|
||
|
display: block;
|
||
|
padding: 10px 20px;
|
||
|
color: #333;
|
||
|
transition: all 0.3s ease;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a:hover {
|
||
|
background-color: #f8f9fa;
|
||
|
color: #0c814a;
|
||
|
padding-right: 25px;
|
||
|
}
|
||
|
|
||
|
/* Mobile Responsive Dropdown */
|
||
|
@media (max-width: 768px) {
|
||
|
.dropdown-menu {
|
||
|
position: static;
|
||
|
background-color: #f8f9fa;
|
||
|
box-shadow: none;
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: none;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.dropdown.active .dropdown-menu {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.dropdown-menu li a {
|
||
|
padding: 10px 30px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* Footer */
|
||
|
footer {
|
||
|
background-color: var(--pine-tree);
|
||
|
color: white;
|
||
|
padding: 60px 0 20px;
|
||
|
}
|
||
|
|
||
|
.footer-content {
|
||
|
display: grid;
|
||
|
grid-template-columns: 2fr 1fr 1fr;
|
||
|
gap: 50px;
|
||
|
margin-bottom: 40px;
|
||
|
}
|
||
|
|
||
|
.footer-about img {
|
||
|
height: 40px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.footer-logo {
|
||
|
height: 50px;
|
||
|
width: auto;
|
||
|
filter: brightness(0) invert(1);
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.footer-links ul {
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
.footer-links li {
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.footer-links a {
|
||
|
color: white;
|
||
|
text-decoration: none;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.footer-links a:hover {
|
||
|
color: var(--spring-bud);
|
||
|
}
|
||
|
|
||
|
.social-links {
|
||
|
display: flex;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.social-links a {
|
||
|
color: white;
|
||
|
font-size: 20px;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.social-links a:hover {
|
||
|
color: var(--spring-bud);
|
||
|
}
|
||
|
|
||
|
.footer-bottom {
|
||
|
text-align: center;
|
||
|
padding-top: 20px;
|
||
|
border-top: 1px solid rgba(255,255,255,0.1);
|
||
|
}
|
||
|
|
||
|
/* Responsive Design */
|
||
|
@media (max-width: 768px) {
|
||
|
.nav-links {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background-color: white;
|
||
|
padding: 20px 0;
|
||
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||
|
flex-direction: column;
|
||
|
gap: 15px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.nav-links.active {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.nav-links a {
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.mobile-menu {
|
||
|
display: block;
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.navbar {
|
||
|
background-color: rgba(255, 255, 255, 0.95);
|
||
|
padding: 15px 0;
|
||
|
}
|
||
|
|
||
|
.hero-content h1 {
|
||
|
font-size: 2.5rem;
|
||
|
}
|
||
|
|
||
|
.hero-content p {
|
||
|
font-size: 1.1rem;
|
||
|
}
|
||
|
|
||
|
.about-content {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
|
||
|
.about-image {
|
||
|
order: -1;
|
||
|
}
|
||
|
|
||
|
.product-image {
|
||
|
height: 250px;
|
||
|
}
|
||
|
|
||
|
.about-image img {
|
||
|
height: 300px;
|
||
|
}
|
||
|
|
||
|
.footer-content {
|
||
|
grid-template-columns: 1fr;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.social-links {
|
||
|
justify-content: center;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* قسم المنتجات المميزة */
|
||
|
.featured-section {
|
||
|
padding: 60px 0;
|
||
|
background-color: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
.featured-products {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||
|
gap: 30px;
|
||
|
margin-top: 40px;
|
||
|
}
|
||
|
|
||
|
.product-card {
|
||
|
background: #fff;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
overflow: hidden;
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.product-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
}
|
||
|
|
||
|
.product-image {
|
||
|
position: relative;
|
||
|
height: 200px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.product-image img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.badge {
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
right: 10px;
|
||
|
background: #cddf96;
|
||
|
color: #333;
|
||
|
padding: 5px 10px;
|
||
|
border-radius: 4px;
|
||
|
font-size: 0.8em;
|
||
|
}
|
||
|
|
||
|
.product-info {
|
||
|
padding: 20px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.product-info h3 {
|
||
|
margin: 0 0 10px;
|
||
|
font-size: 1.2em;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.product-info p {
|
||
|
color: #666;
|
||
|
margin-bottom: 15px;
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
|
||
|
/* تحسينات الفوتر */
|
||
|
.footer-logo {
|
||
|
width: 120px;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.footer-about p {
|
||
|
line-height: 1.6;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.footer-links h4,
|
||
|
.footer-social h4 {
|
||
|
color: #cddf96;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.footer-links ul {
|
||
|
list-style: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.footer-links ul li {
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.footer-links ul li a {
|
||
|
color: #fff;
|
||
|
text-decoration: none;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.footer-links ul li a:hover {
|
||
|
color: #cddf96;
|
||
|
}
|
||
|
|
||
|
.social-links {
|
||
|
display: flex;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.social-links a {
|
||
|
color: #fff;
|
||
|
font-size: 20px;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.social-links a:hover {
|
||
|
color: #cddf96;
|
||
|
}
|
||
|
|
||
|
/* تحسينات عامة */
|
||
|
.btn {
|
||
|
background: #cddf96;
|
||
|
color: #333;
|
||
|
border: none;
|
||
|
padding: 10px 20px;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.btn:hover {
|
||
|
background: #bcd278;
|
||
|
transform: translateY(-2px);
|
||
|
}
|
||
|
|
||
|
/* قسم الشهادات */
|
||
|
.testimonials-section {
|
||
|
padding: 80px 0;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
.testimonials-slider {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
|
gap: 30px;
|
||
|
margin-top: 40px;
|
||
|
}
|
||
|
|
||
|
.testimonial-card {
|
||
|
background: #f9f9f9;
|
||
|
border-radius: 15px;
|
||
|
padding: 30px;
|
||
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.testimonial-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
}
|
||
|
|
||
|
.rating {
|
||
|
color: #ffd700;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.testimonial-content p {
|
||
|
font-size: 1.1em;
|
||
|
line-height: 1.6;
|
||
|
color: #555;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.testimonial-author {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.testimonial-author img {
|
||
|
width: 60px;
|
||
|
height: 60px;
|
||
|
border-radius: 50%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.author-info h4 {
|
||
|
margin: 0;
|
||
|
color: #333;
|
||
|
font-size: 1.1em;
|
||
|
}
|
||
|
|
||
|
.author-info span {
|
||
|
color: #666;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
/* قسم النشرة البريدية */
|
||
|
.newsletter-section {
|
||
|
padding: 60px 0;
|
||
|
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/newsletter-bg.jpg');
|
||
|
background-size: cover;
|
||
|
background-position: center;
|
||
|
color: #fff;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.newsletter-content {
|
||
|
max-width: 600px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.newsletter-content h2 {
|
||
|
margin-bottom: 20px;
|
||
|
font-size: 2em;
|
||
|
}
|
||
|
|
||
|
.newsletter-content p {
|
||
|
margin-bottom: 30px;
|
||
|
opacity: 0.9;
|
||
|
}
|
||
|
|
||
|
.newsletter-form .form-group {
|
||
|
display: flex;
|
||
|
gap: 10px;
|
||
|
max-width: 500px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.newsletter-form input[type="email"] {
|
||
|
flex: 1;
|
||
|
padding: 12px 20px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 8px;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.newsletter-form .btn {
|
||
|
padding: 12px 30px;
|
||
|
background: #cddf96;
|
||
|
color: #333;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.newsletter-form .btn:hover {
|
||
|
background: #bcd278;
|
||
|
transform: translateY(-2px);
|
||
|
}
|
||
|
|
||
|
@media (max-width: 768px) {
|
||
|
.newsletter-form .form-group {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.newsletter-form .btn {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* صفحة الأسئلة الشائعة */
|
||
|
.faq-section {
|
||
|
padding: 80px 0;
|
||
|
background-color: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
.faq-container {
|
||
|
max-width: 800px;
|
||
|
margin: 40px auto;
|
||
|
}
|
||
|
|
||
|
.faq-item {
|
||
|
background: #fff;
|
||
|
border-radius: 8px;
|
||
|
margin-bottom: 20px;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.faq-question {
|
||
|
padding: 20px;
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.faq-question:hover {
|
||
|
background-color: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
.faq-question h3 {
|
||
|
margin: 0;
|
||
|
font-size: 1.1em;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.faq-question i {
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.faq-item.active .faq-question i {
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
|
|
||
|
.faq-answer {
|
||
|
padding: 0 20px;
|
||
|
max-height: 0;
|
||
|
overflow: hidden;
|
||
|
transition: max-height 0.3s ease, padding 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.faq-item.active .faq-answer {
|
||
|
padding: 20px;
|
||
|
max-height: 1000px;
|
||
|
}
|
||
|
|
||
|
.faq-answer p {
|
||
|
margin: 0;
|
||
|
line-height: 1.6;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
/* صفحة البحث */
|
||
|
.search-section {
|
||
|
padding: 60px 0;
|
||
|
background-color: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
.search-container {
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.search-form {
|
||
|
background: #fff;
|
||
|
padding: 20px;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
|
||
|
.search-row {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.search-input input {
|
||
|
width: 100%;
|
||
|
padding: 15px 50px;
|
||
|
padding-left: 15px;
|
||
|
border: 2px solid #eee;
|
||
|
border-radius: 5px;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.search-btn {
|
||
|
position: absolute;
|
||
|
left: 10px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.filters {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||
|
gap: 20px;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
.filter-group {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
gap: 8px;
|
||
|
}
|
||
|
|
||
|
.filter-group label {
|
||
|
font-weight: bold;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.filter-group select,
|
||
|
.filter-group input {
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.price-range {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.price-range input {
|
||
|
width: 100px;
|
||
|
}
|
||
|
|
||
|
/* صفحة المدونة */
|
||
|
.blog-section {
|
||
|
padding: 80px 0;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
.blog-filters {
|
||
|
margin-bottom: 40px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.categories {
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
.category-btn {
|
||
|
padding: 8px 20px;
|
||
|
margin: 0 5px;
|
||
|
border: none;
|
||
|
border-radius: 20px;
|
||
|
background: #f0f0f0;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.category-btn.active,
|
||
|
.category-btn:hover {
|
||
|
background: #cddf96;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.blog-grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||
|
gap: 30px;
|
||
|
margin-bottom: 40px;
|
||
|
}
|
||
|
|
||
|
.blog-card {
|
||
|
background: #fff;
|
||
|
border-radius: 10px;
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
|
||
|
transition: transform 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.blog-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
}
|
||
|
|
||
|
.blog-image {
|
||
|
position: relative;
|
||
|
height: 200px;
|
||
|
}
|
||
|
|
||
|
.blog-image img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.blog-image .category {
|
||
|
position: absolute;
|
||
|
top: 15px;
|
||
|
right: 15px;
|
||
|
background: rgba(205, 223, 150, 0.9);
|
||
|
padding: 5px 15px;
|
||
|
border-radius: 20px;
|
||
|
color: #333;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.blog-content {
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.blog-content h2 {
|
||
|
margin: 0 0 15px;
|
||
|
font-size: 1.3em;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.blog-content p {
|
||
|
color: #666;
|
||
|
line-height: 1.6;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.blog-meta {
|
||
|
display: flex;
|
||
|
gap: 20px;
|
||
|
color: #888;
|
||
|
font-size: 0.9em;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.blog-meta i {
|
||
|
margin-left: 5px;
|
||
|
}
|
||
|
|
||
|
.read-more {
|
||
|
display: inline-block;
|
||
|
color: #333;
|
||
|
text-decoration: none;
|
||
|
font-weight: bold;
|
||
|
transition: color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.read-more:hover {
|
||
|
color: #cddf96;
|
||
|
}
|
||
|
|
||
|
.pagination {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.pagination button {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.pagination button:disabled {
|
||
|
opacity: 0.5;
|
||
|
cursor: not-allowed;
|
||
|
}
|
||
|
|
||
|
.current-page {
|
||
|
font-weight: bold;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
/* نظام المقارنة */
|
||
|
.comparison-tool {
|
||
|
margin-top: 30px;
|
||
|
padding: 20px;
|
||
|
background: #fff;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.comparison-list {
|
||
|
display: flex;
|
||
|
gap: 15px;
|
||
|
margin: 15px 0;
|
||
|
min-height: 100px;
|
||
|
padding: 10px;
|
||
|
background: #f9f9f9;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.comparison-item {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
padding: 10px;
|
||
|
background: #fff;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.comparison-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.comparison-item button {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.comparison-item button:hover {
|
||
|
color: #ff4444;
|
||
|
}
|
||
|
|
||
|
/* تحسينات SEO */
|
||
|
.meta-tags {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
/* تحسينات عامة */
|
||
|
@media (max-width: 768px) {
|
||
|
.filters {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
|
||
|
.blog-grid {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
|
||
|
.comparison-list {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* نظام التعليقات */
|
||
|
.comments-section {
|
||
|
margin-top: 40px;
|
||
|
padding: 20px;
|
||
|
background: #fff;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.comment-form {
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
|
||
|
.comment-form textarea {
|
||
|
width: 100%;
|
||
|
padding: 15px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 5px;
|
||
|
resize: vertical;
|
||
|
min-height: 100px;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.comment {
|
||
|
padding: 20px;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.comment:last-child {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.comment-header {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 15px;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.user-avatar {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
border-radius: 50%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.comment-info h4 {
|
||
|
margin: 0;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.comment-date {
|
||
|
color: #888;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.comment-content {
|
||
|
line-height: 1.6;
|
||
|
color: #555;
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.comment-actions {
|
||
|
display: flex;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.like-btn,
|
||
|
.reply-btn {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 5px;
|
||
|
}
|
||
|
|
||
|
.like-btn.liked {
|
||
|
color: #ff4444;
|
||
|
}
|
||
|
|
||
|
.reply-form {
|
||
|
margin-top: 15px;
|
||
|
padding-right: 55px;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.reply-form.active {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* سلة المشتريات */
|
||
|
.cart-container {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.cart-icon {
|
||
|
position: relative;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.cart-count {
|
||
|
position: absolute;
|
||
|
top: -8px;
|
||
|
right: -8px;
|
||
|
background: #ff4444;
|
||
|
color: white;
|
||
|
font-size: 0.8em;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
border-radius: 50%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.cart-dropdown {
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
left: 0;
|
||
|
width: 300px;
|
||
|
background: #fff;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 15px;
|
||
|
display: none;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.cart-dropdown.active {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.cart-item {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
padding: 10px 0;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
.cart-item:last-child {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.cart-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.item-details {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.item-details h4 {
|
||
|
margin: 0 0 5px;
|
||
|
font-size: 1em;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.item-price {
|
||
|
color: #666;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.quantity-controls {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
margin-top: 5px;
|
||
|
}
|
||
|
|
||
|
.quantity-controls button {
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
background: #fff;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.remove-item {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
.remove-item:hover {
|
||
|
color: #ff4444;
|
||
|
}
|
||
|
|
||
|
.cart-total {
|
||
|
margin-top: 15px;
|
||
|
padding-top: 15px;
|
||
|
border-top: 1px solid #eee;
|
||
|
text-align: left;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.empty-cart {
|
||
|
text-align: center;
|
||
|
color: #666;
|
||
|
padding: 20px 0;
|
||
|
}
|
||
|
|
||
|
.cart-notification {
|
||
|
position: fixed;
|
||
|
bottom: 20px;
|
||
|
left: 20px;
|
||
|
background: #cddf96;
|
||
|
color: #333;
|
||
|
padding: 10px 20px;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
transform: translateY(100px);
|
||
|
opacity: 0;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.cart-notification.show {
|
||
|
transform: translateY(0);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
/* تحسينات عامة */
|
||
|
@media (max-width: 768px) {
|
||
|
.cart-dropdown {
|
||
|
width: 100%;
|
||
|
position: fixed;
|
||
|
top: auto;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
border-radius: 10px 10px 0 0;
|
||
|
max-height: 80vh;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.reply-form {
|
||
|
padding-right: 20px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* نظام البحث الصوتي */
|
||
|
.voice-search-btn {
|
||
|
background: none;
|
||
|
border: none;
|
||
|
padding: 8px;
|
||
|
cursor: pointer;
|
||
|
color: #666;
|
||
|
transition: color 0.3s;
|
||
|
}
|
||
|
|
||
|
.voice-search-btn.listening {
|
||
|
color: #e74c3c;
|
||
|
animation: pulse 1.5s infinite;
|
||
|
}
|
||
|
|
||
|
.voice-notification {
|
||
|
position: fixed;
|
||
|
bottom: 20px;
|
||
|
right: 20px;
|
||
|
padding: 12px 24px;
|
||
|
background: #333;
|
||
|
color: white;
|
||
|
border-radius: 4px;
|
||
|
opacity: 0;
|
||
|
transform: translateY(20px);
|
||
|
transition: all 0.3s;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.voice-notification.show {
|
||
|
opacity: 1;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.voice-notification.error {
|
||
|
background: #e74c3c;
|
||
|
}
|
||
|
|
||
|
/* نظام المشاركة */
|
||
|
.share-menu {
|
||
|
position: absolute;
|
||
|
background: white;
|
||
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||
|
border-radius: 8px;
|
||
|
padding: 8px;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.share-option {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 8px 16px;
|
||
|
border: none;
|
||
|
background: none;
|
||
|
width: 100%;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s;
|
||
|
}
|
||
|
|
||
|
.share-option:hover {
|
||
|
background-color: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
.share-option i {
|
||
|
margin-left: 12px;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
|
||
|
.share-notification {
|
||
|
position: fixed;
|
||
|
bottom: 20px;
|
||
|
right: 20px;
|
||
|
padding: 12px 24px;
|
||
|
border-radius: 4px;
|
||
|
color: white;
|
||
|
opacity: 0;
|
||
|
transform: translateY(20px);
|
||
|
transition: all 0.3s;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.share-notification.success {
|
||
|
background: #2ecc71;
|
||
|
}
|
||
|
|
||
|
.share-notification.error {
|
||
|
background: #e74c3c;
|
||
|
}
|
||
|
|
||
|
.share-notification.show {
|
||
|
opacity: 1;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
/* نظام المراجعات */
|
||
|
.review-card {
|
||
|
background: white;
|
||
|
border-radius: 8px;
|
||
|
padding: 16px;
|
||
|
margin-bottom: 16px;
|
||
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||
|
}
|
||
|
|
||
|
.review-header {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: flex-start;
|
||
|
margin-bottom: 12px;
|
||
|
}
|
||
|
|
||
|
.reviewer-info {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.reviewer-avatar {
|
||
|
width: 48px;
|
||
|
height: 48px;
|
||
|
border-radius: 50%;
|
||
|
margin-left: 12px;
|
||
|
}
|
||
|
|
||
|
.review-rating {
|
||
|
color: #f1c40f;
|
||
|
margin: 4px 0;
|
||
|
}
|
||
|
|
||
|
.review-date {
|
||
|
color: #666;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.verified-badge {
|
||
|
display: inline-flex;
|
||
|
align-items: center;
|
||
|
color: #27ae60;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.verified-badge i {
|
||
|
margin-left: 4px;
|
||
|
}
|
||
|
|
||
|
.review-content {
|
||
|
margin: 12px 0;
|
||
|
line-height: 1.6;
|
||
|
}
|
||
|
|
||
|
.review-images {
|
||
|
display: flex;
|
||
|
gap: 8px;
|
||
|
margin-top: 12px;
|
||
|
overflow-x: auto;
|
||
|
padding-bottom: 8px;
|
||
|
}
|
||
|
|
||
|
.review-images img {
|
||
|
width: 80px;
|
||
|
height: 80px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 4px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.review-actions {
|
||
|
display: flex;
|
||
|
gap: 12px;
|
||
|
margin-top: 12px;
|
||
|
}
|
||
|
|
||
|
.helpful-btn,
|
||
|
.report-btn {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 6px 12px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
background: none;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
|
||
|
.helpful-btn:hover {
|
||
|
background: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
.report-btn:hover {
|
||
|
color: #e74c3c;
|
||
|
border-color: #e74c3c;
|
||
|
}
|
||
|
|
||
|
.helpful-count {
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
|
||
|
.review-filters {
|
||
|
display: flex;
|
||
|
gap: 8px;
|
||
|
margin-bottom: 16px;
|
||
|
}
|
||
|
|
||
|
.review-filter {
|
||
|
padding: 6px 12px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
background: #fff;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
|
||
|
.review-filter.active {
|
||
|
background: #2ecc71;
|
||
|
color: white;
|
||
|
border-color: #2ecc71;
|
||
|
}
|
||
|
|
||
|
.review-sort {
|
||
|
margin-bottom: 16px;
|
||
|
}
|
||
|
|
||
|
.image-modal {
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: rgba(0,0,0,0.8);
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.modal-content {
|
||
|
position: relative;
|
||
|
max-width: 90%;
|
||
|
max-height: 90%;
|
||
|
}
|
||
|
|
||
|
.modal-content img {
|
||
|
max-width: 100%;
|
||
|
max-height: 90vh;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.close-modal {
|
||
|
position: absolute;
|
||
|
top: -40px;
|
||
|
right: 0;
|
||
|
color: white;
|
||
|
background: none;
|
||
|
border: none;
|
||
|
font-size: 24px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
@keyframes pulse {
|
||
|
0% { transform: scale(1); }
|
||
|
50% { transform: scale(1.1); }
|
||
|
100% { transform: scale(1); }
|
||
|
}
|
||
|
|
||
|
/* تحديث أنماط قسم المراجعات */
|
||
|
.reviews-section {
|
||
|
padding: 40px;
|
||
|
background: #fff;
|
||
|
border-radius: 8px;
|
||
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||
|
margin: 20px 0;
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
.reviews-section h2 {
|
||
|
color: #333;
|
||
|
margin-bottom: 30px;
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
|
||
|
.review-summary {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: start;
|
||
|
margin-bottom: 30px;
|
||
|
padding: 20px;
|
||
|
background: #f8f9fa;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
|
||
|
.average-rating {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.average-rating h3 {
|
||
|
margin-bottom: 15px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.rating-value {
|
||
|
font-size: 48px;
|
||
|
font-weight: bold;
|
||
|
color: #2ecc71;
|
||
|
display: block;
|
||
|
margin: 10px 0;
|
||
|
}
|
||
|
|
||
|
.total-reviews {
|
||
|
color: #666;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.rating-breakdown {
|
||
|
flex: 1;
|
||
|
margin-right: 40px;
|
||
|
}
|
||
|
|
||
|
.rating-bar {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.rating-bar span {
|
||
|
min-width: 60px;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.rating-bar .progress {
|
||
|
flex: 1;
|
||
|
height: 8px;
|
||
|
background: #eee;
|
||
|
border-radius: 4px;
|
||
|
margin: 0 10px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.rating-bar .progress-bar {
|
||
|
height: 100%;
|
||
|
background: #2ecc71;
|
||
|
border-radius: 4px;
|
||
|
transition: width 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.review-controls {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
margin-bottom: 20px;
|
||
|
flex-wrap: wrap;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
.review-filters {
|
||
|
display: flex;
|
||
|
gap: 10px;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.review-filter {
|
||
|
padding: 8px 16px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 20px;
|
||
|
background: #fff;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.3s;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.review-filter:hover {
|
||
|
border-color: #2ecc71;
|
||
|
color: #2ecc71;
|
||
|
}
|
||
|
|
||
|
.review-filter.active {
|
||
|
background: #2ecc71;
|
||
|
color: white;
|
||
|
border-color: #2ecc71;
|
||
|
}
|
||
|
|
||
|
.review-sort {
|
||
|
padding: 8px 16px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 20px;
|
||
|
background: #fff;
|
||
|
color: #666;
|
||
|
cursor: pointer;
|
||
|
outline: none;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.review-form {
|
||
|
margin-top: 40px;
|
||
|
padding: 30px;
|
||
|
background: #f8f9fa;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
|
||
|
.review-form h3 {
|
||
|
margin-bottom: 20px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.rating-input-container {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.rating-input-container label {
|
||
|
display: block;
|
||
|
margin-bottom: 10px;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.rating-stars {
|
||
|
display: flex;
|
||
|
gap: 5px;
|
||
|
direction: ltr;
|
||
|
}
|
||
|
|
||
|
.rating-stars i {
|
||
|
font-size: 24px;
|
||
|
color: #ffd700;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.2s;
|
||
|
}
|
||
|
|
||
|
.rating-stars i:hover {
|
||
|
transform: scale(1.2);
|
||
|
}
|
||
|
|
||
|
.form-group {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.form-group label {
|
||
|
display: block;
|
||
|
margin-bottom: 10px;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.form-group textarea {
|
||
|
width: 100%;
|
||
|
min-height: 120px;
|
||
|
padding: 12px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 8px;
|
||
|
resize: vertical;
|
||
|
font-family: inherit;
|
||
|
}
|
||
|
|
||
|
.form-group input[type="file"] {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
padding: 8px;
|
||
|
border: 1px dashed #ddd;
|
||
|
border-radius: 8px;
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
.submit-review {
|
||
|
background: #2ecc71;
|
||
|
color: white;
|
||
|
padding: 12px 24px;
|
||
|
border: none;
|
||
|
border-radius: 20px;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.submit-review:hover {
|
||
|
background: #27ae60;
|
||
|
}
|
||
|
|
||
|
/* تحسينات للتجاوب مع الشاشات الصغيرة */
|
||
|
@media (max-width: 768px) {
|
||
|
.review-summary {
|
||
|
flex-direction: column;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.rating-breakdown {
|
||
|
margin-right: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.review-controls {
|
||
|
flex-direction: column;
|
||
|
align-items: stretch;
|
||
|
}
|
||
|
|
||
|
.review-filters {
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.review-sort {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* نظام البحث */
|
||
|
.search-section {
|
||
|
padding: 20px;
|
||
|
background: #fff;
|
||
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
|
||
|
.search-container {
|
||
|
position: relative;
|
||
|
max-width: 800px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
width: 100%;
|
||
|
padding: 15px 20px;
|
||
|
padding-left: 50px;
|
||
|
border: 2px solid #eee;
|
||
|
border-radius: 30px;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.search-input:focus {
|
||
|
outline: none;
|
||
|
border-color: #2ecc71;
|
||
|
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
.search-icon {
|
||
|
position: absolute;
|
||
|
left: 20px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.search-results {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 10px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 8px;
|
||
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
||
|
margin-top: 10px;
|
||
|
max-height: 400px;
|
||
|
overflow-y: auto;
|
||
|
z-index: 1000;
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(-10px);
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
|
||
|
.search-results.show {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.results-list {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
display: flex;
|
||
|
padding: 10px;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
text-decoration: none;
|
||
|
color: inherit;
|
||
|
transition: all 0.2s;
|
||
|
}
|
||
|
|
||
|
.result-item:last-child {
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.result-item:hover {
|
||
|
background-color: #f8f9fa;
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 60px;
|
||
|
height: 60px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 4px;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.result-info {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
margin: 0 0 5px;
|
||
|
font-size: 16px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
margin: 0;
|
||
|
font-size: 14px;
|
||
|
color: #666;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
display: block;
|
||
|
margin-top: 5px;
|
||
|
color: #2ecc71;
|
||
|
font-weight: bold;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.no-results,
|
||
|
.search-error {
|
||
|
padding: 30px;
|
||
|
text-align: center;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.no-results i,
|
||
|
.search-error i {
|
||
|
font-size: 24px;
|
||
|
margin-bottom: 10px;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.search-error i {
|
||
|
color: #e74c3c;
|
||
|
}
|
||
|
|
||
|
mark {
|
||
|
background: #fff3cd;
|
||
|
padding: 0 2px;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
|
||
|
/* فلاتر البحث */
|
||
|
.search-filters {
|
||
|
margin-top: 20px;
|
||
|
padding: 20px;
|
||
|
background: #f8f9fa;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
|
||
|
.filter-group {
|
||
|
margin-bottom: 20px;
|
||
|
padding-bottom: 20px;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
.filter-group:last-child {
|
||
|
margin-bottom: 0;
|
||
|
padding-bottom: 0;
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.filter-group h3 {
|
||
|
margin: 0 0 10px;
|
||
|
font-size: 16px;
|
||
|
color: #666;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.category-filters {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.category-filter {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.category-filter input[type="checkbox"] {
|
||
|
margin-left: 8px;
|
||
|
}
|
||
|
|
||
|
.price-range {
|
||
|
display: flex;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.price-range input {
|
||
|
width: 100px;
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.sort-by {
|
||
|
width: 200px;
|
||
|
padding: 8px;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 4px;
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
/* تحسينات للشاشات الصغيرة */
|
||
|
@media (max-width: 768px) {
|
||
|
.search-section {
|
||
|
padding: 15px;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
font-size: 14px;
|
||
|
padding: 12px 15px;
|
||
|
padding-left: 40px;
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
font-size: 13px;
|
||
|
}
|
||
|
|
||
|
.price-range {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.price-range input {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.sort-by {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* تحديث تنسيق البحث في الهيدر */
|
||
|
.header-search {
|
||
|
flex: 0 0 auto;
|
||
|
max-width: 300px;
|
||
|
margin: 0 30px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.search-container {
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
width: 100%;
|
||
|
padding: 8px 35px;
|
||
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||
|
border-radius: 20px;
|
||
|
background-color: rgba(255, 255, 255, 0.15);
|
||
|
font-family: var(--font-primary);
|
||
|
font-size: 14px;
|
||
|
color: var(--raisin-black);
|
||
|
transition: all 0.3s ease;
|
||
|
backdrop-filter: blur(5px);
|
||
|
}
|
||
|
|
||
|
.search-input::placeholder {
|
||
|
color: rgba(35, 31, 32, 0.7);
|
||
|
}
|
||
|
|
||
|
.search-input:focus {
|
||
|
outline: none;
|
||
|
background-color: rgba(255, 255, 255, 0.95);
|
||
|
border-color: var(--salem);
|
||
|
box-shadow: 0 0 0 2px rgba(12, 129, 74, 0.1);
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.search-icon {
|
||
|
position: absolute;
|
||
|
right: 12px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
color: var(--salem);
|
||
|
font-size: 14px;
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
|
||
|
.voice-search-btn {
|
||
|
position: absolute;
|
||
|
left: 10px;
|
||
|
top: 50%;
|
||
|
transform: translateY(-50%);
|
||
|
background: none;
|
||
|
border: none;
|
||
|
color: var(--salem);
|
||
|
cursor: pointer;
|
||
|
padding: 0;
|
||
|
font-size: 14px;
|
||
|
transition: all 0.3s ease;
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
|
||
|
.voice-search-btn:hover,
|
||
|
.search-input:focus + .search-icon {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.search-results {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 10px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 15px;
|
||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 10px;
|
||
|
max-height: 400px;
|
||
|
overflow-y: auto;
|
||
|
z-index: 1000;
|
||
|
opacity: 0;
|
||
|
visibility: hidden;
|
||
|
transform: translateY(-10px);
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
|
||
|
.search-results.show {
|
||
|
opacity: 1;
|
||
|
visibility: visible;
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
padding: 12px;
|
||
|
border-radius: 8px;
|
||
|
text-decoration: none;
|
||
|
color: #333;
|
||
|
transition: all 0.2s;
|
||
|
}
|
||
|
|
||
|
.result-item:hover {
|
||
|
background-color: #f8f9fa;
|
||
|
transform: translateX(-5px);
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
object-fit: cover;
|
||
|
border-radius: 8px;
|
||
|
margin-left: 15px;
|
||
|
}
|
||
|
|
||
|
.result-info {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
margin: 0 0 5px;
|
||
|
font-size: 15px;
|
||
|
color: #333;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
margin: 0;
|
||
|
font-size: 13px;
|
||
|
color: #666;
|
||
|
display: -webkit-box;
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
display: block;
|
||
|
margin-top: 5px;
|
||
|
color: #2ecc71;
|
||
|
font-weight: 600;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.search-filters {
|
||
|
position: absolute;
|
||
|
top: calc(100% + 5px);
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background: #fff;
|
||
|
border-radius: 15px;
|
||
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||
|
padding: 15px;
|
||
|
z-index: 999;
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.search-container:focus-within .search-filters {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.filter-group {
|
||
|
margin-bottom: 15px;
|
||
|
padding-bottom: 15px;
|
||
|
border-bottom: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
.filter-group:last-child {
|
||
|
margin-bottom: 0;
|
||
|
padding-bottom: 0;
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.filter-group h3 {
|
||
|
margin: 0 0 10px;
|
||
|
font-size: 14px;
|
||
|
color: #666;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.category-filters {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.category-filter {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
font-size: 13px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.category-filter input[type="checkbox"] {
|
||
|
margin-left: 6px;
|
||
|
}
|
||
|
|
||
|
/* تحسينات للشاشات الصغيرة */
|
||
|
@media (max-width: 768px) {
|
||
|
.header-search {
|
||
|
max-width: 100%;
|
||
|
margin: 10px 0;
|
||
|
}
|
||
|
|
||
|
.search-input {
|
||
|
font-size: 14px;
|
||
|
padding: 10px 40px;
|
||
|
}
|
||
|
|
||
|
.search-icon,
|
||
|
.voice-search-btn {
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.result-item {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.result-item img {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
}
|
||
|
|
||
|
.result-info h4 {
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.result-info p {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.result-info .price {
|
||
|
font-size: 13px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* تنسيق الشعار */
|
||
|
.logo {
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
|
||
|
.brand-name {
|
||
|
text-decoration: none;
|
||
|
font-size: 2rem;
|
||
|
font-weight: 700;
|
||
|
letter-spacing: 1px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 5px;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.brand-first {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.brand-second {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.brand-name:hover .brand-first {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.brand-name:hover .brand-second {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
/* تحسين حجم الشعار في الشاشات الصغيرة */
|
||
|
@media (max-width: 768px) {
|
||
|
.brand-name {
|
||
|
font-size: 1.5rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* تعديل لون الشعار عند التمرير */
|
||
|
.navbar.scrolled .brand-first,
|
||
|
.navbar.scrolled .brand-second {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-name:hover .brand-first {
|
||
|
color: var(--palm-leaf);
|
||
|
}
|
||
|
|
||
|
.navbar.scrolled .brand-name:hover .brand-second {
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
/* تنسيق أزرار التنقل */
|
||
|
.nav-actions {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 20px;
|
||
|
margin-right: 20px;
|
||
|
}
|
||
|
|
||
|
.account-btn,
|
||
|
.cart-btn {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 8px;
|
||
|
padding: 8px 15px;
|
||
|
border-radius: 20px;
|
||
|
background: transparent;
|
||
|
color: var(--raisin-black);
|
||
|
text-decoration: none;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.account-btn:hover,
|
||
|
.cart-btn:hover {
|
||
|
background: rgba(12, 129, 74, 0.1);
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
.account-btn i,
|
||
|
.cart-btn i {
|
||
|
font-size: 1.2rem;
|
||
|
}
|
||
|
|
||
|
.btn-text {
|
||
|
font-size: 0.9rem;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
/* تنسيق سلة التسوق */
|
||
|
.shopping-cart {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.cart-count {
|
||
|
position: absolute;
|
||
|
top: -5px;
|
||
|
right: -5px;
|
||
|
background: var(--salem);
|
||
|
color: white;
|
||
|
font-size: 0.7rem;
|
||
|
font-weight: bold;
|
||
|
width: 18px;
|
||
|
height: 18px;
|
||
|
border-radius: 50%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
/* تنسيق قائمة الحساب المنسدلة */
|
||
|
.user-account {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.account-dropdown {
|
||
|
position: absolute;
|
||
|
top: 100%;
|
||
|
left: 0;
|
||
|
background: white;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
min-width: 200px;
|
||
|
padding: 10px 0;
|
||
|
display: none;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
|
||
|
.user-account:hover .account-dropdown {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.account-dropdown a {
|
||
|
display: block;
|
||
|
padding: 8px 20px;
|
||
|
color: var(--raisin-black);
|
||
|
text-decoration: none;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.account-dropdown a:hover {
|
||
|
background: rgba(12, 129, 74, 0.1);
|
||
|
color: var(--salem);
|
||
|
}
|
||
|
|
||
|
/* تحسينات للتجاوب مع الشاشات الصغيرة */
|
||
|
@media (max-width: 768px) {
|
||
|
.nav-actions {
|
||
|
margin: 10px 0;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.btn-text {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.account-btn,
|
||
|
.cart-btn {
|
||
|
padding: 8px;
|
||
|
}
|
||
|
|
||
|
.account-dropdown {
|
||
|
left: auto;
|
||
|
right: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* قسم العروض الخاصة */
|
||
|
.special-offers {
|
||
|
padding: 60px 0;
|
||
|
background: linear-gradient(to bottom, #fff, var(--cultured));
|
||
|
}
|
||
|
|
||
|
.offers-grid {
|
||
|
display: grid;
|
||
|
gap: 30px;
|
||
|
margin-top: 40px;
|
||
|
}
|
||
|
|
||
|
/* العرض الرئيسي */
|
||
|
.main-offer {
|
||
|
grid-column: 1 / -1;
|
||
|
}
|
||
|
|
||
|
.offer-card {
|
||
|
background: white;
|
||
|
border-radius: 15px;
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||
|
position: relative;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
.offer-card:hover {
|
||
|
transform: translateY(-5px);
|
||
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
||
|
}
|
||
|
|
||
|
.offer-card.featured {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1fr;
|
||
|
gap: 30px;
|
||
|
}
|
||
|
|
||
|
.offer-badge {
|
||
|
position: absolute;
|
||
|
top: 20px;
|
||
|
right: 20px;
|
||
|
background: var(--salem);
|
||
|
color: white;
|
||
|
padding: 8px 15px;
|
||
|
border-radius: 20px;
|
||
|
font-size: 0.9rem;
|
||
|
font-weight: 500;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.offer-card img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
}
|
||
|
|
||
|
.offer-content {
|
||
|
padding: 25px;
|
||
|
}
|
||
|
|
||
|
.offer-card.featured .offer-content {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.offer-content h3 {
|
||
|
font-size: 1.5rem;
|
||
|
margin-bottom: 10px;
|
||
|
color: var(--raisin-black);
|
||
|
}
|
||
|
|
||
|
.offer-content p {
|
||
|
color: #666;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.price {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 15px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.old-price {
|
||
|
color: #999;
|
||
|
text-decoration: line-through;
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
|
||
|
.new-price {
|
||
|
color: var(--salem);
|
||
|
font-size: 1.4rem;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* العروض الفرعية */
|
||
|
.offers-list {
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(3, 1fr);
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.offers-list .offer-card {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.offers-list .offer-card img {
|
||
|
height: 200px;
|
||
|
}
|
||
|
|
||
|
/* شريط العروض المتحرك */
|
||
|
.offers-ticker {
|
||
|
grid-column: 1 / -1;
|
||
|
background: var(--salem);
|
||
|
border-radius: 10px;
|
||
|
padding: 15px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.ticker-content {
|
||
|
display: flex;
|
||
|
gap: 50px;
|
||
|
animation: ticker 20s linear infinite;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.ticker-content span {
|
||
|
color: white;
|
||
|
font-size: 1rem;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
@keyframes ticker {
|
||
|
0% {
|
||
|
transform: translateX(100%);
|
||
|
}
|
||
|
100% {
|
||
|
transform: translateX(-100%);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* تحسين التجاوب مع الشاشات الصغيرة */
|
||
|
@media (max-width: 992px) {
|
||
|
.offer-card.featured {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
|
||
|
.offers-list {
|
||
|
grid-template-columns: repeat(2, 1fr);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 768px) {
|
||
|
.offers-list {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
|
||
|
.offer-content h3 {
|
||
|
font-size: 1.3rem;
|
||
|
}
|
||
|
|
||
|
.new-price {
|
||
|
font-size: 1.2rem;
|
||
|
}
|
||
|
}
|