/*
Theme Name: 123 Garden Centre
Theme URI: https://www.123gardencentre.com/
Author: 123 Garden Centre
Author URI: https://www.123gardencentre.com/
Description: A modern WordPress block (FSE) theme for 123 Garden Centre. Includes reusable block patterns for hero, featured categories, image gallery, gardener's planting calendar, latest posts and call to action. Designed in a fresh garden-green palette with AI-generated imagery.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gc123
Tags: full-site-editing, block-patterns, block-styles, blog, e-commerce, two-columns, custom-colors, custom-logo, editor-style, featured-images, wide-blocks
*/

/* Block theme styles are primarily controlled via theme.json. Add minor overrides below. */

.gc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 781px) {
  .gc-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gc-gallery-grid { grid-template-columns: 1fr; }
}
.gc-gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform .4s ease;
}
.gc-gallery-grid a:hover img { transform: scale(1.03); }

.gc-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--wp--preset--color--cream);
  border-radius: 12px;
  overflow: hidden;
}
.gc-calendar th,
.gc-calendar td {
  border: 1px solid #e3e6df;
  padding: 0.5rem 0.6rem;
  text-align: center;
  vertical-align: middle;
}
.gc-calendar thead th {
  background: var(--wp--preset--color--leaf);
  color: #fff;
  font-weight: 600;
}
.gc-calendar tbody th {
  background: #f6f7f1;
  text-align: left;
  font-weight: 600;
  min-width: 160px;
}
.gc-calendar .gc-sow   { background: #cfe8b8; }
.gc-calendar .gc-plant { background: #f4d58d; }
.gc-calendar .gc-harv  { background: #e9a178; }
.gc-cal-legend { display:flex; gap:1rem; flex-wrap:wrap; margin-top:.75rem; font-size:.9rem; }
.gc-cal-legend span { display:inline-flex; align-items:center; gap:.4rem; }
.gc-cal-legend i { width:14px; height:14px; border-radius:3px; display:inline-block; }
.gc-cal-wrap { overflow-x:auto; }
