/* ==========================================================================
   IBN E NAIMAT COLLECTION - LUXURY RESPONSIVE STYLESHEET
   Bespoke Mobile, Tablet, and Desktop Experience
   ========================================================================== */

/* --- 1. LARGE DESKTOP & WIDE SCREENS (Min width: 1440px) --- */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-watch-display {
    max-width: 620px;
  }

  .editorial-card-media {
    height: 360px;
  }
}

/* --- 2. TABLET LANDSCAPE & MEDIUM LAPTOPS (Max width: 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-overline {
    justify-content: center;
  }

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

  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-pillars {
    max-width: 650px;
    margin: 0 auto;
  }

  .hero-visual-frame {
    max-width: 500px;
    margin: 0 auto;
  }

  .spotlight-box {
    grid-template-columns: 1fr;
  }

  .spotlight-image-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 2.5rem 1.5rem;
  }

  .spotlight-info-col {
    padding: 2.5rem 2rem;
  }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .honey-nuts-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .honey-nuts-highlights {
    justify-content: center;
  }

  /* Dedicated Honey Nuts Section Mobile: Clean Editorial Flow (No big image, no pill) */
  .honey-nuts-section {
    padding: 2.25rem 0 2.5rem 0;
  }

  .honey-nuts-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .honey-nuts-visual,
  .honey-nuts-visual-col,
  .honey-visual-card,
  .honey-nuts-image-card,
  .honey-mobile-icon-box,
  .honey-desktop-visual {
    display: none !important;
  }

  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .concierge-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* --- 3. TABLET PORTRAIT (Max width: 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .top-concierge-actions {
    display: none; /* Keep announcement bar minimal on mobile */
  }

  .top-concierge-inner {
    justify-content: center;
    text-align: center;
    font-size: 0.6875rem;
    line-height: 1.4;
  }

  .top-concierge-notice {
    text-align: center;
    justify-content: center;
  }

  nav[aria-label="Primary Navigation"],
  .nav-menu {
    display: none;
  }

  .nav-container {
    height: 64px;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .brand-logo {
    padding: 0;
    flex-shrink: 1;
    max-width: 175px;
    background: transparent !important;
  }

  .brand-logo img {
    height: 30px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header-search-trigger,
  .header-cart-trigger {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-size: 0.95rem;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .header-wa-btn {
    display: none; /* Clean luxury header on mobile; WhatsApp is in drawer, floating button, and every card */
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    padding: 0;
    color: var(--text-primary) !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Connected Search Bar on Mobile / Tablet */
  .site-search-bar-wrap {
    padding: 0.5rem 0 0.6rem 0;
  }

  .site-search-form {
    max-width: 100%;
  }

  .site-search-box {
    padding: 0.45rem 0.85rem;
    gap: 0.55rem;
  }

  .site-search-input {
    font-size: 0.84375rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem 0;
  }

  .hero-overline {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
    word-break: break-word;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .floating-feature-tag {
    display: none;
  }

  .hero-spec-pill {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .editorial-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .collection-toolbar {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .collection-nav-pills {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .search-field-wrapper {
    width: 100%;
    min-width: 0;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .shop-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .shop-pills-scroll {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .shop-search-sort-group {
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
  }

  .shop-search-box,
  .shop-search-box input {
    width: 100%;
    min-width: 0;
  }

  .shop-sort-box {
    width: 100%;
    justify-content: space-between;
  }

  .shop-sort-box select {
    flex-grow: 1;
  }

  .concierge-cta-card {
    padding: 2.75rem 1.5rem;
  }

  .cta-action-row .btn {
    width: 100%;
  }

  .editorial-card-media {
    height: 300px;
  }

  /* Mobile View: Gracefully clamp product description on outer cards matching luxury editorial style */
  .editorial-card-desc,
  .editorial-card .editorial-card-desc,
  .featured-slider-card .editorial-card-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.85rem !important;
  }

  .editorial-card-btn-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }

  /* =========================================================================
     HONEY NUTS SECTION - COMPACT MOBILE VIEW
     ========================================================================= */
  .honey-nuts-section {
    padding: 1.5rem 0 1.75rem 0 !important;
  }

  .honey-nuts-grid {
    gap: 0.5rem !important;
  }

  .honey-nuts-visual,
  .honey-nuts-visual-col {
    margin-bottom: 0.25rem !important;
  }

  .honey-mobile-icon-box {
    padding: 0.28rem 0.8rem 0.28rem 0.35rem !important;
    gap: 0.55rem !important;
    margin-bottom: 0.25rem !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 2px 8px rgba(181, 154, 106, 0.12) !important;
  }

  .honey-icon-circle-badge {
    width: 32px !important;
    height: 32px !important;
  }

  .honey-icon-symbol {
    width: 18px !important;
    height: 18px !important;
  }

  .honey-badge-inline {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
  }

  .honey-mobile-subtitle {
    font-size: 0.65rem !important;
    line-height: 1.15 !important;
  }

  .honey-nuts-content .editorial-tag,
  .honey-nuts-content-col .editorial-tag {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.25rem !important;
  }

  /* Mobile View: Large Prominent Editorial Title */
  .honey-nuts-content .editorial-title,
  .honey-nuts-content-col .editorial-title {
    font-size: clamp(1.85rem, 6.2vw, 2.35rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.35rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
  }

  .honey-nuts-content .editorial-title em,
  .honey-nuts-content-col .editorial-title em {
    font-size: 0.9em !important;
    font-style: italic !important;
    font-family: var(--font-serif-luxury), 'Playfair Display', serif !important;
    color: var(--gold-dark) !important;
    font-weight: 400 !important;
  }

  /* Dedicated Mobile Price & Spotlight Row (Red Box area) */
  .honey-price-spotlight-row,
  .honey-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin: 0.35rem 0 0.85rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .honey-price-spotlight-row .editorial-price-box,
  .honey-header-info .editorial-price-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 0 !important;
    gap: 0.15rem !important;
  }

  .honey-price-spotlight-row .editorial-price-label,
  .honey-header-info .editorial-price-label {
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--text-muted, #78716c) !important;
    margin-bottom: 0 !important;
  }

  .honey-price-spotlight-row .editorial-price,
  .honey-header-info .editorial-price {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: var(--text-primary, #1c1917) !important;
  }

  .honey-mobile-thumb-card {
    display: flex !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    height: 86px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(181, 154, 106, 0.45) !important;
    border-radius: 12px !important;
    padding: 0.35rem !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(181, 154, 106, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    align-self: center !important;
  }

  .honey-mobile-thumb-card img,
  .honey-mobile-thumb-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 6px rgba(120, 53, 15, 0.18)) !important;
  }

  /* Tagline & Narrative Paragraphs */
  .honey-nuts-content p,
  .honey-nuts-content-col p {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.35rem !important;
  }

  /* Compact 2-line clamp for the narrative on mobile */
  .honey-nuts-content p.editorial-desc:nth-of-type(2),
  .honey-nuts-content-col p.editorial-desc:nth-of-type(2),
  .honey-nuts-content p.editorial-desc:last-of-type,
  .honey-nuts-content-col p.editorial-desc:last-of-type {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.65rem !important;
    color: var(--text-secondary) !important;
  }

  /* Sleek 2x2 Feature Bullets Grid */
  .honey-feature-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem 0.65rem !important;
    margin: 0.5rem 0 0.85rem 0 !important;
    padding: 0.6rem 0.75rem !important;
    background: rgba(212, 175, 55, 0.06) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: var(--radius-sm) !important;
  }

  .honey-feature-item {
    gap: 0.4rem !important;
    align-items: center !important;
  }

  .honey-feature-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.65rem !important;
    margin-top: 0 !important;
    background: var(--bg-white) !important;
    border-color: var(--gold-champagne) !important;
    flex-shrink: 0 !important;
  }

  .honey-feature-text strong {
    font-size: 0.73rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    color: var(--text-primary) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  /* Hide verbose sub-descriptions on mobile */
  .honey-feature-text span {
    display: none !important;
  }

  /* Streamlined Compact Action Buttons on Mobile */
  .honey-nuts-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  .honey-nuts-actions .add-cart-action,
  .honey-nuts-actions .btn-primary {
    grid-column: span 2 !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    min-height: 40px !important;
    border-radius: var(--radius-xs) !important;
  }

  .honey-nuts-actions .btn-charcoal,
  .honey-nuts-actions .btn-secondary,
  .honey-nuts-actions .honey-btn-wa,
  .honey-nuts-actions .honey-btn-explore,
  .honey-nuts-actions a.btn,
  .honey-nuts-actions .btn:not(.add-cart-action):not(.btn-primary) {
    padding: 0.38rem 0.5rem !important;
    font-size: 0.6875rem !important; /* ~11px */
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    min-height: 34px !important;
    height: 34px !important;
    line-height: 1 !important;
    gap: 0.35rem !important;
    border-radius: var(--radius-xs) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .honey-nuts-actions .btn-charcoal i,
  .honey-nuts-actions a.btn i {
    font-size: 0.85rem !important;
    margin-right: 0.15rem !important;
  }

  /* Text toggle helpers between desktop and mobile */
  .btn-text-mobile {
    display: inline !important;
  }
  .btn-text-full {
    display: none !important;
  }

  /* Modal on Mobile */
  .modal-overlay {
    padding: 0.65rem !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100000 !important;
  }

  .modal-container {
    max-height: 90vh !important;
    width: calc(100% - 1.25rem) !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    margin: auto !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 100001 !important;
  }

  body.modal-open #stickyHeaderWrap,
  body.cart-open #stickyHeaderWrap,
  body.drawer-open #stickyHeaderWrap {
    z-index: 10 !important;
  }

  .modal-close-btn {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.05rem !important;
    background: #ffffff !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    z-index: 60 !important;
    cursor: pointer !important;
  }

  .modal-scroll-area {
    padding: 1.25rem 1rem 2.25rem 1rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-top-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-img-col {
    border-right: none !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 1rem 0.75rem !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: var(--bg-primary) !important;
    margin-bottom: 0.25rem !important;
    z-index: 1 !important;
  }

  .modal-img-col .modal-media-stage img,
  .modal-img-col > img {
    max-height: 200px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .modal-img-thumbs {
    gap: 0.45rem !important;
  }

  .modal-thumb-btn {
    width: 50px !important;
    height: 50px !important;
  }

  .variant-swatch-btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
  }

  .modal-info-col {
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .modal-brand-badge {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 6px !important;
    margin-bottom: 0.4rem !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
  }

  .modal-brand-badge img {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .modal-title {
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    margin: 0.35rem 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .modal-meta-row {
    font-size: 0.75rem !important;
    word-break: break-word !important;
    margin-bottom: 0.5rem !important;
  }

  .modal-price-box {
    padding: 0.65rem 0.85rem !important;
    gap: 0.65rem !important;
    margin-bottom: 0.85rem !important;
    flex-wrap: wrap !important;
  }

  .modal-price {
    font-size: 1.35rem !important;
  }

  .modal-desc {
    font-size: 0.84375rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.85rem !important;
  }

  .modal-specs-block {
    margin-bottom: 1.25rem !important;
    padding: 0.85rem !important;
    background: var(--bg-primary) !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border) !important;
  }

  .modal-specs-list {
    gap: 0.4rem !important;
  }

  .modal-specs-list li {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
  }

  .modal-cta-group,
  .modal-actions-box > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin-bottom: 0.75rem !important;
  }

  .modal-add-cart-btn,
  .modal-order-btn,
  .btn-wa-modal,
  #modalBuyBtn {
    width: 100% !important;
    font-size: 0.9rem !important;
    padding: 0.85rem 1rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    min-height: 48px !important;
    border-radius: var(--radius-sm) !important;
  }

  .modal-related-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .story-promises-grid {
    grid-template-columns: 1fr;
  }

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

  .roadmap-clarity-callout {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  /* Compact Parallel Footer Layout on Mobile */
  .site-footer {
    padding: 2.25rem 0 1.5rem 0;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding-bottom: 1.5rem;
  }

  .footer-top-grid > .footer-brand-box,
  .footer-top-grid > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(221, 214, 202, 0.12);
  }

  .footer-logo-link {
    margin-bottom: 0.75rem;
  }

  .footer-brand-logo {
    height: 36px;
    padding: 5px 10px;
    margin-bottom: 0.45rem;
  }

  .footer-bio {
    font-size: 0.78125rem;
    line-height: 1.5;
    margin-bottom: 0.65rem;
  }

  .footer-links-col,
  .footer-top-grid > div:nth-child(2),
  .footer-top-grid > div:nth-child(3) {
    min-width: 0;
  }

  .footer-title {
    font-size: 0.925rem;
    margin-bottom: 0.6rem;
  }

  .footer-links {
    gap: 0.4rem;
  }

  .footer-link {
    font-size: 0.78125rem;
    line-height: 1.35;
    display: inline-block;
  }

  .footer-support-col,
  .footer-top-grid > div:nth-child(4) {
    grid-column: 1 / -1;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(221, 214, 202, 0.12);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
  }

  .footer-support-col > .footer-title,
  .footer-top-grid > div:nth-child(4) > .footer-title {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
  }

  .footer-contact-row {
    font-size: 0.75rem;
    gap: 0.45rem;
    margin-bottom: 0;
    line-height: 1.35;
  }

  .footer-contact-row:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-top: 1.1rem;
    gap: 0.4rem;
    font-size: 0.72rem;
    justify-content: center;
    text-align: center;
  }

  /* Compact Service & Trust Boxes on Mobile Homepage */
  .service-section {
    padding: 2.25rem 0 2.5rem 0;
  }

  .service-section .editorial-header {
    margin-bottom: 1.35rem;
  }

  .service-section .service-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-section .service-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 0.85rem;
    row-gap: 0.2rem;
    align-items: start;
    padding: 0.9rem 1rem;
  }

  .service-section .service-icon {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    margin-bottom: 0;
    margin-top: 0.1rem;
  }

  .service-section .service-card h4 {
    font-size: 0.96875rem;
    line-height: 1.25;
    margin-bottom: 0.1rem;
  }

  .service-section .service-card p {
    font-size: 0.78125rem;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .floating-wa-concierge .floating-wa-label {
    display: inline-block !important;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .floating-wa-concierge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1.05rem !important;
    width: auto !important;
    height: auto !important;
    border-radius: 9999px !important;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* --- 4. SMALL SMARTPHONES (Max width: 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-spec-pill {
    position: static;
    margin-top: 1.5rem;
    width: 100%;
  }

  .secondary-category-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .secondary-card-img {
    margin: 0 auto;
  }

  .spotlight-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .spotlight-actions {
    flex-direction: column;
    width: 100%;
  }

  .spotlight-actions .btn {
    width: 100%;
  }

  .editorial-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .editorial-order-btn,
  .btn-buy-wa {
    width: 100%;
    justify-content: center;
  }

  .concierge-info-card,
  .concierge-form-card {
    padding: 1.75rem 1.25rem;
  }
}

/* =============================================================================
   SECURE CHECKOUT - ADVANCE PAYMENT MOBILE RESPONSIVENESS
   ============================================================================= */
@media (max-width: 900px) {
  .checkout-page-section {
    padding: 2.25rem 0 4.5rem 0 !important;
  }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem !important;
  }
  .checkout-card {
    padding: 1.5rem !important;
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@media (max-width: 768px) {
  body.woocommerce-checkout .site-footer,
  body.page-checkout .site-footer,
  body.page-template-page-checkout .site-footer,
  body.page-id-20 .site-footer {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .checkout-page-section {
    padding: 1.25rem 0 3.5rem 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .checkout-page-section .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .checkout-breadcrumb {
    margin-bottom: 0.85rem !important;
    font-size: 0.75rem !important;
    gap: 0.35rem !important;
  }
  .checkout-grid {
    gap: 1.15rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .checkout-card {
    padding: 1.15rem 0.85rem !important;
    border-radius: var(--radius-sm, 6px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .checkout-card-header {
    align-items: flex-start !important;
    gap: 0.65rem !important;
    padding-bottom: 0.85rem !important;
    margin-bottom: 1.15rem !important;
  }
  .checkout-card-header h2 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .checkout-card-header p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
  .checkout-step-num {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.78125rem !important;
    margin-top: 2px !important;
  }
  .form-group {
    margin-bottom: 0.95rem !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .form-label {
    font-size: 0.78125rem !important;
    margin-bottom: 0.35rem !important;
  }
  .form-control {
    padding: 0.75rem 0.75rem !important;
    font-size: 0.875rem !important;
    border-radius: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .form-hint {
    font-size: 0.6875rem !important;
    line-height: 1.35 !important;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }
  .payment-method-card {
    padding: 0.75rem 0.85rem !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .payment-method-name {
    font-size: 0.8125rem !important;
  }
  .payment-method-sub {
    font-size: 0.6875rem !important;
  }
  #paymentInstructionsCard {
    padding: 0.95rem 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn-place-order {
    padding: 0.9rem 1.25rem !important;
    font-size: 0.9375rem !important;
    width: 100% !important;
  }
  .summary-totals-row.grand-total {
    font-size: 1.05rem !important;
  }
  .summary-totals-row.grand-total .summary-val {
    font-size: 1.25rem !important;
  }
  .floating-wa-concierge {
    bottom: 1rem !important;
    right: 1rem !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
    opacity: 0.92;
  }
  .floating-wa-concierge .floating-wa-label {
    display: none !important;
  }
}

/* =============================================================================
   DIGITAL CALLIGRAPHY STUDIO RESPONSIVE STYLES
   ============================================================================= */
@media (max-width: 992px) {
  .calligraphy-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .calligraphy-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .calligraphy-hero-actions {
    justify-content: center;
  }

  .about-artist-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .calligraphy-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .portfolio-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .process-steps-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .process-digital-notice-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .digital-notice-pills {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .featured-art-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calligraphy-services-section {
    padding: 2.5rem 0;
  }

  .calligraphy-services-section .section-editorial-header {
    margin-bottom: 1.5rem;
  }

  .calligraphy-services-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-luxury-card {
    padding: 1rem 1.05rem;
    border-radius: 10px;
  }

  .service-top-row {
    margin-bottom: 0.6rem;
  }

  .service-icon-box {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 6px;
  }

  .service-num-badge {
    font-size: 0.8rem;
  }

  .service-card-title {
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0 0 0.35rem 0;
  }

  .service-card-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.7rem;
  }

  .service-deliverables-box {
    padding-top: 0.65rem;
    margin-bottom: 0.7rem;
  }

  .service-deliverables-title {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
  }

  .service-deliverables-pills {
    gap: 0.3rem;
  }

  .deliverable-pill {
    font-size: 0.67rem;
    padding: 0.14rem 0.45rem;
  }

  .service-card-bottom {
    padding-top: 0.65rem;
  }

  .service-price-text {
    font-size: 0.78rem;
  }

  .btn-service-inquire {
    padding: 0.38rem 0.75rem;
    font-size: 0.78rem;
  }

  .process-steps-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calligraphy-lightbox-modal {
    padding: 1rem;
  }

  .lightbox-dialog {
    max-height: 92vh;
  }

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

  .lightbox-media-panel {
    padding: 1.5rem;
  }

  .lightbox-media-panel img {
    max-height: 280px;
  }

  .lightbox-details-panel {
    padding: 1.5rem;
  }

  .calligraphy-cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .portfolio-grid-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .calligraphy-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-calligraphy-primary,
  .btn-calligraphy-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta-wa-primary {
    width: 100%;
    justify-content: center;
  }

  .portfolio-filter-row {
    gap: 0.4rem;
  }

  .portfolio-filter-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.78125rem;
  }
}

/* =============================================================================
   HOMEPAGE DIGITAL CALLIGRAPHY SPOTLIGHT RESPONSIVE
   ============================================================================= */
@media (max-width: 992px) {
  .calligraphy-spotlight-card {
    padding: 1.75rem 1.5rem;
  }

  .calligraphy-spotlight-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    text-align: center;
  }

  .calligraphy-spotlight-pills {
    justify-content: center;
  }

  .calligraphy-spotlight-actions {
    justify-content: center;
  }

  .calligraphy-spotlight-visual {
    max-width: 340px;
    margin: 0 auto;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .calligraphy-spotlight-section {
    padding: 1.5rem 0;
  }

  .calligraphy-spotlight-card {
    padding: 1.35rem 1.05rem;
    border-radius: var(--radius-md);
  }

  .calligraphy-spotlight-grid {
    gap: 1.35rem;
  }

  .calligraphy-spotlight-badge {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    line-height: 1.35;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
  }

  .calligraphy-spotlight-title {
    font-size: 1.45rem;
  }

  .calligraphy-spotlight-desc {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .calligraphy-spotlight-pills {
    gap: 0.38rem;
  }

  .calligraphy-spotlight-pills .notice-pill {
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
  }

  .calligraphy-spotlight-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .calligraphy-spotlight-btn-primary,
  .calligraphy-spotlight-btn-wa {
    width: 100%;
    justify-content: center;
    padding: 0.72rem 1rem;
  }

  .calligraphy-spotlight-visual {
    max-width: 100%;
    max-height: 220px;
  }

  .calligraphy-spotlight-visual img {
    max-height: 220px;
  }
}

/* =============================================================================
   HOMEPAGE ABOUT / PHILOSOPHY SECTION RESPONSIVE
   ============================================================================= */
@media (max-width: 768px) {
  .about-section {
    padding: 2rem 0 2.25rem 0;
  }

  .about-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .about-logo-badge {
    padding: 5px 12px;
    margin-bottom: 0.85rem;
  }

  .about-logo-badge img {
    height: 28px;
  }

  .about-editorial-tag {
    margin-bottom: 0.35rem;
  }

  .about-editorial-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.65rem !important;
  }

  .about-story-desktop {
    display: none;
  }

  .about-story-mobile {
    display: block;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.25rem;
  }

  .about-quote-box {
    padding: 0.9rem 1rem;
    margin-top: 0.25rem;
  }

  .about-quote-text {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .about-quote-author {
    font-size: 0.68rem;
    margin-top: 0.45rem;
  }

  .about-highlights {
    margin-top: 1rem;
    gap: 0.55rem;
  }

  .about-highlight-item {
    font-size: 0.8125rem;
    gap: 0.55rem;
  }

  .about-highlight-item i {
    font-size: 1.05rem;
  }

  .promo-banner-section {
    padding: 2rem 0;
  }

  .promo-banner-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .promo-banner-inner {
    gap: 1.35rem;
  }

  .promo-visual-box {
    min-height: 190px;
    max-height: 220px;
  }

  .promo-visual-box img {
    min-height: 190px;
    max-height: 220px;
  }
}
