/* ==========================================================================
   Amrit Palace — Responsive Styles (css/responsive.css)
   ========================================================================== */

/* --- Tablet Breakpoint (max-width: 991px) --- */
@media screen and (max-width: 991px) {
  .hamburger-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-midnight-roast);
    border-right: 1px solid var(--color-warm-stone);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(182, 171, 156, 0.2);
  }

  .hero-whisper-title {
    font-size: 3.8rem;
    letter-spacing: -2px;
  }

  .editorial-title {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
  }

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

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

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

  .filter-toolbar-single-line {
    flex-wrap: wrap;
    padding: 16px;
  }

  .search-box-single {
    min-width: 100%;
  }

  .filter-controls-single {
    width: 100%;
    flex-wrap: wrap;
  }

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

  .brands-tabs-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .brand-tab-item {
    height: 64px;
  }
}

/* --- Mobile Breakpoint (max-width: 767px) --- */
@media screen and (max-width: 767px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-whisper-title {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
  }

  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-row .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .banner-grid-4 {
    grid-template-columns: 1fr;
  }

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

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

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

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

  /* --- HERO SECTION MOBILE DEDICATED BANNER CARD SPEC --- */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 0 32px 0 !important;
    min-height: auto !important;
    background-color: #f8f3eb !important;
    position: relative !important;
  }

  .hero::before {
    display: none !important;
  }

  .hero-slider-bg {
    position: relative !important;
    width: calc(100% - 32px) !important;
    max-width: 600px !important;
    height: 220px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 0 auto 20px auto !important;
    border: 1px solid var(--color-warm-stone) !important;
    box-shadow: 0 4px 15px rgba(38, 18, 20, 0.08) !important;
    order: 1 !important; /* Image Card ABOVE Text */
  }

  .hero .container {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    order: 2 !important; /* Text Content BELOW Image Card */
  }

  .hero-slide {
    background-position: center center !important;
    background-size: cover !important;
    border-radius: 16px !important;
    filter: none !important;
  }

  .hero-slider-dots {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .hero-slider-dots .dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
  }

  .hero-slider-dots .dot.active {
    width: 28px !important;
    background-color: var(--color-ruby-red) !important;
    border-color: var(--color-ruby-red) !important;
  }

  .hero-content {
    order: 2 !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero-meta-row {
    margin-bottom: 10px !important;
  }

  .hero-meta-tag {
    font-size: 0.78rem !important;
    letter-spacing: 1.2px !important;
    color: var(--color-ruby-red) !important;
    font-weight: 700 !important;
  }

  .hero-whisper-title {
    font-size: 2.2rem !important;
    letter-spacing: -1px !important;
    line-height: 1.15 !important;
    color: var(--color-onyx-warm) !important;
    margin-bottom: 14px !important;
  }

  .hero-sub-text {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
    color: var(--color-espresso) !important;
    text-shadow: none !important;
  }

  .hero-actions-row {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-actions-row .btn-submit-saffron {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    background-color: var(--color-midnight-roast) !important;
    color: var(--color-parchment) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
  }

  .hero-actions-row .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    color: var(--color-midnight-roast) !important;
    border: 1px solid var(--color-warm-stone) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
  }

  /* --- HEADER PHONE BUTTON MATCHING REFERENCE IMAGE --- */
  .brand-sans-sub {
    display: none !important;
  }

  .header-phone-text {
    display: none !important;
  }

  .btn-ghost-saffron {
    padding: 8px 10px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
  }

  .banner-grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    padding: 10px 0 !important;
  }

  .banner-item {
    gap: 10px !important;
  }

  .banner-item-icon {
    font-size: 1.3rem !important;
  }

  .banner-item-title {
    font-size: 0.88rem !important;
  }

  .banner-item-desc {
    font-size: 0.78rem !important;
  }

  /* --- HEADER & BRAND UN-CONGESTION FOR MOBILE --- */
  .brand-serif-name {
    font-size: 1.15rem !important;
    letter-spacing: -0.5px !important;
  }

  .brand-sans-sub {
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
  }

  .header-actions {
    gap: 8px !important;
  }

  .btn-ghost-saffron {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  .page-banner {
    padding: 30px 0 !important;
  }

  .page-title {
    font-size: 2rem !important;
    letter-spacing: -1px !important;
  }

  /* --- PRODUCT DETAILS SCREEN MOBILE UN-CONGESTION --- */
  .details-grid-main {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 40px !important;
  }

  .details-product-title {
    font-size: 2.1rem !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
  }

  .details-main-box {
    max-height: 380px;
    width: 100%;
  }

  .details-main-box img {
    object-fit: cover;
    width: 100%;
    max-height: 380px;
  }

  .thumbnail-list-amrit {
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .details-meta-tags-row {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .details-specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    background-color: var(--color-linen);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--color-warm-stone);
  }

  .details-actions-row {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .details-actions-row .btn-submit-saffron,
  .details-actions-row .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
  }

  .details-features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
  }

  /* --- CONTACT US SCREEN MOBILE UN-CONGESTION --- */
  .contact-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-grid-wrapper > div {
    padding: 28px 20px !important;
  }

  .contact-form-card {
    padding: 28px 20px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .category-grid-amrit {
    grid-template-columns: 1fr;
  }

  .brand-sans-sub {
    display: none !important;
  }

  .details-specs-grid {
    grid-template-columns: 1fr !important;
  }
}
