/* Daisy Fashion mobile layout fixes. Desktop styles are intentionally untouched. */
@media (max-width: 1024px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  *, *::before, *::after {
    max-width: 100%;
  }

  img, video, iframe, svg {
    max-width: 100%;
  }

  .elementor-location-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999990 !important;
    width: 100%;
  }

  .elementor-location-header > .elementor-section,
  .elementor-location-header .elementor-container,
  .elementor-location-header .elementor-column,
  .elementor-location-header .elementor-widget-wrap {
    min-width: 0;
    width: 100%;
  }

  .elementor-location-header .elementor-element-55fa225 {
    min-height: 68px !important;
  }

  .elementor-location-header .elementor-element-dae4e1b > .elementor-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  .elementor-location-header .elementor-element-dae4e1b > .elementor-container > .elementor-column:first-child {
    flex: 0 0 auto;
    width: auto;
  }

  .elementor-location-header .elementor-element-dae4e1b > .elementor-container > .elementor-column:nth-child(2) {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }

  .elementor-location-header #df-site-logo {
    width: auto !important;
    height: 46px !important;
    max-height: 46px;
  }

  .elementor-location-header .e-n-menu {
    align-items: flex-end;
  }

  .elementor-location-header .e-n-menu-toggle {
    display: flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px !important;
    color: #fff;
  }

  .elementor-location-header .e-n-menu-toggle svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
  }

  .elementor-location-header .e-n-menu-wrapper {
    display: none !important;
    position: fixed !important;
    top: 68px !important;
    right: 12px !important;
    left: auto;
    width: min(290px, calc(100vw - 24px)) !important;
    max-width: min(290px, calc(100vw - 24px)) !important;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
    padding: 8px 16px 14px;
    background: #152238;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
  }

  .elementor-location-header .e-n-menu-toggle[aria-expanded="true"] + .e-n-menu-wrapper {
    display: flex !important;
  }

  .elementor-location-header .e-n-menu-heading {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  .elementor-location-header .e-n-menu-item,
  .elementor-location-header .e-n-menu-title,
  .elementor-location-header .e-n-menu-title-container {
    width: 100%;
  }

  .elementor-location-header .e-n-menu-title-container {
    min-height: 44px;
    align-items: center;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .elementor-location-header .e-n-menu-title-text {
    color: #fff !important;
    font-size: 14px;
    white-space: normal;
  }

  .gtranslate_wrapper {
    display: none !important;
  }

  #content,
  #content > .ast-container,
  #primary,
  #main,
  .entry-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .ast-container {
    padding-left: 0;
    padding-right: 0;
  }

  .entry-content > .elementor,
  .entry-content > section,
  .entry-content .e-con,
  .entry-content .elementor-section {
    min-width: 0;
    max-width: 100%;
  }

  .entry-content .elementor-container,
  .entry-content .e-con-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .entry-content .elementor-column,
  .entry-content .elementor-widget-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .entry-content .elementor-widget-text-editor,
  .entry-content .elementor-widget-heading,
  .entry-content .elementor-widget-image,
  .entry-content .elementor-widget-image-box,
  .entry-content .elementor-widget-icon-box,
  .entry-content .elementor-widget-button,
  .entry-content .elementor-widget-wpforms {
    max-width: 100%;
  }

  .entry-content h1 {
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .entry-content h2 {
    font-size: clamp(25px, 7vw, 36px) !important;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .entry-content h3 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .entry-content p,
  .entry-content li {
    overflow-wrap: anywhere;
  }

  .entry-content .elementor-widget-image img,
  .entry-content .elementor-widget-image-box img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover;
  }

  .entry-content .e-grid {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;
  }

  /* The source page already defines a compact two-column mobile showcase.
     Keep the collage tiles together instead of stacking eight full-width rows. */
  .entry-content .elementor-element-471155a {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 14px 10px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .entry-content .elementor-element-471155a > .elementor-widget-image-box {
    min-width: 0 !important;
    width: auto !important;
    padding: 8px !important;
    margin: 0 !important;
  }

  .entry-content .elementor-element-471155a .elementor-image-box-img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .entry-content .elementor-element-471155a .elementor-image-box-img img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .entry-content .elementor-element-471155a .elementor-image-box-content {
    padding-top: 6px !important;
  }

  .entry-content .elementor-element-471155a .elementor-image-box-title {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    text-align: center;
  }

  .entry-content .elementor-element-f322692 {
    padding-top: 30px !important;
    padding-bottom: 34px !important;
  }

  .entry-content .elementor-element-a9c2dc1 .elementor-heading-title {
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
  }

  /* Prevent the hero copy from inheriting desktop-sized Elementor headings. */
  .entry-content .elementor-element-b6ef143 {
    min-height: 420px !important;
    padding: 28px 16px 34px !important;
  }

  .entry-content .elementor-element-66d5862 .elementor-heading-title {
    max-width: 100% !important;
    font-size: clamp(30px, 8.8vw, 38px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }

  .entry-content .elementor-element-c3d9f86 .elementor-heading-title {
    max-width: 100% !important;
    font-size: clamp(15px, 4vw, 19px) !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
  }

  .entry-content .elementor-widget-icon-box .elementor-icon-box-wrapper {
    min-width: 0;
  }

  .entry-content .elementor-widget-icon-box .elementor-icon-box-title,
  .entry-content .elementor-widget-icon-box .elementor-icon-box-description {
    overflow-wrap: anywhere;
  }

  .entry-content .elementor-widget-form,
  .entry-content .wpforms-container,
  .entry-content .wpforms-form,
  .entry-content .elementor-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .entry-content input,
  .entry-content textarea,
  .entry-content select,
  .entry-content button {
    max-width: 100%;
    font-size: 16px;
  }

  .entry-content .wpforms-field-row,
  .entry-content .wpforms-layout-row,
  .entry-content .wpforms-layout-column,
  .entry-content .wpforms-one-half,
  .entry-content .elementor-form-fields-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .entry-content .wpforms-submit,
  .entry-content .elementor-button,
  .entry-content input[type="submit"] {
    width: 100%;
    min-height: 46px;
  }

  footer {
    width: 100%;
    overflow: hidden;
  }

  /* Keep the support shortcut clear of text and controls on narrow screens. */
  #wa-float-btn {
    right: 12px !important;
    bottom: 12px !important;
    width: 52px !important;
    height: 52px !important;
    padding: 10px !important;
  }

  #wa-float-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Static store page: constrain the wrapper and let labels/cards wrap. */
  .entry-content .store-page-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 34px 20px 64px !important;
    overflow: hidden;
  }

  .entry-content .store-page-wrapper .store-intro,
  .entry-content .store-page-wrapper .store-intro p {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .entry-content .store-page-wrapper .filter-bar {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  .entry-content .store-page-wrapper .filter-btn {
    max-width: 100% !important;
    padding: 10px 16px !important;
    white-space: normal !important;
  }

  .entry-content .store-page-wrapper .product-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .entry-content .store-page-wrapper .product-card {
    min-width: 0 !important;
    width: auto !important;
  }

  .entry-content .store-page-wrapper .product-info {
    min-width: 0 !important;
    padding: 14px 10px !important;
  }

  .entry-content .store-page-wrapper .product-info h4 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
    margin-bottom: 14px !important;
  }

  /* The contact page uses a small custom form in addition to WPForms. */
  .entry-content .contact-form,
  .entry-content .df-static-contact-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .entry-content .contact-form .form-row,
  .entry-content .df-static-contact-form .form-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .entry-content .contact-form .form-group,
  .entry-content .df-static-contact-form .form-group,
  .entry-content .contact-form .form-control,
  .entry-content .df-static-contact-form .form-control {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Elementor heading selectors are more specific than the generic h1/h2 rules. */
  .entry-content .elementor-heading-title {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .entry-content h1.elementor-heading-title {
    font-size: clamp(30px, 8.8vw, 38px) !important;
    line-height: 1.15 !important;
  }

  .entry-content h2.elementor-heading-title {
    font-size: clamp(28px, 7.2vw, 34px) !important;
    line-height: 1.2 !important;
  }

  .entry-content h3.elementor-heading-title {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.3 !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px 18px !important;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .elementor-location-header .elementor-element-dae4e1b > .elementor-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .elementor-location-header #df-site-logo {
    height: 40px !important;
    max-height: 40px;
  }

  .entry-content .elementor-container,
  .entry-content .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .entry-content .store-page-wrapper .product-grid {
    grid-template-columns: 1fr !important;
  }

  .entry-content .store-page-wrapper .filter-btn {
    flex: 1 1 auto;
  }

  .entry-content .elementor-element-c3d9f86 .elementor-heading-title {
    font-size: 14px !important;
  }
}

/* Mobile showcase: keep category cards readable and prevent the desktop collage from shrinking. */
@media (max-width: 1024px) {
  .entry-content .elementor-element-471155a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    align-items: start !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .entry-content .elementor-element-471155a > .elementor-widget-image-box {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .entry-content .elementor-element-471155a .elementor-image-box-img,
  .entry-content .elementor-element-471155a .elementor-image-box-img a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }
  .entry-content .elementor-element-471155a .elementor-image-box-img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .entry-content .elementor-element-471155a .elementor-image-box-content {
    padding-top: 8px !important;
  }
  .entry-content .elementor-element-471155a .elementor-image-box-title {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}
@media (max-width: 420px) {
  .entry-content .elementor-element-471155a {
    gap: 24px !important;
  }
  .entry-content .elementor-element-471155a .elementor-image-box-title {
    font-size: 14px !important;
  }
}
