/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */

@media (max-width: 1200px) {
  .bs-gutter-x-80,
  .bs-gutter-x-64 {
    --bs-gutter-x: 1.5rem;
  }
  .addarText2 {
    max-width: 300px;
  }
  .valueBorder,
  .valueBorder:not(:first-child) {
    border: unset;
  }
  .valueBorder:nth-child(even) {
    border-left: 1px solid #dee2e6 !important;
  }
  .gap-32 {
    gap: 20px;
  }
  .mvItem,
  .addar-service-body {
    padding: 20px;
  }

  .userData {
    padding: 12px;
  }

  .accountCircle {
    width: 40px;
    height: 40px;
  }
  .addar-capability-grid,
  .addar-process-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .addar-process-step:not(:last-child):not(:nth-child(5n))::before {
    content: unset;
  }
  .addar-process-step:not(:last-child):not(:nth-child(3n))::before {
    content: "";
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    position: absolute;
    left: 50%;
    z-index: 0;
    top: 25px;
  }
  .contactBox {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .bs-gutter-x-30 {
    --bs-gutter-x: 1.5rem;
  }
  .wc-block-components-order-summary__content
    .wc-block-components-order-summary-item {
    padding: 13px !important;
  }
  footer .wpcf7 form.sent .wpcf7-response-output {
    bottom: 0;
  }
  .TRANSFORMEDSection::after {
    content: unset;
  }
  .woocommerce-message {
    border-color: var(--color-olive) !important;
    box-shadow: unset;
    margin: 1em 2.5em !important;
  }
  .addar-pdp-title h2 {
    font-size: 20px;
  }
  .addar-capability-item {
    padding: 12px;
  }
  .woocommerce-order-details,
  .woocommerce-customer-details,
  .woocommerce ul.order_details {
    width: 80%;
  }
  .wc-block-grid.has-4-columns .wc-block-grid__product {
    flex: 1 0 50% !important;
    max-width: 50% !important;
    padding: 0;
  }
  .wc-block-grid.has-4-columns .wc-block-grid__products {
    display: flex !important;
  }
  .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    margin-top: 30px !important;
  }
  .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
    display: block !important;
    padding-bottom: 10px;
    font-size: 17px !important;
  }
  .is-medium table.wc-block-cart-items .wc-block-cart-items__row,
  .is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
  .is-small table.wc-block-cart-items .wc-block-cart-items__row {
    display: flex !important;
  }
  .wc-block-cart-item__image {
    width: 80px !important;
  }
  .addarImage {
    height: 300px;
  }
  .selectionBox span,
  .addar-testimonial-index span,
  .addar-service-num {
    font-size: 50px;
  }
  .boxImapctFull {
    padding: 30px 0;
  }

  .gap-80 {
    gap: 40px;
  }

  .impactBox {
    padding: 12px;
  }

  .w-35 {
    width: 40%;
  }

  .impactBoxText::after {
    width: 50px;
  }

  .contactSection iframe {
    height: 400px;
  }
  .addar-search-box-field input {
    font-size: 12px;
    padding: 10px 0;
  }

  .addar-filter-panel {
    position: static;
    margin-bottom: 40px;
  }
  .accountBoxLink {
    white-space: nowrap;
    padding: 12px;
  }

  .noDataImage {
    padding: 12px;
  }
  .addar-pdp-breadcrumb-section1 {
    padding: 100px 0;
  }
  .contactBox {
    padding: 15px 0;
    border: unset;
    /* border-top: 1px solid #f0f0f0; */
  }
  .contactBorder:nth-child(even) .contactBox {
    border-inline-start: 1px solid #f0f0f0;
    padding-inline: 15px;
  }
  .icons {
    padding: 0;
    padding-top: 20px;
  }

  .navbar-collapse {
    padding: 20px;
  }

  .addar-nav-links li a.navLinkHeader,
  .addar-nav-actions * {
    text-transform: none;
    letter-spacing: 0.5px;
  }

  .gap-32 {
    gap: 20px;
  }

  .banner h1,
  .bannerTitle span,
  .addar-hero-title h1,
  .addar-hero-title h1 span,
  .addar-impact-cta h2 {
    font-size: 40px;
  }

  .addar-solution-card,
  .addar-value-card,
  .addar-feature-item {
    padding: 15px;
  }

  /* .addar-hero-content {
    padding-top: 180px;
    padding-bottom: 100px;
  } */
  .addar-product-image,
  .addar-product-card1 .addar-product-image,
  .wc-block-grid__product-image {
    height: 200px !important;
  }

  .section-head {
    padding-bottom: 30px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 18px;
  }

  .profileHeading {
    padding-bottom: 25px;
  }

  .addar-stat--divide {
    border-inline-start: none;
    padding-inline-start: 0;
  }

  .addar-section {
    padding: 48px 0;
  }

  .addar-shop-section {
    padding: 30px 0 40px;
  }

  .bs-gutter-x-80,
  .bs-gutter-x-64,
  .bs-gutter-x-48,
  .bs-gutter-x-3,
  .bs-gutter-x-40,
  .bs-gutter-0,
  .bs-gutter-x-80 {
    --bs-gutter-x: 1.5rem;
  }

  .addar-pdp-breadcrumb-section {
    padding-top: 128px;
  }

  .addar-pdp-main-image {
    height: 340px;
  }

  .addar-pdp-title {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .contactBox {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
  }
  .contactBorder:nth-child(even) .contactBox {
    border-inline-start: unset;
  }
  .workItem {
    align-items: center;
    text-align: center;
  }
  footer .wpcf7 form.sent .wpcf7-response-output {
    bottom: 0;
    font-size: 11px;
  }
  .addarTabs {
    padding-top: 30px;
    margin-top: 30px;
  }
  * {
    letter-spacing: normal;
  }
  .addar-pdp-section {
    padding: 30px 0 40px;
  }
  .valueBorder,
  .valueBorder:not(:first-child),
  .valueBorder:nth-child(even) {
    border-left: unset !important;
    border-top: 1px solid #f0f0f0 !important;
  }

  .addar-capability-item,
  .selectionBox span,
  .addar-testimonial-index span {
    font-size: 50px;
  }

  .pageBox {
    padding: 12px;
  }
  .addar-process-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .addar-process-step:not(:last-child):not(:nth-child(5n))::before,
  .addar-process-step:not(:last-child):not(:nth-child(3n))::before {
    content: unset;
  }
  .addar-process-step:not(:last-child):not(:nth-child(2n))::before {
    content: "";
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    position: absolute;
    left: 50%;
    z-index: 0;
    top: 25px;
  }
  .addar-impact-grid-card {
    padding: 20px 0;
  }
  .addarBorder:not(:last-child) .addar-impact-grid-card {
    border-bottom: 1px solid var(--Borders-Light-Grey, #e5e7eb);
  }
  .boxImapctFull:nth-child(odd) .impactBoxText {
    align-items: start;
  }

  .impactTimeline::after,
  .boxImapctFull::after {
    left: 0;
  }

  .w-35 {
    width: 90%;
  }

  .boxImapctFull,
  .boxImapctFull:nth-child(even) {
    flex-direction: column !important;
  }

  .addar-search-result-card {
    padding: 12px;
  }

  .addar-search-box {
    flex-direction: column;
  }

  .addar-search-summary {
    margin-bottom: 15px;
  }

  .addar-testimonial-body {
    position: absolute;
    bottom: 20px;
    padding: 20px;
    padding-bottom: 0;
  }

  .deleteAccount {
    padding: 12px;
  }

  .addar-section-64 {
    padding: 45px 0;
  }

  .addar-auth-subtext {
    margin-bottom: 25px;
  }

  .addar-subscribe-form {
    max-width: unset;
  }

  .addar-category-card {
    height: 250px;
  }

  .navbar-brand {
    height: 70px;
  }

  .addar-stats {
    padding: 20px 0;
  }

  .navbar-brand svg {
    height: 100%;
  }

  .addar-category-body {
    padding: 0 12px 12px;
  }

  .addar-legal-clause:not(:last-child) {
    padding-bottom: 30px;
  }

  .addar-legal-body {
    padding: 40px 0;
  }

  h6 {
    letter-spacing: normal;
  }

  .solutionCardFull .addar-link-arrow {
    padding-top: 20px;
  }

  h4 {
    font-size: 16px;
  }

  span {
    font-size: 12px;
  }

  .addar-maker-photo {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
  }

  h2,
  .addar-impact-grid-num h2,
  h2 span {
    font-size: 20px;
  }

  .boxImapctFull:nth-child(odd) .impactBoxText::after {
    content: unset;
  }

  .addar-hero-content {
    padding-top: 140px;
    padding-bottom: 80px;
  }

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

  .addar-hero-dots {
    bottom: 20px;
  }

  .addar-h2 {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .addar-section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .addar-footer-top {
    padding: 40px 0;
  }

  .addar-footer-mid,
  .addar-footer-bottom {
    align-items: flex-start !important;
  }

  /* .addar-institutions .row {
    flex-direction: column;
  } */
}

@media (max-width: 575px) {
  .addar-pdp-breadcrumb-section {
    padding-top: 84px;
  }
  .woocommerce-message {
    border-color: var(--color-olive) !important;
    box-shadow: unset;
    margin: 1em 0 0.5em !important;
  }
  .woocommerce-order-details,
  .woocommerce-customer-details,
  .woocommerce ul.order_details {
    width: 100%;
  }
  .addar-product-image,
  .addar-product-card1 .addar-product-image,
  .wc-block-grid__product-image {
    height: 150px !important;
  }
  .section-head {
    max-width: 250px;
  }
  h2,
  .addar-impact-grid-num h2,
  h2 span {
    font-size: 18px;
  }
  .banner h1,
  .bannerTitle span,
  .addar-hero-title h1,
  .addar-hero-title h1 span,
  .addar-impact-cta h2 {
    font-size: 30px;
  }
  .addar-pdp-form-row {
    grid-template-columns: 1fr;
  }

  .addar-fbt-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .addar-fbt-cta {
    margin-left: 0;
    width: 100%;
  }
}

/* =========================================================
   PROFILE / ACCOUNT PAGE — MOBILE LAYOUT
========================================================= */
@media (max-width: 767px) {
  /* Close the big gap after the breadcrumb (profile page only) */
  .addar-section-64:has(.accountBox) {
    padding: 24px 0 40px;
  }

  /* Show the user card (hidden by .d-none in the markup) */
  .accountBox .userData {
    display: flex !important;
    width: 100%;
  }

  /* Account nav -> horizontal, swipeable pill bar */
  .accountPages {
    margin-top: 16px;
  }

  .accountPages ul {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .contactForm,
  .blueBox {
    padding: 20px;
  }

  .contactImage {
    height: 30px;
  }

  .accountPages ul::-webkit-scrollbar {
    display: none;
  }

  .accountBoxLink {
    /* flex: 0 0 auto; */
    margin-top: 0;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-grey);
  }

  .accountBoxLink.active {
    border-color: transparent;
  }

  .accountUserImage {
    display: flex;
    align-items: center;
  }

  /* Edit Profile: heading spacing, tighter card, full-width taller button */
  .editProfileTitle {
    margin-bottom: 32px;
  }

  .editProfileCard {
    padding: 20px;
  }

  .editProfileSubmit {
    width: 100%;
    padding: 16px 24px;
  }
}

/* =========================================================
   CUSTOM ORDER — intro heading on one line
========================================================= */
.customOrderTitle {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .customOrderTitle {
    white-space: normal;
  }

  /* Custom Orders — compact trust chips on mobile */
  .customOrderChips {
    gap: 8px;
  }

  .customOrderChips .addar-pdp-chip {
    gap: 4px;
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.6px;
  }

  .customOrderChips .addar-pdp-chip i {
    font-size: 8px;
  }
}

/* =========================================================
   ADDRESSES 
========================================================= */
@media (max-width: 767px) {
  #deleteAddressModal .modal-dialog {
    max-width: 384px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   ABOUT — Our Story 
========================================================= */
@media (max-width: 991px) {
  .ourStoryImg {
    order: 1;
  }
}

/* =========================================================
   ABOUT — Mission & Vision 
========================================================= */
@media (max-width: 991px) {
  .mvRow {
    flex-direction: column;
    gap: 24px;
  }

  .mvDivider {
    display: none;
  }

  .mvItem {
    padding: 24px;
  }

  .mvItem p {
    padding-right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .mvRow {
    gap: 32px;
  }

  .mvItem {
    padding: 32px;
  }

  .mvItem p {
    padding-right: 0;
  }
}

/* =========================================================
   ABOUT — Values 
========================================================= */
@media (max-width: 991px) {
  /* drop the vertical column dividers once the cards wrap */
  .valuesSection .border-start {
    border-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .valueItem {
    padding: 24px;
  }
}

@media (max-width: 575px) {
  .valueItem {
    padding: 16px;
  }
}

/* =========================================================
   ABOUT — How We Work (mobile only)
========================================================= */
@media (max-width: 991px) {
  /* flatten the desktop stagger when cards wrap/stack */
  .howWorkRow > [class*="col-"]:nth-child(3n + 2) .workItem {
    margin-top: 0;
  }

  .workDot {
    display: none;
  }
}

/* =========================================================
   ABOUT — Partner CTA (mobile only)
========================================================= */
@media (max-width: 767px) {
  .partnerCta h2,
  .partnerCta h2 span {
    font-size: 40px;
    line-height: 1.15;
  }
}

@media (max-width: 991px) {
  .partnerCta {
    padding: 64px 0;
  }
}

@media (max-width: 575px) {
  .partnerCtaActions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .partnerCtaActions .addar-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .section-head h2 > span {
    display: block;
  }
}

/* =========================================================
   MY ORDERS — responsive
========================================================= */
@media (max-width: 991px) {
  /* trim the large gap under the heading/tabs */
  .ordersHead {
    margin-bottom: 32px;
  }

  /* stack the Items / Summary columns */
  .orderDetailsGrid {
    grid-template-columns: 1fr;
  }

  .orderCard {
    padding: 20px;
  }

  .orderPanel {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .ordersHead {
    margin-bottom: 24px;
  }

  /* Tabs: full-width bar with three equal, centered pills */
  .orderFilters {
    width: 100%;
  }

  .orderFilter {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 8px;
  }

  .orderCard {
    padding: 16px;
  }

  /* Header: drop the status + price onto their own line, aligned left */
  .orderCardHead > .d-flex:last-child {
    width: 100%;
    justify-content: flex-start;
  }

  /* Stepper: shrink labels/dates so all steps stay on one row */
  .orderStepperStep {
    gap: 8px;
  }

  .orderStepperLabel {
    font-size: 9px;
    line-height: 12px;
  }

  .orderStepperDate {
    font-size: 8px;
  }
}

@media (max-width: 575px) {
  .orderFilter {
    font-size: 11px;
    padding: 7px 4px;
  }
}
