/* css/responsive.css */

/* Tablet & Mobile (Max 768px) */
@media (max-width: 768px) {
  
  /* Statistics Section - Tablet */
  .statistics-section {
    padding: 60px 16px;
    margin-top: 40px;
  }
  
  .statistics-header h2 {
    font-size: 28px;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .statistic-card {
    padding: 25px;
  }
  
  .statistic-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  
  .statistic-number {
    font-size: clamp(22px, 8vw, 36px);
    margin-bottom: 6px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }
  
  .statistic-label {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .statistic-description {
    font-size: 13px;
  }
  
  /* Egg Comparison Section - Tablet */
  .egg-comparison {
    padding: 60px 16px;
    margin-top: 40px;
  }
  
  .egg-comparison-header h2 {
    font-size: 28px;
  }
  
  .egg-comparison-subtitle {
    font-size: 15px;
  }
  
  .egg-comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .egg-comparison-card {
    padding: 25px;
  }
  
  .egg-comparison-icon {
    font-size: 40px;
  }
  
  .egg-comparison-card-title {
    font-size: 18px;
  }
  
  .egg-comparison-item {
    padding: 15px;
  }
  
  .egg-comparison-item p {
    font-size: 13px;
  }
  
  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-text h1 {
    font-size: 36px !important;
  }
  
  /* Certificates & Gifts Carousel - Tablet */
  .comparison-image {
    padding: 40px 16px;
  }
  
  .comparison-image h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .carousel-prev {
    left: 10px;
  }
  
  .carousel-next {
    right: 10px;
  }
  
  .thumb {
    width: 80px;
    height: 80px;
  }
  
  /* Featured Product - Tablet */
  .featured-product-card {
    grid-template-columns: 1fr;
  }
  
  .featured-product-image {
    max-height: 400px;
  }
  
  .featured-product-info {
    padding: 30px;
  }
  
  .featured-product-name {
    font-size: 24px;
  }
  
  .featured-product-price .price-new {
    font-size: 30px;
  }
  
  .featured-product-btn {
    font-size: 18px;
    padding: 16px;
  }
  
  .featured-badge {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  /* Products Grid - Tablet */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  /* Customer Feedback Gallery - Tablet */
  .customer-feedback-gallery {
    padding: 60px 16px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header p {
    font-size: 15px;
  }
  
  .feedback-masonry-grid {
    column-count: 2;
    column-gap: 15px;
  }
  
  .feedback-item {
    margin-bottom: 15px;
    border-radius: 10px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }
  .modal.show {
    align-items: flex-end;
  }

  .hero-content,
  .why-content {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 32px;
  }

  .header-container {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
  }
  .header-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .logo {
    font-size: 18px;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .logo > div:last-child > div:last-child {
    font-size: 10px;
  }

  .hero {
    padding: 40px 16px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-image {
    order: 2;
  }
  .hero-text {
    order: 1;
  }
  .hero-text p {
    font-size: 15px;
  }

  .comparison-image h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .comparison h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    font-size: 13px;
  }
  .comparison-carousel {
    padding: 16px;
  }
  .comparison-carousel-thumbs {
    gap: 10px;
  }
  .comparison-carousel-thumbs .thumb {
    width: 90px;
    height: 70px;
  }
  .comparison-carousel p {
    font-size: 15px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0052a3 100%);
    flex-direction: column;
    gap: 0;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  .nav-menu.mobile-active {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-menu-btn {
    display: block;
  }

  .pricing-item.featured {
    transform: scale(1);
  }
  .countdown-timer {
    gap: 15px;
  }
  .countdown-item {
    min-width: 80px;
    padding: 15px 20px;
  }
  .countdown-value {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .why-section .farm-story {
    padding-top: 20px;
  }
  .story-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .story-content.reverse {
    direction: ltr;
  }
  .story-content.reverse .story-image,
  .story-content.reverse .story-text {
    order: unset;
  }
  .story-text h3,
  .story-text h4 {
    font-size: 1.5rem;
  }

  .modal-content {
    width: 100%;
    max-width: none;
    max-height: 88vh;
    margin: 0;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.18);
  }
  .modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .searchable-select-trigger,
  .searchable-select-input,
  .searchable-select-option {
    font-size: 16px;
  }
  .searchable-select-trigger {
    min-height: 52px;
  }
  .searchable-select-input {
    min-height: 48px;
  }

  .product-radio-grid {
    grid-template-columns: 1fr;
  }
  .product-radio-card {
    padding: 14px;
    align-items: flex-start;
  }
  .product-radio-card strong {
    font-size: 16px;
  }
  .product-radio-card p,
  .product-radio-card small {
    line-height: 1.5;
  }

  .farm-video {
    padding: 40px 16px;
  }
  .farm-video h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .vimeo-vertical-wrapper {
    max-width: 320px;
    border-radius: 14px;
  }
  .farm-video-wrapper {
    border-radius: 18px;
  }
  .farm-video-wrapper video {
    aspect-ratio: 16 / 9;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
  }
}

/* Small Mobile (Max 480px) */
@media (max-width: 480px) {
  
  /* Statistics Section - Mobile */
  .statistics-section {
    padding: 40px 12px;
    margin-top: 40px;
  }
  
  .statistics-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .statistics-header h2::after {
    width: 50px;
    height: 3px;
  }
  
  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .statistic-card {
    padding: 20px;
    border-width: 1px;
  }
  
  .statistic-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .statistic-number {
    font-size: 36px;
    margin-bottom: 6px;
  }
  
  .statistic-label {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .statistic-description {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Egg Comparison Section - Mobile */
  .egg-comparison {
    padding: 40px 12px;
    margin-top: 40px;
  }
  
  .egg-comparison-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .egg-comparison-header h2::after {
    width: 50px;
    height: 3px;
  }
  
  .egg-comparison-subtitle {
    font-size: 14px;
  }
  
  .egg-comparison-grid {
    gap: 15px;
  }
  
  .egg-comparison-card {
    padding: 20px;
    border-width: 1px;
  }
  
  .egg-comparison-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }
  
  .egg-comparison-card-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .egg-comparison-item {
    padding: 12px;
  }
  
  .egg-comparison-badge {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .egg-comparison-item p {
    font-size: 13px;
    line-height: 1.7;
  }
  
  /* Certificates & Gifts Carousel - Mobile */
  .comparison-image {
    padding: 30px 12px;
  }
  
  .comparison-image h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .thumb {
    width: 60px;
    height: 60px;
    border-width: 2px;
  }
  
  .comparison-carousel-thumbs {
    gap: 10px;
  }
  
  /* Featured Product - Mobile */
  .featured-product-section {
    margin-bottom: 35px;
  }
  
  .featured-badge {
    font-size: 12px;
    padding: 8px 16px;
    top: -12px;
  }
  
  .featured-product-card {
    grid-template-columns: 1fr;
    border-width: 2px;
  }
  
  .featured-product-image {
    max-height: 300px;
  }
  
  .featured-discount-label {
    font-size: 16px;
    padding: 8px 15px;
    top: 15px;
    right: 15px;
  }
  
  .featured-product-info {
    padding: 20px;
  }
  
  .featured-product-name {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .featured-product-specs {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .featured-product-price {
    margin-bottom: 25px;
    gap: 10px;
  }
  
  .featured-product-price .price-old {
    font-size: 18px;
  }
  
  .featured-product-price .price-new {
    font-size: 26px;
  }
  
  .featured-product-price .price-save {
    font-size: 14px;
    padding: 5px 12px;
  }
  
  .featured-product-btn {
    font-size: 16px;
    padding: 14px;
  }
  
  /* Products Grid - Mobile */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #products-section-container > h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  /* Customer Feedback Gallery - Mobile */
  .customer-feedback-gallery {
    padding: 40px 12px;
    margin-top: 40px;
  }
  
  .section-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .section-header h2::after {
    width: 50px;
    height: 3px;
  }
  
  .section-header p {
    font-size: 14px;
  }
  
  .feedback-masonry-grid {
    column-count: 1;
    column-gap: 0;
  }
  
  .feedback-item {
    margin-bottom: 15px;
    border-radius: 10px;
  }
  
  .feedback-item:hover {
    transform: none;
  }
  
  /* FAQ Section - Mobile */
  .faq {
    padding: 40px 16px;
  }
  
  .faq h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .faq-item {
    margin-bottom: 12px;
    border-radius: 10px;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 14px;
  }
  
  .faq-icon {
    font-size: 16px;
  }
  
  .faq-answer {
    padding: 0 15px;
  }
  
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  
  .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
  }

  .custom-alert {
    top: 68px;
    width: calc(100vw - 20px);
  }
  .alert-content {
    padding: 8px 10px;
    border-radius: 12px;
    gap: 8px;
  }
  .alert-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .alert-customer {
    font-size: 12px;
  }
  .alert-product {
    font-size: 10px;
  }
  .alert-close {
    width: 22px;
    height: 22px;
    font-size: 16px;
  }

  .hero-text h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .header-container {
    padding: 0 12px;
  }
  .header-btn {
    padding: 9px 15px;
    font-size: 12px;
  }
  .logo {
    font-size: 16px;
    gap: 8px;
  }
  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .logo > div:last-child > div:first-child {
    font-size: 14px;
  }
  .logo > div:last-child > div:last-child {
    font-size: 9px;
  }
  .nav-menu a {
    font-size: 13px;
    padding: 10px 16px;
  }

  .hero {
    padding: 30px 16px;
  }
  .hero-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .farm-video {
    padding: 30px 12px;
  }
  .farm-video h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .vimeo-vertical-wrapper {
    max-width: 280px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }
  .farm-video-wrapper {
    box-shadow: none;
    border-radius: 16px;
  }
  .farm-video-wrapper video {
    aspect-ratio: 16 / 9;
  }

  .discount-badge {
    font-size: 22px;
    padding: 12px 20px;
    margin-bottom: 15px;
  }
  .discount-text {
    font-size: 12px;
    margin-top: 8px;
  }
  .cta-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .comparison-image h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .comparison-carousel {
    padding: 12px;
  }
  .comparison-carousel-main img {
    width: 100%;
    height: auto;
    max-height: none;
  }
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .comparison-carousel-thumbs {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-carousel-thumbs .thumb {
    min-width: 74px;
    width: auto;
    flex: 0 0 auto;
    height: 58px;
  }
  .comparison-carousel p {
    font-size: 13px;
    margin-top: 15px;
  }

  .products-container {
    grid-template-columns: 1fr;
  }
  .testimonials-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .testimonial-card {
    min-width: 270px;
    flex: 0 0 270px;
    padding: 20px;
  }
  .testimonial-text {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .pricing-table {
    grid-template-columns: 1fr;
  }
  .countdown-timer {
    gap: 10px;
  }
  .countdown-item {
    min-width: 70px;
    padding: 12px 15px;
  }
  .countdown-value {
    font-size: 28px;
  }
  .countdown-label {
    font-size: 11px;
  }

  .modal-content {
    width: 100%;
    max-height: 90vh;
    padding: 20px 14px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .product-radio-card {
    padding: 12px;
  }
  .submit-btn {
    min-height: 52px;
    font-size: 16px;
  }

  .story-text h3,
  .story-text h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .why-text h3 {
    font-size: 20px;
  }
  .why-text p,
  .why-list li {
    font-size: 14px;
  }
  .benefit-item h3 {
    font-size: 15px;
  }
  .benefit-item p {
    font-size: 13px;
  }
}

/* Very Small Phones (iPhone 14 Pro & similar) */
@media (max-width: 393px) {
  .custom-alert {
    top: 62px;
    width: calc(100vw - 16px);
  }
  .alert-content {
    padding: 8px 9px;
  }
  .alert-customer {
    font-size: 11px;
  }
  .alert-product {
    font-size: 9px;
  }

  header {
    padding: 10px 0;
  }
  .header-container {
    padding: 0 10px;
    gap: 8px;
  }
  .logo {
    font-size: 14px;
    gap: 6px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .logo > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .logo > div:last-child > div:first-child {
    font-size: 12px;
    font-weight: bold;
  }
  .logo > div:last-child > div:last-child {
    font-size: 7px;
    line-height: 1;
  }
  .header-btn {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 4px;
  }
  .mobile-menu-btn {
    font-size: 20px;
  }
  .nav-menu a {
    font-size: 12px;
    padding: 10px 14px;
  }

  .hero {
    padding: 25px 12px;
  }
  .hero::before {
    width: 350px;
    height: 350px;
    top: -50%;
    right: -15%;
  }
  .hero-text h1 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .hero-text p {
    font-size: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .discount-badge {
    font-size: 18px;
    padding: 10px 16px;
    margin-bottom: 10px;
    border-radius: 40px;
  }
  .discount-text {
    font-size: 10px;
    margin-top: 6px;
  }
  .cta-btn {
    padding: 10px 16px;
    font-size: 12px;
    margin-top: 15px;
  }
  .hero-image {
    margin-top: 20px;
  }
  .hero-image img {
    border-radius: 12px;
  }

  .benefits {
    padding: 30px 12px;
    margin-top: 0;
  }
  .benefits-container {
    gap: 15px;
  }
  .benefit-item {
    padding: 15px;
    border-radius: 8px;
  }
  .benefit-icon {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .benefit-item h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .benefit-item p {
    font-size: 11px;
    line-height: 1.6;
  }

  .why-section {
    padding: 0 12px;
    margin-top: 40px;
  }
  .why-section h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .why-content {
    gap: 20px;
    margin-top: 25px !important;
  }
  .why-image img {
    border-radius: 12px;
  }
  .why-text h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .why-text p {
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .why-list li {
    padding: 8px 0;
    padding-left: 28px;
    font-size: 12px;
  }
  .why-list li:before {
    font-size: 16px;
  }
  .story-text h3,
  .story-text h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .story-text p {
    font-size: 12px;
    line-height: 1.6;
  }
  .usp-list li {
    padding: 8px 0;
    padding-left: 28px;
    font-size: 12px;
  }
  .usp-list li:before {
    font-size: 16px;
  }

  .comparison {
    margin-top: 40px;
    padding: 0 12px;
  }
  .comparison h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .comparison-table {
    border-radius: 8px;
    overflow-x: auto;
    display: block;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 11px;
  }
  .comparison-table th {
    font-size: 12px;
  }
  .check-mark {
    font-size: 16px;
  }
  .cross-mark {
    font-size: 16px;
  }

  .comparison-image {
    margin-top: 40px;
    padding: 0 12px;
  }
  .comparison-image h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .comparison-carousel {
    padding: 10px;
    border-radius: 16px;
  }
  .comparison-carousel-main {
    border-radius: 14px;
  }
  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .carousel-prev {
    left: 10px;
  }
  .carousel-next {
    right: 10px;
  }
  .comparison-carousel-thumbs {
    gap: 6px;
    margin-top: 12px;
  }
  .comparison-carousel-thumbs .thumb {
    min-width: 64px;
    width: auto;
    height: 48px;
    padding: 3px;
    border-radius: 10px;
  }
  .comparison-carousel-thumbs .thumb img {
    border-radius: 8px;
  }
  .comparison-carousel p {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.6;
  }

  .products {
    padding: 40px 12px;
    margin-top: 40px;
  }
  .products h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .products-container {
    gap: 15px;
  }
  .product-card {
    border-radius: 10px;
  }
  .product-image {
    height: 200px;
  }
  .discount-label {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .product-info {
    padding: 15px;
  }
  .product-name {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .product-specs {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .price-new {
    font-size: 20px;
  }
  .price-old {
    font-size: 12px;
  }
  .product-btn {
    padding: 10px;
    font-size: 12px;
  }

  .testimonials {
    margin-top: 40px;
    padding: 0 12px;
  }
  .testimonials h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .testimonial-card {
    min-width: 240px;
    flex: 0 0 240px;
    padding: 16px;
    border-left-width: 4px;
  }
  .stars {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .testimonial-text {
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .author-avatar {
    width: 45px;
    height: 45px;
    border-width: 2px;
  }
  .author-info h4 {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .author-info p {
    font-size: 11px;
  }

  .pricing {
    padding: 40px 12px;
    margin-top: 0px;
  }
  .pricing h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .countdown {
    margin: 25px 0;
    padding: 25px 15px;
    border-radius: 10px;
  }
  .countdown h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .countdown-timer {
    gap: 8px;
  }
  .countdown-item {
    min-width: 60px;
    padding: 10px 12px;
    border-radius: 6px;
  }
  .countdown-value {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .countdown-label {
    font-size: 9px;
  }
  .pricing-table {
    gap: 15px;
  }
  .pricing-item {
    padding: 20px 15px;
    border-radius: 10px;
  }
  .pricing-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
}
