:root {
    --ph-primary: #18b7b5;
    --ph-primary-dark: #0f8f8d;
    --ph-ink: #17232f;
    --ph-muted: #65717d;
    --ph-soft: #f4f8f8;
    --ph-border: #e4ebec;
    --ph-white: #fff;
    --ph-danger: #d94452;
    --ph-shadow: 0 18px 50px rgba(18, 49, 56, 0.09);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body.pethouz-body {
    font-family: Onest, sans-serif;
    color: var(--ph-ink);
    background: #fff;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh;
    height: auto !important;
    margin: 0;
}
.ph-lock {
    overflow: hidden !important;
}
.ph-main {
    min-height: 60vh;
}
.ph-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ph-border);
}
.ph-nav-row {
    height: 84px;
    display: flex;
    align-items: center;
    gap: 26px;
}
.ph-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ph-ink);
    font:
        700 22px Fredoka,
        sans-serif;
    white-space: nowrap;
}
.ph-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.ph-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}
.ph-nav > a,
.ph-dropdown > a {
    font-weight: 600;
    color: var(--ph-ink);
    text-decoration: none;
    font-size: 14px;
}
.ph-dropdown {
    position: relative;
}
.ph-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -20px;
    min-width: 560px;
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    box-shadow: var(--ph-shadow);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s;
}
.ph-dropdown:hover .ph-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ph-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ph-dropdown-group a {
    color: var(--ph-muted);
    font-size: 13px;
    text-decoration: none;
    padding: 4px 0;
}
.ph-dropdown-group .ph-dropdown-title {
    color: var(--ph-ink);
    font-size: 14px;
    font-weight: 700;
}
.ph-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ph-search {
    display: flex;
    border: 1px solid var(--ph-border);
    border-radius: 999px;
    background: var(--ph-soft);
    overflow: hidden;
}
.ph-search input {
    border: 0 !important;
    background: transparent !important;
    width: 220px;
    height: 42px;
    padding: 0 14px;
    outline: 0;
}
.ph-search button {
    border: 0;
    background: transparent;
    width: 42px;
    color: var(--ph-primary-dark);
}
.ph-icon-btn,
.ph-mobile-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--ph-border);
    background: #fff;
    border-radius: 50%;
    position: relative;
}
.ph-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--ph-primary);
    color: white;
    font-size: 11px;
    display: grid;
    place-items: center;
    padding: 0 5px;
}
.ph-account {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ph-ink);
    text-decoration: none;
    font-weight: 600;
}
.ph-mobile-toggle {
    display: none;
}
.ph-hero {
    background: linear-gradient(135deg, #e9fbfa, #f8fcfb);
    overflow: hidden;
}
.ph-hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}
.ph-eyebrow {
    color: var(--ph-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 12px;
}
.ph-hero h1,
.ph-page-hero h1 {
    font-family: Fredoka, sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--ph-primary);
}
.ph-hero h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    margin: 14px 0 20px;
}
.ph-hero p {
    font-size: 18px;
    color: var(--ph-muted);
    max-width: 620px;
    line-height: 1.7;
}
.ph-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}
.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ph-primary);
    background: var(--ph-primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1.2;
}
.ph-btn:hover {
    background: var(--ph-primary-dark);
    border-color: var(--ph-primary-dark);
    transform: translateY(-1px);
}
.ph-btn-light {
    background: #fff;
    color: var(--ph-primary-dark) !important;
    border-color: #fff;
}
.ph-btn-outline {
    background: #fff;
    color: var(--ph-primary-dark) !important;
    border-color: var(--ph-border);
}
.ph-btn-wide {
    width: 100%;
}
.ph-trust-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: var(--ph-muted);
    font-size: 13px;
}
.ph-trust-row i {
    color: var(--ph-primary);
}
.ph-hero-media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}
.ph-hero-media img {
    max-width: 100%;
    max-height: 570px;
    object-fit: contain;
    filter: drop-shadow(0 25px 45px rgba(12, 82, 82, 0.15));
}
.ph-section {
    padding: 82px 0;
}
.ph-soft-section {
    background: var(--ph-soft);
}
.ph-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
.ph-section-head h2,
.ph-pet-heading h3,
.ph-detail-info h1,
.ph-checkout-form h2,
.ph-order-summary h2 {
    font-family: Fredoka, sans-serif;
    font-weight: 700;
    color: var(--ph-ink);
    margin: 4px 0 0;
}
.ph-section-head h2 {
    font-size: 38px;
}
.ph-section-head > a,
.ph-pet-heading > a {
    color: var(--ph-primary-dark);
    font-weight: 700;
    text-decoration: none;
}
.ph-pet-block + .ph-pet-block {
    margin-top: 48px;
}
.ph-pet-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.ph-pet-heading h3 {
    font-size: 28px;
}
.ph-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.ph-category-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 14px;
    background: #fff;
    text-decoration: none;
    color: var(--ph-ink);
    transition: 0.25s;
}
.ph-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ph-shadow);
    border-color: #c9e9e8;
}
.ph-category-img {
    height: 100px;
    border-radius: 14px;
    background: var(--ph-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.ph-category-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ph-category-card h4 {
    font-size: 17px;
    margin: 0 0 4px;
}
.ph-category-card p {
    color: var(--ph-muted);
    margin: 0 0 8px;
    font-size: 13px;
}
.ph-category-card span {
    color: var(--ph-primary-dark);
    font-weight: 700;
    font-size: 13px;
}
.ph-promo {
    padding: 20px 0 50px;
}
.ph-promo-card {
    background: var(--ph-ink);
    color: white;
    border-radius: 28px;
    padding: 48px 54px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    overflow: hidden;
    min-height: 330px;
}
.ph-promo-card h2 {
    font-family: Fredoka;
    font-size: 44px;
    color: white;
    margin: 12px 0;
}
.ph-promo-card p {
    color: #c7d2d7;
    max-width: 620px;
}
.ph-promo-card img {
    max-height: 300px;
    max-width: 100%;
    justify-self: center;
}
.ph-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.ph-product-card {
    position: relative;
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: 0.25s;
}
.ph-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ph-shadow);
}
.ph-product-image {
    position: relative;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    background: #f8faf9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}
.ph-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.ph-product-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 5px 14px rgba(229, 62, 62, 0.2);
}
.ph-product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ph-product-meta {
    font-size: 12px;
    color: var(--ph-primary-dark);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.ph-product-card h3 {
    font-size: 16px;
    line-height: 1.45;
    margin: 7px 0 14px;
    min-height: 46px;
}
.ph-product-card h3 a {
    color: var(--ph-ink);
    text-decoration: none;
}
.ph-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
}
.ph-price-row strong {
    font-size: 19px;
    color: var(--ph-primary-dark);
}
.ph-price-row span {
    font-size: 13px;
    color: var(--ph-muted);
}
.ph-price-row del {
    font-size: 13px;
    color: #90999d;
    font-weight: 500;
}
.ph-card-actions {
    margin-top: 16px;
}
.ph-card-actions .ph-btn {
    width: 100%;
    padding: 11px 14px;
}
.ph-variant-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 999px;
    font-size: 11px;
    padding: 5px 9px;
    font-weight: 700;
}
.ph-page-hero {
    background: var(--ph-soft);
    padding: 54px 0;
}
.ph-page-hero h1 {
    font-size: 46px;
    margin: 10px 0;
}
.ph-page-hero p {
    color: var(--ph-muted);
    margin: 0;
}
.ph-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}
.ph-filter-panel {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 20px;
    height: max-content;
    position: sticky;
    top: 105px;
}
.ph-filter-panel form,
.ph-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ph-filter-panel label,
.ph-form label,
.ph-checkout-form label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ph-ink);
}
.ph-filter-panel input,
.ph-filter-panel select,
.ph-form input,
.ph-form select,
.ph-checkout-form input,
.ph-checkout-form select,
.ph-checkout-form textarea,
.ph-variant-form select,
.ph-search-page input {
    width: 100%;
    border: 1px solid var(--ph-border);
    border-radius: 11px;
    padding: 12px 13px;
    background: #fff;
    outline: 0;
    margin-top: 6px;
}
.ph-filter-panel input:focus,
.ph-filter-panel select:focus,
.ph-form input:focus,
.ph-checkout-form input:focus,
.ph-checkout-form select:focus,
.ph-checkout-form textarea:focus,
.ph-search-page input:focus {
    border-color: var(--ph-primary);
    box-shadow: 0 0 0 3px rgba(24, 183, 181, 0.1);
}
.ph-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.ph-filter-toggle {
    display: none;
}
.ph-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}
.ph-pagination a {
    border: 1px solid var(--ph-border);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--ph-primary-dark);
    font-weight: 700;
}
.ph-search-page {
    display: flex;
    max-width: 720px;
    gap: 10px;
    margin: 24px 0 10px;
}
.ph-search-page input {
    margin: 0;
    font-size: 16px;
}
.ph-breadcrumb {
    padding: 18px 0;
    border-bottom: 1px solid var(--ph-border);
}
.ph-breadcrumb .container {
    display: flex;
    gap: 8px;
    color: var(--ph-muted);
    font-size: 13px;
}
.ph-breadcrumb a {
    color: var(--ph-primary-dark);
    text-decoration: none;
}
.ph-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.ph-gallery-main {
    background: #f8faf9;
    border-radius: 24px;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    padding: 36px;
}
.ph-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ph-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow: auto;
    margin-top: 12px;
}
.ph-gallery-thumbs button {
    width: 76px;
    height: 76px;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    background: #fff;
    padding: 6px;
}
.ph-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ph-detail-info h1 {
    font-size: 42px;
    line-height: 1.12;
    margin: 10px 0 18px;
}
.ph-detail-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ph-detail-price strong {
    font-size: 30px;
    color: var(--ph-primary-dark);
}
.ph-detail-price del {
    color: var(--ph-muted);
}
.ph-discount {
    font-size: 12px;
    background: #e6f8f7;
    color: var(--ph-primary-dark);
    padding: 5px 8px;
    border-radius: 999px;
    font-weight: 700;
}
.ph-detail-description {
    color: var(--ph-muted);
    line-height: 1.75;
}
.ph-variant-form fieldset {
    border: 0;
    padding: 0;
    margin: 22px 0;
}
.ph-variant-form legend {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}
.ph-option-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ph-option-list input {
    position: absolute;
    opacity: 0;
}
.ph-option-list span {
    display: block;
    border: 1px solid var(--ph-border);
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
}
.ph-option-list input:checked + span {
    border-color: var(--ph-primary);
    background: #eafaf9;
    color: var(--ph-primary-dark);
    font-weight: 700;
}
.ph-buy-row {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}
.ph-qty {
    display: flex;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    overflow: hidden;
    height: 48px;
}
.ph-qty button {
    border: 0;
    background: #f7f9f9;
    width: 40px;
}
.ph-qty input {
    border: 0 !important;
    width: 50px;
    text-align: center;
    appearance: textfield;
    padding: 0 !important;
}
.ph-availability {
    color: #2e8b57;
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
}
.ph-detail-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}
.ph-detail-facts > div {
    background: var(--ph-soft);
    border-radius: 12px;
    padding: 12px;
}
.ph-detail-facts span {
    display: block;
    color: var(--ph-muted);
    font-size: 11px;
}
.ph-detail-facts strong {
    font-size: 13px;
}
.ph-specs {
    margin-top: 70px;
}
.ph-specs dl {
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    overflow: hidden;
}
.ph-specs dl > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 14px 18px;
}
.ph-specs dl > div:nth-child(odd) {
    background: var(--ph-soft);
}
.ph-specs dt {
    font-weight: 700;
}
.ph-specs dd {
    margin: 0;
}
.ph-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 36, 0.42);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}
.ph-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}
.ph-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100dvh;
    background: white;
    z-index: 1500;
    transform: translateX(100%);
    transition: 0.28s;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}
.ph-cart-panel.open {
    transform: none;
}
.ph-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border-bottom: 1px solid var(--ph-border);
}
.ph-cart-head h3 {
    margin: 0;
    font-family: Fredoka;
}
.ph-cart-head button {
    border: 0;
    background: var(--ph-soft);
    border-radius: 50%;
    width: 38px;
    height: 38px;
}
.ph-mini-cart {
    padding: 18px;
    overflow: auto;
    flex: 1;
}
.ph-mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ph-mini-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}
.ph-mini-row img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--ph-soft);
}
.ph-mini-row a {
    display: block;
    color: var(--ph-ink);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
}
.ph-mini-row small {
    color: var(--ph-muted);
}
.ph-mini-foot {
    margin-top: 22px;
    border-top: 1px solid var(--ph-border);
    padding-top: 18px;
}
.ph-mini-foot > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}
.ph-empty-mini {
    text-align: center;
    padding: 70px 20px;
    color: var(--ph-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ph-empty-mini i {
    font-size: 34px;
    color: var(--ph-primary);
}
.ph-cart-layout,
.ph-checkout-layout,
.ph-orders-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
.ph-cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ph-cart-item {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    padding: 14px;
}
.ph-cart-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: var(--ph-soft);
    border-radius: 12px;
}
.ph-cart-info span,
.ph-cart-info small {
    display: block;
    color: var(--ph-muted);
    font-size: 12px;
}
.ph-cart-info h3 {
    font-size: 16px;
    margin: 5px 0;
}
.ph-cart-info h3 a {
    color: var(--ph-ink);
    text-decoration: none;
}
.ph-cart-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.ph-text-btn {
    border: 0;
    background: transparent;
    font-size: 12px;
    text-decoration: underline;
}
.ph-danger {
    color: var(--ph-danger);
}
.ph-cart-line {
    font-weight: 800;
}
.ph-order-summary {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 105px;
    background: #fff;
}
.ph-order-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0;
}
.ph-summary-total {
    font-size: 18px;
}
.ph-secondary-link {
    display: block;
    text-align: center;
    color: var(--ph-primary-dark);
    font-weight: 700;
    margin-top: 14px;
}
.ph-auth-section {
    min-height: calc(100vh - 84px);
    background: var(--ph-soft);
    padding: 70px 20px;
    display: grid;
    place-items: center;
}
.ph-auth-card,
.ph-success-card {
    width: min(560px, 100%);
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 24px;
    padding: 38px;
    box-shadow: var(--ph-shadow);
}
.ph-auth-copy {
    text-align: center;
    margin-bottom: 26px;
}
.ph-auth-copy h1,
.ph-success-card h1 {
    font-family: Fredoka;
    font-size: 38px;
    margin: 8px 0;
}
.ph-auth-copy p,
.ph-success-card p {
    color: var(--ph-muted);
}
.ph-password {
    display: flex;
    position: relative;
}
.ph-password input {
    padding-right: 48px;
}
.ph-password button {
    position: absolute;
    right: 4px;
    top: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
}
.ph-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.ph-check input {
    width: auto !important;
    margin: 0 !important;
}
.ph-form-foot {
    text-align: center;
    margin: 4px 0;
}
.ph-success-card {
    text-align: center;
}
.ph-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #e7f9ef;
    color: #26945c;
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto 20px;
}
.ph-order-confirm {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: var(--ph-soft);
    padding: 16px;
    border-radius: 12px;
    margin: 24px 0;
}
.ph-order-confirm span {
    display: flex;
    flex-direction: column;
}
.ph-success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.ph-checkout-form {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 28px;
}
.ph-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 20px;
}
.span-2 {
    grid-column: span 2;
}
.ph-info-box {
    display: flex;
    gap: 14px;
    background: #eafaf9;
    border: 1px solid #c9ecea;
    border-radius: 14px;
    padding: 16px;
    margin-top: 24px;
}
.ph-info-box i {
    color: var(--ph-primary-dark);
    font-size: 22px;
}
.ph-info-box p {
    margin: 3px 0 0;
    color: var(--ph-muted);
}
.ph-checkout-item {
    align-items: start;
}
.ph-checkout-item span {
    display: flex;
    flex-direction: column;
}
.ph-checkout-item small {
    color: var(--ph-muted);
}
.ph-secure-note {
    display: block;
    color: var(--ph-muted);
    text-align: center;
    margin-top: 12px;
}
.ph-free-delivery {
    color: #237548;
    letter-spacing: .02em;
}
.ph-min-order-note,
.ph-minimum-ok {
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.4;
    background: #fff7e6;
    color: #735600;
}
.ph-min-order-note.is-eligible,
.ph-minimum-ok {
    background: #e8f8ef;
    color: #237548;
}
.ph-btn-disabled,
.ph-btn-disabled:hover {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    pointer-events: auto;
}
.ph-payment-title {
    margin-top: 28px;
}
.ph-payment-options {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}
.ph-payment-option {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    padding: 15px;
    cursor: pointer;
}
.ph-payment-option:has(input:checked) {
    border-color: var(--ph-primary);
    background: #f5fcfb;
}
.ph-payment-option input {
    width: auto !important;
    margin: 3px 0 0 !important;
}
.ph-payment-option span,
.ph-payment-option small {
    display: block;
}
.ph-payment-option small {
    margin-top: 3px;
    color: var(--ph-muted);
    font-weight: 400;
}
.ph-payment-card {
    max-width: 620px;
}
.ph-payment-message {
    display: flex;
    gap: 10px;
    text-align: left;
    align-items: flex-start;
    background: #eafaf9;
    border: 1px solid #c9ecea;
    border-radius: 12px;
    padding: 13px 14px;
    margin: 18px 0;
}
.ph-payment-error {
    background: #fdecec;
    border-color: #f5c4ca;
    color: #8b2532;
}
.ph-order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ph-order-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.6fr 0.8fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: var(--ph-ink);
}
.ph-order-card.active,
.ph-order-card:hover {
    border-color: var(--ph-primary);
    background: #f5fcfb;
}
.ph-order-card small {
    display: block;
    color: var(--ph-muted);
}
.ph-status {
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 9px;
    background: #fff3cd;
    color: #7b6200;
}
.ph-status-completed,
.ph-status-delivered {
    background: #e8f8ef;
    color: #237548;
}
.ph-status-cancelled {
    background: #fdecec;
    color: #a02b37;
}
.ph-order-detail {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 105px;
}
.ph-order-detail h2 {
    font-size: 20px;
    margin: 0;
}
.ph-order-detail > p {
    color: var(--ph-muted);
    font-size: 12px;
}
.ph-order-items > div {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 10px;
    align-items: center;
    margin: 14px 0;
}
.ph-order-items img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: var(--ph-soft);
    border-radius: 8px;
}
.ph-order-items span {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.ph-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}
.ph-rounded-media {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 24px;
    background: var(--ph-soft);
}
.ph-prose {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ph-muted);
}
.ph-prose h2 {
    font-family: Fredoka;
    color: var(--ph-ink);
    font-size: 38px;
}
.ph-check-list {
    list-style: none;
    padding: 0;
}
.ph-check-list li {
    margin: 10px 0;
}
.ph-check-list li:before {
    content: "✓";
    color: var(--ph-primary);
    font-weight: 900;
    margin-right: 10px;
}
.ph-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ph-contact-card {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    color: var(--ph-ink);
}
.ph-contact-card i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eafaf9;
    color: var(--ph-primary-dark);
    display: grid;
    place-items: center;
    font-size: 20px;
}
.ph-contact-card small {
    display: block;
    color: var(--ph-muted);
}
.ph-contact-note {
    max-width: 760px;
    margin: 28px auto 0;
}
.ph-policy {
    max-width: 850px;
    margin: auto;
    line-height: 1.8;
    color: var(--ph-muted);
}
.ph-policy h2,
.ph-policy h3 {
    font-family: Fredoka;
    color: var(--ph-ink);
    margin-top: 26px;
}
.ph-footer {
    background: #11222b;
    color: #c3d0d5;
    padding: 64px 0 22px;
}
.ph-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}
.ph-logo-footer {
    color: #fff !important;
}
.ph-footer h4 {
    color: #fff;
    margin-bottom: 14px;
}
.ph-footer a {
    display: block;
    color: #c3d0d5;
    text-decoration: none;
    margin: 8px 0;
}
.ph-footer p {
    max-width: 360px;
}
.ph-logout-form button {
    border: 0;
    background: none;
    color: #c3d0d5;
    padding: 0;
    margin-top: 8px;
}
.ph-footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    margin-top: 42px;
    font-size: 12px;
}
.ph-toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ph-toast {
    min-width: 280px;
    max-width: 390px;
    background: #17232f;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition: 0.2s;
}
.ph-toast.show {
    opacity: 1;
    transform: none;
}
.ph-toast-success i {
    color: #66d6a0;
}
.ph-toast-error i {
    color: #ff818b;
}
.ph-toast-warning i {
    color: #ffd166;
}
.ph-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--ph-border);
    border-radius: 20px;
}
.ph-empty i {
    font-size: 40px;
    color: var(--ph-primary);
}
.ph-empty h2 {
    font-family: Fredoka;
    margin: 14px 0 5px;
}
.ph-empty p {
    color: var(--ph-muted);
}
@media (max-width: 1199px) {
    .ph-search input {
        width: 160px;
    }
    .ph-nav {
        gap: 13px;
    }
    .ph-category-grid,
    .ph-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .ph-nav-row {
        height: 72px;
    }
    .ph-logo img {
        width: 48px;
        height: 48px;
    }
    .ph-mobile-toggle {
        display: block;
        order: 3;
    }
    .ph-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--ph-border);
        padding: 18px 24px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }
    .ph-nav.open {
        display: flex;
    }
    .ph-dropdown {
        width: 100%;
    }
    .ph-dropdown-menu {
        display: none !important;
    }
    .ph-actions {
        margin-left: auto;
    }
    .ph-search {
        display: none;
    }
    .ph-account span {
        display: none;
    }
    .ph-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 70px 0 0;
    }
    .ph-hero-media img {
        max-height: 430px;
    }
    .ph-category-grid,
    .ph-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ph-shop-layout {
        grid-template-columns: 1fr;
    }
    .ph-filter-panel {
        display: none;
        position: static;
    }
    .ph-filter-panel.open {
        display: block;
    }
    .ph-filter-toggle {
        display: inline-flex;
    }
    .ph-detail-grid,
    .ph-content-grid {
        grid-template-columns: 1fr;
    }
    .ph-cart-layout,
    .ph-checkout-layout,
    .ph-orders-layout {
        grid-template-columns: 1fr;
    }
    .ph-order-summary,
    .ph-order-detail {
        position: static;
    }
    .ph-contact-grid {
        grid-template-columns: 1fr;
    }
    .ph-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .ph-section {
        padding: 54px 0;
    }
    .ph-hero h1 {
        font-size: 46px;
    }
    .ph-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ph-trust-row {
        flex-direction: column;
        gap: 8px;
    }
    .ph-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .ph-section-head h2 {
        font-size: 31px;
    }
    .ph-category-grid,
    .ph-product-grid {
        grid-template-columns: 1fr;
    }
    .ph-category-card {
        grid-template-columns: 90px 1fr;
    }
    .ph-product-image {
        height: 270px;
    }
    .ph-promo-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .ph-promo-card h2 {
        font-size: 34px;
    }
    .ph-page-hero {
        padding: 40px 0;
    }
    .ph-page-hero h1 {
        font-size: 36px;
    }
    .ph-detail-info h1 {
        font-size: 34px;
    }
    .ph-detail-grid {
        gap: 30px;
    }
    .ph-detail-facts {
        grid-template-columns: 1fr;
    }
    .ph-buy-row {
        flex-direction: column;
    }
    .ph-qty {
        width: max-content;
    }
    .ph-cart-item {
        grid-template-columns: 80px 1fr;
        align-items: start;
    }
    .ph-cart-item img {
        width: 76px;
        height: 76px;
    }
    .ph-cart-controls {
        grid-column: 2;
        align-items: flex-start;
    }
    .ph-cart-line {
        grid-column: 2;
    }
    .ph-auth-card,
    .ph-success-card {
        padding: 26px 20px;
    }
    .ph-form-grid {
        grid-template-columns: 1fr;
    }
    .span-2 {
        grid-column: auto;
    }
    .ph-order-card {
        grid-template-columns: 1fr 1fr;
    }
    .ph-order-card .ph-status {
        justify-self: start;
    }
    .ph-order-confirm,
    .ph-success-actions {
        flex-direction: column;
    }
    .ph-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }
    .ph-footer-grid > div:first-child {
        grid-column: span 2;
    }
    .ph-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .ph-toast-stack {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .ph-toast {
        min-width: 0;
        width: 100%;
    }
    .ph-specs dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ph-search-page {
        flex-direction: column;
    }
}

.ph-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ph-subcategory-card {
    border: 1px solid var(--ph-border);
    border-radius: 18px;
    padding: 14px;
    text-decoration: none;
    color: var(--ph-ink);
    background: #fff;
    transition: 0.2s;
}
.ph-subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ph-shadow);
}
.ph-subcategory-card > div {
    width: 100%;
    height: 180px;
    background: var(--ph-soft);
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.ph-subcategory-card > div img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    object-position: center;
    display: block;
}
.ph-subcategory-card > div i {
    font-size: 32px;
    color: var(--ph-primary);
}
.ph-subcategory-card h2 {
    font: 700 18px Fredoka;
    margin: 12px 0 4px;
}
.ph-subcategory-card p {
    color: var(--ph-muted);
    margin: 0 0 7px;
    font-size: 14px;
}
.ph-subcategory-card span {
    color: var(--ph-primary-dark);
    font-weight: 700;
    font-size: 14px;
}
.ph-subcategory-all {
    background: #eefafa;
}
@media (max-width: 1199px) {
    .ph-subcategory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .ph-subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ph-subcategory-card > div {
        height: 170px;
    }
}
@media (max-width: 640px) {
    .ph-subcategory-grid {
        grid-template-columns: 1fr;
    }
    .ph-subcategory-card > div {
        height: 190px;
    }
}

.ph-mobile-search {
    display: none;
}
@media (max-width: 991px) {
    .ph-mobile-search {
        display: flex;
        width: 100%;
        border: 1px solid var(--ph-border);
        border-radius: 12px;
        overflow: hidden;
    }
    .ph-mobile-search input {
        border: 0;
        outline: 0;
        flex: 1;
        padding: 11px 12px;
    }
    .ph-mobile-search button {
        width: 44px;
        border: 0;
        background: var(--ph-soft);
        color: var(--ph-primary-dark);
    }
}

button:disabled,
.ph-btn:disabled {
    opacity: 0.58;
    cursor: wait;
    transform: none !important;
}

/* PetHouz responsive product-grid integration */
@media (min-width: 641px) and (max-width: 1199px) {
    .ph-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .ph-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .ph-product-image {
        height: 175px;
        min-height: 175px;
        max-height: 175px;
        padding: 10px;
    }
    .ph-product-discount-badge {
        top: 8px;
        right: 8px;
        padding: 5px 7px;
        font-size: 9px;
    }
    .ph-product-body {
        padding: 12px;
    }
    .ph-product-meta {
        font-size: 10px;
        line-height: 1.3;
    }
    .ph-product-card h3 {
        font-size: 13px;
        line-height: 1.35;
        min-height: 36px;
        margin: 6px 0 10px;
    }
    .ph-price-row {
        gap: 4px;
        flex-wrap: wrap;
    }
    .ph-price-row strong {
        font-size: 16px;
    }
    .ph-price-row span {
        font-size: 11px;
    }
    .ph-card-actions {
        margin-top: 12px;
    }
    .ph-card-actions .ph-btn {
        padding: 10px 8px;
        font-size: 12px;
    }
    .ph-variant-pill {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 4px 6px;
    }
}
@media (max-width: 390px) {
    .ph-product-grid {
        gap: 9px;
    }
    .ph-product-image {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
        padding: 8px;
    }
    .ph-product-body {
        padding: 10px;
    }
    .ph-product-card h3 {
        font-size: 12px;
    }
    .ph-price-row strong {
        font-size: 15px;
    }
    .ph-card-actions .ph-btn {
        font-size: 11px;
        padding: 9px 6px;
    }
}
.ph-promo {
    padding: 20px 0; /* Space above and below */
}

.ph-promo .container {
    padding-left: 15px;
    padding-right: 15px;
}

.promo-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px; /* Optional: match your site's style */
}
/* PetHouz storefront refinements */
.ph-product-card .ph-btn:hover,.ph-product-card .ph-btn:focus-visible,.ph-product-card .ph-btn:hover i,.ph-product-card .ph-btn:focus-visible i,.ph-offer-card .ph-btn:hover,.ph-offer-card .ph-btn:focus-visible,.ph-offer-card .ph-btn:hover i,.ph-offer-card .ph-btn:focus-visible i,.ph-buy-row .ph-btn:hover,.ph-buy-row .ph-btn:focus-visible,.ph-buy-row .ph-btn:hover i,.ph-buy-row .ph-btn:focus-visible i{color:#fff!important}.ph-pet-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px 0 18px;padding:0 0 12px;border-bottom:1px solid var(--ph-border)}.ph-pet-heading h3{position:relative;margin:0;color:var(--ph-primary-dark);font-size:clamp(22px,2.4vw,30px);font-weight:800;letter-spacing:-.02em}.ph-pet-heading h3::after{content:"";position:absolute;left:0;bottom:-13px;width:54px;height:3px;border-radius:999px;background:var(--ph-primary)}.ph-pet-heading a{color:var(--ph-primary-dark);font-weight:700}.ph-brand-group+.ph-brand-group{margin-top:42px}.ph-brand-heading{display:flex;align-items:center;gap:14px;margin:0 0 18px;color:var(--ph-primary-dark);font-size:clamp(20px,2vw,26px);font-weight:800;letter-spacing:-.015em}.ph-brand-heading::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--ph-border),transparent)}.ph-offer-section{position:relative;overflow:hidden;padding:72px 0;background:linear-gradient(135deg,var(--ph-primary-dark),var(--ph-primary))}.ph-offer-section::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 12%,rgba(255,255,255,.18),transparent 30%);pointer-events:none}.ph-offer-head{position:relative;display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px;color:#fff}.ph-offer-head h2{margin:4px 0 6px;color:#fff}.ph-offer-head p{margin:0;color:rgba(255,255,255,.82)}.ph-offer-head .ph-eyebrow{color:#fff}.ph-offer-timer{flex:0 0 auto;display:grid;gap:2px;padding:12px 16px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:rgba(255,255,255,.12);backdrop-filter:blur(7px);color:#fff;font-weight:800}.ph-offer-grid{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ph-offer-card{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 15px 35px rgba(0,0,0,.13)}.ph-offer-image{display:block;position:relative;height:220px;padding:18px;background:var(--ph-soft)}.ph-offer-image img{width:100%;height:100%;object-fit:contain}.ph-offer-badge{position:absolute;top:12px;left:12px;z-index:1;padding:7px 10px;border-radius:999px;background:#e53e3e;color:#fff;font-size:12px;font-weight:900}.ph-offer-body{padding:17px}.ph-offer-body h3{min-height:44px;margin:7px 0 12px;font-size:16px;line-height:1.4}.ph-offer-price{display:flex;align-items:baseline;gap:8px;margin-bottom:14px}.ph-offer-price strong{color:var(--ph-primary-dark);font-size:20px}.ph-offer-price del{color:#8a8a8a;font-size:13px}@media(max-width:991px){.ph-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-offer-head{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.ph-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ph-offer-image{height:155px;padding:10px}.ph-offer-body{padding:12px}.ph-offer-body h3{font-size:13px;min-height:38px}.ph-offer-price{gap:5px;flex-wrap:wrap}.ph-offer-price strong{font-size:16px}.ph-offer-body .ph-btn{width:100%;padding:9px 7px;font-size:11px}.ph-brand-group+.ph-brand-group{margin-top:32px}}
.ph-order-address {
    margin: 18px 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--ph-soft);
}
.ph-order-address p {
    margin: 6px 0 0;
    color: var(--ph-muted);
    line-height: 1.55;
}
