* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --sale-color: #e74c3c;
    --success-color: #27ae60;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    padding: 10px 20px;
    display: block;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-link {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.cart-link:hover {
    color: var(--primary-color);
}

.cart-count {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.signin-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s;
}

.signin-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    display: none;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-coupon {
    font-size: 18px;
}

.hero-coupon strong {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 5px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.hero-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.hero-nav button:hover {
    background: rgba(255,255,255,0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-header p {
    color: #666;
}

/* Best Products */
.best-products {
    padding: 60px 0;
    background: var(--white);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-radius: 5px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sale-color);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.wishlist-btn:hover {
    background: var(--white);
}

.wishlist-btn.active {
    color: var(--sale-color);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    margin-bottom: 6px;
    min-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
    position: relative;
    padding-left: 8px;
    color: #2c2c2c;
}

.product-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.product-name-first {
    color: #2c2c2c;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.2px;
}

.product-name-rest {
    color: #666;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.2px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
    min-height: 28px;
}

.product-price .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

.product-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 10px 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.add-to-cart-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    transform: translateY(-2px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.3);
}

.add-to-cart-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.add-to-cart-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.view-product-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.view-product-btn:hover i {
    transform: scale(1.2);
}

/* Promotional Sections */
.promo-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.promo-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.promo-highlight {
    font-size: 24px;
    font-weight: bold;
    color: var(--sale-color);
    margin: 20px 0;
}

.promo-desc {
    color: #666;
    margin: 20px 0;
    line-height: 1.8;
}

/* Category Grid */
.category-grid,
.more-categories {
    padding: 60px 0;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-item {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.category-item h3,
.category-item .btn {
    position: relative;
    z-index: 2;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Special Offer */
.special-offer {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
    min-height: 300px;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Reduce overlay when background image is set */
.special-offer[data-has-image="true"]::before {
    background: rgba(0, 0, 0, 0.1);
}

.special-offer .container {
    position: relative;
    z-index: 2;
}

.offer-content h3 {
    font-size: 42px;
    margin-bottom: 20px;
}

.offer-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Big Promo */
.big-promo {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.big-promo-content h3 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.promo-tag {
    font-size: 36px;
    color: var(--sale-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-text {
    font-size: 24px;
    margin-bottom: 30px;
}

.promo-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.view-all-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
}

.view-all-container .btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light-bg);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
}

/* Collections Section */
.collections-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-item {
    background: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collection-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.collection-item h3,
.collection-item p,
.collection-item .btn {
    position: relative;
    z-index: 2;
}

.collection-item:hover {
    transform: translateY(-5px);
}

.collection-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.collection-item p {
    color: #666;
    margin-bottom: 20px;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.blog-post {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.blog-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more-btn:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Premium Section */
.premium-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.premium-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.premium-item:hover {
    transform: translateY(-5px);
}

.premium-image {
    height: 200px;
    overflow: hidden;
}

.premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-item h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
    color: var(--primary-color);
}

.premium-item p {
    padding: 0 20px;
    color: #666;
    margin-bottom: 20px;
}

.premium-item .read-more {
    padding: 0 20px 20px;
    display: block;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.6;
}

.contact-info li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 32px;
    color: #ccc;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* Newsletter Modal */
.newsletter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.newsletter-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.no-spam {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}


/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 24px;
    color: var(--primary-color);
}

.close-cart {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
}

.remove-item {
    background: none;
    border: none;
    color: var(--sale-color);
    cursor: pointer;
    font-size: 18px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

/* Product Page Container */
.product-page-container {
    padding: 40px 0;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.product-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--light-bg);
}

.back-to-home:hover {
    color: var(--secondary-color);
    background: rgba(139, 69, 19, 0.1);
}

.close-product-view {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close-product-view:hover {
    background: rgba(0, 0, 0, 0.9);
}

.product-view-container {
    width: 100%;
}

.product-view-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.product-view-images {
    width: 100%;
}

.product-main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--light-bg);
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.product-view-info {
    width: 100%;
}

.product-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.product-view-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-view-price .current-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-view-price .old-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
}

.product-short-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.product-options {
    margin-bottom: 30px;
}

.weight-selector,
.quantity-selector {
    margin-bottom: 20px;
}

.weight-selector label,
.quantity-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.weight-options {
    display: flex;
    gap: 10px;
}

.weight-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.weight-btn:hover,
.weight-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-bg);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

#productQuantity {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background: var(--white);
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.add-to-cart-view-btn,
.wishlist-view-btn,
.share-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-view-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.add-to-cart-view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.add-to-cart-view-btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-to-cart-view-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    transform: translateY(-2px);
}

.add-to-cart-view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.3);
}

.add-to-cart-view-btn i {
    transition: transform 0.3s;
}

.add-to-cart-view-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.wishlist-view-btn {
    background: var(--light-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.wishlist-view-btn:hover,
.wishlist-view-btn.active {
    background: var(--sale-color);
    color: white;
    border-color: var(--sale-color);
}

.share-btn {
    background: var(--light-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Product Tabs */
.product-tabs-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.product-tab-btn {
    padding: 15px 30px;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.product-tab-btn:hover,
.product-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
    padding: 20px 0;
    line-height: 1.8;
    color: #666;
}

.tab-pane.active {
    display: block;
}

.tab-pane p {
    margin-bottom: 20px;
}

.tab-pane strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 10px;
}

.product-info-table {
    width: 100%;
    border-collapse: collapse;
}

.product-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.product-info-table td {
    padding: 15px;
}

.product-info-table td:first-child {
    width: 200px;
    font-weight: bold;
    color: var(--text-color);
}

/* Reviews Section */
.reviews-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.reviews-summary h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.review-stats {
    margin-top: 15px;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffc107;
    font-size: 18px;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffc107;
}

.write-review-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.write-review-btn:hover {
    background: var(--secondary-color);
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-products-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.related-product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s;
}

.related-wishlist-btn.active {
    color: var(--sale-color);
}

.related-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-card h4 {
    padding: 15px;
    font-size: 16px;
    margin: 0;
    color: var(--text-color);
}

.related-product-price {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.related-product-price span {
    font-weight: bold;
    color: var(--primary-color);
}

.related-product-price .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

.view-product-btn {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.view-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.view-product-btn:hover::before {
    left: 100%;
}

.view-product-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transform: translateY(-2px);
}

.view-product-btn:active {
    transform: translateY(0);
}

.view-product-btn i {
    font-size: 16px;
    transition: transform 0.3s;
}

.view-product-btn:hover i {
    transform: scale(1.2);
}

/* Auth Pages Styles */
.auth-section {
    min-height: calc(100vh - 200px);
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%238B4513" opacity="0.1"/></svg>');
    pointer-events: none;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.15);
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.auth-card h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
    font-size: 15px;
    line-height: 1.6;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group .forgot-password {
    float: right;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.form-group .forgot-password:hover {
    text-decoration: underline;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-form .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.auth-form .btn-primary:active {
    transform: translateY(0);
}

/* Shop Page Styles */
.shop-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.shop-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.shop-header p {
    font-size: 18px;
    opacity: 0.95;
}

.shop-content {
    padding: 60px 0;
    background: var(--light-bg);
}

.shop-filters {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Page Content Styles */
/* Page Header Banner */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-content {
    min-height: 60vh;
    padding: 60px 20px;
    background: var(--light-bg);
}

.page-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-content-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.page-content-body {
    padding: 50px 40px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

/* Better content formatting */
.page-content-body > *:first-child {
    margin-top: 0;
}

.page-content-body > *:last-child {
    margin-bottom: 0;
}

.page-content h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.page-content-body h2,
.page-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.3;
}

.page-content-body h3,
.page-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.page-content-body h4,
.page-content h4 {
    font-size: 20px;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.page-content-body h5,
.page-content h5 {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.page-content-body h6,
.page-content h6 {
    font-size: 16px;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-content-body p,
.page-content p {
    margin-bottom: 22px;
    line-height: 1.9;
    color: #444;
    font-size: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.page-content-body p:first-of-type {
    font-size: 18px;
    color: #333;
    line-height: 1.95;
    margin-bottom: 30px;
}

.page-content-body ul,
.page-content-body ol,
.page-content ul,
.page-content ol {
    margin-bottom: 25px;
    padding-left: 40px;
    line-height: 2;
    color: #444;
}

.page-content-body li,
.page-content li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 8px;
}

.page-content-body ul li::marker,
.page-content ul li::marker {
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-content-body ol li::marker,
.page-content ol li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.page-content-body ul li::before,
.page-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -25px;
    font-size: 1.3em;
}

.page-content-body ul {
    list-style: none;
    padding-left: 30px;
}

.page-content-body a,
.page-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
    font-weight: 500;
    word-break: break-word;
}

.page-content-body a:hover,
.page-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.page-content-body strong,
.page-content-body b,
.page-content strong,
.page-content b {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.05em;
}

.page-content-body em,
.page-content-body i,
.page-content em,
.page-content i {
    font-style: italic;
    color: #555;
}

.page-content-body img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-content-body img + p,
.page-content img + p {
    margin-top: 20px;
    font-style: italic;
    color: #666;
    text-align: center;
    font-size: 14px;
}

.page-content-body blockquote,
.page-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 35px 0;
    font-style: italic;
    color: #555;
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    position: relative;
    font-size: 17px;
    line-height: 1.8;
}

.page-content-body blockquote::before,
.page-content blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    position: absolute;
    left: 15px;
    top: 10px;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.page-content-body blockquote p,
.page-content blockquote p {
    margin-bottom: 0;
}

.page-content-body table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    font-size: 15px;
}

.page-content-body table th,
.page-content-body table td,
.page-content table th,
.page-content table td {
    padding: 15px 18px;
    border: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.page-content-body table th,
.page-content table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.page-content-body table tr:nth-child(even),
.page-content table tr:nth-child(even) {
    background: var(--light-bg);
}

.page-content-body table tr:hover,
.page-content table tr:hover {
    background: rgba(139, 69, 19, 0.05);
    transition: background 0.3s;
}

.page-content-body table td strong,
.page-content table td strong {
    color: var(--primary-color);
}

/* Page Not Found Styles */
.page-not-found {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.not-found-icon {
    font-size: 80px;
    color: var(--sale-color);
    margin-bottom: 20px;
}

.page-not-found h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-not-found p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Additional content styling */
.page-content-body hr,
.page-content hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 40px 0;
}

.page-content-body code,
.page-content code {
    background: var(--light-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-color);
}

.page-content-body pre,
.page-content pre {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.page-content-body pre code,
.page-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

.page-content-body dl,
.page-content dl {
    margin: 25px 0;
}

.page-content-body dt,
.page-content dt {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 5px;
}

.page-content-body dd,
.page-content dd {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

/* Responsive Design for Page Content */
@media (max-width: 768px) {
    .page-header-banner {
        padding: 40px 20px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-content-body {
        padding: 30px 20px;
        font-size: 15px;
    }
    
    .page-content-body p,
    .page-content p {
        text-align: left;
        font-size: 15px;
    }
    
    .page-content-body p:first-of-type {
        font-size: 16px;
    }
    
    .page-content h1 {
        font-size: 28px;
    }
    
    .page-content-body h2,
    .page-content h2 {
        font-size: 24px;
    }
    
    .page-content-body h3,
    .page-content h3 {
        font-size: 20px;
    }
    
    .page-content-body h4,
    .page-content h4 {
        font-size: 18px;
    }
    
    .page-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .page-content-body ul,
    .page-content-body ol,
    .page-content ul,
    .page-content ol {
        padding-left: 25px;
    }
    
    .page-content-body table,
    .page-content table {
        font-size: 14px;
    }
    
    .page-content-body table th,
    .page-content-body table td,
    .page-content table th,
    .page-content table td {
        padding: 10px 12px;
    }
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-message {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .shop-header h1 {
        font-size: 32px;
    }
    
    .shop-header p {
        font-size: 16px;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-tab {
        flex-shrink: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .logo-main {
        font-size: 14px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .promo-grid,
    .category-items,
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }


    .product-view-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-page-container {
        padding: 20px 0;
    }

    .back-to-home {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .product-main-image {
        height: 300px;
    }

    .product-thumbnails {
        flex-wrap: wrap;
    }

    .product-actions {
        flex-direction: column;
    }

    .add-to-cart-view-btn,
    .wishlist-view-btn,
    .share-btn {
        width: 100%;
    }

    .product-view-content {
        padding: 20px;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
