/* =============================================================================
   AUREA TECH — responsive.css
   Responsive breakpoint overrides to complement style.css
   Breakpoints: 1280 | 1200 | 1024 | 768 | 576 | 480 | 360
   ============================================================================= */

/* =============================================================================
   1. CONTAINER & LAYOUT
   ============================================================================= */

@media (max-width: 1280px) {
    .container {
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =============================================================================
   2. SECTION PADDING
   ============================================================================= */

@media (max-width: 1024px) {
    .section,
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .section,
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* =============================================================================
   3. TYPOGRAPHY RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .hero__title,
    .hero-title {
        font-size: 48px;
        line-height: 1.15;
    }

    .section__title,
    .section-title,
    h2.title {
        font-size: 36px;
    }

    .subsection__title,
    h3.title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero__title,
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .section__title,
    .section-title,
    h2.title {
        font-size: 28px;
    }

    .subsection__title,
    h3.title {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero__title,
    .hero-title {
        font-size: 30px;
    }

    .section__title,
    .section-title,
    h2.title {
        font-size: 24px;
    }
}

@media (max-width: 360px) {
    .hero__title,
    .hero-title {
        font-size: 26px;
    }

    body {
        font-size: 14px;
    }
}

/* =============================================================================
   4. HEADER RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .site-header,
    header.header {
        height: 70px;
    }

    .site-nav,
    .header__nav,
    nav.main-nav {
        display: none;
    }

    .hamburger,
    .nav-toggle,
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        color: inherit;
    }

    .site-header__logo img,
    .header__logo img,
    .logo img {
        height: 36px;
        width: auto;
    }

    .header__actions,
    .site-header__actions {
        gap: 12px;
    }
}

/* =============================================================================
   5. MOBILE NAV OVERLAY
   ============================================================================= */

.mobile-nav-overlay,
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #0a0a0a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
}

.mobile-nav-overlay.is-open,
.mobile-nav-overlay.active,
.nav-overlay.is-open,
.nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay .nav-link,
.mobile-nav-overlay a,
.nav-overlay .nav-link,
.nav-overlay a {
    font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #f5f0e8;
    text-decoration: none;
    display: block;
    padding: 14px 0;
    text-align: center;
    transition: color 0.3s ease;
}

.mobile-nav-overlay .nav-link:hover,
.nav-overlay a:hover {
    color: #c9a96e;
}

.mobile-nav-overlay .nav-close,
.nav-overlay .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #f5f0e8;
    font-size: 32px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 360px) {
    .mobile-nav-overlay .nav-link,
    .nav-overlay a {
        font-size: 28px;
    }
}

/* =============================================================================
   6. MEGA MENU
   ============================================================================= */

.mega-menu,
.header__mega-menu {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding: 40px;
}

@media (max-width: 1280px) {
    .mega-menu,
    .header__mega-menu {
        grid-template-columns: repeat(4, 1fr);
        padding: 32px;
    }
}

@media (max-width: 1024px) {
    .mega-menu,
    .header__mega-menu {
        display: none !important;
    }
}

/* =============================================================================
   7. HERO SECTION
   ============================================================================= */

@media (max-width: 1024px) {
    .hero,
    .hero-section {
        flex-direction: column;
    }

    .hero__image-side,
    .hero__visual,
    .hero-image {
        display: none;
    }

    .hero__content,
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 80px 24px;
    }

    .hero__subtitle,
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta,
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero,
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero__content,
    .hero-content {
        padding: 60px 16px;
    }

    .hero__label,
    .hero-label {
        font-size: 11px;
    }

    .hero__cta,
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero__cta .btn,
    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* =============================================================================
   8. PAGE HEROES (inner pages)
   ============================================================================= */

.page-hero,
.page-header {
    height: 450px;
}

@media (max-width: 1024px) {
    .page-hero,
    .page-header {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .page-hero,
    .page-header {
        height: 250px;
    }

    .page-hero__title,
    .page-header__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .page-hero,
    .page-header {
        height: 180px;
    }

    .page-hero__title,
    .page-header__title {
        font-size: 22px;
    }
}

/* =============================================================================
   9. CATEGORY GRID
   ============================================================================= */

@media (max-width: 1024px) {
    .category-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .category-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* =============================================================================
   10. PRODUCT GRID
   ============================================================================= */

@media (max-width: 1200px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__title {
        font-size: 13px;
    }

    .product-card__price {
        font-size: 14px;
    }

    .product-card__image-wrap {
        aspect-ratio: 1 / 1;
    }
}

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

/* =============================================================================
   11. VALUE PROPOSITION / FEATURES SECTION
   ============================================================================= */

@media (max-width: 1024px) {
    .value-prop,
    .features-grid,
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .value-prop,
    .features-grid,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-prop__item,
    .feature-item {
        text-align: center;
    }

    .value-prop__icon,
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =============================================================================
   12. EDITORIAL / CONTENT GRID
   ============================================================================= */

@media (max-width: 1024px) {
    .editorial-grid,
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .editorial-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .editorial-card,
    .editorial-card--featured {
        grid-column: span 1;
    }
}

/* =============================================================================
   13. TESTIMONIALS
   ============================================================================= */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

    .testimonial-card {
        padding: 28px 24px;
    }
}

/* =============================================================================
   14. NEWSLETTER SECTION
   ============================================================================= */

@media (max-width: 768px) {
    .newsletter-section,
    .newsletter__inner {
        text-align: center;
    }

    .newsletter__content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .newsletter-form,
    .newsletter__form {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .newsletter-form input[type="email"],
    .newsletter__form input[type="email"] {
        width: 100%;
        border-radius: 4px;
    }

    .newsletter-form .btn,
    .newsletter__form .btn {
        width: 100%;
        justify-content: center;
        border-radius: 4px;
    }
}

/* =============================================================================
   15. FOOTER RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .footer__grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__nav {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer__grid,
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer__logo img,
    .site-footer__logo img {
        height: 32px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .footer__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom,
    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer__brand-description {
        font-size: 14px;
    }
}

/* =============================================================================
   16. PRODUCT PAGE
   ============================================================================= */

@media (max-width: 1024px) {
    .product-detail,
    .product-page__inner {
        flex-direction: column;
        gap: 40px;
    }

    .product-gallery,
    .product__gallery {
        width: 100%;
        max-width: 100%;
    }

    .product-info,
    .product__info {
        width: 100%;
        max-width: 100%;
    }

    .product-gallery__thumbnails,
    .gallery__thumbs {
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    .product-gallery__thumb,
    .gallery__thumb {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .product-tabs__nav,
    .tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        display: flex;
        border-bottom: 1px solid #e0d9cc;
        padding-bottom: 0;
    }

    .product-tabs__nav::-webkit-scrollbar,
    .tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .product-tabs__tab,
    .tabs__tab {
        flex-shrink: 0;
        padding: 12px 16px;
        font-size: 13px;
    }

    .product-trust-badges,
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product__price,
    .product-price {
        font-size: 28px;
    }

    .product-actions,
    .product__actions {
        flex-direction: column;
        gap: 12px;
    }

    .product-actions .btn,
    .product__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-trust-badges,
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   17. CART PAGE
   ============================================================================= */

@media (max-width: 1024px) {
    .cart-layout,
    .cart__inner {
        flex-direction: column;
        gap: 32px;
    }

    .cart-items,
    .cart__items {
        width: 100%;
    }

    .cart-summary,
    .cart__summary,
    .order-summary {
        width: 100%;
        max-width: 100%;
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .cart-item,
    .cart__item {
        flex-direction: row;
        gap: 12px;
        padding: 16px 0;
    }

    .cart-item__image,
    .cart__item-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .cart-item__details {
        flex: 1;
    }

    .cart-item__price-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .cart-item__name {
        font-size: 14px;
    }

    .quantity-selector,
    .qty-selector {
        transform: scale(0.9);
        transform-origin: left;
    }
}

/* =============================================================================
   18. CART DRAWER
   ============================================================================= */

.cart-drawer,
.mini-cart {
    width: 420px;
    max-width: 100vw;
}

@media (max-width: 480px) {
    .cart-drawer,
    .mini-cart {
        width: 100%;
    }
}

/* =============================================================================
   19. CHECKOUT PAGE
   ============================================================================= */

@media (max-width: 1024px) {
    .checkout-layout,
    .checkout__inner {
        flex-direction: column;
        gap: 32px;
    }

    .checkout-form-col,
    .checkout__form-col {
        width: 100%;
    }

    .checkout-summary-col,
    .checkout__summary-col,
    .checkout-order-summary {
        width: 100%;
        max-width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-steps,
    .checkout__steps {
        font-size: 12px;
        gap: 8px;
    }

    .checkout-steps__step {
        padding: 0 8px;
    }
}

@media (max-width: 576px) {
    .form-row,
    .checkout .form-group--row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group,
    .checkout .form-group--row .form-group {
        width: 100%;
    }

    .payment-methods,
    .checkout__payment-methods {
        gap: 10px;
    }

    .payment-method-option,
    .payment-option {
        padding: 14px 12px;
        font-size: 14px;
    }

    .checkout-submit .btn,
    .checkout__submit .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   20. CONTACT PAGE
   ============================================================================= */

@media (max-width: 1024px) {
    .contact-layout,
    .contact__inner {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-col,
    .contact__form-col {
        width: 100%;
    }

    .contact-info-col,
    .contact__info-col {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-cards,
    .contact__cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card,
    .contact__card {
        padding: 24px 20px;
    }

    .contact-form .form-row,
    .contact__form .form-row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .contact-form textarea,
    .contact__form textarea {
        min-height: 120px;
    }

    .contact-form .btn[type="submit"],
    .contact__form .btn[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   21. ABOUT PAGE
   ============================================================================= */

@media (max-width: 1024px) {
    .about-intro,
    .about__intro {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .about-intro__image,
    .about__intro-image {
        width: 100%;
        max-height: 400px;
        object-fit: cover;
    }

    .values-grid,
    .about__values {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-grid,
    .about__team {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .values-grid,
    .about__values {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid,
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-grid,
    .about__team {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number,
    .about__stat-number {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .about__stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid,
    .about__team {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   22. CATALOG FILTER BAR
   ============================================================================= */

@media (max-width: 1024px) {
    .filter-bar,
    .catalog-filters {
        flex-wrap: wrap;
        gap: 12px;
    }

    .filter-bar__group,
    .catalog-filters__group {
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }

    .filter-bar select,
    .catalog-filters select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .filter-bar,
    .catalog-filters {
        flex-direction: column;
        gap: 10px;
    }

    .filter-bar__group,
    .catalog-filters__group {
        flex: 1 1 100%;
        width: 100%;
    }

    .filter-bar select,
    .catalog-filters select {
        width: 100%;
        font-size: 14px;
    }

    .filter-bar__results,
    .catalog-filters__results {
        width: 100%;
        text-align: center;
        font-size: 13px;
    }
}

/* =============================================================================
   23. FAQ ACCORDION
   ============================================================================= */

@media (max-width: 768px) {
    .faq-item,
    .accordion-item {
        border-radius: 6px;
        margin-bottom: 8px;
    }

    .faq-question,
    .accordion-trigger {
        padding: 16px;
        font-size: 15px;
    }

    .faq-answer,
    .accordion-content {
        padding: 0 16px 16px;
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .faq-question,
    .accordion-trigger {
        font-size: 14px;
        padding: 14px 12px;
    }
}

/* =============================================================================
   24. UTILITY / MISC
   ============================================================================= */

/* Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb,
    .breadcrumbs {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* Pagination */
@media (max-width: 576px) {
    .pagination {
        gap: 4px;
    }

    .pagination__item {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination__prev,
    .pagination__next {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Buttons */
@media (max-width: 576px) {
    .btn--lg {
        padding: 14px 24px;
        font-size: 13px;
    }

    .btn-group,
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-group .btn,
    .cta-group .btn {
        justify-content: center;
    }
}

/* Badges / tags */
@media (max-width: 480px) {
    .badge,
    .tag {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Tables */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        min-width: 600px;
    }
}

/* Modal / Dialog */
@media (max-width: 576px) {
    .modal,
    .dialog {
        width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Alert / notification banners */
@media (max-width: 576px) {
    .alert,
    .notification {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
}

/* Form elements general */
@media (max-width: 576px) {
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 12px 14px;
    }
}

/* Related products */
@media (max-width: 768px) {
    .related-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 360px) {
    .related-products__grid {
        grid-template-columns: 1fr;
    }
}

/* Image banners / promos */
@media (max-width: 768px) {
    .promo-banner,
    .banner-section {
        padding: 32px 16px;
        text-align: center;
    }

    .promo-banner__title,
    .banner-section__title {
        font-size: 24px;
    }

    .promo-banner__subtitle,
    .banner-section__subtitle {
        font-size: 15px;
    }
}

/* Floating/sticky elements */
@media (max-width: 768px) {
    .sticky-bar,
    .floating-cta {
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        bottom: 0;
        padding: 12px 16px;
    }

    .sticky-bar .btn,
    .floating-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   25. PRINT
   ============================================================================= */

@media print {
    .site-header,
    .site-footer,
    .cart-drawer,
    .mobile-nav-overlay,
    .newsletter-section,
    .sticky-bar,
    .floating-cta {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}
