/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700;800&family=Varela+Round&display=swap');

:root {
    /* Colors - Cute & Pop Palette */
    --bg-body: #fff0f5;
    /* Lavender Blush */
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;

    --text-main: #5d4037;
    /* Brownish text for softer look */
    --text-muted: #886070;

    --accent-primary: #ff69b4;
    /* Hot Pink */
    --accent-secondary: #ffb6c1;
    /* Light Pink */
    --accent-blue: #87cefa;
    /* Light Sky Blue for variance */

    --border-color: #ffe4e1;
    /* Misty Rose */

    --shadow-soft: 0 4px 15px rgba(255, 105, 180, 0.15);
    --shadow-hover: 0 8px 25px rgba(255, 105, 180, 0.25);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 70px;

    /* Radius */
    --radius-l: 20px;
    --radius-m: 12px;
    --radius-s: 8px;
}

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

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(var(--accent-secondary) 1px, transparent 1px),
        radial-gradient(var(--accent-secondary) 1px, transparent 1px);
    background-size: 20px 20px;
    /* Polka dot pattern */
    background-position: 0 0, 10px 10px;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-m);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    /* Keep consistent */
    font-weight: 800;
    color: var(--accent-primary);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--accent-secondary);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px dotted var(--accent-primary);
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    /* Capsule shape */
    letter-spacing: 0.5px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 2px solid var(--accent-primary);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    background: #ff85c1;
    border-color: #ff85c1;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: none;
}

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

/* Header */
header {
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 2rem;
    /* Larger font */
    font-weight: 800;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 50px;
    /* Adjust based on header height, slightly larger */
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background-color: var(--accent-secondary);
}

/* Hero "Filter/Search" Section */
.hero {
    margin-top: var(--header-height);
    padding: 60px 0 40px;
    text-align: center;
    background: #fff;
    border-bottom: 2px dashed var(--accent-secondary);
    border-radius: 0 0 30px 30px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 700;
    background: #e0f7fa;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero p {
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Card Grid Layout (Product List) */
.section {
    padding: 60px 0;
}

.grid {
    display: grid;
    /* Adjusted for 4 columns on large screens. 1200px container / 4 = approx 300px space per item including gap. 
       260px was fine, but let's make it slightly smaller to ensure 4 fit comfortably if padding exists. */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--bg-card);
    border: 2px solid #fff;
    border-radius: var(--radius-l);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-secondary);
}

.card-image {
    aspect-ratio: 16 / 9;
    /* Video Landscape */
    width: 100%;
    height: auto;
    /* Allow auto height based on width */
    background-color: #ffe4e1;
    position: relative;
    overflow: hidden;
    margin: 0;
    /* Remove margin for full width image look */
    border-radius: var(--radius-l) var(--radius-l) 0 0;
    /* Rounded top only */
}

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

.card:hover .card-image img {
    transform: scale(1.05);
    /* Gentle zoom */
}

/* Badges removed per request */

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.4;
    text-align: center;
}

.model-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Removed rating, price, exerpt styles as they are not used */

.card-actions {
    margin-top: 10px;
}

/* Badge for Bunny Category */
.bunny-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    /* Space between title and model */
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.btn-sm {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 40px 0;
    border-top: 4px dotted var(--accent-secondary);
    text-align: center;
    margin-top: 40px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-links a {
    color: var(--text-main);
    font-size: 0.85rem;
    border-bottom: 1px dashed var(--text-muted);
}

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

/* -----------------------------
   Page Specific Styles
----------------------------- */

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-primary);
}

/* Product Detail */
.detail-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.detail-image-box {
    flex: 1;
    max-width: 500px;
}

.detail-info-box {
    flex: 1;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-model {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
}

.btn-lg {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 18px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 50px;
    background: #e60012;
    /* DMM Red-like */
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(230, 0, 18, 0.3);
}

.btn-lg:hover {
    background: #ff3344;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 0, 18, 0.4);
}

.detail-section {
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.spec-table th {
    width: 30%;
    background-color: #fffafc;
    color: var(--text-muted);
    font-weight: 700;
}

.detail-text {
    line-height: 1.8;
    color: #444;
}

/* Static Content (Privacy/Disclaimer) */
.static-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}

.static-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.static-content h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-secondary);
}

.static-content p {
    margin-bottom: 15px;
}

.static-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.static-content li {
    margin-bottom: 5px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .detail-columns {
        flex-direction: column;
        gap: 20px;
    }

    .detail-image-box {
        max-width: 100%;
    }

    .btn-lg {
        max-width: 100%;
    }

    .static-content {
        padding: 20px;
    }
}

/* -----------------------------
   Page Specific Styles
----------------------------- */

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-primary);
}

/* Product Detail */
/* Product Detail */
.detail-columns {
    display: flex;
    flex-direction: column;
    /* Changed to stacked layout */
    gap: 30px;
    margin-bottom: 60px;
}

.detail-header-info {
    margin-bottom: 20px;
    text-align: left;
}

.detail-image-box {
    width: 100%;
    max-width: 800px;
    /* Wider for 16:9 */
    margin: 0 auto;
}

.detail-info-box {
    /* Now below image */
    width: 100%;
}

.detail-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.4;
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 10px;
}

.detail-model {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
}

.btn-lg {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 18px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 50px;
    background: #e60012;
    /* DMM Red-like */
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(230, 0, 18, 0.3);
}

.btn-lg:hover {
    background: #ff3344;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 0, 18, 0.4);
}

.detail-section {
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.spec-table th {
    width: 30%;
    background-color: #fffafc;
    color: var(--text-muted);
    font-weight: 700;
}

.detail-text {
    line-height: 1.8;
    color: #444;
}

/* Static Content (Privacy/Disclaimer) */
.static-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}

.static-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.static-content h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-secondary);
}

.static-content p {
    margin-bottom: 15px;
}

.static-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.static-content li {
    margin-bottom: 5px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .detail-columns {
        flex-direction: column;
        gap: 20px;
    }

    .detail-image-box {
        max-width: 100%;
    }

    .btn-lg {
        max-width: 100%;
    }

    .static-content {
        padding: 20px;
    }
}


/* Mobile Responsive */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--accent-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        padding: 80px 30px;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        /* Bouncy effect */
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-main);
    }
}