/* ModelDepo Premium E-Commerce Theme - Light Version */
:root {
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --surface-hover: #f1f5f9;
    --border-color: #e2e8f0;
    
    /* Core User Colors */
    --primary-dark: #0b444f;
    --primary-color: #126373;
    --accent-color: #c28a2b;
    --accent-hover: #a17020;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(194, 138, 43, 0.2);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Glassmorphism Classes (Light) */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary-dark);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(11, 68, 79, 0.2);
    gap: 8px;
}

.btn-premium:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(194, 138, 43, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: white;
}

/* Grid & Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    padding: 80px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(194, 138, 43, 0.4);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: var(--surface-color);
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.5s ease;
    padding: 15px;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-format-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Single Product Page */
.product-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.product-gallery {
    background: transparent;
}

.product-main-img {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    object-fit: contain;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.product-details {
    padding-top: 10px;
}

.product-meta-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-tag {
    background: var(--surface-color);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.product-single-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.product-single-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.product-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.add-to-cart-form {
    display: flex;
    gap: 15px;
    background: var(--surface-color);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.add-to-cart-form input[type="number"] {
    width: 90px;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.add-to-cart-form .btn-premium {
    flex-grow: 1;
    font-size: 1.1rem;
}

/* Cart Specific Styles */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cart-table td {
    padding: 25px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 5px;
}

.cart-summary {
    background: white;
    border-radius: var(--radius-md);
    padding: 35px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.summary-row.bold {
    font-weight: 600;
    color: var(--text-main);
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    border-top: 2px dashed var(--border-color);
    padding-top: 25px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Inputs and Forms */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
    width: 100%; 
    padding: 14px 16px; 
    background: var(--surface-color); 
    border: 1px solid var(--border-color); 
    color: var(--text-main); 
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(194, 138, 43, 0.1);
    background: white;
}

label {
    display: block; 
    margin-bottom: 8px; 
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .product-single-wrapper {
        grid-template-columns: 1fr;
    }
}
