/* korye.css */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 40px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

h1 {
    font-family: 'Playfair Display', serif; /* Optional: Link this in HTML head */
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

main.container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.8s ease-out;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cart-table th {
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 15px;
    border-bottom: 2px solid #333;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
}

.cart-summary {
    text-align: right;
    margin-top: 40px;
}

.btn-checkout {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #444;
}

.remove-link {
    color: #999;
    font-size: 12px;
    text-decoration: none;
}

.checkout-form section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.checkout-form h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #666;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
}

.mini-cart p {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

/* Admin Layout Styles */
.admin-container {
    max-width: 1200px;
}

.admin-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
}

/* Enhanced Admin Navigation */
.admin-nav {
    display: flex;
    gap: 5px;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.admin-nav a {
    padding: 12px 24px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    background: #e8e8e8;
    color: #000;
}

.admin-nav a.active {
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Search Bar Styling */
.admin-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    font-family: inherit;
}

.admin-form .input-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.admin-form input, 
.admin-form select, 
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0; /* Keep it sharp and prestigious */
    font-family: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
}

.stat-card p {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.status-tag {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-tag.pending { background: #fff3cd; color: #856404; }
.status-tag.processing { background: #d1ecf1; color: #0c5460; }
.status-tag.shipped { background: #d4edda; color: #155724; }

.btn-view {
    background: #f0f0f0;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border: 1px solid #ccc;
}

.btn-view:hover {
    background: #e0e0e0;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    text-decoration: none;
    color: #1a1a1a;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-left: 30px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #000;
}

.cart-link span {
    background: #1a1a1a;
    color: #fff;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Homepage Styles */

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    border: none; /* Override default H1 border */
}

.hero p {
    color: #888;
    font-style: italic;
}

/* The Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.image-wrapper {
    overflow: hidden;
    background: #f4f4f4;
    aspect-ratio: 4 / 5; /* Elegant vertical portrait look */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05); /* Subtle zoom effect */
}

.card-info {
    padding: 15px 0;
    text-align: center;
}

.card-info h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px 0 5px;
}

.card-info p {
    font-size: 14px;
    color: #666;
}

/* Filter Bar Styles */

.filter-bar {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-bar a {
    text-decoration: none;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.filter-bar a:hover,
.filter-bar a.active {
    color: #000;
}

.filter-bar a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    bottom: -16px;
    left: 0;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    color: #999;
    font-style: italic;
}

/* Swatch Styles */
.swatch-grid {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.swatch {
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
    object-fit: cover;
}

.swatch:hover {
    border-color: #1a1a1a;
    transform: scale(1.1);
}

#main-image {
    transition: opacity 0.3s ease-in-out;
}

/* Variation Manager */
.variation-manager {
    background: #fdfdfd;
    padding: 20px;
    border: 1px dashed #ccc;
    margin-bottom: 20px;
}

.v-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.v-row input {
    flex: 1;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
}

.success-msg {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.sample-request-box {
    margin-top: 30px;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    text-align: center;
}

.sample-request-box p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.contact-info h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #1a1a1a;
    display: inline-block;
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.map-container {
    background: #f4f4f4;
    border: 1px solid #eee;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Page Styles */

.success-page {
    text-align: center;
    padding: 80px 20px;
}

.success-icon {
    font-size: 50px;
    color: #27ae60;
    margin-bottom: 20px;
}

.order-number {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.message-box {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #666;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Print Styles: Hides navigation and buttons when printing the receipt */
@media print {
    .main-header, .success-actions, .success-icon {
        display: none !important;
    }
    body {
        padding: 0;
        background: #fff;
    }
    .container {
        border: none;
    }
}

/* About Page Styles */

.about-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 40px 0;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    box-shadow: 20px 20px 0px #f4f4f4; /* Prestigious-style offset shadow */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.value-item h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 13px;
    color: #777;
}

/* Responsive fix for About page */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 40px;
}

.footer-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #fff;
}

.footer-column p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a, 
.social-links a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column ul li a:hover, 
.social-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Footer Fix */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Measuring Guide Styles */

.guide-content {
    margin-top: 50px;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.guide-step.reverse {
    flex-direction: row-reverse;
}

.step-text {
    flex: 1;
}

.step-text h2 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.step-visual {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
}

.step-visual img {
    width: 100%;
    height: auto;
}

.pro-tips {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.pro-tips h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .guide-step, .guide-step.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

.auth-form {
    max-width: 400px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
}

.auth-form .btn-checkout {
    margin-top: 10px;
    cursor: pointer;
}

.auth-form label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #555;
}

.auth-form hr {
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th, .admin-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f9f9f9;
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 15px;
    border-bottom: 2px solid #333;
}

.admin-table tr:hover {
    background: #fcfcfc;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-badge.pending { background: #ffeaa7; color: #d35400; }
.status-badge.processing { background: #81ecec; color: #0097e6; }
.status-badge.shipped { background: #55efc4; color: #00b894; }

.btn-small {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 11px;
}

/* Account Page Styles */

.account-dashboard {
    padding: 60px 20px;
}

.account-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.account-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}

.account-sidebar h3, .account-main h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.account-sidebar p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.link-text {
    text-decoration: underline;
    font-weight: bold;
    color: #1a1a1a;
}

/* Mobile responsive account view */
@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* Restoring the premium black button style */
.btn-admin-add {
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    display: inline-block;
}

.btn-admin-add:hover {
    background: #333333;
}

/* Styled Action Buttons for Table */
.btn-action {
    padding: 6px 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-action.delete {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-action.delete:hover {
    background: #e74c3c;
    color: #fff;
}

/* Restore the elegant table headings */
.admin-table th {
    text-align: left;
    padding: 20px 15px;
    background: #fdfdfd;
    border-bottom: 2px solid #1a1a1a; /* Elegant thick line */
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #1a1a1a;
}

/* Ensure consistency across all admin views */
.admin-table {
    margin-top: 10px;
    border-spacing: 0;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

/* Status Update Button */
.btn-status-update {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-status-update:hover {
    opacity: 0.8;
}

.admin-select {
    padding: 7px;
    font-size: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
}

/* Basket Styles in korye.css */
.cart-summary {
    border-top: 2px solid #1a1a1a;
    padding-top: 30px;
    margin-top: 40px;
}

.cart-summary strong {
    font-family: 'Playfair Display', serif;
}

/* Ensure the table looks consistent with admin views */
.admin-table small {
    display: block;
    color: #888;
    margin-top: 4px;
    font-size: 12px;
}