/*
Theme Name: Theme Core POD Home Gallery
Theme URI: https://dapadzn.com/
Author: Dapadzn
Description: Gallery and wall decor POD customer template.
Version: 1.0.0
Text Domain: theme-core
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pt-body { margin: 0; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
.pt-product-card { min-width: 0; display: grid; align-content: start; gap: 0; }
.pt-product-card__media { display: block; overflow: hidden; background: #eef0ec; aspect-ratio: 4 / 5; border: 1px solid rgba(24, 24, 20, .1); }
.pt-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.pt-product-card:hover .pt-product-card__media img { transform: scale(1.025); }
.pt-product-card__copy { display: grid; gap: 5px; min-height: 58px; padding-top: 10px; font-size: 13px; line-height: 1.35; }
.pt-product-card__copy a { min-width: 0; display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-product-card__copy span { color: inherit; opacity: .68; white-space: normal; }
.pt-product-card--feature .pt-product-card__media { aspect-ratio: 1 / 1; }
.pt-product-card--wide .pt-product-card__media { aspect-ratio: 16 / 10; }
.pt-archive, .pt-page { padding: 72px 28px 60px; background: #f5f5f1; }
.pt-product-detail { padding: 42px 28px 60px; background: #f5f5f1; }
.pt-archive__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pt-product-detail { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .82fr); gap: 32px; align-items: start; }
.pt-product-detail__media img { width: 100%; height: auto; background: #fff; border: 1px solid rgba(24, 24, 20, .12); }
.pt-product-detail__summary { background: #fff; border: 1px solid rgba(24, 24, 20, .12); padding: 30px; align-self: start; }
.pt-kicker { margin: 0 0 10px; color: #607246; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.pt-product-detail h1 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; font-weight: 400; overflow-wrap: anywhere; }
.pt-product-detail__price { margin-bottom: 18px; font-weight: 900; color: #181814; }
.pt-product-detail__form form.cart { display: grid; gap: 12px; }
.pt-product-detail__form select,
.pt-product-detail__form input[type="text"],
.pt-product-detail__form input[type="number"],
.pt-product-detail__form textarea { width: 100%; min-height: 44px; border: 1px solid rgba(24, 24, 20, .16); padding: 10px 12px; background: #fff; }
.pt-product-detail__form button.single_add_to_cart_button,
.pt-product-detail__form .button { min-height: 46px; border: 0; background: #181814; color: #fff; padding: 12px 18px; font-weight: 900; }
.pt-product-detail__description { margin-top: 20px; color: #626057; line-height: 1.65; }

body.pt-body--gallery { background: #f5f5f1; color: #181814; }
.gh-utility-bar { display: flex; justify-content: flex-end; gap: 22px; min-height: 34px; align-items: center; padding: 7px 28px; background: #181814; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gh-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 28px; background: rgba(245,245,241,.96); border-bottom: 1px solid rgba(24,24,20,.14); backdrop-filter: blur(14px); }
.gh-header__brand { font-family: Georgia, serif; font-size: 34px; white-space: nowrap; }
.gh-header__nav { display: flex; justify-content: flex-end; gap: 10px; overflow-x: auto; align-items: center; }
.gh-header__nav a, .gh-header__bag { border: 1px solid rgba(24,24,20,.14); background: #fff; padding: 9px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.gh-header__bag { color: #607246; }
.gh-gallery-nav { position: static; z-index: 25; display: flex; overflow-x: auto; background: #fff; border-bottom: 1px solid rgba(24,24,20,.14); }
.gh-gallery-nav a { flex: 1 0 96px; padding: 13px 10px; border-right: 1px solid rgba(24,24,20,.08); font-size: 11px; font-weight: 900; text-align: center; text-transform: uppercase; white-space: nowrap; }
.gh-home { background: #f5f5f1; }
.gh-wall-hero { min-height: min(620px, calc(100vh - 118px)); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 22px; padding: 24px 28px 28px; }
.gh-wall-hero__gallery { overflow: hidden; background: #fff; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; align-content: stretch; border: 1px solid rgba(24,24,20,.1); }
.gh-wall-hero__gallery .pt-product-card:first-child { grid-row: span 2; }
.gh-wall-hero__gallery .pt-product-card { grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.gh-wall-hero__gallery .pt-product-card__media { height: auto; aspect-ratio: auto; min-height: 0; }
.gh-wall-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 30px; border: 1px solid rgba(24,24,20,.14); background: #eef0ec; }
.gh-wall-hero__copy h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 76px); line-height: .98; font-weight: 400; overflow-wrap: anywhere; }
.gh-wall-hero__copy p, .gh-section-title p, .gh-color-wall__copy p, .gh-artist-spotlight__copy p { margin: 0; font-size: 12px; text-transform: uppercase; color: #607246; font-weight: 900; }
.gh-wall-hero__copy span, .gh-color-wall__copy span, .gh-artist-spotlight__copy span { color: #626057; line-height: 1.6; }
.gh-wall-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gh-wall-hero__actions a { background: #181814; color: #fff; padding: 13px 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gh-wall-hero__actions a:nth-child(2) { background: #fff; color: #181814; border: 1px solid rgba(24,24,20,.14); }
.gh-shop-pages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding: 0 28px 52px; }
.gh-shop-pages a { position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: #fff; border: 1px solid rgba(24,24,20,.1); }
.gh-shop-pages img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.gh-shop-pages strong { position: relative; z-index: 1; font-family: Georgia, serif; font-size: clamp(24px, 3vw, 42px); line-height: 1; color: #181814; }
.gh-subject-grid, .gh-room-curation, .gh-gallery-sets { padding: 56px 28px; background: #fff; }
.gh-section-title { display: grid; grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 24px; }
.gh-section-title h2, .gh-color-wall__copy h2, .gh-artist-spotlight__copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 82px); line-height: 1; font-weight: 400; }
.gh-subject-grid__items { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gh-subject-grid__items a { display: grid; gap: 12px; padding: 10px; background: #f5f5f1; border: 1px solid rgba(24,24,20,.1); min-width: 0; }
.gh-subject-grid__items img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gh-subject-grid__items strong { font-size: 18px; line-height: 1.15; }
.gh-subject-grid__items span { color: #607246; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gh-color-wall { display: grid; grid-template-columns: minmax(280px, .46fr) minmax(0, 1fr); gap: 22px; padding: 58px 28px; background: #dfe4d7; }
.gh-color-wall__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.gh-color-wall__swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gh-color-wall__swatches a { display: grid; gap: 10px; padding: 10px; background: #fff; border: 1px solid rgba(24,24,20,.1); }
.gh-color-wall__swatches img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gh-color-wall__swatches strong { font-size: 14px; }
.gh-room-curation__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gh-room-curation__grid a { position: relative; overflow: hidden; min-height: 360px; background: #d9d8cf; border: 1px solid rgba(24,24,20,.1); }
.gh-room-curation__grid img { width: 100%; height: 100%; object-fit: cover; }
.gh-room-curation__grid span { position: absolute; left: 18px; bottom: 18px; background: #f5f5f1; padding: 12px 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gh-artist-spotlight { display: grid; grid-template-columns: minmax(280px, .44fr) minmax(0, 1fr); gap: 22px; padding: 58px 28px; background: #181814; color: #fff; }
.gh-artist-spotlight__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.gh-artist-spotlight__copy p { color: #dfe4d7; }
.gh-artist-spotlight__copy span { color: rgba(255,255,255,.72); }
.gh-artist-spotlight__copy a { width: fit-content; background: #dfe4d7; color: #181814; padding: 13px 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gh-artist-spotlight__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gh-artist-spotlight__grid .pt-product-card { background: rgba(255,255,255,.08); padding: 8px; }
.gh-artist-spotlight__grid .pt-product-card:first-child { grid-column: span 2; }
.gh-artist-spotlight__grid .pt-product-card__copy a { color: #fff; }
.gh-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gh-service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-top: 1px solid rgba(24,24,20,.12); }
.gh-service-strip article { padding: 28px; border-right: 1px solid rgba(24,24,20,.12); }
.gh-service-strip h3 { margin: 0 0 8px; font-size: 18px; }
.gh-service-strip p { margin: 0; color: #626057; line-height: 1.55; }
.gh-footer { background: #181814; color: #fff; padding: 38px 28px 24px; }
.gh-footer__brand { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 28px; margin-bottom: 32px; }
.gh-footer__brand strong { font-family: Georgia, serif; font-size: 34px; }
.gh-footer__brand p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.gh-footer__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.gh-footer__columns div { display: grid; gap: 8px; align-content: start; }
.gh-footer__columns h3 { margin: 0 0 4px; font-size: 12px; color: #dfe4d7; text-transform: uppercase; }
.gh-footer__columns a, .gh-footer__columns span { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.gh-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); font-size: 12px; }

@media (max-width: 1060px) {
  .gh-header { gap: 12px; padding: 14px 20px; }
  .gh-header__nav { justify-content: flex-start; overflow-x: auto; }
  .gh-gallery-nav { top: 64px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gh-wall-hero { min-height: 0; grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .gh-wall-hero__gallery { min-height: 500px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .gh-wall-hero__gallery .pt-product-card:first-child { grid-row: auto; }
  .gh-wall-hero__gallery .pt-product-card__media { height: auto; aspect-ratio: 4 / 5; }
  .gh-wall-hero__copy { min-height: 300px; padding: 30px; }
  .gh-wall-hero__copy h1 { font-size: clamp(42px, 6vw, 64px); }
  .gh-section-title, .gh-color-wall, .gh-artist-spotlight { grid-template-columns: 1fr; }
  .gh-shop-pages, .gh-subject-grid__items, .gh-product-grid, .pt-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-room-curation__grid, .gh-artist-spotlight__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .gh-header, .gh-wall-hero, .gh-color-wall, .gh-artist-spotlight, .gh-section-title, .gh-footer__brand { grid-template-columns: 1fr; }
  .gh-gallery-nav, .gh-shop-pages, .gh-subject-grid__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-gallery-nav { top: 137px; }
  .gh-header__nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .gh-utility-bar, .gh-wall-hero__gallery, .gh-color-wall__swatches, .gh-room-curation__grid, .gh-artist-spotlight__grid, .gh-product-grid, .gh-service-strip, .gh-footer__columns, .pt-archive__grid, .pt-product-detail { grid-template-columns: 1fr; }
  .gh-gallery-nav, .gh-shop-pages, .gh-subject-grid__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-gallery-nav { position: static; }
  .gh-header, .gh-gallery-nav, .gh-wall-hero, .gh-subject-grid, .gh-color-wall, .gh-room-curation, .gh-artist-spotlight, .gh-gallery-sets, .gh-footer { padding-left: 16px; padding-right: 16px; }
  .pt-product-detail { padding: 28px 16px 48px; }
  .gh-wall-hero { min-height: 0; }
  .gh-wall-hero__gallery .pt-product-card:first-child, .gh-artist-spotlight__grid .pt-product-card:first-child { grid-row: auto; grid-column: auto; }
  .gh-footer__bottom { display: grid; }
}
