/* ============================================
   GranVale Distribuidora - Main Stylesheet
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Text Colors --- */
.text-accent {
    color: #f4c430;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f4c430, #e6b800);
    color: #092a1f;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6b800, #d4a800);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 196, 48, 0.4);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 42, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f4c430;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #f4c430;
}

.nav-link:hover::after {
    width: 100%;
}

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

.btn-cart {
    position: relative;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-cart:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f4c430;
    color: #092a1f;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mobile {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #092a1f 0%, #0d3d2d 30%, #0d4a35 60%, #1a5a47 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(244, 196, 48, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(126, 200, 80, 0.06) 0%, transparent 50%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/s%20(1).png') center / cover no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* --- Features --- */
.features {
    padding: 80px 0;
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.15), rgba(126, 200, 80, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ec850;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #092a1f;
    margin-bottom: 8px;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #092a1f, #0d3d2d);
    color: #fff;
}

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.about-content .section-title {
    color: #fff;
    text-align: left;
}

.about-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #092a1f;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #666;
    font-size: 1.05rem;
}

/* --- Products --- */
.products {
    padding: 100px 0;
    background: #fafafa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #092a1f;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f4c430, #e6b800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(126, 200, 80, 0.15);
    color: #4a9e30;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #092a1f, #0d3d2d);
    color: #fff;
}

.testimonials .section-title {
    color: #fff;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.star-filled {
    color: #f4c430;
}

.star-empty {
    color: rgba(255, 255, 255, 0.25);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 14px;
}

.testimonial-author {
    color: #f4c430;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.15), rgba(126, 200, 80, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ec850;
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #092a1f;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: #666;
}

.contact-form-wrapper {
    background: #fafafa;
    padding: 32px;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    background: #fff;
}

.form-control:focus {
    border-color: #7ec850;
    box-shadow: 0 0 0 3px rgba(126, 200, 80, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, #092a1f, #0d3d2d);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 12px 0 20px;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #f4c430;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #f4c430;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

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

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* --- Flash Messages --- */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: 90%;
    max-width: 600px;
}

.flash-message {
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
    animation: flashIn 0.3s ease;
}

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

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

@keyframes flashIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Cart Modal --- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 500px;
    max-width: calc(100vw - 32px);
    max-height: 85vh;
    background: #fff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #092a1f;
}

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

.cart-close:hover {
    background: #f5f5f5;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    max-height: 50vh;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.cart-item-price {
    color: #f4c430;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 2px;
}

.cart-item-qty button {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #092a1f;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-item-qty button:hover {
    background: #e0e0e0;
}

.cart-item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-footer-row {
    display: flex;
    gap: 10px;
}

.cart-footer-row .btn {
    flex: 1;
    text-align: center;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: #092a1f;
}

/* --- 404 Page --- */
.not-found {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.not-found-card {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 500px;
}

.not-found-icon {
    margin-bottom: 20px;
}

.not-found-title {
    font-size: 4rem;
    font-weight: 800;
    color: #092a1f;
    line-height: 1;
}

.not-found-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #092a1f;
    margin-bottom: 12px;
}

.not-found-text {
    color: #666;
    margin-bottom: 24px;
}

/* --- Page Header --- */
.page-header {
    padding-top: 90px;
    padding-bottom: 30px;
    background: linear-gradient(135deg, #092a1f, #0d3d2d);
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f4c430;
}

/* --- Products Page --- */
.products-page {
    padding: 60px 0;
}

/* --- Product Detail --- */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.product-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: #092a1f;
    margin-bottom: 12px;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: #f4c430;
    margin-bottom: 20px;
}

.product-detail-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

/* --- Checkout --- */
.checkout-section {
    padding: 40px 0 80px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.checkout-form h2,
.checkout-summary h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #092a1f;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f4c430;
}

.checkout-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-form .form-row .form-group {
    margin-bottom: 0;
}

.checkout-summary {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.checkout-item-qtd {
    font-size: 0.8rem;
    color: #999;
    margin-top: 2px;
}

.checkout-item-price {
    font-weight: 600;
    color: #092a1f;
    font-size: 0.95rem;
    white-space: nowrap;
}

.checkout-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}

.checkout-item-qty button {
    background: none;
    border: none;
    width: 26px;
    height: 26px;
    font-size: 1rem;
    font-weight: 700;
    color: #092a1f;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.checkout-item-qty button:hover {
    background: #e0e0e0;
}

.checkout-item-qty span {
    min-width: 22px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
}

.checkout-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.checkout-item-remove:hover {
    color: #e74c3c;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 2px solid #092a1f;
    font-size: 1.2rem;
    font-weight: 700;
    color: #092a1f;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #ffd4d4;
    color: #c0392b;
}

/* --- Checkout Success --- */
.checkout-success {
    padding: 60px 0 80px;
}

.success-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.success-icon {
    margin-bottom: 16px;
}

.success-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #092a1f;
    margin-bottom: 12px;
}

.success-msg {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.success-details {
    background: #f8fcf5;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: left;
}

.success-details p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #555;
}

.success-details p:last-child {
    border-bottom: none;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #092a1f;
    border-radius: 8px;
    background: transparent;
    color: #092a1f;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-outline:hover {
    background: #092a1f;
    color: #fff;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-form,
    .checkout-summary {
        padding: 24px 20px;
    }
}

/* --- Institutional Pages --- */
.content-page {
    padding: 60px 0 80px;
    background: #f8fcf5;
    min-height: 50vh;
}

.content-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    max-width: 800px;
    margin: 0 auto;
}

.content-box h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #092a1f;
    margin-top: 32px;
    margin-bottom: 12px;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #092a1f;
    margin-bottom: 8px;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 280px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(9, 42, 31, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .btn-mobile {
        display: block;
    }

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

    .product-detail-image img {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

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

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