/*
Theme Name: Crown and Paw
Theme URI: https://crownandpaw.com/
Description: 1:1 visual replica of crownandpaw.com rebuilt on WooCommerce.
Author: Replica Build
Version: 1.0.0
Text Domain: crownpaw
*/

/* Base tweaks layered on top of the captured theme stylesheets. */
body.cp-wp { margin: 0; }

.cp-product-grid-wrap { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }
.cp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 749px) { .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.cp-card { text-align: center; }
.cp-card a { text-decoration: none; color: inherit; display: block; }
.cp-card img { width: 100%; height: auto; display: block; border-radius: 10px; background: #f6f6f6; }
.cp-card h6 { font-family: var(--cp-title-font, Georgia), serif; font-size: 16px; margin: 10px 0 2px; font-weight: 600; }
.cp-card .cp-sub { font-size: 13px; color: #6b6b6b; margin: 0 0 6px; }
.cp-card .cp-price { font-size: 15px; color: #111; }
.cp-card .cp-price del { color: #999; margin-right: 6px; }

.cp-page-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.cp-page-wrap h1 { font-family: var(--cp-title-font, Georgia), serif; font-size: 40px; }
.cp-page-wrap img { max-width: 100%; height: auto; }

.cp-product { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 900px) { .cp-product { grid-template-columns: 1fr; gap: 24px; } }
.cp-gallery-main img { width: 100%; height: auto; border-radius: 12px; }
.cp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cp-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 1px solid #eee; }
.cp-product h1 { font-family: var(--cp-title-font, Georgia), serif; font-size: 36px; line-height: 1.2; margin: 0 0 12px; }
.cp-price-block { font-size: 22px; margin: 10px 0 18px; }
.cp-field { margin: 14px 0; }
.cp-field label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: #555; }
.cp-field select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; }
.cp-add { display: inline-block; margin-top: 18px; padding: 16px 42px; background: #111; color: #fff; border: 0; border-radius: 40px; font-size: 16px; letter-spacing: .04em; cursor: pointer; }
.cp-add:disabled { opacity: .4; cursor: not-allowed; }
.cp-desc { margin-top: 30px; border-top: 1px solid #eee; padding-top: 24px; }
.cp-desc img { max-width: 100%; height: auto; }

/* Marketing overlays from the original store are kept in markup but not auto-opened. */
.klaviyo-form.kl-private-reset-css-Xuajs1,
div[class*="klaviyo-form-version-cid"],
.onward-modal-shadow-host { display: none !important; }

/* The captured Klaviyo signup popup ships a full-viewport scrim at z-index 90000
   that swallows every click on the page. Kill any Klaviyo-owned node outright. */
[class*="kl-private-reset-css"],
[class*="klaviyo-form"],
iframe[title*="klaviyo" i] {
  display: none !important;
  pointer-events: none !important;
}
