2962 lines
54 KiB
CSS
2962 lines
54 KiB
CSS
:root {
|
|
/* Color palette */
|
|
--color-white: #ffffff;
|
|
--color-off-white: #f8f8f8;
|
|
--color-light-gray: #f5f5f5;
|
|
--color-lighter-gray: #f9f9f9;
|
|
--color-gray: #dddddd;
|
|
--color-medium-gray: #cccccc;
|
|
--color-dark-gray: #7f8c8d;
|
|
--color-darker-gray: #666666;
|
|
--color-text-gray: #555555;
|
|
--color-text-dark: #444444;
|
|
--color-black: #000000;
|
|
|
|
/* Brand colors */
|
|
--color-primary: #ff6f00;
|
|
--color-primary-dark: #e56200;
|
|
--color-primary-darker: #d35400;
|
|
--color-secondary: #e67e22;
|
|
--color-accent: #2c4b7c;
|
|
--color-dark-blue: #1f3d6b;
|
|
--color-dark-text: #333333;
|
|
--color-heading: #2c3e50;
|
|
|
|
/* UI colors */
|
|
--color-shadow: rgba(0, 0, 0, 0.1);
|
|
--color-modal-bg: rgba(0, 0, 0, 0.9);
|
|
--color-slider-nav-bg: rgba(255, 255, 255, 0.7);
|
|
--color-star: goldenrod;
|
|
|
|
/* New Colors from the rest of the CSS */
|
|
--color-loading-bg: rgba(255, 255, 255, 0.8);
|
|
--color-progress-bg: #f0f0f0;
|
|
--color-progress-bar: #4CAF50;
|
|
--color-filter-border: #e0e0e0;
|
|
--color-filter-section-heading: #333;
|
|
--color-filter-option-border: #eee;
|
|
--color-green: #1e7b4d;
|
|
--color-blue: #1a5276;
|
|
--color-brown: #6e4c1e;
|
|
--color-rpp-line: #BBBBBB;
|
|
--color-checked-before-bg: #03337a;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Top Info Bar */
|
|
.top-info-bar {
|
|
background-color: var(--color-off-white);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 5px 20px;
|
|
font-size: 12px; /* Smaller font size */
|
|
color: var(--color-text-gray);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.top-info-bar div {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 3px 10px;
|
|
}
|
|
|
|
.top-info-bar i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.star-rating {
|
|
color: var(--color-star);
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background-color: var(--color-white);
|
|
padding: 15px 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 2px 10px var(--color-shadow);
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo img {
|
|
height: 40px;
|
|
}
|
|
|
|
/* Navigation */
|
|
nav {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links li {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
color: var(--color-dark-text);
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 14px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.header-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-icons a {
|
|
margin-left: 20px;
|
|
color: var(--color-dark-text);
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
position: relative;
|
|
}
|
|
|
|
.cart-count {
|
|
background-color: var(--color-primary);
|
|
color: var(--color-white);
|
|
font-size: 12px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: -8px;
|
|
right: -8px;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
background-image: url('../../custom/assets/header.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
height: 500px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
max-width: 1200px; /* Match container max-width to constrain image */
|
|
margin: 0 auto; /* Center the hero section */
|
|
}
|
|
|
|
.hero-content {
|
|
padding: 0 50px;
|
|
max-width: 50%;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.hero h1 {
|
|
color: var(--color-white);
|
|
font-size: 42px;
|
|
line-height: 1.2;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero-btn {
|
|
background-color: var(--color-primary);
|
|
color: var(--color-white);
|
|
text-decoration: none;
|
|
padding: 12px 24px;
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.hero-btn:hover {
|
|
background-color: var(--color-primary-dark);
|
|
}
|
|
|
|
/* Store Description */
|
|
.store-description {
|
|
text-align: center;
|
|
padding: 50px 20px;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.store-description p {
|
|
font-size: 20px;
|
|
line-height: 1.6;
|
|
color: var(--color-text-dark);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.highlighted {
|
|
font-weight: bold;
|
|
color: var(--color-accent); /* Updated to dark blue to match the example */
|
|
}
|
|
|
|
.orange-text {
|
|
color: var(--color-primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Mobile Menu */
|
|
.hamburger {
|
|
display: none;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.mobile-menu {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--color-modal-bg);
|
|
z-index: 100;
|
|
padding: 20px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.close-menu {
|
|
align-self: flex-end;
|
|
color: var(--color-white);
|
|
font-size: 24px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.mobile-nav-links {
|
|
list-style: none;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.mobile-nav-links li {
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.mobile-nav-links a {
|
|
color: var(--color-white);
|
|
font-size: 20px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mobile-menu-open {
|
|
display: flex;
|
|
animation: fadeIn 0.3s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 992px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.hamburger {
|
|
display: block;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 70%;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.top-info-bar {
|
|
justify-content: center;
|
|
}
|
|
|
|
.top-info-bar div {
|
|
margin: 3px 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.hero {
|
|
height: 400px;
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 100%;
|
|
padding: 0 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.store-description p {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
header {
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.logo img {
|
|
height: 30px;
|
|
}
|
|
|
|
.hero {
|
|
height: 300px;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.hero-btn {
|
|
padding: 10px 20px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.store-description {
|
|
padding: 30px 15px;
|
|
}
|
|
|
|
.store-description p {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* Language Selector */
|
|
.language-selector {
|
|
position: relative;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.language-btn {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.language-btn i {
|
|
margin-left: 5px;
|
|
font-size: 12px;
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
.flag-icon {
|
|
width: 20px;
|
|
height: 15px;
|
|
border-radius: 2px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.language-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
background-color: var(--color-white);
|
|
box-shadow: 0 5px 15px var(--color-shadow);
|
|
border-radius: 4px;
|
|
min-width: 140px;
|
|
display: none;
|
|
z-index: 20;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.language-dropdown.show {
|
|
display: block;
|
|
}
|
|
|
|
.language-dropdown a {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 15px;
|
|
text-decoration: none;
|
|
color: var(--color-dark-text);
|
|
font-size: 14px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.language-dropdown a span {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.language-dropdown a:hover {
|
|
background-color: var(--color-off-white);
|
|
}
|
|
|
|
.language-dropdown a.active {
|
|
font-weight: bold;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Show dropdown on hover */
|
|
.language-selector:hover .language-dropdown {
|
|
display: block;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.language-selector {
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.flag-icon {
|
|
width: 18px;
|
|
height: 14px;
|
|
}
|
|
}
|
|
|
|
.watches-section {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px 15px;
|
|
background-color: var(--color-lighter-gray);
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 16px;
|
|
color: var(--color-heading);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 14px;
|
|
color: var(--color-dark-gray);
|
|
font-weight: normal;
|
|
}
|
|
|
|
.product-slider {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 0 30px;
|
|
}
|
|
|
|
.product-container-slider {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-card-slider {
|
|
flex: 0 0 calc(25% - 15px);
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
.product-card-slider a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.product-image-slider {
|
|
width: 70%;
|
|
margin-bottom: 15px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-image-slider:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.product-name-slider {
|
|
font-size: 12px;
|
|
color: var(--color-heading);
|
|
margin-bottom: 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.product-price-slider {
|
|
font-size: 12px;
|
|
color: var(--color-dark-gray);
|
|
}
|
|
|
|
.slider-nav {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: var(--color-slider-nav-bg);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border: 1px solid var(--color-gray);
|
|
font-size: 20px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.prev-btn {
|
|
left: -10px;
|
|
}
|
|
|
|
.next-btn {
|
|
right: -10px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media screen and (max-width: 992px) {
|
|
.product-card-slider {
|
|
flex: 0 0 calc(33.333% - 15px);
|
|
}
|
|
.product-container {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.product-card-slider {
|
|
flex: 0 0 calc(50% - 15px);
|
|
}
|
|
.section-title {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.product-card-slider {
|
|
flex: 0 0 100%;
|
|
}
|
|
.product-slider {padding: 0 10px;
|
|
}
|
|
.slider-nav {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
|
|
/* Features section */
|
|
.features {
|
|
padding: 50px 0;
|
|
}
|
|
|
|
.features-container {
|
|
display: flex;
|
|
flex-direction: row; /* Ensure items are in a row on larger screens */
|
|
justify-content: space-between;
|
|
gap: 30px;
|
|
}
|
|
|
|
.feature-item {
|
|
flex: 1;
|
|
padding: 0 0px 10px 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: solid 2px var(--color-dark-blue);
|
|
}
|
|
|
|
.feature-item h2 {
|
|
color: var(--color-dark-blue);
|
|
font-size: 1.5rem;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.feature-item p {
|
|
color: var(--color-darker-gray);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.feature-divider {
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: var(--color-dark-blue);
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.divider{
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: var(--color-white);
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.watch-ad-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.top-section {
|
|
position: relative;
|
|
height: 400px;
|
|
background-image: url('../../custom/assets/watchad1.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.watch-image {
|
|
width: 70%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.watch-image img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.top-content {
|
|
width: 30%;
|
|
text-align: right;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.top-content h2 {
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.bottom-section {
|
|
position: relative;
|
|
height: 350px;
|
|
background-image: url('../../custom/assets/watchad2.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
.bottom-content {
|
|
width: 60%;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.bottom-content h2 {
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
margin-bottom: 20px;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background-color: var(--color-primary);
|
|
color: var(--color-white);
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Newsletter section */
|
|
.newsletter {
|
|
background-color: var(--color-lighter-gray);
|
|
padding: 50px 0;
|
|
}
|
|
|
|
.newsletter-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.newsletter-text {
|
|
flex: 0 0 30%;
|
|
padding-right: 30px;
|
|
}
|
|
|
|
.newsletter-text h2 {
|
|
color: var(--color-dark-blue);
|
|
font-size: 2rem;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.newsletter-text p {
|
|
color: var(--color-darker-gray);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.newsletter-form {
|
|
flex: 0 0 70%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.form-group {
|
|
flex: 1 1 200px;
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
border: 1px solid var(--color-gray);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.checkbox-group {
|
|
flex: 0 0 100%;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.btn-submit {
|
|
background-color: var(--color-secondary);
|
|
color: var(--color-white);
|
|
border: none;
|
|
padding: 12px 25px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-submit:hover {
|
|
background-color: var(--color-primary-darker);
|
|
}
|
|
|
|
/* Footer section */
|
|
.footer {
|
|
background-color: var(--color-light-gray);
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.footer-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-info {
|
|
flex: 1 1 300px;
|
|
}
|
|
|
|
.footer-info h3 {
|
|
color: var(--color-dark-blue);
|
|
font-size: 1.5rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.footer-info p {
|
|
color: var(--color-darker-gray);
|
|
font-size: 0.9rem;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.social-icons {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.social-icon {
|
|
color: var(--color-dark-blue);
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.footer-bottom {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.copyright {
|
|
color: var(--color-darker-gray);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: 20px;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--color-darker-gray);
|
|
text-decoration: none;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.payment-methods {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.payment-method {
|
|
height: 30px;
|
|
width: auto;
|
|
}
|
|
|
|
/* Responsive styles */
|
|
@media (max-width: 992px) {
|
|
.newsletter-text {
|
|
flex: 0 0 100%;
|
|
margin-bottom: 30px;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.newsletter-form {
|
|
flex: 0 0 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.features-container {
|
|
flex-direction: column; /* Stack vertically on smaller screens */
|
|
}
|
|
|
|
.feature-item {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.footer-info, .social-icons, .copyright, .footer-links {
|
|
flex: 0 0 100%;
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.social-icons {
|
|
justify-content: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.footer-links {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.loading-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--color-loading-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.3s, visibility 0.3s;
|
|
}
|
|
|
|
.loading-container.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.loading-bar {
|
|
width: 200px;
|
|
height: 10px;
|
|
background-color: var(--color-progress-bg);
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 5px var(--color-shadow);
|
|
}
|
|
|
|
.progress {
|
|
height: 100%;
|
|
width: 0%;
|
|
background-color: var(--color-progress-bar);
|
|
animation: progressAnimation 2s infinite ease-in-out;
|
|
}
|
|
|
|
.loading-text {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
color: var(--color-text-dark);
|
|
}
|
|
|
|
@keyframes progressAnimation {
|
|
0% { width: 0%; }
|
|
50% { width: 100%; }
|
|
100% { width: 0%; }
|
|
}
|
|
|
|
/* Hide the loading bar when page is loaded */
|
|
.loaded .loading-container {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* Main Container */
|
|
.filtersection {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
box-shadow: 0 1px 3px var(--color-shadow);
|
|
background: var(--color-white);
|
|
border-radius: 12px;
|
|
margin-bottom: 50px;
|
|
padding: 10px;
|
|
width: 95%;
|
|
}
|
|
|
|
/* Filter Section */
|
|
.filter-section {
|
|
width: 250px;
|
|
padding: 20px;
|
|
border-right: 1px solid var(--color-filter-border);
|
|
}
|
|
|
|
.filter-section h2 {
|
|
margin-bottom: 15px;
|
|
color: var(--color-filter-section-heading);
|
|
}
|
|
|
|
.filter-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.filter-group label {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.filter-group input[type="checkbox"] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.filtersection {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.filter-section {
|
|
width: 100%;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--color-filter-border);
|
|
}
|
|
}
|
|
|
|
|
|
.filters-products-container {
|
|
display: flex;
|
|
gap: 30px;
|
|
}
|
|
|
|
.filters {
|
|
width: 250px;
|
|
background: var(--color-white);
|
|
padding: 20px;
|
|
}
|
|
|
|
.filter-section {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.filter-section h3 {
|
|
font-size: 16px;
|
|
margin-bottom: 15px;
|
|
color: var(--color-heading);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.filter-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-option input {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.filter-option label {
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.color-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.color-option {
|
|
width: 25px;
|
|
height: 25px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 3px var(--color-shadow);
|
|
}
|
|
|
|
.color-green {
|
|
background-color: var(--color-green);
|
|
}
|
|
|
|
.color-blue {
|
|
background-color: var(--color-blue);
|
|
}
|
|
|
|
.color-black {
|
|
background-color: var(--color-black);
|
|
}
|
|
|
|
.color-brown {
|
|
background-color: var(--color-brown);
|
|
}
|
|
|
|
.price-range {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.price-inputs {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.price-inputs input {
|
|
width: 80px;
|
|
padding: 5px;
|
|
border: 1px solid var(--color-gray);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.products {
|
|
flex: 1;
|
|
}
|
|
|
|
.product-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 30px;
|
|
}
|
|
|
|
.product-card {
|
|
background: var(--color-white);
|
|
flex: 0 0 calc(25% - 15px);
|
|
text-align: center;
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-card a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.product-image {
|
|
height: 200px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
background: var(--color-lighter-gray);
|
|
}
|
|
|
|
.product-image img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.product-info {
|
|
padding: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.product-title {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
color: var(--color-heading);
|
|
}
|
|
|
|
.product-description {
|
|
font-size: 14px;
|
|
color: var(--color-darker-gray);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.product-price {
|
|
font-weight: 600;
|
|
color: var(--color-heading);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.view-button {
|
|
display: inline-block;
|
|
padding: 8px 20px;
|
|
background-color: var(--color-heading);
|
|
color: var(--color-white);
|
|
text-decoration: none;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.view-button:hover {
|
|
background-color: var(--color-dark-blue);
|
|
}
|
|
|
|
.filter-button {
|
|
display: none;
|
|
width: 100%;
|
|
padding: 10px;
|
|
background-color: var(--color-heading);
|
|
color: var(--color-white);
|
|
border: none;
|
|
border-radius: 3px;
|
|
margin-bottom: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.filters-products-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.filters {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
display: none;
|
|
}
|
|
|
|
.filters.show {
|
|
display: block;
|
|
}
|
|
|
|
.filter-button {
|
|
display: block;
|
|
}
|
|
|
|
.product-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
}
|
|
|
|
.products_name {
|
|
color: var(--color-text-gray);
|
|
font-size: 15px;
|
|
max-width: 169px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.products_price {
|
|
color: var(--color-text-gray);
|
|
display: block;
|
|
text-align: center;
|
|
font-size:15px;
|
|
}
|
|
|
|
.products_rpp{
|
|
color: var(--color-rpp-line);
|
|
text-decoration: line-through;
|
|
}
|
|
:checked+.picture_select {
|
|
border-color: var(--color-medium-gray);
|
|
}
|
|
|
|
:checked+.picture_select::before {
|
|
content: "✓";
|
|
background-color: var(--color-checked-before-bg);
|
|
transform: scale(1);
|
|
}
|
|
|
|
:checked+.picture_select img {
|
|
transform: scale(0.9);
|
|
box-shadow: 0 0 5px var(--color-dark-text); /* Using an existing dark text color for shadow */
|
|
}
|
|
|
|
.img_config {
|
|
border-radius:5px;
|
|
width: 25px;
|
|
height: 25px;
|
|
margin: 1px;
|
|
}
|
|
|
|
.stock p {
|
|
font-size: 10px;
|
|
margin: auto;
|
|
padding: 5px;
|
|
width: fit-content;
|
|
border-radius: 5px;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.stock p:before {
|
|
content : '\1F4E6';
|
|
}
|
|
|
|
.delivery p {
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
margin: 10px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.delivery p:before {
|
|
content : '\26DF';
|
|
}
|
|
|
|
|
|
/* Main Product Container */
|
|
.product.content-wrapper {
|
|
max-width: 1200px;
|
|
margin: 2rem auto;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 3rem;
|
|
padding: 0 1.5rem;
|
|
background-color: #fff;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Product Images Section */
|
|
.product-imgs {
|
|
position: relative;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.product-img-large {
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
background-color: #f8f8f8;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.product-img-large img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-img-large:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.product-small-imgs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.product-img-small {
|
|
width: calc(25% - 0.75rem);
|
|
cursor: pointer;
|
|
position: relative;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
border: 2px solid transparent;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.product-img-small:hover {
|
|
border-color: #1a3a5f;
|
|
}
|
|
|
|
.product-img-small img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Product Info Section */
|
|
.product-wrapper {
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.breadcrum {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
}
|
|
|
|
.breadcrum a {
|
|
color: #1a3a5f;
|
|
text-decoration: none;
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
.breadcrum a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.breadcrum p {
|
|
margin: 0;
|
|
}
|
|
|
|
h1.name {
|
|
color: #1a3a5f;
|
|
font-size: 2.rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 1px solid #eee;
|
|
padding-bottom: 0.75rem;
|
|
}
|
|
|
|
/* Price & Stock */
|
|
.prices {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.price {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
color: #1a3a5f;
|
|
display: block;
|
|
}
|
|
|
|
.stock {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.stock p {
|
|
display: inline-block;
|
|
background-color: rgba(0, 128, 0, 0.1);
|
|
border-radius: 4px;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
/* Form Elements */
|
|
#product-form {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
#product-form label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 0.75rem;
|
|
color: #333;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.radio-checkbox {
|
|
display: flex;
|
|
margin-bottom: 2rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.picture_select_label > input[type="checkbox"] {
|
|
display: none;
|
|
}
|
|
|
|
.picture_select_label > input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
.picture_select {
|
|
display: block;
|
|
position: relative;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.picture_select::before {
|
|
|
|
color: white;
|
|
content: " ";
|
|
display: block;
|
|
border-radius: 50%;
|
|
border: 1px solid #03337a;
|
|
position: absolute;
|
|
top: -5px;
|
|
left: -5px;
|
|
width: 25px;
|
|
height: 25px;
|
|
text-align: center;
|
|
line-height: 28px;
|
|
transition-duration: 0.4s;
|
|
transform: scale(0);
|
|
z-index:1
|
|
}
|
|
|
|
.picture_select img {
|
|
height: 50px;
|
|
width: 50px;
|
|
transition-duration: 0.2s;
|
|
transform-origin: 50% 50%;
|
|
}
|
|
|
|
:checked+.picture_select {
|
|
border-color: #ddd;
|
|
}
|
|
|
|
.picture_select_label input[type="radio"]:checked + .picture_select {
|
|
border-color: #1a3a5f;
|
|
box-shadow: 0 0 0 2px rgba(26, 58, 95, 0.3);
|
|
}
|
|
|
|
.picture_select_label:hover .picture_select {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
input[type="number"] {
|
|
width: 100px;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
input[type="submit"].btn {
|
|
background-color: var(--color-secondary);
|
|
color: var(--color-white);
|
|
border: none;
|
|
padding: 1rem 2rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
width: 100%;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
input[type="submit"].btn:hover {
|
|
background-color: #0e2a4d;
|
|
}
|
|
|
|
/* Product Description */
|
|
.description {
|
|
margin-top: 3rem;
|
|
border-top: 1px solid #eee;
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
.description p {
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.description h3 {
|
|
color: #1a3a5f;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.description ul {
|
|
list-style-position: inside;
|
|
margin-bottom: 2rem;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
.description li {
|
|
margin-bottom: 0.5rem;
|
|
position: relative;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 992px) {
|
|
.product.content-wrapper {
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.product-img-large {
|
|
max-height: 500px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
h1.name {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.price {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.product-small-imgs {
|
|
justify-content: center;
|
|
}
|
|
|
|
.product-img-small {
|
|
width: calc(20% - 0.75rem);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.product.content-wrapper {
|
|
margin: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.product-imgs, .product-wrapper {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.radio-checkbox {
|
|
justify-content: center;
|
|
}
|
|
|
|
.product-img-small {
|
|
width: calc(33.33% - 0.75rem);
|
|
}
|
|
}
|
|
|
|
/* Additional Enhancements */
|
|
/* Add smooth transition for image gallery */
|
|
.product-img-large {
|
|
position: relative;
|
|
}
|
|
|
|
.product-img-large::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 30%;
|
|
background: linear-gradient(to top, rgba(248, 248, 248, 0.5), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Style for hover effects on navigation */
|
|
.breadcrum a {
|
|
position: relative;
|
|
}
|
|
|
|
.breadcrum a::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -2px;
|
|
width: 0;
|
|
height: 1px;
|
|
background-color: #1a3a5f;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.breadcrum a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Add subtle animation to the add to cart button */
|
|
input[type="submit"].btn {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
input[type="submit"].btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
input[type="submit"].btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
/* Brand-Specific Luxury Shopping Cart Styles */
|
|
|
|
/* Global Reset and Base Styles */
|
|
.cart.content-wrapper {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
color: var(--color-text-dark);
|
|
background-color: var(--color-white);
|
|
border: 1px solid var(--color-gray);
|
|
box-shadow: 0 4px 12px var(--color-shadow);
|
|
margin-top: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* Header Styles */
|
|
.cart-container {
|
|
max-width: 1200px;
|
|
margin: 2rem auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.cart-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.cart-header h1 {
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.continue-shopping {
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: var(--border-radius);
|
|
background-color: var(--white);
|
|
border: 1px solid var(--border-color);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.continue-shopping:hover {
|
|
background-color: var(--light-gray);
|
|
}
|
|
|
|
/* Table Styles */
|
|
.cart table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 2rem;
|
|
border: none;
|
|
}
|
|
|
|
.cart thead td {
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 1px;
|
|
padding: 1rem 0.5rem;
|
|
color: var(--color-heading);
|
|
}
|
|
|
|
|
|
.cart tbody td {
|
|
padding: 1.5rem 0.5rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Product Image */
|
|
.cart td.img {
|
|
width: 90px;
|
|
}
|
|
|
|
.cart td.img img {
|
|
width: 80px;
|
|
height: 80px;
|
|
object-fit: cover;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.cart td.img img:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Product Info */
|
|
.cart td a {
|
|
color: var(--color-dark-text);
|
|
text-decoration: none;
|
|
font-weight: 400;
|
|
transition: color 0.3s ease;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.cart td a:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.cart td a.remove {
|
|
color: var(--color-dark-gray);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.cart td a.remove:hover {
|
|
color: var(--color-primary-darker);
|
|
}
|
|
|
|
/* Quantity Input */
|
|
.cart td.cart_quantity input {
|
|
width: 60px;
|
|
height: 40px;
|
|
padding: 0.5rem;
|
|
border: 1px solid var(--color-gray);
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
transition: border-color 0.3s ease;
|
|
background-color: var(--color-off-white);
|
|
}
|
|
|
|
.cart td.cart_quantity input:focus {
|
|
border-color: var(--color-primary);
|
|
outline: none;
|
|
}
|
|
|
|
/* Price Display */
|
|
.cart td.cart_price {
|
|
font-weight: 400;
|
|
color: var(--color-text-dark);
|
|
}
|
|
|
|
.cart td.product-total {
|
|
font-weight: 600;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Extras Section */
|
|
.cart .add_products {
|
|
background-color: var(--color-lighter-gray);
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
border: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.cart .add_products h2 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--color-heading);
|
|
text-align: center !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
position: relative;
|
|
}
|
|
|
|
.cart .add_products h2:after {
|
|
content: "";
|
|
display: block;
|
|
width: 50px;
|
|
height: 1px;
|
|
background-color: var(--color-primary);
|
|
margin: 10px auto 0;
|
|
}
|
|
|
|
.cart .add_product {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border-bottom: 1px solid var(--color-gray);
|
|
margin-bottom: 1rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.cart .add_product:hover {
|
|
background-color: var(--color-light-gray);
|
|
}
|
|
|
|
.cart .add_product img {
|
|
min-width: 60px;
|
|
max-width: 60px !important;
|
|
height: auto;
|
|
margin-right: 1rem;
|
|
object-fit: cover;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.cart .add_product img:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.cart .add_product form {
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
.cart .add_product input[type="submit"] {
|
|
width: 30px;
|
|
height: 30px;
|
|
background-color: var(--color-primary);
|
|
color: var(--color-white);
|
|
font-size: 1.2rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.cart .add_product input[type="submit"]:hover {
|
|
background-color: var(--color-primary-dark);
|
|
}
|
|
|
|
.cart .add_name {
|
|
font-weight: 400;
|
|
color: var(--color-text-dark);
|
|
margin-right: 1rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.cart .add_price {
|
|
font-weight: 600;
|
|
color: var(--color-primary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Cart Totals */
|
|
.cart .total {
|
|
border-top: 2px solid var(--color-dark-text);
|
|
border-bottom: 2px solid var(--color-dark-text);
|
|
padding: 1.5rem 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.cart .total .text {
|
|
font-size: 1.2rem;
|
|
font-weight: 400;
|
|
color: var(--color-heading);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.cart .total .cart_price {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.cart .total .note {
|
|
width: 100%;
|
|
margin-top: 0.8rem;
|
|
font-size: 0.85rem;
|
|
color: var(--color-dark-gray);
|
|
text-align: right;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Buttons */
|
|
.cart .buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.cart .buttons .btn {
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
border: 1px solid var(--color-dark-text);
|
|
background-color: transparent;
|
|
color: var(--color-dark-text);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.cart .buttons input[type="submit"][name="emptycart"] {
|
|
color: var(--color-dark-gray);
|
|
font-size: 1.2rem;
|
|
border: none;
|
|
}
|
|
|
|
.cart .buttons input[type="submit"][name="emptycart"]:hover {
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
.cart .buttons input[type="submit"][name="update"]:hover {
|
|
background-color: var(--color-accent);
|
|
border-color: var(--color-accent);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.cart .buttons input[type="submit"][name="checkout"] {
|
|
background-color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.cart .buttons input[type="submit"][name="checkout"]:hover {
|
|
background-color: var(--color-primary-dark) !important;
|
|
border-color: var(--color-primary-dark) !important;
|
|
}
|
|
|
|
/* Fix for bottom link */
|
|
.cart h4 {
|
|
margin-bottom: 1rem !important;
|
|
text-align: right;
|
|
}
|
|
|
|
.cart h4 a {
|
|
display: inline-block;
|
|
font-size: 0.85rem !important;
|
|
padding: 0.6rem 1.2rem !important;
|
|
background-color: transparent;
|
|
border: 1px solid var(--color-text-dark);
|
|
transition: all 0.3s ease;
|
|
color: var(--color-text-dark) !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.cart h4 a:hover {
|
|
background-color: var(--color-accent);
|
|
border-color: var(--color-accent);
|
|
color: var(--color-white) !important;
|
|
}
|
|
|
|
/* Enhanced Responsive Design */
|
|
@media (max-width: 992px) {
|
|
.cart.content-wrapper {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.cart h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.rhide {
|
|
display: none;
|
|
}
|
|
|
|
.cart td.img {
|
|
width: 70px;
|
|
}
|
|
|
|
.cart td.img img {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.cart h1 {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.cart tbody td {
|
|
padding: 1rem 0.4rem;
|
|
}
|
|
|
|
.cart td a {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.cart .buttons {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cart .buttons .btn {
|
|
min-width: 120px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cart .total {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.cart .total .text,
|
|
.cart .total .cart_price {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.cart .total .note {
|
|
text-align: center;
|
|
}
|
|
|
|
.cart h4 {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.cart.content-wrapper {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.cart h1 {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.cart thead td {
|
|
font-size: 0.7rem;
|
|
padding: 0.75rem 0.3rem;
|
|
}
|
|
|
|
.cart td.img {
|
|
width: 50px;
|
|
}
|
|
|
|
.cart td.img img {
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
.cart td.cart_quantity input {
|
|
width: 50px;
|
|
height: 35px;
|
|
}
|
|
|
|
.cart .add_product {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cart .add_product img {
|
|
min-width: 45px;
|
|
max-width: 45px !important;
|
|
}
|
|
|
|
.cart .add_name {
|
|
width: 100%;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.cart .buttons .btn {
|
|
width: 100%;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.cart .add_products {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Checkout Page Modernization */
|
|
|
|
.checkout {
|
|
font-family: 'Inter', 'Helvetica Neue', sans-serif;
|
|
color: var(--color-text-dark);
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
.checkout h1 {
|
|
color: var(--color-heading);
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.checkout h1::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -10px;
|
|
left: 0;
|
|
width: 60px;
|
|
height: 3px;
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.checkout h2 {
|
|
color: var(--color-dark-blue);
|
|
font-size: 1.25rem;
|
|
font-weight: 500;
|
|
margin: 1.75rem 0 1rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.checkout p {
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.checkout a {
|
|
color: var(--color-accent);
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.checkout a:hover {
|
|
color: var(--color-primary);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.checkout .error {
|
|
color: #e74c3c;
|
|
background-color: rgba(231, 76, 60, 0.1);
|
|
padding: 0.75rem;
|
|
border-radius: 4px;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Container and layout */
|
|
.checkout .container {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.checkout .container {
|
|
grid-template-columns: 3fr 2fr;
|
|
}
|
|
}
|
|
|
|
/* Form elements */
|
|
.checkout .form-field {
|
|
width: 100%;
|
|
padding: 0.875rem 1rem;
|
|
margin-bottom: 1rem;
|
|
border: 1px solid var(--color-gray);
|
|
border-radius: 4px;
|
|
font-size: 0.95rem;
|
|
transition: border-color 0.3s, box-shadow 0.3s;
|
|
background-color: var(--color-white);
|
|
}
|
|
|
|
.checkout .form-field:focus {
|
|
border-color: var(--color-accent);
|
|
box-shadow: 0 0 0 3px rgba(44, 75, 124, 0.15);
|
|
outline: none;
|
|
}
|
|
|
|
.checkout label {
|
|
display: block;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
.checkout select.form-field {
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 1rem center;
|
|
background-size: 1rem;
|
|
padding-right: 2.5rem;
|
|
}
|
|
|
|
/* Row layout for side-by-side fields */
|
|
.row1, .row2 {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
.row1, .row2 {
|
|
display: inline-block;
|
|
width: calc(50% - 0.5rem);
|
|
}
|
|
|
|
.row1 {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.row2 {
|
|
margin-left: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* Shipping details */
|
|
.shipping-details {
|
|
background-color: var(--color-white);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 2px 12px var(--color-shadow);
|
|
}
|
|
|
|
#dropin-container {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Payment methods */
|
|
.payment-methods {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Cart details */
|
|
.cart-details {
|
|
background-color: var(--color-white);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 2px 12px var(--color-shadow);
|
|
position: sticky;
|
|
top: 20px;
|
|
}
|
|
|
|
.cart-details table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.cart-details table td {
|
|
padding: 0.75rem 0;
|
|
border-bottom: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.cart-details table td img {
|
|
border-radius: 4px;
|
|
object-fit: cover;
|
|
border: 1px solid var(--color-light-gray);
|
|
}
|
|
|
|
.cart-details table td.price {
|
|
font-weight: 600;
|
|
text-align: right;
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
/* Discount code */
|
|
.discount-code {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.discount-code input {
|
|
flex: 1;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.discount-code .result {
|
|
font-size: 0.9rem;
|
|
color: var(--color-green);
|
|
}
|
|
|
|
/* Summary and total */
|
|
.summary {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.summary > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
padding: 0.5rem 0;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.total {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 1rem 0;
|
|
margin: 1rem 0;
|
|
border-top: 2px solid var(--color-gray);
|
|
border-bottom: 2px solid var(--color-gray);
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
.total .alt {
|
|
font-size: 0.8rem;
|
|
font-weight: normal;
|
|
color: var(--color-dark-gray);
|
|
}
|
|
|
|
/* Checkboxes */
|
|
.checkout input[type="checkbox"] {
|
|
margin-right: 0.5rem;
|
|
position: relative;
|
|
top: 2px;
|
|
accent-color: var(--color-accent);
|
|
}
|
|
|
|
/* Button */
|
|
.buttons {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.checkout_btn {
|
|
background-color: var(--color-primary);
|
|
color: var(--color-white);
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 1rem 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s, transform 0.1s;
|
|
width: 100%;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(255, 111, 0, 0.25);
|
|
}
|
|
|
|
.checkout_btn:hover {
|
|
background-color: var(--color-primary-dark);
|
|
}
|
|
|
|
.checkout_btn:active {
|
|
transform: translateY(1px);
|
|
background-color: var(--color-primary-darker);
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 767px) {
|
|
.shipping-details, .cart-details {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.cart-details {
|
|
position: static;
|
|
}
|
|
|
|
.checkout h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.checkout h2 {
|
|
font-size: 1.1rem;
|
|
}
|
|
}
|
|
|
|
.checkout .payment-methods {
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
width: 100%;
|
|
gap:10px;
|
|
}
|
|
|
|
.checkout .payment-methods label {
|
|
text-decoration: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1px solid #EEEEEE;
|
|
border-radius: 5px;
|
|
height: 60px;
|
|
width: 159px;
|
|
margin: 10px;
|
|
font-weight: 500;
|
|
color: #434f61;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
}
|
|
|
|
.checkout .payment-methods label:nth-child(2), main .checkout .payment-methods label:nth-child(8) {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.checkout .payment-methods label:nth-child(3n) {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.checkout .payment-methods label:hover {
|
|
border: 1px solid #d5d5d5;
|
|
}
|
|
|
|
.checkout .payment-methods input {
|
|
position: absolute;
|
|
top: -9999px;
|
|
left: -9999px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.checkout .payment-methods input:checked + label {
|
|
border: 2px solid var(--color-primary);
|
|
}
|
|
|
|
.shipping-method input[type="radio"],
|
|
.shipping-method label {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.order-confirmation {
|
|
width: 100%;
|
|
max-width: 800px;
|
|
margin: 2rem auto;
|
|
padding: 2rem;
|
|
background-color: var(--color-white);
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 24px var(--color-shadow);
|
|
}
|
|
|
|
.order-confirmation__container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.order-confirmation__icon {
|
|
color: var(--color-primary);
|
|
margin-bottom: 1.5rem;
|
|
animation: fadeInUp 0.6s ease-out;
|
|
}
|
|
|
|
.order-confirmation__title {
|
|
color: var(--color-heading);
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
animation: fadeInUp 0.8s ease-out;
|
|
}
|
|
|
|
.order-confirmation__message {
|
|
color: var(--color-text-gray);
|
|
font-size: 1.125rem;
|
|
line-height: 1.5;
|
|
animation: fadeInUp 1s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.order-confirmation {
|
|
padding: 1.5rem;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.order-confirmation__title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.order-confirmation__message {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
.content-section {
|
|
max-width: 1200px;
|
|
margin: 40px auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.text-image-block {
|
|
margin-bottom: 60px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.text-content {
|
|
padding: 30px;
|
|
}
|
|
|
|
.image-container {
|
|
width: 40%;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.image-container img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
/* First layout - image on right */
|
|
.layout-1 .image-container {
|
|
float: right;
|
|
margin: 0 0 20px 30px;
|
|
shape-outside: margin-box;
|
|
}
|
|
|
|
/* Second layout - image on left */
|
|
.layout-2 .image-container {
|
|
float: left;
|
|
margin: 0 30px 20px 0;
|
|
shape-outside: margin-box;
|
|
}
|
|
|
|
/* Third layout - image centered with text wrapping */
|
|
.layout-3 .image-container {
|
|
float: right;
|
|
margin: 0 0 20px 30px;
|
|
shape-outside: margin-box;
|
|
}
|
|
|
|
.about_link {
|
|
display: inline-block;
|
|
font-size: 0.85rem !important;
|
|
padding: 0.6rem 1.2rem !important;
|
|
background-color: transparent;
|
|
border: 1px solid var(--color-text-dark);
|
|
transition: all 0.3s ease;
|
|
color: var(--color-text-dark) !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.image-container {
|
|
width: 50%;
|
|
float: none;
|
|
margin: auto;
|
|
shape-outside: none;
|
|
}
|
|
}
|
|
|
|
|
|
.myaccount.content-wrapper {
|
|
max-width: 1200px;
|
|
margin: 3rem auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.login-register {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2.5rem;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.login-register {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.login, .register {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.login, .register {
|
|
background-color: var(--color-white);
|
|
border-radius: var(--form-border-radius);
|
|
box-shadow: var(--form-box-shadow);
|
|
padding: 2rem;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.login:hover, .register:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 6px 18px var(--color-shadow);
|
|
}
|
|
|
|
.login h1, .register h1 {
|
|
color: var(--color-heading);
|
|
font-size: 1.75rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 2px solid var(--color-primary);
|
|
position: relative;
|
|
}
|
|
|
|
.login form, .register form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-weight: 500;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-text-dark);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.form-field {
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid var(--color-gray);
|
|
border-radius: var(--input-border-radius);
|
|
background-color: var(--color-off-white);
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
box-shadow: var(--input-box-shadow);
|
|
}
|
|
|
|
.form-field:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: var(--input-focus-shadow);
|
|
background-color: var(--color-white);
|
|
}
|
|
|
|
.form-field::placeholder {
|
|
color: var(--color-dark-gray);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Modern form enhancements */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.form-field {
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.form-field:focus {
|
|
transform: scale(1.01);
|
|
}
|
|
}
|
|
|
|
/* Fix for duplicate IDs */
|
|
.register #email {
|
|
border-left: 3px solid var(--color-accent);
|
|
}
|
|
|
|
.register #password {
|
|
border-left: 3px solid var(--color-accent);
|
|
}
|
|
|
|
/* Password field styling */
|
|
input[type="password"] {
|
|
letter-spacing: 0.2em;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 767px) {
|
|
.btn {
|
|
width: 100%;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.login, .register {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.myaccount h1 {
|
|
font-size: 2.25rem;
|
|
font-weight: 700;
|
|
color: var(--color-heading);
|
|
margin-bottom: 2rem;
|
|
border-bottom: 3px solid var(--color-primary);
|
|
padding-bottom: 0.75rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Layout */
|
|
@media (min-width: 992px) {
|
|
.myaccount.content-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr;
|
|
gap: 2.5rem;
|
|
}
|
|
|
|
.myaccount h1 {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
/* Menu styles */
|
|
.menu {
|
|
background-color: var(--color-white);
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px var(--color-shadow);
|
|
padding: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
position: sticky;
|
|
top: 1.5rem;
|
|
align-self: start;
|
|
}
|
|
|
|
.menu h2 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
color: var(--color-heading);
|
|
margin: 0 0 1.25rem;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 2px solid var(--color-primary);
|
|
}
|
|
|
|
.menu-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.menu-items a {
|
|
display: block;
|
|
padding: 0.75rem 1rem;
|
|
color: var(--color-text-dark);
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
.menu-items a:hover {
|
|
background-color: var(--color-light-gray);
|
|
color: var(--color-primary);
|
|
border-left-color: var(--color-primary);
|
|
}
|
|
|
|
.menu-items a.active {
|
|
background-color: var(--color-lighter-gray);
|
|
color: var(--color-primary);
|
|
border-left-color: var(--color-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Orders section */
|
|
.myorders {
|
|
width: 100%;
|
|
}
|
|
|
|
.myorders h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--color-heading);
|
|
margin: 0 0 1.5rem;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 2px solid var(--color-accent);
|
|
}
|
|
|
|
/* Order item */
|
|
.order {
|
|
background-color: var(--color-white);
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 6px var(--color-shadow);
|
|
margin-bottom: 1.5rem;
|
|
overflow: hidden;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.order:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 4px 12px var(--color-shadow);
|
|
}
|
|
|
|
/* Order header */
|
|
.order-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 1.25rem;
|
|
background-color: var(--color-lighter-gray);
|
|
border-bottom: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.order-header > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
.order-header > div {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.order-header span {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--color-dark-gray);
|
|
margin-bottom: 0.15rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.order-header div > div {
|
|
margin-right: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Status styling */
|
|
.order-header div > div:nth-child(3) {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.order-header div > div:nth-child(3):contains("Open") {
|
|
color: var(--color-status-open);
|
|
}
|
|
|
|
.order-header div > div:nth-child(3):contains("Betaald") {
|
|
color: var(--color-status-paid);
|
|
}
|
|
|
|
.order-header div > div:nth-child(3):contains("Verlopen") {
|
|
color: var(--color-status-expired);
|
|
}
|
|
|
|
/* Total price styling */
|
|
.order-header > div:last-child > div:last-child {
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
color: var(--color-dark-text);
|
|
}
|
|
|
|
/* Order items */
|
|
.order-items {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.order-items table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.order-items tr {
|
|
border-bottom: 1px solid var(--color-gray);
|
|
}
|
|
|
|
.order-items tr:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.order-items td {
|
|
padding: 0.875rem 0.5rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.order-items td.img {
|
|
width: 70px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.order-items td.img img {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--color-gray);
|
|
background-color: var(--color-white);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.order-items tr:hover td.img img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.order-items td.name {
|
|
font-weight: 500;
|
|
color: var(--color-text-dark);
|
|
}
|
|
|
|
.order-items td.price {
|
|
text-align: right;
|
|
font-weight: 600;
|
|
color: var(--color-text-dark);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Responsive styles */
|
|
@media (max-width: 767px) {
|
|
.rhide {
|
|
display: none;
|
|
}
|
|
|
|
.order-header {
|
|
flex-direction: column;
|
|
gap: 0.875rem;
|
|
}
|
|
|
|
.order-header > div:last-child {
|
|
align-self: flex-end;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.myaccount h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.myorders h2, .menu h2 {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.order-items td.name {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
/* Empty state for no orders */
|
|
.myorders:empty::after {
|
|
content: "No orders found";
|
|
display: block;
|
|
text-align: center;
|
|
padding: 3rem 1rem;
|
|
color: var(--color-dark-gray);
|
|
background-color: var(--color-white);
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 6px var(--color-shadow);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Animation for new orders */
|
|
@keyframes highlight {
|
|
0% { background-color: rgba(255, 111, 0, 0.2); }
|
|
100% { background-color: var(--color-white); }
|
|
}
|
|
|
|
.order.new {
|
|
animation: highlight 2s ease-out;
|
|
} |