/*
Theme Name: Keep IT Short
Theme URI: https://example.com/
Author: lovable-to-wordpress converter
Description: Block theme generated automatically from a Lovable (React/Vite/Tailwind) project.
Version: 1.0.1790533528
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keep-it-short
*/

/* Most styling lives in theme.json. Keep only small helpers here. */
.is-style-rounded img {
  border-radius: 0.75rem;
}
/* Links inside explicitly-colored text keep that color (muted links etc.) */
p.has-text-color a {
  color: inherit;
}
.converted-form-placeholder {
  border: 1px dashed currentColor;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  opacity: 0.7;
}
/* Icon-only links (header cart, footer socials) */
.converted-cart,
.converted-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d8dedf;
  border-radius: 0.375rem;
  color: inherit;
}
/* Live cart count badge (filled by WooCommerce cart fragments) */
.converted-cart {
  position: relative;
}
.converted-cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--wp--preset--color--primary, #1e293b);
  color: var(--wp--preset--color--primary-foreground, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.converted-cart-count.is-empty {
  display: none;
}
/* Converted footer: links inherit the footer text color, no underline,
   and link lists render without bullets (nav-style lists) */
.converted-footer a {
  color: inherit;
  text-decoration: none;
}
.converted-footer a:hover {
  text-decoration: underline;
}
.converted-footer ul {
  list-style: none;
  padding-left: 0;
}
/* Template-level blocks (header, content, footer) sit flush */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}
/* Page sections stack flush like the source — vertical rhythm lives inside
   each section's own padding, not in a block gap between them */
.wp-block-post-content > * + * {
  margin-block-start: 0 !important;
}

/* Translucent blurred header bar (backdrop-blur in the source) */
.converted-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* A backdrop-filter makes its element a containing block for fixed-position
   descendants, which traps the navigation block's full-screen mobile menu
   inside the header. The blur has nothing to show while that menu covers the
   page, so it is dropped for as long as the menu is open. */
.has-modal-open .converted-blur {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Desktop popover for tel: links */
.converted-tel-popup {
  position: absolute;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #d8dedf;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  padding: 1rem 1.25rem;
  max-width: 20rem;
}
.converted-tel-popup p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.converted-tel-popup .converted-tel-number {
  margin-top: 0.375rem;
  font-weight: 700;
  font-size: 1.0625rem;
}
/* Kept absolute decorations (card corner numbers) */
.converted-abs {
  position: absolute;
  margin: 0;
  pointer-events: none;
}
.wp-block-group:has(> .converted-abs) {
  position: relative;
}
/* Circular avatars / rounded media (radius lives here — inline radius on
   the img/figure is not part of the core blocks' save output) */
.converted-circle img {
  border-radius: 9999px;
}
.wp-block-video.converted-rounded video {
  border-radius: 0.75rem;
}
/* Buttons in one row stretch to equal height (the source rows are flex
   containers whose default alignment stretches every button) */
.wp-block-buttons.is-layout-flex {
  align-items: stretch;
}
.wp-block-buttons.is-layout-flex > .wp-block-button {
  display: flex;
}
.wp-block-buttons.is-layout-flex > .wp-block-button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
}
/* Flex-column cards (blog articles etc.): the body grows and the trailing
   call-to-action pins to the bottom, so buttons align across the row */
/* Sections with a source min-height and items-center: center the content
   vertically (constrained layout keeps centering children horizontally). */
/* Touch targets: menu links, quantity controls and shop buttons reach 44px */
.wp-block-navigation .wp-block-navigation-item__content,
.woocommerce .quantity .qty,
.wc-block-components-quantity-selector button {
  min-height: 44px;
}
/* Loop buttons: one predictable size in both the classic and block markup —
   inline-flex so the height is padding + text, not a stray line box. */
.woocommerce ul.products li.product .button,
.wc-block-product-template .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.wp-block-navigation .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
}
/* Navigation dropdown as the source designs it: a rounded, bordered card
   whose deeper level sits inline under its parent with a rule on the left,
   instead of WordPress's bare box with a second flyout to the side. */
.wp-block-navigation .has-child > .wp-block-navigation__submenu-container {
  background: #f1f3f3;
  border: 1px solid #d8dedf;
  border-radius: 0rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}
/* Core opens the dropdown at a fixed 200px, which wraps most labels; the
   width is widened only while it is open so the closed one stays collapsed. */
.wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
  min-width: 18rem;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  min-height: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  color: #52636f;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: #d8dedf;
  color: #121b21;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child {
  flex-direction: column;
  align-items: stretch;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child > .wp-block-navigation__submenu-icon {
  display: none;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .has-child > .wp-block-navigation__submenu-container {
  position: static;
  display: flex;
  flex-direction: column;
  height: auto;
  width: auto;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  margin: 0 0 0 0.75rem;
  padding: 0 0 0 0.5rem;
  background: transparent;
  border: none;
  border-left: 1px solid #d8dedf;
  border-radius: 0;
  box-shadow: none;
}
/* In the phone overlay every level is a plain indented list with that rule */
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
  margin: 0.25rem 0 0 0.75rem;
  padding: 0 0 0 0.75rem !important;
  min-width: 0 !important;
  background: transparent;
  border: none;
  border-left: 1px solid #d8dedf;
  border-radius: 0;
  box-shadow: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.25rem 0;
  border-radius: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: transparent;
}
/* A top-level parent that only groups its children reads as a heading */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #52636f;
}
/* Product photos on phones stay within the first screen so price and
   add-to-cart are visible without scrolling */
@media (max-width: 781px) {
  .woocommerce-product-gallery__image img,
  .wp-block-woocommerce-product-image-gallery img {
    max-height: 60vh;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
  }
}
.wp-block-group.converted-vcenter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-block-group.converted-vcenter > * {
  width: 100%;
}
.converted-flex-card {
  display: flex;
  flex-direction: column;
}
/* Fixed-height cropped preview boxes (h-48 overflow-hidden): the inline
   min-height becomes the exact height and the overflow is clipped. */
.wp-block-group.converted-clip {
  height: 0;
  overflow: hidden;
}
.converted-flex-card > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
.converted-flex-card > .wp-block-group:last-child:not(.wp-block-buttons) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.converted-flex-card > .wp-block-group:last-child > .wp-block-buttons:last-child {
  margin-top: auto;
  padding-top: 1.5rem;
}
/* A photo that filled its box with position:absolute in the source */
.wp-block-group.converted-cover {
  position: relative;
  overflow: hidden;
  /* Stretch to the row when the source sized the box from its neighbour
     (md:min-h-full); the inline min-height is the floor. */
  height: 100%;
  align-self: stretch;
}
.wp-block-group.converted-cover > .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}
.wp-block-group.converted-cover > .wp-block-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
/* Crossfade image carousel (stacked absolute slides in the source) */
.converted-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.converted-carousel .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.converted-carousel .wp-block-image.is-active {
  opacity: 1;
}
.converted-carousel .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.converted-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background 150ms ease;
  z-index: 1;
}
.converted-carousel-nav:hover {
  background: #ffffff;
}
.converted-carousel-nav.is-prev {
  left: 0.75rem;
}
.converted-carousel-nav.is-next {
  right: 0.75rem;
}
.converted-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}
.converted-carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}
.converted-carousel-dots button.is-active {
  width: 1.5rem;
  background: var(--wp--preset--color--primary, #333333);
}
/* Cards that lift on hover in the source design */
.converted-lift {
  transition: transform 0.25s ease;
}
.converted-lift:hover {
  transform: translateY(-0.25rem);
}
/* Inline icons inside text and buttons */
.converted-inline-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}
.converted-icon-solo {
  margin-right: 0 !important;
}
/* Source lists carry their own markers */
ul.converted-check-list {
  list-style: none;
  padding-left: 0;
}
ul.converted-dot-list {
  list-style: disc;
  padding-left: 1.25rem;
}
/* Quotes: no decorative side bar unless the source added one */
.wp-block-quote {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}
.wp-block-quote cite {
  font-style: normal;
  font-weight: 600;
}
/* A details block marked as a popup opens over the page instead of pushing
   the content below it down. <details> already carries the open/closed
   state, so the panel needs no script to appear — only to be dismissed by
   the backdrop or the Escape key. */
.wp-block-details.details-popup {
  border: none;
  padding: 0;
}
.wp-block-details.details-popup > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wp-block-details.details-popup > summary::-webkit-details-marker {
  display: none;
}
.wp-block-details.details-popup[open] > summary::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
}
.wp-block-details.details-popup[open] > .converted-popup-panel {
  position: fixed;
  z-index: 201;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(30rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 2rem));
  overflow: auto;
  margin: 0;
  padding: 1.75rem;
  background: #f1f3f3;
  border: 1px solid #d8dedf;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  text-align: left;
}
/* FAQ accordions (core/details) */
.wp-block-details {
  border-bottom: 1px solid #d8dedf;
  padding: 1.25rem 0;
}
.wp-block-details summary {
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.wp-block-details[open] summary {
  margin-bottom: 0.75rem;
}
/* Single-post featured image: shown at its natural size, never upscaled */
.single .wp-block-post-featured-image {
  margin-bottom: 0;
}
.single .wp-block-post-featured-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 26rem;
  margin-inline: auto;
}
/* An audio player fills its box. The browser gives the control set a
   minimum width of its own — around 300px — which on a phone pushes it out
   past the card holding it, so that minimum is released. */
.wp-block-audio audio {
  width: 100%;
  min-width: 0;
}
/* Grid layouts collapse to one column on small screens */
@media (max-width: 781px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hover states carried over from the source design */
.wp-block-button.converted-hover-1 .wp-block-button__link {
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.wp-block-button.converted-hover-1 .wp-block-button__link:hover {
  background-color:#121b21 !important;
  color:#f1f3f3 !important;
}

/* Accents carried over from the source design */
.converted-accent-1 li {
  border-top:1px solid #d8dedf;
  padding-top:1rem;
  padding-bottom:1rem;
  min-height:5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0;
}
@media (max-width:781px) {
  .converted-accent-2 {
    padding-top:2rem !important;
    padding-bottom:5rem !important;
  }
}
@media (max-width:781px) {
  .converted-accent-3 {
    padding-top:2rem !important;
    padding-bottom:2rem !important;
  }
}
@media (max-width:781px) {
  .converted-accent-4 {
    padding-top:5rem !important;
    padding-bottom:5rem !important;
  }
}
.converted-accent-5 li {
  border-top:1px solid #d8dedf;
  padding-top:1.5rem;
  padding-bottom:1.5rem;
  min-height:11rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0;
}
