/*
Theme Name: PuppyPaca
Theme URI: https://www.puppypaca.com/
Author: PuppyPaca
Description: Minimal WordPress theme skeleton for PuppyPaca.
Version: 1.0.0
Text Domain: puppypaca
*/

/* =========================
   RESET (minimal)
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth;
}

html {
    font-size: 14px;
    background-color: #FFF;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    line-height: 1.5;

    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

    display: flex;
    flex-direction: column;

    /*font-family: "Anybody", sans-serif;*/
    /*font-optical-sizing: auto;*/
    /*font-style: normal;*/
    /*font-variation-settings: "wdth" 100;*/
}
header, footer {
    /* 确保页头和页脚保持原样，不收缩也不拉伸 */
    flex-shrink: 0;
}

main {
    /* 核心代码：让中间部分自动吃掉所有剩余空间 */
    flex: 1;
}
main > :first-child { margin-top: 0; }
main > :last-child  { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
dl, dd {
    margin: 0;
}
p:not(:last-child) {
    margin-bottom: 1rem;
}
.hero h1, h3 {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}
ul[role="list"],
ol[role="list"],
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.h3 {
    font-weight:700;
    font-size: 1.2rem;
    margin-bottom:0.5rem;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.text-center {
    text-align: center;
}
.inner-page-banner {
    margin-bottom:2rem;
}
.section-title,
.entry-title,
.hero-text span {
  font-family: "DynaPuff", system-ui;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:"wdth" 100;
}

.wp-block-list {
    list-style: disc;
    padding-left: 1.2rem;
}
.wp-block-list li:not (:last-child) {
    margin-bottom:1rem;
}
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    font-weight:600;
    border-radius: 5px;
    display: inline-block;
    color: #FFF;
}

.btn-sm {
    padding: 0.2rem 0.5rem;
}

.btn-primary {
    background:linear-gradient(269.34deg, rgb(252, 138, 61) -0.22%, rgb(235, 49, 77) 49.89%, rgb(218, 19, 142) 100%)
}

.btn-secondary {
    background: linear-gradient(
236deg, rgb(61 200 252) -0.22%, rgb(46 116 238) 49.89%, rgb(96 152 246) 100%);
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.container.gap {padding-top: 2rem;padding-bottom: 2rem;}
.section-headline {
    text-align:center;
    max-width: 80%;
    padding-bottom:1rem;
    margin: 0 auto;
}
.section-subtitle {
    opacity:0.6;
    font-weight:500;
}
.colorful-text span {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(269.34deg, rgb(252, 138, 61) -0.22%, rgb(235, 49, 77) 49.89%, rgb(218, 19, 142) 100%) text;
}

.iconbox-item {
    position: relative;
    background-color:#FFF;
    margin-top:2rem;
    border-radius:0.5rem;
}
.iconbox-icon {
    position: absolute;
    width:4rem;
    height:4rem;
    background:#fff;
    border-radius: 50%;
    display:flex;
    justify-content:center;
    align-items: center;
    /* border:3px solid #fcb900; */
    box-shadow:0px 2px 3px rgba(0,0,0,0.1);
}
.iconbox-icon svg {
    max-height:80%;
    max-width: 80%;
}
.iconbox-top .iconbox-icon {
    left: 50%;
    transform: translate(-50%, -50%);
}
.iconbox-left .iconbox-icon {

}
.iconbox-content {
    padding:1rem;
}
.iconbox-top .iconbox-content {
    padding-top: 2rem;
}
.logo {
    width: 160px;
    height: auto;
}

.site-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    /* min-height: 100vh; */
    /* width: 100vw; */
    background: #FFF;
    border-radius: 0 0 0.5rem 0.5rem;
    padding-bottom: 0.5rem;
}
.site-navigation.show {
    display: block;
}
.main-menu-list li {
    padding:0 1rem;
}
.main-menu-list li a {
    display: block;
    padding: 0.5rem 0;
}
.main-menu-list li:not(:first-child) a {
    border-top: 1px solid #e4eeee;
}

/*********************** mobile menu toggle button *********************/
/* ========= 移动端菜单按钮 ========= */

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* 外框，用来限制线条 */
.menu-toggle-box {
    position: relative;
    width: 24px;
    height: 18px;
}

/* 中间那条线 */
.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #222;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

/* 中间线位置 */
.menu-toggle-inner {
    top: 8px;
}

/* 上下两条线 */
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    content: "";
}

.menu-toggle-inner::before {
    top: -6px; /* 上面那条 */
}

.menu-toggle-inner::after {
    top: 6px;  /* 下面那条 */
}

/* ========= 按钮被激活：三横线 -> X ========= */

.menu-toggle.is-open .menu-toggle-inner {
    transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-inner::before {
    top: 0;
    transform: rotate(-90deg);
}

.menu-toggle.is-open .menu-toggle-inner::after {
    top: 0;
    opacity: 0; /* 隐藏第三条线 */
}

/* 你可以顺便用 body.nav-open 来控制菜单显示（可选） */
body.nav-open .main-navigation {
    /* 例如：display: block; 或 transform/opacity 动画 */
}
/*********************** - end mobile menu toggle button -********************/

.wave {
    aspect-ratio: 960 / 23;
    width: 100%;
    height: auto;
    color: #FFF;
}
.wave-bottom {
    transform: scale(-1.01);
    margin-bottom: -1px;
}

header {
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid #EEE;
}
.site-title {
    display: none;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 标题栏外层容器 */
.inner-page-banner {
    position: relative;
     /* 上下间距，可根据需要调整 */
    text-align: center;
    color: #334155; /* 深灰蓝色文字，确保可读性 */

    /* 渐变背景设置：选用四种浅蓝色调 */
    background: linear-gradient(-45deg, #a1afff, #e0f2fe, #efd7ff, #7dd3fc);
    background-size: 400% 400%; /* 放大背景以供动画滑动 */

    /* 绑定动画 */
    animation: gradientFlow 15s ease infinite;

    /* 与下方主体部分的轻微阴影区分 */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}

/* 标题样式 */
.inner-page-banner h1 {
    font-size: 1.8rem;
    padding: 1rem 0;
    font-weight: 700;
    color: #0369a1; /* 较深的蓝色突出标题 */
    text-shadow: 0px 1px 3px #ffffff;
}

/* 面包屑样式 */
/*.breadcrumbs {*/
/*    font-size: 0.9rem;*/
/*    color: #64748b;*/
/*}*/

/*.breadcrumbs a {*/
/*    text-decoration: none;*/
/*    color: #0ea5e9;*/
/*    transition: color 0.3s;*/
/*}*/

/*.breadcrumbs a:hover {*/
/*    color: #0369a1;*/
/*}*/

/* 背景流动动画定义 */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero {
    background: url('/wp-content/themes/grooming/images/ball.svg'),radial-gradient(circle at 30% 20%, #a6eeff 0%, #e6f5fe 45%, #a6e4ff 100%);
    text-align: center;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.hero img {
    aspect-ratio: 1 / 1;
    height: auto !important;
}
.hero-text p {
    font-size: 1.2rem;
    padding: 0 2rem;
    font-weight: 500;
    color: #195e3f;
}
.hero-text .btn {
    align-self:center;
}
.service .section-title span {
    color: #cf2e2e;
}
.service-item {
    position: relative;
}
.service-item:first-child {
    margin-bottom: 1.5rem;
}
.service-icon {
    position: absolute;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.service-content {
    margin-left: 6rem;
}
.icon-grooming {
    aspect-ratio: 256 / 253.792;
}
.icon-spa {
    aspect-ratio: 254.812 / 256;
}
.strengths {
    /* background-color: #f1dbff; */
    background: linear-gradient(301deg, rgb(61 221 252) -0.22%, rgb(49 123 235) 49.89%, rgb(19 202 218) 100%);
}
.strengths .section-title, .strengths .section-subtitle {
    color:#FFF;
}
.strengths .section-title span {
    color: #46ffea;
}
.icon-professional {
    aspect-ratio: 1 / 1;
}
.icon-custom {
    aspect-ratio: 1 / 1;
}
.icon-product {
    aspect-ratio: 193.43 / 256;
}
.icon-price {
    aspect-ratio: 220.98 / 256;
}
.icon-price svg {
    max-width: 55%;
}
.kv{
    display: grid;
    grid-template-columns: max-content 1fr; /* label 宽度取内容最大值 */
    column-gap: 12px;
    align-items: start;
}

.kv__label{ font-weight: 600; }
.kv__value{ text-align: left; }
.contact .section-title span {
    color:#9b51e0;
}
.map-container {
    /* 确保地图相对于此容器定位 */
    position: relative;
    /* 移除高度，让内边距来控制高度 */
    height: 0;
    /* 关键：设置顶部内边距来控制比例。56.25% = 16:9 比例 */
    padding-top: 75%;
    /* 溢出隐藏，避免地图边框超出 */
    overflow: hidden;
}

.map-container iframe {
    /* 地图占满容器的整个空间 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.contact-detail{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    grid-auto-flow: row dense;
}

.contact .actions {
    display:flex;
    flex-direction:column;
    gap:0.6rem;
}
.contact .actions a {
    align-self:center;
}

.bg-circle-left {
    border-radius: 50%;
    z-index: -1;
    position: fixed;
    top: 20%;
    width: 200%;
    aspect-ratio: 1/1;
    background: radial-gradient(circle, #a4e8f570, #cacfff1a, #724df100);
    /* background-size: 200% 200%; */
    /* animation: gradientMove 8s ease infinite; */
    left: 40%;
    /* transform: rotateZ(30deg); */
}

footer {
    color: #FFF;
    text-align: center;
    background: radial-gradient(circle, #4bcce4, #6b75d8, #2b63c1);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================
   Pricing page css
   ========================= */
/* ====== Layout: desktop vs mobile ====== */
.pricing__desktop { display:block; }
.pricing__mobile  { display:none; }

@media (max-width: 900px){
    .pricing__desktop { display:none; }
    .pricing__mobile  { display:block; }
}

/* ====== Shared table styles ====== */
.price-table{
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 14px;
    table-layout: fixed;
}

.price-table th,
.price-table td{
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    border-right: 1px solid rgba(0,0,0,.06);
    white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child{
    width: 180px;   /* 服务名称列 */
    min-width: 180px;
}

.price-table th:last-child,
.price-table td:last-child{ border-right: 0; }

.price-table thead th{
    background: rgba(255,255,255,.95);
    font-weight: 700;
}

.price-table tbody th{
    text-align: left;
    font-weight: 600;
    background: rgba(255,255,255,.9);
}

/* Desktop tables */
.pricing__desktop .price-group{
    margin-top: 18px;
}

.price-group__title{
    font-size: 18px;
    font-weight: 700;
    margin: 18px 0 10px;
}

/* ====== Mobile: toolbar + picker ====== */
.pricing__toolbar{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.pm-controls{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.pm-field{
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.pm-field select{
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
}

.pm-list{
    display: grid;
    gap: 10px;
}

.pm-item{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;

    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,.08);
}

.pm-name{ font-weight: 700; }
.pm-sub{ font-size: 12px; opacity: .75; margin-top: 2px; }
.pm-price{ font-weight: 800; white-space: nowrap; }

/* ====== Mobile: full table scroll + sticky first column ====== */
.table-hint{
    font-size: 12px;
    opacity: .7;
    margin: 8px 0;
}

.table-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(8px);
}

/* Make mobile table require horizontal scroll */
.pricing__mobile .price-table{
    min-width: 760px; /* 根据你列数可调大 */
}

/* Sticky header (optional but nice if table is tall) */
.pricing__mobile .price-table thead th{
    position: sticky;
    top: 0;
    z-index: 3;
}

/* Sticky first column (service name) */
.pricing__mobile .price-table th:first-child,
.pricing__mobile .price-table td:first-child{
    position: sticky;
    left: 0;
    z-index: 4;
    background: rgba(255,255,255,.95);
    box-shadow: 8px 0 16px rgba(0,0,0,.06);
}

/* Top-left corner highest */
.pricing__mobile .price-table thead th:first-child{
    z-index: 5;
}

/* Minor: nicer number alignment */
.price-table td{
    text-align: center;
}
.price-table td:first-child,
.price-table th:first-child{
    text-align: left;
}

/***************** services page *****************/
.passion-content {
    background: #f1f9fd;
    padding: 2rem;
    border-radius: 1rem;
}

/**************** careers form *******************/

/* 表单容器背景 */
.pet-form-container {
    background-color: #fefeee; /* 极浅黄 */
    padding: 30px;
    border: 4px solid #bae1fd; /* 浅蓝边框 */
    border-radius: 30px; /* 超大圆角 */
    box-shadow: 8px 8px 0px #e0f2fe; /* 卡通感的硬阴影 */
    max-width: 900px;
    margin: 20px auto;
}

/* 桌面端双列布局 */
@media (min-width: 768px) {
    .pet-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .full-width {
        grid-column: span 2;
    }
}

/* 标签样式 */
.pet-form-container label {
    font-weight: 800;
    color: #0369a1;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.pet-form-container small {
    display: block;
    color: #64748b;
    margin-bottom: 10px;
    font-style: italic;
}

/* 输入框通用样式 */
.pet-form-container .form-control,
.pet-form-container select,
.pet-form-container textarea {
    width: 100%;
    border: 3px solid #7dd3fc; /* 鲜明蓝边框 */
    border-radius: 15px;
    padding: 12px 15px;
    background-color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 输入框聚焦效果 */
.pet-form-container .form-control:focus {
    outline: none;
    border-color: #0ea5e9;
    background-color: #f0f9ff;
    transform: scale(1.01);
}

/* 复选框/勾选框样式定制 */
.pet-checkbox-group span.wpcf7-list-item {
    display: inline-block;
    margin: 5px 10px 5px 0;
}

.pet-checkbox-group input[type="checkbox"] {
    transform: scale(1.3);
    margin-right: 8px;
    accent-color: #0ea5e9;
}

/* 提交按钮 - 鲜明卡通风 */
.form-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-pet-submit {
    background-color: #0ea5e9;
    color: white !important;
    font-size: 1.3rem !important;
    font-weight: 800;
    padding: 15px 50px !important;
    border: none;
    border-bottom: 5px solid #0369a1; /* 底部深色边框制造立体感 */
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-pet-submit:hover {
    background-color: #0369a1;
    transform: translateY(3px);
    border-bottom-width: 2px;
}

/* 调整错误提示样式 */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-weight: bold;
    margin-top: 5px;
}

/* =========================
   Bootstrap breakpoints (mobile-first)
   (No styles here—only the media query scaffolds)
   ========================= */

/* Small devices (sm, >= 576px) */
@media (min-width: 576px) {
    .header-buttons {
        gap:2rem;
    }
    .service-wrapper,
    .strengths-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .service .section-headline {
        margin-bottom: 3rem;
    }
    .service-item,
    .strengths-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    .service-icon {
        top: 0;
        left: 50%;
        transform: translate(-50%,-50%);
        padding: 0.5rem;
    }
    .service-spa {
        background-color:#c4e3ff
    }
    .service-grooming {
        background-color:#ffeb8d
    }
    .service-content {
        margin-left: 0;
        margin-top: 3rem;
    }

    .contact-detail{
        grid-template-columns: minmax(0, 1fr) auto; /* 右列固定宽度，可改 280/300/360 */
    }

    /* 左列：kv + open-hours 都在第一列 */
    .contact-detail > .kv,
    .contact-detail > .open-hours{
        grid-column: 1;
    }

    /* 右列：actions */
    .contact-detail > .actions{
        /* grid-row: 1 / -1; */
        /* grid-column: 2; */
        /* display: flex; */
        /* flex-direction: column; */
        gap: 1rem;

        /* 视觉上像卡片 */
        grid-row-start: 1;
        grid-row-end: 3;
        grid-column-start: 2;
        align-self: center;
        /* padding: 16px; */
        /* border-radius: 16px; */
        /* background: rgba(255,255,255,.7); */
        /* backdrop-filter: blur(8px); */

        /* 右侧轻微吸顶（可删） */
        /* position: sticky; */
        /* top: 16px; */
    }

    /* 让按钮在右列里更好看：占满宽度 */
    .contact-detail > .actions .btn{
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        text-decoration: none;
    }
}

/* Medium devices (md, >= 768px) */
@media (min-width: 768px) {
    .map-container {
        padding-top: 50%;
    }
    .service-page-wrapper {
        display: flex;
        gap: 2rem;
    }
    
    .service-page-wrapper > div {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Large devices (lg, >= 992px) */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
    h2 {
        font-size:2rem;
    }
    h3 {
        font-size:1.3rem;
    }
    .btn {
        padding:0.6rem 1rem;
    }
    .btn-sm {
        padding:0.3rem 0.9rem
    }
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .site-navigation {
        display: flex;
        position:static;
        padding-bottom: 0;
    }
    .main-menu-list {
        display: flex;
        align-items: center;
    }
    .main-menu-list > li a {
        border-top: none !important;
        font-weight:600
    }
    .main-menu-list > li a:hover {
        color: #9b51e0;
        position: relative;
    }
    .main-menu-list > li a:hover:after {
        position:absolute;
        content: "";
        width:100%;
        height: 3px;
        background: #cf2e2e;
        left: 0;
        bottom: 3px;
    }
    .menu-toggle {
        display: none;
    }
    .hero-wrapper {
        display: flex;
        align-items:center;
    }
    .hero-text {
        text-align:left;
    }
    .hero-text p {
        padding:0;
    }
}

/* X-Large devices (xl, >= 1200px) */
@media (min-width: 1200px) {
    h2 {
        font-size:2.5rem;
    }
    h3 {
        line-height:2;
    }
    .btn {
        padding:0.6rem 1rem;
    }
    .btn-sm {
        padding:0.3rem 0.9rem
    }
    .container {
        max-width:1168px;
    }
    .logo {
        width: 200px
    }
    .main-menu-list {
        font-size:1.1rem;
    }
    .hero-text .btn{
    align-self: start;
}
    .contact-detail {
        grid-template-columns: auto auto auto;
    }
    .contact-detail > .open-hours{
        grid-column: 2;
    }
    .contact-detail > .actions {
        grid-column:3;
    }
}
