/* ══════════════════════════════════════════════════════════════════
   CLOUDS ICE CREAM - MOBILE RESPONSIVE STYLES
   ══════════════════════════════════════════════════════════════════ */

/* ── TABLET (max-width: 1024px) ─────────────────────────────────── */
@media screen and (max-width: 1024px) {

  /* Navigation */
  nav {
    padding: 20px 32px;
  }

  .nav-logo img {
    width: 100px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 16px;
  }

  /* .nav-icon {
    width: 36px;
    height: 36px;
  } */

  /* Hero */
  #big-text {
    font-size: clamp(80px, 15vw, 300px);
  }

  #flavor-info {
    bottom: 50px;
    left: 40px;
    max-width: 300px;
  }

  .flavor-name {
    font-size: clamp(28px, 4vw, 40px);
  }

  .flavor-desc {
    font-size: 14px;
    max-width: 260px;
  }

  .btn-more {
    padding: 12px 24px;
    font-size: 12px;
  }

  /* Size Selector */
  #size-selector {
    right: 32px;
  }

  .size-btn {
    width: 80px;
    height: 80px;
  }

  .size-num {
    font-size: 20px;
  }

  .size-unit {
    font-size: 12px;
  }

  /* Scroll Down */
  #scroll-down {
    right: 32px;
    bottom: 32px;
  }

  #scroll-ring {
    width: 60px;
    height: 60px;
  }

  /* Flavour Grid */
  .flavour-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-name {
    font-size: clamp(14px, 1.8vw, 18px);
  }

  /* About Section */
  .about-container {
    width: 100%;
    flex-direction: column;
    padding: 80px 40px;
    gap: 50px;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-title {
    font-size: clamp(48px, 8vw, 72px);
  }

  .about-stats {
    justify-content: center;
  }

  .about-image {
    max-width: 80%;
    height: auto;
    min-height: 400px;
  }

  .circle-text-wrapper {
    width: 180px;
    height: 180px;
    top: -30px;
    right: -30px;
  }

  /* Contact Section */
  .contact-container {
    width: 100%;
    flex-direction: column;
    padding: 60px 40px;
    gap: 50px;
  }

  .contact-content {
    max-width: 100%;
    /* text-align: center; */
  }

  .contact-title {
    font-size: clamp(48px, 8vw, 72px);
  }

 

  .contact-form-wrapper {
    max-width: 100%;
    width: 100%;
  }

  /* Products Section */
  .products-container {
    width: 100%;
    padding: 0 40px;
  }

  .products-title {
    font-size: clamp(42px, 7vw, 64px);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-image {
    height: 180px;
  }

  .product-name {
    font-size: 15px;
  }

  /* Footer */
  .footer-container {
    width: 100%;
    padding: 0 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
    grid-column: span 2;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ── MOBILE LANDSCAPE / SMALL TABLET (max-width: 768px) ─────────── */
@media screen and (max-width: 768px) {

  /* Navigation */
  nav {
    padding: 16px 24px;
  }

  .nav-logo img {
    width: 90px;
  }

  .nav-links {
    display: none;
  }

  .nav-icons {
    gap: 12px;
  }

  /* .nav-icon {
    width: 34px;
    height: 34px;
  } */

  /* Hero */
  #big-text {
    font-size: clamp(60px, 18vw, 200px);
  }

  #product-img {
    width: 220%;
    height: 220%;
  }

  #flavor-info {
    bottom: 120px;
    left: 24px;
    right: 24px;
    max-width: 100%;
  }

  .flavor-eyebrow {
    font-size: 10px;
  }

  .flavor-name {
    font-size: clamp(26px, 6vw, 36px);
  }

  .flavor-desc {
    font-size: 13px;
    max-width: 100%;
  }

  .btn-more {
    padding: 12px 22px;
    font-size: 11px;
  }

  /* Size Selector */
  #size-selector {
    right: 16px;
    top: auto;
    bottom: 120px;
    transform: none;
    flex-direction: row;
    gap: 8px;
  }

  .size-btn {
    width: 60px;
    height: 60px;
  }

  .size-num {
    font-size: 16px;
  }

  .size-unit {
    font-size: 10px;
  }

  /* Bottom Controls */
  #bottom-controls {
    bottom: 40px !important;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }

  /* Scroll Down */
  #scroll-down {
    display: none;
  }

  /* Floaters - Chocolate */
  #choc-floaters .choc-piece:nth-child(1) {
    top: 10%; left: 6%; width: 180px; height: 180px;
  }
  #choc-floaters .choc-piece:nth-child(2) {
    top: 65%; left: 8%; width: 150px; height: 150px;
  }
  #choc-floaters .choc-piece:nth-child(3) {
    top: 15%; right: 6%; width: 100px; height: 100px;
  }
  #choc-floaters .choc-piece:nth-child(4) {
    bottom: 20%; right: 10%; width: 70px; height: 70px;
  }

  /* Floaters - Strawberry */
  #straw-floaters .straw-piece:nth-child(1) {
    top: 10%; left: 6%; width: 180px; height: 180px;
  }
  #straw-floaters .straw-piece:nth-child(2) {
    top: 65%; left: 8%; width: 150px; height: 150px;
  }
  #straw-floaters .straw-piece:nth-child(3) {
    top: 15%; right: 6%; width: 100px; height: 100px;
  }
  #straw-floaters .straw-piece:nth-child(4) {
    bottom: 20%; right: 10%; width: 70px; height: 70px;
  }

  /* Floaters - Mango */
  #mango-floaters .mango-piece:nth-child(1) {
    top: 10%; left: 6%; width: 180px; height: 180px;
  }
  #mango-floaters .mango-piece:nth-child(2) {
    top: 65%; left: 8%; width: 150px; height: 150px;
  }
  #mango-floaters .mango-piece:nth-child(3) {
    top: 15%; right: 6%; width: 100px; height: 100px;
  }
  #mango-floaters .mango-piece:nth-child(4) {
    bottom: 20%; right: 10%; width: 70px; height: 70px;
  }

  /* Floaters - Pistachio */
  #pista-floaters .pista-piece:nth-child(1) {
    top: 6%; left: 5%; width: 150px; height: 150px;
  }
  #pista-floaters .pista-piece:nth-child(2) {
    top: 50%; left: 2%; width: 100px; height: 100px;
  }
  #pista-floaters .pista-piece:nth-child(3) {
    top: 25%; left: 40%; width: 70px; height: 70px;
  }
  #pista-floaters .pista-piece:nth-child(4) {
    top: 4%; right: 6%; width: 120px; height: 120px;
  }
  #pista-floaters .pista-piece:nth-child(5) {
    top: 48%; right: 3%; width: 85px; height: 85px;
  }
  #pista-floaters .pista-piece:nth-child(6) {
    bottom: 12%; left: 18%; width: 60px; height: 60px;
  }
  #pista-floaters .pista-piece:nth-child(7) {
    bottom: 8%; right: 15%; width: 110px; height: 110px;
  }

  /* Flavour Grid */
  .all-flavours-header {
    padding: 24px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .all-flavours-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .back-btn {
    display: none;
    padding: 10px 20px;
    font-size: 11px;
  }

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

  .card-content {
    padding: 16px 14px;
  }

  .card-tag {
    font-size: 8px;
  }

  .card-name {
    font-size: clamp(14px, 4vw, 18px);
  }

  .card-cal {
    font-size: 9px;
  }

  .card-order-btn {
    padding: 6px 14px;
    font-size: 9px;
    bottom: 14px;
    left: 14px;
  }

  /* About Section */
  #about-section {
    min-height: auto;
  }

  .about-container {
    padding: 60px 24px;
    gap: 40px;
  }

  .about-eyebrow {
    font-size: 11px;
  }

  .about-title {
    font-size: clamp(42px, 10vw, 64px);
    margin-bottom: 24px;
  }

  .about-description {
    font-size: 15px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
  }

  .stat-number {
    font-size: 55px;
  }

  .about-back-btn{
    display: none;
  }

  .stat-label {
    font-size: 12px;
  }

  .about-image {
    max-width: 100%;
    min-height: 350px;
  }

  .circle-text-wrapper {
    width: 140px;
    height: 140px;
    top: -20px;
    right: -20px;
  }

  .circle-text text {
    font-size: 11px;
  }

  .about-header {
    padding: 24px;
  }

  .about-back-btn {
    padding: 10px 20px;
    font-size: 11px;
  }

  /* Contact Section */
  #contact-section {
    min-height: auto;
  }

  .contact-container {
    padding: 60px 24px;
    gap: 40px;
  }

  .contact-eyebrow {
    font-size: 11px;
  }

  .contact-title {
    font-size: clamp(42px, 10vw, 64px);
  }

  .contact-description {
    font-size: 15px;
  }

  .contact-info {
    gap: 20px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .contact-item-value {
    font-size: 16px;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .contact-form-title {
    font-size: 20px;
  }

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

  .form-input,
  .form-textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
  }

  /* Products Section */
  #products-section {
    padding: 60px 0;
  }

  .products-container {
    padding: 0 24px;
  }

  .products-header {
    margin-bottom: 32px;
  }

  .products-title {
    font-size: clamp(36px, 9vw, 56px);
  }

  .products-categories {
    gap: 8px;
    margin-bottom: 32px;
  }

  .category-tab {
    padding: 10px 18px;
    font-size: 11px;
  }

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

  .product-image {
    height: 160px;
  }

  .product-badge {
    padding: 4px 8px;
    font-size: 8px;
    top: 12px;
    left: 12px;
  }

  .product-info {
    padding: 14px 16px 18px;
  }

  .product-category {
    font-size: 9px;
  }

  .product-name {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-add-btn {
    width: 34px;
    height: 34px;
  }

  .view-all-btn {
    padding: 14px 28px;
    font-size: 12px;
  }

  /* Footer */
  #footer {
    padding: 60px 0 32px;
  }

  .footer-container {
    padding: 0 24px;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-logo {
    width: 110px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-col-title {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 17px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-copy {
    font-size: 12px;
  }

  .footer-badge {
    font-size: 10px;
  }
}

/* ── MOBILE PORTRAIT (max-width: 480px) ─────────────────────────── */
@media screen and (max-width: 480px) {

  /* Navigation */
  nav {
    padding: 14px 16px;
  }

  .nav-logo img {
    width: 80px;
  }

  .nav-icons {
    gap: 8px;
  }

  .nav-icon {
   font-size: 8px;
  }

  .nav-icon svg {
    width: 14px;
    height: 14px;
  }

  .cart-badge {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }

  /* Hero */
  #big-text {
    font-size: clamp(48px, 39vw, 175px);
  }

  #product-img {
    width: 280%;
    height: 280%;
  }

  #product-ring {
    margin-top: 45vh;
  }

  #flavor-info {
    bottom: 100px;
    left: 16px;
    right: 16px;
  }

  .flavor-eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .flavor-name {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 10px;
  }

  .flavor-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-more {
    padding: 10px 20px;
    font-size: 10px;
    gap: 8px;
  }

  /* Size Selector - Hide on very small screens */
  #size-selector {
    display: none;
  }

  /* Bottom Controls */
  #bottom-controls {
    bottom: 30px !important;
    gap: 8px;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
  }

  /* Product Shadow */
  #product-shadow {
    width: 180px;
    height: 30px;
  }

  /* Floaters - Chocolate (Mobile) */
  #choc-floaters .choc-piece:nth-child(1) {
    top: 8%; left: 4%; width: 120px; height: 120px;
  }
  #choc-floaters .choc-piece:nth-child(2) {
    top: 60%; left: 5%; width: 100px; height: 100px;
  }
  #choc-floaters .choc-piece:nth-child(3) {
    top: 12%; right: 4%; width: 80px; height: 80px;
  }
  #choc-floaters .choc-piece:nth-child(4) {
    bottom: 18%; right: 8%; width: 60px; height: 60px;
  }

  /* Floaters - Strawberry (Mobile) */
  #straw-floaters .straw-piece:nth-child(1) {
    top: 8%; left: 4%; width: 120px; height: 120px;
  }
  #straw-floaters .straw-piece:nth-child(2) {
    top: 60%; left: 5%; width: 100px; height: 100px;
  }
  #straw-floaters .straw-piece:nth-child(3) {
    top: 12%; right: 4%; width: 80px; height: 80px;
  }
  #straw-floaters .straw-piece:nth-child(4) {
    bottom: 18%; right: 8%; width: 60px; height: 60px;
  }

  /* Floaters - Mango (Mobile) */
  #mango-floaters .mango-piece:nth-child(1) {
    top: 8%; left: 4%; width: 120px; height: 120px;
  }
  #mango-floaters .mango-piece:nth-child(2) {
    top: 60%; left: 5%; width: 100px; height: 100px;
  }
  #mango-floaters .mango-piece:nth-child(3) {
    top: 12%; right: 4%; width: 80px; height: 80px;
  }
  #mango-floaters .mango-piece:nth-child(4) {
    bottom: 18%; right: 8%; width: 60px; height: 60px;
  }

  /* Floaters - Pistachio (Mobile) */
  #pista-floaters .pista-piece:nth-child(1) {
    top: 5%; left: 3%; width: 100px; height: 100px;
  }
  #pista-floaters .pista-piece:nth-child(2) {
    top: 45%; left: 2%; width: 70px; height: 70px;
  }
  #pista-floaters .pista-piece:nth-child(3) {
    top: 22%; left: 35%; width: 50px; height: 50px;
  }
  #pista-floaters .pista-piece:nth-child(4) {
    top: 3%; right: 4%; width: 90px; height: 90px;
  }
  #pista-floaters .pista-piece:nth-child(5) {
    top: 42%; right: 2%; width: 65px; height: 65px;
  }
  #pista-floaters .pista-piece:nth-child(6) {
    bottom: 10%; left: 15%; width: 45px; height: 45px;
  }
  #pista-floaters .pista-piece:nth-child(7) {
    bottom: 6%; right: 12%; width: 80px; height: 80px;
  }

  .card-fruit {
    width: 85%;
    bottom: -50px;
  }

  /* Flavour Grid */
  .all-flavours-header {
    padding: 16px 16px 14px;
  }

  .all-flavours-title {
    font-size: clamp(28px, 9vw, 40px);
  }

  .back-btn {
    display: none;
    padding: 8px 16px;
    font-size: 10px;
  }

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

  .card-content {
    padding: 12px 10px;
  }

  .card-tag {
    font-size: 7px;
    margin-bottom: 4px;
  }

  .card-name {
    font-size: clamp(12px, 4vw, 16px);
  }

  .card-cal {
    font-size: 8px;
    margin-top: 4px;
  }

  .card-order-btn {
    padding: 5px 12px;
    font-size: 8px;
    bottom: 10px;
    left: 10px;
  }

  .card-icepop {
    height: 65%;
  }

  /* About Section */
  .about-container {
    padding: 50px 16px;
    gap: 32px;
  }

  .about-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .about-title {
    font-size: clamp(36px, 12vw, 56px);
    margin-bottom: 20px;
  }

  .about-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .about-stats {
    gap: 20px;
    margin-top: 28px;
  }

  .stat-item {
    min-width: 80px;
  }

  .stat-number {
    font-size: 55px;
  }

  .stat-label {
    font-size: 11px;
  }

  .about-image {
    min-height: 300px;
    border-radius: 16px;
  }

  .about-image img {
    border-radius: 16px;
  }

  .circle-text-wrapper {
    width: 120px;
    height: 120px;
    top: -15px;
    right: -15px;
  }

  .circle-text text {
    font-size: 10px;
  }

  .about-header {
    padding: 16px;
  }

  .about-back-btn {
    padding: 8px 16px;
    font-size: 10px;
  }

  /* Contact Section */
  .contact-container {
    padding: 50px 16px;
    gap: 32px;
  }

  .contact-eyebrow {
    font-size: 10px;
  }

  .contact-title {
    font-size: clamp(36px, 12vw, 56px);
  }

  .contact-description {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-item-label {
    font-size: 10px;
  }

  .contact-item-value {
    font-size: 14px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .contact-form-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .form-label {
    font-size: 11px;
  }

  .form-input,
  .form-textarea {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .form-textarea {
    min-height: 100px;
  }

  .contact-submit {
    padding: 14px 24px;
    font-size: 12px;
  }

  /* Products Section */
  #products-section {
    padding: 50px 0;
  }

  .products-container {
    padding: 0 16px;
  }

  .products-header {
    margin-bottom: 24px;
  }

  .products-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .products-title {
    font-size: clamp(32px, 11vw, 48px);
  }

  .products-categories {
    gap: 6px;
    margin-bottom: 24px;
  }

  .category-tab {
    padding: 8px 14px;
    font-size: 10px;
  }

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

  .product-card {
    border-radius: 14px;
  }

  .product-image {
    height: 155px;
    padding: 12px;
  }

  .product-image img {
    max-height: 125px;
  }

  

  .product-badge {
    padding: 4px 8px;
    font-size: 7px;
    top: 10px;
    left: 10px;
  }

  .product-info {
    padding: 12px 14px 16px;
  }

  .product-category {
    font-size: 8px;
    margin-bottom: 6px;
  }

  .product-name {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-add-btn {
    width: 20px;
    height: 20px;
  }

  .product-add-btn svg {
    width: 14px;
    height: 14px;
  }

  .view-all-btn {
    padding: 12px 24px;
    font-size: 9px;
    gap: 10px;
  }

  /* Footer */
  #footer {
    padding: 50px 0 24px;
  }

  .footer-container {
    padding: 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-logo {
    width: 100px;
    margin-bottom: 16px;
  }

  .footer-tagline {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-social {
    width: 36px;
    height: 36px;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-col-title {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    font-size: 17px;
  }

  .footer-bottom {
    padding-top: 24px;
    gap: 12px;
  }

  .footer-copy {
    font-size: 11px;
  }

  .footer-badge {
    font-size: 9px;
    padding: 6px 12px;
  }
}

/* ── VERY SMALL SCREENS (max-width: 360px) ──────────────────────── */
@media screen and (max-width: 360px) {

  nav {
    padding: 12px 12px;
  }

  .nav-logo img {
    width: 70px;
  }

  #big-text {
    font-size: clamp(40px, 22vw, 100px);
  }

  #flavor-info {
    bottom: 90px;
    left: 12px;
    right: 12px;
  }

  .flavor-name {
    font-size: clamp(22px, 8vw, 28px);
  }

  .flavor-desc {
    font-size: 11px;
  }

  .btn-more {
    padding: 10px 18px;
    font-size: 9px;
  }

  .about-title,
  .contact-title,
  .products-title {
    font-size: clamp(28px, 13vw, 44px);
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    text-align: center;
  }

  .products-grid {
    gap: 10px;
  }

  .product-image {
    height: 120px;
  }

  .product-name {
    font-size: 12px;
  }

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

  .category-tab {
    padding: 6px 12px;
    font-size: 9px;
  }

  .footer-grid {
    gap: 24px;
  }
}
