/* Base styles */
:root {
    --primary-color: #ef6f6c;
    --background-color: #fffcf0;
    --text-color: #333333;
    --light-accent: #f5f2e8;
    --dark-accent: #2c2c2c;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn:hover {
    background-color: var(--dark-accent);
    transform: translateY(-2px);
}

/* Header styles */
header {
    padding: 1rem 0;
    background-color: var(--background-color);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    width: 80px;
    flex-shrink: 0;
}

.logo svg {
    width: 100%;
    height: auto;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    display: block;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-icons a, .nav-icons button {
    margin-left: 1rem;
    font-size: 1.1rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* Cart badge */
.cart-trigger {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Shop page styles */
.shop-header {
    padding: 4rem 0;
    background-color: var(--light-accent);
    text-align: center;
}

.shop-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.shop-header p {
    font-size: 1.1rem;
    color: #666;
}

.shop-content {
    padding: 3rem 0;
}

.shop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    font-family: 'Work Sans', sans-serif;
    border-radius: 2px;
    background-color: white;
    min-width: 150px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    height: 250px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.5;
}

.product-price {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.add-to-cart {
    width: 100%;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination a {
    display: block;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background-color: var(--light-accent);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer styles - Updated for clean simple design */
footer {
    background-color: var(--dark-accent);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Enhanced Cart Experience Styles */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    z-index: 10001;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-color);
}

.cart-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--primary-color);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #666;
}

.cart-empty h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cart-item {
    display: flex;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

.cart-item:hover {
    background-color: #fafafa;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f8f8f8;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-item-description {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--primary-color);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: white;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.cart-subtotal-label {
    font-size: 1rem;
    color: #666;
}

.cart-subtotal-amount {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.cart-shipping-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.cart-checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.cart-checkout-btn:hover {
    background: var(--dark-accent);
    transform: translateY(-1px);
}

.cart-checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.cart-checkout-btn.loading {
    background: #666;
    cursor: wait;
}

.cart-continue {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cart-continue:hover {
    color: var(--primary-color);
}

/* Cart Badge Animation */
.cart-badge-animate {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Add to Cart Button States */
.btn.adding {
    background: #999;
    transform: none;
    cursor: not-allowed;
}

.btn.added {
    background: #28a745;
    transform: none;
}

/* Success notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 0;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-notification-icon {
    color: #28a745;
    font-size: 1.2rem;
}

.cart-notification-text {
    font-size: 0.9rem;
}


/* Mobile adjustments */
@media (max-width: 768px) {

    .workshop-grid {
        grid-template-columns: 1fr;
    }


    .cart-drawer {
        max-width: 100%;
    }

    .cart-item {
        padding: 1rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.1);
        color: white;
    }
}

/* Hero section styles - Updated for half-bleed effect */
.hero-section {
    padding: 5rem 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.hero-content-wrapper {
    margin-bottom: 5rem;
}

.hero-content-wrapper:last-child {
    margin-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Half-bleed image styling */
.hero-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 -3rem; /* Extend beyond content area */
}

/* Adjust margins for left/right positioning */
.hero-content .hero-image:first-child {
    margin-left: -6rem; /* Extend more to the left */
    margin-right: 0;
}

.hero-content .hero-image:last-child {
    margin-right: -6rem; /* Extend more to the right */
    margin-left: 0;
}

.hero-text {
    padding: 0 3rem;
    z-index: 2;
    position: relative;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-accent);
    position: relative;
}

.hero-text h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 1rem;
}

.hero-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.printmaking-image {
    background-image: url('../images/printshop-homepage.png');
}

.design-image {
    background-image: url('../images/Graphic Design Home Image.png');
}

/* Contact section (replacing newsletter) */
.contact-section {
    padding: 4rem 0;
    background-color: var(--light-accent);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    font-family: 'Work Sans', sans-serif;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--dark-accent);
}

.contact-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Status messages */
.status-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Workshop page specific styles */
.workshop-header {
    background-color: var(--light-accent);
    padding: 5rem 0;
    text-align: center;
}

.workshop-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.workshop-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 5rem 0;
}

.workshop-card {
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.workshop-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.workshop-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

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

.workshop-card.coming-soon:hover .workshop-image img {
    transform: none;
}

.workshop-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #ccc;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workshop-content {
    padding: 2rem;
}

.workshop-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.workshop-meta {
    display: flex;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.workshop-meta div {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.workshop-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.workshop-description {
    margin-bottom: 1.5rem;
}

.workshop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workshop-price {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
}

/* Updated Portfolio styles */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-bottom: 5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.portfolio-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider-image {
    min-width: 100%;
    height: 100%;
    background-color: #f8f8f8;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.slider-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.project-info {
    padding: 2rem 0;
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-tags {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
}

.project-description {
    max-width: 700px;
}

/* Section title */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 3rem 0;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* Product page specific styles */
.product-breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #777;
}

.product-breadcrumbs a:hover {
    color: var(--primary-color);
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0 5rem;
}

.product-images {
    position: relative;
}

.main-image {
    margin-bottom: 1rem;
    border: 1px solid #eee;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gallery-thumbnail {
    border: 1px solid #eee;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-price {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-subtitle {
    color: #777;
    font-style: italic;
    margin-bottom: 2rem;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-meta {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.product-meta div {
    margin-bottom: 0.5rem;
}

.product-meta span {
    font-weight: 500;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-selector label {
    margin-right: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.quantity-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.quantity-display {
    width: 3rem;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: 2.5rem;
    padding: 0;
}

.add-to-cart-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.wishlist-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #777;
}

.wishlist-btn i {
    margin-right: 0.5rem;
}

.wishlist-btn:hover {
    color: var(--primary-color);
}

.product-tabs {
    margin: 4rem 0;
    border-bottom: 1px solid #eee;
}

.tab-buttons {
    display: flex;
    gap: 2rem;
}

.tab-btn {
    padding: 1rem 0;
    background: none;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    padding: 2rem 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.tab-panel ul li {
    margin-bottom: 0.5rem;
}

.related-products {
    margin-bottom: 5rem;
}

.related-products h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-image {
    height: 250px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* About page styles */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 500px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Newsletter section */
.newsletter {
    padding: 4rem 0;
    background-color: var(--light-accent);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input,
.newsletter-form textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    font-family: 'Work Sans', sans-serif;
    border-radius: 4px;
}

.newsletter-form textarea {
    resize: vertical;
    min-height: 100px;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--dark-accent);
}

.newsletter-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Success page specific styles */
.success-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.success-container {
    text-align: center;
    max-width: 600px;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPulse 1s ease-out;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--success-color);
}

.success-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.order-details {
    background-color: var(--light-accent);
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
    text-align: left;
}

.order-details h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-info-item {
    display: flex;
    flex-direction: column;
}

.order-info-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.order-info-value {
    font-weight: 500;
    color: var(--text-color);
}

.what-happens-next {
    text-align: left;
    margin: 2rem 0;
}

.what-happens-next h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.next-steps {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.next-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.next-steps {
    counter-reset: step-counter;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.email-confirmation {
    background-color: #e7f3ff;
    border: 1px solid #b6d7ff;
    border-radius: 4px;
    padding: 1rem;
    text-align: left;
    margin: 1.5rem 0;
    display: flex;
    gap: 0.75rem;
}

.email-confirmation i {
    color: #0066cc;
    font-size: 1.2rem;
    margin-top: 4px;
}

.email-confirmation-text {
    font-size: 0.9rem;
    color: #0066cc;
}

/* Responsive styles */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .success-title {
        font-size: 2rem;
    }

    .order-info {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .success-container {
        padding: 1.5rem;
    }

    .success-title {
        font-size: 1.8rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
    }

    .success-icon i {
        font-size: 2rem;
    }
}

/* Responsive styles */
@media (max-width: 1024px) {

    .about-content {
        gap: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .portfolio-slider {
        height: 500px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .hero-image {
        margin: 0 -2rem !important;
    }

    .hero-content .hero-image:first-child {
        margin-left: -4rem !important;
    }

    .hero-content .hero-image:last-child {
        margin-right: -4rem !important;
    }

    .hero-text {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {

    .newsletter-form {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
        order: 2;
    }

    .about-text {
        order: 1;
    }

    .product-container {
        grid-template-columns: 1fr;
    }

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .tab-buttons {
        gap: 1rem;
    }


    .nav-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .shop-header h1 {
        font-size: 2rem;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .shop-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-options {
        width: 100%;
    }

    .filter-options select {
        min-width: auto;
        flex: 1;
    }

    body.snipcart-cart .snipcart-layout {
        width: 100% !important;
        max-width: 100vw !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        height: 350px;
        margin: 0 -2rem !important;
        order: -1; /* Always show image first on mobile */
    }

    .hero-text {
        text-align: center;
        padding: 0 1rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text h2::after {
        margin: 1rem auto 0;
    }

    .contact-form {
        max-width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .portfolio-slider {
        height: 400px;
    }

    .project-info {
        padding: 1.5rem 0;
    }

}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .portfolio-slider {
        height: 300px;
    }

    .logo {
        width: 60px;
    }

    .nav-icons a, .nav-icons button {
        margin-left: 0.5rem;
        padding: 0.25rem;
    }

    .shop-header {
        padding: 2.5rem 0;
    }

    .shop-header h1 {
        font-size: 1.8rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .filter-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero-image {
        margin: 0 -1rem !important;
        height: 300px;
    }

    .hero-text {
        padding: 0 0.5rem;
    }
}

@media (max-width: 400px) {
    .shop-header h1 {
        font-size: 1.5rem;
    }

    .product-details {
        padding: 1rem;
    }

    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
}