:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #000000;
    --secondary-color: #f5f5f5;
    --accent-color: #d4a373;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 0px;
    --spacing: 1rem;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

a {
    text-decoration: none;
    color: inherit;
}

.product-link {
    display: block;
}

.product-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--border-radius);
}

/* Theme Switcher Removed */


/* Themes */
/* Minimalist (Default) */
.theme-minimalist {
    --bg-color: #ffffff;
    --text-color: #2c2c2c;
    --primary-color: #000000;
    --secondary-color: #f9f9f9;
    --accent-color: #c0a080;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 0px;
}

/* Playful */
.theme-playful {
    --bg-color: #fffdf0; /* Soft cream/yellow tint */
    --text-color: #2d3436;
    --primary-color: #ff7675; /* Salmon/Coral */
    --secondary-color: #74b9ff; /* Soft Blue */
    --accent-color: #fdcb6e; /* Sun Yellow */
    --font-heading: 'Pacifico', cursive; /* Fun script */
    --font-body: 'Quicksand', sans-serif; /* Rounded sans */
    --border-radius: 20px;
}

.theme-playful .hero {
    background-color: var(--secondary-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 20%), 
                      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 20%);
    color: #fff;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.theme-playful .btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 0px #e15f5f; /* Hard shadow for button */
    transform: translateY(0);
    border: none;
}

.theme-playful .btn-primary:active {
    transform: translateY(4px);
    box-shadow: none;
}

.theme-playful .product-card {
    border: 3px solid var(--secondary-color);
    box-shadow: 5px 5px 0px var(--accent-color);
    transform: rotate(-1deg);
}

.theme-playful .product-card:nth-child(even) {
    transform: rotate(1deg);
}

.theme-playful .product-card:hover {
    transform: scale(1.02) rotate(0deg);
    box-shadow: 8px 8px 0px var(--accent-color);
}

/* Natural */
.theme-natural {
    --bg-color: #fcf9f2; /* Warm paper */
    --text-color: #4a403a; /* Dark brown */
    --primary-color: #556b2f; /* Olive Green */
    --secondary-color: #e8e4d9; /* Stone/Taupe */
    --accent-color: #8fbc8f; /* Sage Green */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.theme-natural .hero {
    background-image: linear-gradient(rgba(45, 50, 30, 0.5), rgba(45, 50, 30, 0.5)), url('https://images.unsplash.com/photo-1583337130417-3346a1be7dee?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Dog in nature */
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 60vh; /* Set to match subpages */
    border-radius: 0 0 50% 50% / 15px; /* Subtle curve at bottom */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.theme-natural .btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(85, 107, 47, 0.2);
    border-radius: 30px; /* More organic roundness */
    padding: 12px 35px;
}

.theme-natural .btn-primary:hover {
    background-color: #4a5d29;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(85, 107, 47, 0.3);
}

.theme-natural .product-card {
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    box-shadow: 0 4px 20px rgba(85, 107, 47, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-natural .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(85, 107, 47, 0.15);
}

/* Removed product-image opacity styles to use new img scaling instead */
.theme-natural .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(85, 107, 47, 0.15);
}


.theme-natural .feature-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px dashed var(--accent-color);
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--secondary-color);
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--bg-color);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-box h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Products */
.products {
    padding: 80px 0;
    background: var(--secondary-color); /* Slight contrast */
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Subpage Hero Styles - Matching Home Page Size & Style */
.theme-natural .hero-clothing {
    background-image: linear-gradient(rgba(45, 50, 30, 0.5), rgba(45, 50, 30, 0.5)), url('https://images.unsplash.com/photo-1545249390-6bdfa286032f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    min-height: 60vh; /* Increased from 300px to match immersive feel */
}

.theme-natural .hero-toys {
    background-image: linear-gradient(rgba(45, 50, 30, 0.5), rgba(45, 50, 30, 0.5)), url('https://images.unsplash.com/photo-1548681528-6a5c45b66b42?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    min-height: 60vh; /* Increased from 300px */
}

.theme-natural .hero-about {
    background-image: linear-gradient(rgba(45, 50, 30, 0.5), rgba(45, 50, 30, 0.5)), url('https://images.unsplash.com/photo-1555685812-4b943f1cb0eb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Happy pet group or nature scene */
    min-height: 60vh;
}

.hero h1 {
    font-size: 3.5rem; /* Ensure consistent font size */
}

.hero p {
    font-size: 1.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-link {
    display: block;
    overflow: hidden; /* Ensure image zoom stays within card */
}

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

.product-image-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.theme-natural .product-image {
    /* Removed old styles */
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-info p {
    color: var(--accent-color);
    font-weight: 700;
}

.tb-product {
    padding: 60px 0;
    background: var(--bg-color);
}

.tb-grid {
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.tb-gallery .tb-main {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.tb-viewport {
    width: 100%;
    height: 540px;
    overflow: hidden;
}

.tb-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.4s ease;
}

.tb-slide {
    min-width: 100%;
    height: 100%;
}

.tb-slide img,
.tb-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.4);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-prev { left: 10px; }
.tb-next { right: 10px; }

.tb-thumbs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tb-thumb {
    position: relative;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.tb-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.tb-thumb.active {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.tb-thumb.video::after {
    content: "▶";
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-upload {
    margin-top: 10px;
}

.tb-upload-btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.tb-info .tb-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.tb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 20px;
}

.tb-price-value {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    margin-right: 12px;
}

.tb-price-sub {
    font-size: 0.85rem;
    color: #666;
}

.tb-meta {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.tb-desc {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

.tb-options {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.tb-option-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.tb-sizechart {
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: none;
}

.tb-sizechart.is-open {
    display: block;
}

.tb-sizechart img {
    width: 100%;
    height: auto;
    display: block;
}

.tb-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tb-option {
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.tb-option.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tb-qty-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tb-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    cursor: pointer;
}

.tb-qty-input {
    width: 64px;
    height: 36px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0 8px;
}

.tb-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.tb-tabs {
    padding: 20px 0 80px;
    background: var(--bg-color);
}

.tb-tab-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.tb-tab-btn {
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.tb-tab-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tb-tab-pane {
    display: none;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.tb-tab-pane.active {
    display: block;
}
/* Connect with Us Section */
.connect-section {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.qr-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.qr-box {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.qr-box:hover {
    transform: translateY(-5px);
}

.qr-code {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    background-color: #f0f0f0; /* Placeholder for QR code */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-box h4 {
    margin: 0;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #aaa;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: #fff;
}

/* Specific Theme Adjustments */
/* Minimalist adjustments */
.theme-minimalist .hero {
    background: #f4f4f4;
    color: #000;
}
