/* Stand-in for the shop plugin's stylesheet on a test website. */
.woocommerce-breadcrumb { font-size: 14px; color: var(--bark); margin: 0 0 14px; }
.woocommerce-breadcrumb a { color: var(--bark); }
.shop-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.woocommerce-result-count { margin: 0; color: var(--bark); font-size: 15px; }
.woocommerce-ordering select { width: auto; padding: 9px 12px; font-size: 15px; }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
ul.products.columns-1 { grid-template-columns: 1fr; }
li.product { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 18px; text-align: center; transition: box-shadow 0.15s, transform 0.15s; }
li.product:hover { box-shadow: 0 14px 30px -18px rgba(59, 42, 30, 0.5); transform: translateY(-2px); }
li.product:target { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(193, 102, 59, 0.25); }
.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; flex: 1; }
.product-thumb { display: block; border-radius: 8px; padding: 18px; margin-bottom: 14px; line-height: 0; background: var(--sage); }
.product-thumb svg { width: 100%; height: auto; max-height: 190px; }
.tone-sage { background: var(--sage); }
.tone-cream { background: #f3e6cc; }
.tone-clay { background: #f1d9c8; }
.tone-sky { background: #dbe6e6; }
.woocommerce-loop-product__title { font-size: 17.5px; margin: 0 0 6px; }
.star-rating { display: block; color: var(--gold); font-size: 15px; letter-spacing: 2px; line-height: 1.2; }
.price { display: block; margin: 6px 0 14px; font-weight: 700; color: var(--forest); font-size: 17px; }
.price del { color: #9c8f7d; font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--clay); }
.onsale { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--clay); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; line-height: 1.5; }
li.product .button { padding: 10px 16px; font-size: 14.5px; align-self: center; }
.product-categories { list-style: none; margin: 0; padding: 0; }
.product-categories li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.product-categories .count { color: var(--bark); font-size: 13.5px; }
.price-filter { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--line) 0 12%, var(--terracotta) 12% 78%, var(--line) 78%); margin: 18px 0 10px; }

/* single product */
.single-product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.woocommerce-product-gallery { position: relative; background: var(--sage); border-radius: 16px; padding: 44px; line-height: 0; border: 1px solid var(--line); }
.woocommerce-product-gallery svg { width: 100%; height: auto; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumbs span { border-radius: 8px; padding: 10px; line-height: 0; border: 1px solid var(--line); }
.gallery-thumbs span:first-child { border-color: var(--terracotta); }
.summary .price { font-size: 28px; margin: 8px 0 18px; }
.woocommerce-product-rating { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--bark); }
.stock { color: var(--moss); font-weight: 700; font-size: 15px; }
.cart { display: flex; gap: 12px; align-items: stretch; margin: 20px 0 10px; }
.quantity input { width: 82px; height: 100%; text-align: center; }
.cart-note { font-size: 14.5px; color: var(--bark); }
.product_meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--bark); }
.product_meta > span { display: block; padding: 2px 0; }
.wc-tabs { list-style: none; display: flex; gap: 6px; margin: 56px 0 0; padding: 0; border-bottom: 2px solid var(--line); }
.wc-tabs a { display: block; padding: 12px 20px; text-decoration: none; font-weight: 700; color: var(--bark); border-radius: 8px 8px 0 0; }
.wc-tabs .active a { background: var(--cream); color: var(--forest); box-shadow: inset 0 3px 0 var(--terracotta); }
.wc-tab { padding: 30px 0 10px; max-width: 800px; }
.shop_attributes { width: 100%; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.shop_attributes th { width: 32%; background: var(--cream); font-weight: 600; }
.commentlist { list-style: none; margin: 0 0 30px; padding: 0; }
.commentlist li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.commentlist .meta { font-size: 14.5px; color: var(--bark); }
.commentlist .meta strong { color: var(--soil); }
.commentlist p { margin: 6px 0 0; }
.related { margin-top: 60px; }

@media (max-width: 920px) {
  ul.products, ul.products.columns-3 { grid-template-columns: 1fr 1fr; }
  .shop-layout, .single-product-top { grid-template-columns: 1fr; gap: 34px; }
  .shop-sidebar { order: 2; }
}
@media (max-width: 420px) {
  ul.products, ul.products.columns-3 { grid-template-columns: 1fr; }
  .wc-tabs { flex-direction: column; border-bottom: 0; }
}
