/* ========================================
   GreenHaven - Laravel E-Commerce Plants
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-darker: #047857;
    --primary-light: #d1fae5;
    --primary-lighter: #ecfdf5;
    
    --secondary-color: #84cc16;
    --secondary-dark: #65a30d;
    --secondary-light: #ecfccb;
    
    --text-dark: #064e3b;
    --text-medium: #065f46;
    --text-light: #047857;
    --text-muted: #6b7280;
    
    --bg-white: #ffffff;
    --bg-light: #f0fdf4;
    --bg-cream: #fefce8;
    
    --border-color: #bbf7d0;
    --border-light: #dcfce7;
    
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --gradient-secondary: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    
    --shadow-sm: 0 1px 2px rgba(16, 185, 129, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header .container {
    position: relative;
}

.mobile-menu-btn {
    display: none !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-medium);
    border: 1px solid rgba(6, 78, 59, 0.12);
    background: transparent;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--primary-lighter);
    color: var(--primary-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo i {
    font-size: 28px;
    color: var(--secondary-color);
    animation: leafSway 3s ease-in-out infinite;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-medium);
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary-lighter);
    color: var(--primary-color);
}

.icon-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    gap: 16px;
}

.search-container input {
    flex: 1;
    padding: 20px 30px;
    font-size: 18px;
    border: none;
    border-radius: 16px;
}

.close-search {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    font-size: 24px;
    color: var(--text-dark);
}

/* Page Banner */
.page-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 20 30 35 Q25 20 30 5' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: white;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
}

/* Plant Cards */
.plant-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.plant-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.plant-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.plant-card:hover .plant-image img {
    transform: scale(1.08);
}

.plant-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-sale { background: var(--gradient-secondary); color: white; }
.badge-new { background: var(--success-color); color: white; }
.badge-rare { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: white; }
.badge-indoor { background: var(--primary-light); color: var(--primary-dark); }
.badge-outdoor { background: var(--secondary-light); color: var(--secondary-dark); }

.plant-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: var(--transition);
}

.plant-card:hover .plant-overlay {
    opacity: 1;
}

.plant-actions {
    display: flex;
    gap: 10px;
}

.plant-action-btn {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.plant-card:hover .plant-action-btn {
    transform: translateY(0);
    opacity: 1;
}

.plant-card:hover .plant-action-btn:nth-child(2) { transition-delay: 0.1s; }
.plant-card:hover .plant-action-btn:nth-child(3) { transition-delay: 0.2s; }

.plant-action-btn:hover {
    background: var(--primary-color);
    color: white;
}

.plant-info {
    padding: 20px;
}

.plant-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plant-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 8px 0;
    line-height: 1.3;
}

.plant-name a:hover {
    color: var(--primary-color);
}

.plant-specs {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.plant-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.plant-specs i {
    color: var(--secondary-color);
}

.care-icons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.care-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary-color);
    position: relative;
}

.plant-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.plant-price .current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.plant-price .original {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.read-more-btn {
    background: white;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: white;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
}

.blog-meta .category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-meta .date {
    color: var(--text-muted);
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border-light);
}

.blog-footer .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-footer .author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-footer .stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Category Segment */
.category-segment {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.segment-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

.segment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.segment-card:hover img {
    transform: scale(1.1);
}

.segment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.9) 0%, rgba(6, 78, 59, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.segment-card:hover .segment-overlay {
    background: linear-gradient(to top, rgba(16, 185, 129, 0.95) 0%, rgba(16, 185, 129, 0.5) 100%);
}

.segment-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.segment-card:hover .segment-icon {
    transform: translateY(0);
    opacity: 1;
}

.segment-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.segment-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
    padding: 80px 0;
}

.benefit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 15px;
}

/* Care Guide */
.care-guide-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.care-guide-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.care-guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.care-guide-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.care-guide-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* Seasonal Banner */
.seasonal-banner {
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    padding: 60px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.seasonal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.seasonal-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.seasonal-tag {
    display: inline-block;
    background: white;
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.seasonal-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.seasonal-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.seasonal-image {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 300px;
}

.seasonal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.3);
}

/* Testimonials */
.testimonial-section {
    background: var(--bg-cream);
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.plant-lover-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

/* Newsletter */
.newsletter-section {
    background: var(--text-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
}

.newsletter-form-green {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form-green input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
}

.newsletter-form-green button {
    padding: 16px 32px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.shop-sidebar {
    position: sticky;
    top: 92px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.featured-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.blog-sidebar {
    position: sticky;
    top: 92px;
    height: fit-content;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 8px;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.search-box button {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
}

/* Category List */
.shop-category-list li {
    margin-bottom: 4px;
}

.shop-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-size: 14px;
}

.shop-category-list a:hover,
.shop-category-list a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.shop-category-list .count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-light);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-medium);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

/* Price Range */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-field {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    flex: 1;
}

.price-field input {
    width: 100%;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-dark);
}

.btn-filter-price {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Promo Widget */
.promo-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white;
    text-align: center;
}

.promo-content .promo-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.promo-content h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-shop-now {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-primary) !important;
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.newsletter-widget p {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.newsletter-widget input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.newsletter-widget button {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

.page-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart Steps */
.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    font-size: 18px;
}

.step-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-line {
    width: 100px;
    height: 2px;
    background: var(--border-light);
    margin: 0 16px;
    margin-bottom: 24px;
}

.step-line.completed {
    background: var(--primary-color);
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
}

/* Blog Detail Layout */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-links h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

    .shop-layout,
    .blog-layout,
    .blog-detail-layout {
        grid-template-columns: 260px 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .category-segment {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-wrapper {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        height: auto;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        flex-direction: column;
        gap: 16px;
        background: var(--bg-white);
        border-radius: var(--radius-lg);
        padding: 18px 20px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.08);
        z-index: 1001;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        padding: 10px 0;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .language-switcher {
        order: 1;
        margin-left: auto;
    }

    .hero {
        padding: 60px 0;
    }

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

    .hero-grid > div:last-child {
        order: 1;
    }

    .hero-grid > div:first-child {
        order: 2;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
    }
    
    .shop-layout,
    .blog-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-sidebar,
    .blog-sidebar {
        position: static;
    }
    
    .category-segment {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .care-guide-grid {
        grid-template-columns: 1fr;
    }
    
    .seasonal-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .seasonal-image {
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-segment {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .cart-steps {
        flex-wrap: wrap;
    }
    
    .step-line {
        width: 50px;
    }
}

/* ===== SHOP MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        order: 2; /* sidebar di bawah produk di mobile */
    }

    .shop-main {
        order: 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .plant-card .plant-image {
        height: 160px;
    }

    .plant-card .plant-info {
        padding: 10px 12px;
    }

    .plant-card .plant-name {
        font-size: 13px;
    }

    .plant-card .plant-price .current {
        font-size: 14px;
    }

    .plant-card .plant-actions {
        flex-direction: column;
        gap: 6px;
    }

    .plant-card .btn-add-cart {
        font-size: 12px;
        padding: 8px 10px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }

    .toolbar-actions {
        width: 100%;
    }

    .toolbar-actions form {
        width: 100%;
    }

    .toolbar-actions form input[type="text"] {
        width: 100% !important;
    }

    .toolbar-actions .sort-select {
        width: 100%;
    }
}

/* ===== CARE GUIDE RESPONSIVE ===== */
.cg-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cg-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cg-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

@media (max-width: 768px) {
    .cg-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cg-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cg-grid-2 { grid-template-columns: 1fr; gap: 16px; }
    .cg-grid-2col { grid-template-columns: 1fr; gap: 24px; }

    .cg-grid-4 > div,
    .cg-grid-3 > div,
    .cg-grid-2 > div {
        padding: 16px !important;
    }
}

@media (max-width: 480px) {
    .cg-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
