/*
Theme Name:     Twenty Twenty-Five Child
Theme URI:      https://example.com/
Description:    Child theme for Twenty Twenty-Five
Author:         Your Name
Author URI:     https://example.com/
Template:       twentytwentyfive
Version:        1.0.0
*/

/* Import parent theme styles */
@import url("../twentytwentyfive/style.css");

textarea {
  resize: none;
}

.wp-block-navigation > li > a:hover {
  text-decoration: none;
  color: var(--wp--preset--color--contrast) !important;
}

:where(.wp-site-blocks :focus) {
  outline: none;
}

.align-items-start {
  align-items: start !important;
}

footer hr.wp-block-separator {
  border-color: #2a518b;
}

hr.wp-block-separator.sep-sm {
  width: 112px;
  border-width: 1px;
}

strong {
  font-weight: 700;
}

footer {
  margin-top: 0px !important;
}

.col-stretch {
  align-items: stretch;
  display: flex;
}

.wp-block-group.service-container {
  border-radius: 8px;
  border-style: solid;
  border-color: var(--wp--preset--color--contrast);
  margin: 10px 10px 20px;
  padding: 20px;
}

.wp-block-group.service-container p:first-child {
  color: var(--wp--preset--color--contrast);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-family: var(--wp--preset--font-family--ddt);
}

.wp-block-group.service-container h3 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2em;
  color: #222222;
}

.wp-block-group.service-container hr,
hr.contrast {
  border-bottom-width: 1px;
  border-color: var(--wp--preset--color--contrast);
  width: 12%;
  height: 5px;
}

.wp-block-group.service-container p:not(:first-child) {
  font-size: 0.938rem;
  margin-bottom: 1rem;
}

ul.wp-block-list li:first-child {
  margin-top: 0;
}

.ac-form-input {
  color: #111111 !important;
  background-color: #ffffff !important;
  border-radius: 8px !important;
  border: 1px solid #69727d !important;
  padding: 0.5rem 1rem !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-bottom: 12px;
}

textarea.ac-form-input {
  height: 100px;
}

.ac-form .ac-form-control input[type="submit"] {
  width: 100%;
  border-radius: 8px;
  padding: 9px;
  background-color: var(--wp--preset--color--contrast);
}

footer.wp-block-template-part > p > a {
  text-decoration: none;
}

.wp-block-search__inside-wrapper {
  height: 45px;
}

.wp-block-search__inside-wrapper .wp-block-search__button {
  border-radius: 8px;
  padding: 0 20px;
}

a.button.add-request-quote-button {
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 12px;
}

.woocommerce .quantity .qty {
  height: 30px;
  width: 60px;
}

.woocommerce div.product div.images .flex-control-thumbs {
  margin-top: 15px;
}

.woocommerce div.product div.images .flex-control-thumbs li:first-child {
  border-radius: 5px 0 0 5px;
  overflow: hidden;
}

.woocommerce div.product div.images .flex-control-thumbs li:last-child {
  border-radius: 0 5px 5px 0;
  overflow: hidden;
}

.woocommerce-product-gallery--with-images .flex-viewport {
  border-radius: 5px;
}

.related-products ul li img {
  overflow: hidden;
  border-radius: 5px;
}

.woocommerce-product-gallery__wrapper {
  overflow: hidden;
  border-radius: 5px;
}

.wp-block-woocommerce-product-collection
  li.wc-block-product
  .wc-block-components-product-image {
  overflow: hidden;
  border-radius: 5px;
}

.woocommerce {
  margin-bottom: 25px !important;
}

.woocommerce-Addresses.col2-set header.woocommerce-Address-title a.edit {
  border-radius: 8px;
  padding: 9px 22px;
  background-color: var(--wp--preset--color--contrast);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  float: none;
  display: inline-block;
}

.woocommerce-Addresses.col2-set address {
  font-size: 1rem;
}

.woocommerce-MyAccount-content {
  padding-top: 2rem;
}

/* Pagination container */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0 3rem;
  font-family: inherit;
  font-size: 14px;
}

/* Page number container */
.wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Page links (numbers) */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background: #f8f8f8;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.page-numbers:hover {
  background: var(--wp--preset--color--contrast);
  color: #fff;
  border-color: var(--wp--preset--color--contrast);
}

/* Current page */
.page-numbers.current {
  background: var(--wp--preset--color--contrast);
  color: #fff;
  border-color: var(--wp--preset--color--contrast);
  font-weight: 600;
  cursor: default;
}

/* Next / Previous links */
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
  background: var(--wp--preset--color--contrast);
  color: #fff;
  border-color: var(--wp--preset--color--contrast);
}

/* Accessibility focus states */
.page-numbers:focus,
.wp-block-query-pagination-next:focus,
.wp-block-query-pagination-previous:focus {
  outline: 2px solid var(--wp--preset--color--contrast);
  outline-offset: 2px;
}

/* Optional: responsive tweak for small screens */
@media (max-width: 480px) {
  .wp-block-query-pagination {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .page-numbers {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .wp-block-query-pagination-next,
  .wp-block-query-pagination-previous {
    font-size: 13px;
    padding: 0.4rem 0.8rem;
  }
}

/* Base container */
.woocommerce-MyAccount-navigation {
  width: 250px;
  background: #f9fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  margin: 2rem 0;
}

/* Remove default list styles */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 1rem 0 !important;
  padding: 0;
}

/* List items */
.woocommerce-MyAccount-navigation li {
  margin-bottom: 0.5rem;
  padding: 0px 15px !important;
}
.woocommerce-MyAccount-navigation li:last-child {
  margin-bottom: 0 !important;
}

/* Links */
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}

/* Hover state */
.woocommerce-MyAccount-navigation a:hover {
  background-color: var(--wp--preset--color--contrast);
  color: #fff;
}

/* Active item */
.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a[aria-current="page"] {
  background-color: var(--wp--preset--color--contrast);
  color: #fff;
  font-weight: 600;
}

/* Optional: subtle icon effect on hover */
.woocommerce-MyAccount-navigation a::before {
  content: "›";
  margin-right: 8px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
  transform: translateX(-4px);
  color: #fff;
}

.woocommerce-MyAccount-navigation a:hover::before,
.woocommerce-MyAccount-navigation .is-active a::before {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive - make horizontal under 768px */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .woocommerce-MyAccount-navigation li {
    margin: 0;
  }

  .woocommerce-MyAccount-navigation a {
    border: 1px solid #e5e7eb;
    background: #fff;
    flex: 1 1 auto;
    text-align: center;
  }

  .woocommerce-MyAccount-navigation .is-active a {
    border-color: var(--wp--preset--color--contrast);
    background: var(--wp--preset--color--contrast);
    color: #fff;
  }
}

.woocommerce-cart .wp-block-post-title {
  max-width: var(--wp--style--global--wide-size);
}

.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary-item__total-price,
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wc-block-components-totals-wrapper:not(
    .wp-block-woocommerce-checkout-order-summary-cart-items-block
  ) {
  display: none !important;
}

.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-cart-item__total,
.wc-block-mini-cart__drawer .wc-block-components-totals-item {
  display: none !important;
}

.wc-block-checkout__form fieldset#shipping-option {
  display: none !important;
}

.wc-block-components-checkout-step__description {
  font-size: 1rem;
}

.wc-block-components-title.wc-block-components-title {
  font-size: 1.3rem;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label,
.wc-block-components-address-form__address_2-toggle,
.wc-block-components-checkbox .wc-block-components-checkbox__label,
.wc-block-components-checkbox > span,
.wc-block-components-checkbox__label,
.wc-block-checkout__add-note .wc-block-components-textarea {
  font-size: 1rem;
}

.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="number"],
.wc-block-components-form
  .wc-block-components-text-input
  input[type="password"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="url"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="url"],
.wc-blocks-components-select .wc-blocks-components-select__select {
  padding: 23px 11px 5px;
  height: auto;
  font-size: 1rem;
}

.wc-block-cart-items .wc-block-cart-item__prices,
.wc-block-cart-items td.wc-block-cart-item__total,
.wc-block-cart-items th.wc-block-cart-items__header-total,
.wp-block-woocommerce-cart-totals-block
  .wp-block-woocommerce-cart-order-summary-block {
  display: none !important;
}

.wp-block-woocommerce-order-confirmation-summary ul li:nth-child(3) {
  display: none !important;
}

.wc-block-order-confirmation-totals__table
  th.wc-block-order-confirmation-totals__total,
.wc-block-order-confirmation-totals__table
  td.wc-block-order-confirmation-totals__total,
.wc-block-order-confirmation-totals__table tfoot {
  display: none !important;
}

.woocommerce-orders-table th.woocommerce-orders-table__header-order-total,
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-total {
  display: none !important;
}

.woocommerce-table--order-details
  th.woocommerce-table__product-table.product-total,
.woocommerce-table--order-details
  td.woocommerce-table__product-total.product-total,
.woocommerce-table--order-details tfoot {
  display: none !important;
}

.wc-block-components-sale-badge {
  display: none !important;
}
