* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Prompt', sans-serif;
line-height: 1.6;
color: #333;
background: linear-gradient(135deg, #0c677e 0%, #2c94ac 100%);
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
header {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
color: #0c677e;
text-decoration: none;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #0c677e;
}
.cart-icon {
position: relative;
cursor: pointer;
font-size: 1.5rem;
color: #0c677e;
transition: transform 0.3s;
}
.cart-icon:hover {
transform: scale(1.1);
}
.cart-count {
position: absolute;
top: -8px;
right: -8px;
background: #ff4757;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
}
/* Hero Section */
.hero {
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url('../images/photo-1441986300917-64674bd600d8.jpg');
background-size: cover;
background-position: center;
height: 70vh;
display: flex;
align-items: center;
text-align: center;
color: white;
}
.hero-content h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 700;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.btn {
display: inline-block;
padding: 12px 30px;
background: linear-gradient(45deg, #0c677e, #2c94ac);
color: white;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
border: none;
cursor: pointer;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Filters */
.filters {
background: white;
padding: 2rem 0;
margin: 2rem 0;
border-radius: 15px;
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}
.filter-group {
display: flex;
gap: 1rem;
align-items: center;
flex-wrap: wrap;
justify-content: center;
}
.filter-group select,
.filter-group input {
padding: 10px 15px;
border: 2px solid #e0e0e0;
border-radius: 25px;
font-family: inherit;
transition: border-color 0.3s;
}
.filter-group select:focus,
.filter-group input:focus {
outline: none;
border-color: #0c677e;
}
/* Products Grid */
.products-section {
padding: 2rem 0;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: white;
font-weight: 700;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.product-card {
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
transition: all 0.3s;
cursor: pointer;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.product-image {
width: 100%;
height: 300px;
object-fit: cover;
}
.product-info {
padding: 1.5rem;
}
.product-name {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: #333;
}
.product-description {
color: #666;
margin-bottom: 1rem;
font-size: 0.9rem;
}
.product-price {
font-size: 1.5rem;
font-weight: 700;
color: #0c677e;
margin-bottom: 1rem;
}
.product-options {
margin-bottom: 1rem;
}
.product-options select {
width: 100%;
padding: 8px 12px;
border: 2px solid #e0e0e0;
border-radius: 10px;
margin-bottom: 0.5rem;
}
.add-to-cart-btn {
width: 100%;
padding: 12px;
background: linear-gradient(45deg, #0c677e, #2c94ac);
color: white;
border: none;
border-radius: 10px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.add-to-cart-btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Cart Modal */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(5px);
}
.modal-content {
background-color: white;
margin: 5% auto;
padding: 2rem;
border-radius: 20px;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
position: relative;
}
.close {
position: absolute;
right: 20px;
top: 20px;
font-size: 2rem;
cursor: pointer;
color: #999;
}
.close:hover {
color: #333;
}
.cart-item {
display: flex;
align-items: center;
padding: 1rem;
border-bottom: 1px solid #eee;
gap: 1rem;
}
.cart-item img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
}
.cart-item-info {
flex: 1;
}
.cart-item-name {
font-weight: 600;
margin-bottom: 0.5rem;
}
.cart-item-details {
font-size: 0.9rem;
color: #666;
margin-bottom: 0.5rem;
}
.cart-item-price {
font-weight: 600;
color: #0c677e;
}
.quantity-controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.quantity-btn {
background: #0c677e;
color: white;
border: none;
border-radius: 50%;
width: 30px;
height: 30px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.remove-item {
background: #ff4757;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
.cart-total {
text-align: right;
font-size: 1.5rem;
font-weight: 700;
margin: 1rem 0;
color: #0c677e;
}
.checkout-section {
margin-top: 2rem;
padding-top: 2rem;
border-top: 2px solid #eee;
}
.customer-form {
display: grid;
gap: 1rem;
margin-bottom: 2rem;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
margin-bottom: 0.5rem;
font-weight: 600;
}
.form-group input,
.form-group textarea {
padding: 12px;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #0c677e;
}
.qr-payment {
text-align: center;
padding: 2rem;
background: #f8f9fa;
border-radius: 15px;
margin: 2rem 0;
}
.qr-code {
width: 200px;
height: 200px;
margin: 0 auto;
}
.payment-info {
margin: 1rem 0;
font-size: 1.1rem;
}
.payment-amount {
font-size: 2rem;
font-weight: 700;
color: #0c677e;
margin: 1rem 0;
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hero-content h1 {
font-size: 2.5rem;
}
.filter-group {
flex-direction: column;
align-items: stretch;
}
.products-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.modal-content {
margin: 10% auto;
width: 95%;
}
.cart-item {
flex-direction: column;
text-align: center;
}
}
.loading {
text-align: center;
padding: 2rem;
color: white;
}
.empty-cart {
text-align: center;
padding: 3rem;
color: #666;
}
.success-message {
background: #2ecc71;
color: white;
padding: 1rem;
border-radius: 10px;
margin: 1rem 0;
text-align: center;
}
/* Navigation Actions */
.nav-actions {
display: flex;
align-items: center;
gap: 1rem;
}
.settings-icon {
background: #0c677e;
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
font-size: 1rem;
}
.settings-icon:hover {
background: #2c94ac;
transform: rotate(90deg);
}
/* Settings Modal */
.settings-modal {
max-width: 1000px;
max-height: 90vh;
overflow-y: auto;
}
.settings-tabs {
display: flex;
border-bottom: 2px solid #eee;
margin-bottom: 2rem;
overflow-x: auto;
gap: 0.5rem;
}
.tab-btn {
background: none;
border: none;
padding: 1rem 1.5rem;
cursor: pointer;
border-bottom: 3px solid transparent;
color: #666;
font-weight: 500;
transition: all 0.3s ease;
white-space: nowrap;
display: flex;
align-items: center;
gap: 0.5rem;
}
.tab-btn:hover,
.tab-btn.active {
color: #0c677e;
border-bottom-color: #0c677e;
}
.settings-content {
min-height: 400px;
}
.settings-tab {
display: none;
}
.settings-tab.active {
display: block;
}
.settings-form h3 {
color: #0c677e;
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.settings-form h4 {
color: #333;
margin: 2rem 0 1rem 0;
font-size: 1.2rem;
border-bottom: 1px solid #eee;
padding-bottom: 0.5rem;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 0.8rem;
border: 2px solid #ddd;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #0c677e;
}
.input-group {
display: flex;
align-items: center;
}
.input-group input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
}
.input-suffix {
background: #f8f9fa;
border: 2px solid #ddd;
border-left: none;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
padding: 0.8rem;
color: #666;
}
.checkbox-label {
display: flex !important;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
width: auto;
margin: 0;
}
/* Logo Upload */
.logo-upload {
display: flex;
align-items: center;
gap: 1rem;
}
.upload-btn {
background: #0c677e;
color: white;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}
.upload-btn:hover {
background: #2c94ac;
}
.logo-preview {
width: 60px;
height: 60px;
border: 2px dashed #ddd;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: #999;
font-size: 1.5rem;
}
/* Payment Methods */
.payment-method {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 1.5rem;
}
.payment-method h4 {
margin: 0 0 1rem 0;
color: #0c677e;
border-bottom: none;
}
/* Bank Accounts */
.bank-account {
background: white;
padding: 1rem;
border-radius: 8px;
margin-bottom: 1rem;
border: 1px solid #ddd;
}
/* Shipping Zones */
.shipping-zone {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 1rem;
border: 1px solid #ddd;
}
/* Categories, Sizes, Colors Lists */
.category-item,
.size-item,
.color-item {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.category-item input,
.size-item input {
flex: 1;
}
.color-item input[type="text"] {
flex: 1;
}
.color-item input[type="color"] {
width: 50px;
height: 40px;
border: none;
border-radius: 8px;
cursor: pointer;
}
.remove-btn {
background: #e74c3c;
color: white;
border: none;
padding: 0.5rem;
border-radius: 4px;
cursor: pointer;
transition: background 0.3s ease;
}
.remove-btn:hover {
background: #c0392b;
}
.add-btn {
background: #27ae60;
color: white;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.add-btn:hover {
background: #229954;
}
.generate-btn {
background: #f39c12;
color: white;
border: none;
padding: 0.8rem 1rem;
border-radius: 0 8px 8px 0;
cursor: pointer;
transition: background 0.3s ease;
}
.generate-btn:hover {
background: #e67e22;
}
/* Settings Actions */
.settings-actions {
display: flex;
justify-content: flex-end;
gap: 1rem;
margin-top: 2rem;
padding-top: 2rem;
border-top: 2px solid #eee;
}
.btn-secondary {
background: #6c757d;
}
.btn-secondary:hover {
background: #5a6268;
}
.btn-success {
background: #28a745;
}
.btn-success:hover {
background: #218838;
}
.btn-info {
background: #17a2b8;
}
.btn-info:hover {
background: #138496;
}
.btn-warning {
background: #ffc107;
color: #212529;
}
.btn-warning:hover {
background: #e0a800;
}
/* Responsive Settings */
@media (max-width: 768px) {
.settings-modal {
width: 98%;
margin: 2% auto;
max-height: 95vh;
}
.settings-tabs {
flex-wrap: wrap;
}
.tab-btn {
flex: 1;
min-width: 120px;
padding: 0.8rem 1rem;
font-size: 0.9rem;
}
.form-row {
grid-template-columns: 1fr;
}
.logo-upload {
flex-direction: column;
align-items: flex-start;
}
.settings-actions {
flex-direction: column;
}
.nav-actions {
gap: 0.5rem;
}
}