/**
 * Custom CSS fixes to match the original HTML design
 */

/* Typography and General Styling */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f9f9f9;
    --accent-color: #d4af37;
    --text-color: #333;
    --light-text: #ffffff;
    --border-color: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: none;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Layout Fixes */
.container {
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
    margin-bottom: 0;
}

section:nth-child(even) {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background-color: #ffffff;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0px;
    padding: 0.7rem 1.5rem;
}

.hero-buttons .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-buttons .btn-secondary {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: var(--primary-color);
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.categories .section-title {
    margin-bottom: 2.5rem;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-text {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background-color: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.badge.bestseller {
    background-color: var(--accent-color);
}

.badge.new {
    background-color: #4caf50;
}

.badge.sale {
    background-color: #f44336;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.product-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.original-price {
    color: #999;
    font-size: 1rem;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.btn-product {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background-color: var(--accent-color);
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: #666;
    font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #ffffff;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 1rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.rating i {
    color: var(--accent-color);
    margin-right: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-details p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* Blog Preview Section */
.blog-preview {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.blog-content h3 a {
    color: var(--primary-color);
}

.blog-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Freebie Promo Section */
.freebie-promo {
    padding: 4rem 0;
    background-color: #ffffff;
}

.freebie-promo .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.freebie-promo-content .section-title {
    text-align: left;
    padding-bottom: 0;
}

.freebie-promo-content .section-title:after {
    display: none;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
    text-transform: none;
    letter-spacing: 0;
}

.form-note {
    color: #999;
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .categories-container,
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-container,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-section .container,
    .freebie-promo .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .categories-container,
    .products-grid,
    .gallery-grid,
    .blog-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Footer Section */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #aaa;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.payment-icons {
    display: flex;
    gap: 1rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #aaa;
}

/* Category Page Styles */
.category-header {
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 3rem;
}

.category-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.category-header h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

.woocommerce .woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    min-width: 200px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.woocommerce .woocommerce-result-count {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.75rem;
}

.woocommerce ul.products {
    margin-top: 2rem !important;
}

.woocommerce .woocommerce-pagination ul.page-numbers {
    border: none;
    margin-top: 2rem;
}

.woocommerce .woocommerce-pagination ul.page-numbers li {
    border: none;
    margin: 0 0.25rem;
}

.woocommerce .woocommerce-pagination ul.page-numbers li .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--primary-color);
    background-color: #f5f5f5;
    font-weight: 500;
}

.woocommerce .woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
} 