/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

:root {
    --primary-color: #3498db;
    --secondary-color: #944f70;
    --text-color: #333;
    --light-gray: #eee;
    --medium-gray: #bdc3c7;
    --dark-font-color: #34495e;
    --font-serif: 'Lora', serif;
    --font-sans: 'Poppins', sans-serif;
    --spacing-unit: 1rem;
}

body {
    font-family: var(--font-sans);
    background-color: #fdfdfd;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-unit) 0;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-unit);
    z-index: 9999;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
    left: 0;
}

.site-header {
    background-color: #fff;
    border-bottom: 1px solid var(--light-gray);
}





.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.5em;
    color: var(--secondary-color);
}




/* Typography */
.main-content h1,
.main-content h2 {
    font-family: var(--font-serif);
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: var(--spacing-unit);
    padding-bottom: 0.5rem;
}

.main-content h1 {
    margin-top: var(--spacing-unit);
    font-size: 2.5em;
    border-bottom: 2px solid var(--medium-gray);
}

.main-content h2 {
    font-size: 1.8em;
    border-bottom: 1px solid #ecf0f1;
}

/* Breadcrumb */
.breadcrumb-container ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: var(--spacing-unit) 0;
    font-size: 0.9em;
    color: #666;
}

.breadcrumb-container li:not(:last-child)::after {
    content: '›';
    margin: 0 0.5rem;
}

.breadcrumb-container a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-container a:hover,
.breadcrumb-container a:focus {
    text-decoration: underline;
}




.price {
    color: var(--text-color);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-unit);
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover,
.button:focus {
    background-color: #2980b9;
    outline: none;
}

/* Internal Links */
.internal-links-section {
    margin: 3rem 0;
}

.internal-links-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-unit);
    column-count: 2;
    column-gap: 2rem;
}

.internal-links-list li {
    margin-bottom: 0.5rem;
}

.internal-links-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

.internal-links-list a:hover,
.internal-links-list a:focus {
    text-decoration: underline;
}

/* Contact Box */
.state-contact-box {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-unit);
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.state-contact-box h2 {
    color: #fff;
    margin-top: 0;
    border-bottom: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1em;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus {
    text-decoration: underline;
}

/* FAQ */
.faq-container {
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    margin-top: var(--spacing-unit);
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-size: 1.1em;
    font-weight: 600;
    padding: var(--spacing-unit);
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: var(--spacing-unit);
    font-size: 1.5em;
    font-weight: 300;
    transition: transform 0.2s ease-in-out;
}

.faq-item[open] summary {
    background-color: #f9f9f9;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 var(--spacing-unit) var(--spacing-unit) var(--spacing-unit);
    color: var(--dark-font-color);
}

/* Responsive */
@media (max-width: 768px) {
    .main-content h1 {
        font-size: 2em;
    }

    .main-content h2 {
        font-size: 1.5em;
    }


}

@media (max-width: 600px) {
    .internal-links-list {
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .state-contact-box {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .internal-links-list.state-links {
        column-count: 3;
    }
}


.cat-featured-image {
    margin: 2rem 0;
    text-align: center;
}

.cat-featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Hide on mobile */
@media screen and (max-width: 767px) {
    .cat-featured-image.responsive-only {
        display: none;
    }
}


.pagination {
    margin: 2em 0;
    text-align: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
}
.pagination .current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}












/* Product grid layout fix for page-cat-landing.php */
.page-cat-landing .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 0 10px;
}

.page-cat-landing .products > div {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease;
}

.page-cat-landing .products > div:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}














@media (max-width: 1024px) {
    .product-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet: 2 per row */
@media (max-width: 768px) {
  .product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile: still 2 per row, just tighter spacing */
@media (max-width: 480px) {
  .product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    font-size: 0.92em;
  }

  .meet-me-button {
    font-size: 1em;
    padding: 10px;
  }
}



.product-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    background: #f0f0f0;
}
.product-image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.icon-overlay {
    position: absolute;
    top: 10px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}
.card-icon {
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}
.heart-icon.active { color: #ff69b4; }
.pin-icon.active { color: #3e82f7; }
.product-details {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cat-name {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333;
}
.cat-desc {
    font-size: 0.95em;
    color: #555;
    display: flex;
    flex: 1 1 45%;
    align-items: center;
    gap: 5px;
    margin: 0 0 15px;
}
.cat-specs {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}











.cat-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.meet-me-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #e6ff70;
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: auto;
}
.meet-me-button:hover {
    background: #d8f560;
}








.cat-info-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}


