/*
Theme Name: Theme Core POD Gift Finder
Theme URI: https://dapadzn.com/
Author: Dapadzn
Description: Search-led personalized gift marketplace 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; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.pt-product-card { min-width: 0; }
.pt-product-card__media { display: block; overflow: hidden; background: #eef2f7; aspect-ratio: 4 / 5; border: 1px solid rgba(16, 24, 40, .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; grid-template-columns: 1fr; gap: 5px; 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; color: #172033; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-product-card__copy span { color: #667085; 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: 5 / 3; }
.pt-archive, .pt-page, .pt-product-detail { padding: 44px 28px 60px; background: #f7f9fb; }
.pt-archive__hero { display: grid; gap: 8px; margin-bottom: 24px; }
.pt-archive__hero p { margin: 0; color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.pt-archive__hero h1 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.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, .92fr) minmax(360px, .72fr); gap: 28px; align-items: start; }
.pt-product-detail__media { width: 100%; max-width: 620px; justify-self: end; }
.pt-product-detail__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #fff; border: 1px solid rgba(16, 24, 40, .1); }
.pt-product-detail__summary { background: #fff; border: 1px solid rgba(16, 24, 40, .1); padding: 24px; align-self: start; }
.pt-kicker { margin: 0 0 10px; color: #0f766e; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pt-product-detail h1 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; }
.pt-product-detail__price { margin-bottom: 18px; font-weight: 800; color: #172033; }
.pt-product-detail__form form.cart { display: grid; gap: 12px; }
.pt-product-detail__form table.variations { width: 100%; border-collapse: collapse; }
.pt-product-detail__form table.variations tr { display: grid; gap: 7px; margin-bottom: 12px; }
.pt-product-detail__form table.variations th, .pt-product-detail__form table.variations td { display: block; padding: 0; text-align: left; }
.pt-product-detail__form table.variations label { color: #172033; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.pt-product-detail__form .quantity { display: grid; gap: 7px; }
.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(16, 24, 40, .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: #0f766e; color: #fff; padding: 12px 18px; font-weight: 800; }
.pt-product-detail__description { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(16, 24, 40, .1); color: #475467; line-height: 1.65; }
.pt-product-detail__description h2, .pt-product-detail__description h3 { margin: 22px 0 8px; color: #172033; font-size: 18px; line-height: 1.2; }
.pt-product-detail__description p { margin: 0 0 12px; }
.pt-product-detail__description ul { margin: 0 0 14px; padding-left: 20px; }
.pt-page__content { max-width: 920px; margin: 0 auto; padding: 36px; background: #fff; border: 1px solid rgba(16, 24, 40, .1); color: #475467; line-height: 1.7; }
.pt-page__content h1 { margin: 0 0 18px; color: #172033; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.pt-page__content h2 { margin: 26px 0 10px; color: #172033; font-size: 22px; }

body.pt-body--gift { background: #f7f9fb; color: #172033; }
.gf-promo-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; min-height: 38px; padding: 8px 28px; background: #0f766e; color: #fff; font-size: 12px; font-weight: 700; }
.gf-promo-bar a { overflow-wrap: anywhere; }
.gf-promo-bar span { color: rgba(255,255,255,.82); white-space: nowrap; }
.gf-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; gap: 22px; align-items: center; padding: 16px 28px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16, 24, 40, .1); backdrop-filter: blur(16px); }
.gf-header__brand { font-size: 28px; font-weight: 900; color: #172033; white-space: nowrap; }
.gf-header__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 2px solid #172033; background: #fff; }
.gf-header__search input { min-width: 0; border: 0; padding: 12px 14px; color: #172033; outline: none; }
.gf-header__search button { border: 0; background: #172033; color: #fff; padding: 0 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gf-header__nav { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.gf-header__nav a, .gf-header__bag { border: 1px solid rgba(16, 24, 40, .14); background: #fff; padding: 10px 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.gf-header__bag { color: #0f766e; }
.gf-gift-nav { position: sticky; top: 74px; z-index: 25; display: flex; gap: 0; overflow-x: auto; padding: 0 28px; background: #fff; border-bottom: 1px solid rgba(16, 24, 40, .1); }
.gf-gift-nav a { flex: 0 0 auto; padding: 13px 18px; border-right: 1px solid rgba(16, 24, 40, .08); font-size: 13px; font-weight: 800; color: #344054; }
.gf-home { background: #f7f9fb; }
.gf-hero { display: grid; grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr); gap: 24px; min-height: 540px; height: auto; padding: 28px; }
.gf-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 42px; background: #ffffff; border: 1px solid rgba(16, 24, 40, .1); }
.gf-hero__copy p, .gf-section-title p, .gf-rail-heading p, .gf-personalize-band__copy p, .gf-editorial-row__heading p { margin: 0; color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-hero__copy h1 { margin: 0; font-size: clamp(38px, 4.5vw, 60px); line-height: 1; max-width: 680px; overflow-wrap: normal; word-break: normal; }
.gf-hero__copy > span { max-width: 620px; color: #475467; font-size: 18px; line-height: 1.55; }
.gf-hero__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 2px solid #172033; max-width: 620px; background: #fff; }
.gf-hero__search input { min-width: 0; border: 0; padding: 16px; outline: none; }
.gf-hero__search button { border: 0; background: #ff6b4a; color: #111827; padding: 0 22px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-hero__quick-links { display: flex; flex-wrap: wrap; gap: 10px; }
.gf-hero__quick-links a { border: 1px solid rgba(16, 24, 40, .16); background: #f7f9fb; padding: 9px 12px; font-size: 12px; font-weight: 800; }
.gf-hero__market { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 16px; min-height: 0; align-content: start; }
.gf-hero__market .pt-product-card:nth-child(n+5) { display: none; }
.gf-hero__market .pt-product-card:first-child { grid-row: auto; }
.gf-hero__market .pt-product-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; background: #fff; border: 1px solid rgba(16, 24, 40, .1); padding: 10px; }
.gf-hero__market .pt-product-card__media { height: auto; aspect-ratio: 4 / 3; }
.gf-hero__market .pt-product-card__copy a { -webkit-line-clamp: 1; }
.gf-section-title { display: grid; grid-template-columns: minmax(160px, .32fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 24px; }
.gf-section-title h2, .gf-rail-heading h2, .gf-personalize-band__copy h2, .gf-editorial-row__heading h2 { margin: 0; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; }
.gf-gift-finder, .gf-occasion-rail, .gf-category-market, .gf-editorial-row, .gf-products { padding: 54px 28px; }
.gf-gift-finder { background: #eef7f6; border-top: 1px solid rgba(16, 24, 40, .08); border-bottom: 1px solid rgba(16, 24, 40, .08); }
.gf-gift-finder__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gf-gift-finder__grid a { min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 12px; padding: 16px; background: #fff; border: 1px solid rgba(16, 24, 40, .1); }
.gf-gift-finder__grid small { color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-gift-finder__grid strong { max-width: none; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; overflow-wrap: anywhere; }
.gf-gift-finder__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef2f7; }
.gf-rail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.gf-rail-heading h2 { max-width: 680px; }
.gf-occasion-rail__track { display: grid; grid-template-columns: repeat(6, minmax(160px, 1fr)); gap: 14px; overflow-x: auto; }
.gf-occasion-card { display: grid; gap: 12px; background: #fff; border: 1px solid rgba(16, 24, 40, .1); padding: 10px; }
.gf-occasion-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eef2f7; }
.gf-occasion-card span { font-size: 14px; font-weight: 900; }
.gf-personalize-band { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(220px, .42fr) minmax(0, .86fr); gap: 22px; padding: 56px 28px; background: #172033; color: #fff; }
.gf-personalize-band__copy { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.gf-personalize-band__copy p { color: #79ddd4; }
.gf-personalize-band__copy span { color: rgba(255,255,255,.72); line-height: 1.6; }
.gf-personalize-band__copy a { width: fit-content; background: #ff6b4a; color: #111827; padding: 13px 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-personalize-band__steps { display: grid; align-content: center; gap: 10px; }
.gf-personalize-band__steps article { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 13px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.gf-personalize-band__steps strong { color: #79ddd4; }
.gf-personalize-band__products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gf-personalize-band__products .pt-product-card { background: rgba(255,255,255,.08); padding: 8px; }
.gf-personalize-band__products .pt-product-card__copy a { color: #fff; }
.gf-personalize-band__products .pt-product-card__copy span { color: rgba(255,255,255,.72); }
.gf-personalize-band__products .pt-product-card:first-child { grid-column: span 2; }
.gf-category-market { background: #fff; }
.gf-category-market__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gf-category-tile { display: grid; gap: 12px; border: 1px solid rgba(16, 24, 40, .1); background: #f7f9fb; padding: 10px; min-width: 0; }
.gf-category-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eef2f7; }
.gf-category-tile strong { font-size: 18px; line-height: 1.1; }
.gf-category-tile span { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-editorial-row__heading { display: grid; grid-template-columns: minmax(160px, .36fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 24px; }
.gf-editorial-row__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.gf-editorial-row__grid a { display: grid; gap: 14px; padding: 12px; background: #fff; border: 1px solid rgba(16, 24, 40, .1); }
.gf-editorial-row__grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #eef2f7; }
.gf-editorial-row__grid strong { font-size: clamp(22px, 3vw, 38px); line-height: 1; }
.gf-editorial-row__grid span { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.gf-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gf-products { background: #f7f9fb; }
.gf-service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(16, 24, 40, .1); background: #fff; }
.gf-service-strip article { padding: 28px; border-right: 1px solid rgba(16, 24, 40, .1); }
.gf-service-strip h3 { margin: 0 0 8px; font-size: 18px; }
.gf-service-strip p { margin: 0; color: #667085; line-height: 1.55; }
.gf-footer { background: #111827; color: #fff; padding: 38px 28px 24px; }
.gf-footer__brand { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 28px; margin-bottom: 32px; }
.gf-footer__brand strong { font-size: 28px; }
.gf-footer__brand p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.gf-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); }
.gf-footer__columns div { display: grid; gap: 8px; align-content: start; }
.gf-footer__columns h3 { margin: 0 0 4px; font-size: 12px; color: #79ddd4; text-transform: uppercase; }
.gf-footer__columns a, .gf-footer__columns span { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.gf-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) {
  .gf-promo-bar { padding-inline: 20px; }
  .gf-header { grid-template-columns: auto minmax(260px, 1fr); gap: 12px; padding: 14px 20px; }
  .gf-header__nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .gf-gift-nav { top: 130px; padding-inline: 20px; }
  .gf-hero { min-height: 0; grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .gf-hero__copy { min-height: 220px; padding: 28px; }
  .gf-hero__copy h1 { font-size: clamp(36px, 5vw, 54px); }
  .gf-hero__market { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .gf-hero__market .pt-product-card:first-child { grid-row: auto; }
  .gf-hero__market .pt-product-card__media { height: auto; aspect-ratio: 4 / 5; }
  .gf-section-title, .gf-editorial-row__heading { grid-template-columns: 1fr; }
  .gf-gift-finder__grid, .gf-editorial-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-category-market__grid, .gf-product-grid, .pt-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gf-personalize-band { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .gf-header { grid-template-columns: 1fr; gap: 12px; }
  .gf-header__nav { justify-content: flex-start; overflow-x: auto; }
  .gf-gift-nav { top: 151px; }
  .gf-hero, .gf-personalize-band, .gf-section-title, .gf-editorial-row__heading, .gf-footer__brand { grid-template-columns: 1fr; }
  .gf-category-market__grid, .gf-occasion-rail__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .gf-promo-bar { grid-template-columns: 1fr; gap: 4px; padding: 10px 16px; }
  .gf-header, .gf-gift-nav, .gf-hero, .gf-gift-finder, .gf-occasion-rail, .gf-personalize-band, .gf-category-market, .gf-editorial-row, .gf-products, .gf-footer { padding-left: 16px; padding-right: 16px; }
  .gf-header__nav { flex-wrap: wrap; overflow: visible; }
  .gf-header__nav a, .gf-header__bag { flex: 1 1 112px; justify-content: center; min-width: 0; padding: 9px 10px; text-align: center; }
  .gf-gift-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 10px 16px; }
  .gf-gift-nav a { min-width: 0; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(16, 24, 40, .14); padding: 9px 10px; background: #fff; font-size: 11px; line-height: 1.15; text-align: center; white-space: normal; }
  .gf-hero { min-height: 0; }
  .gf-hero__copy { padding: 26px; }
  .gf-hero__market, .gf-gift-finder__grid, .gf-product-grid, .gf-service-strip, .gf-footer__columns, .pt-archive__grid, .pt-product-detail { grid-template-columns: 1fr; }
  .pt-product-detail { padding: 18px 16px 44px; gap: 16px; }
  .pt-product-detail__media { max-width: min(100%, 460px); justify-self: center; }
  .pt-product-detail__media img { max-height: min(460px, 54vh); object-fit: contain; background: #fff; }
  .pt-product-detail__summary { padding: 18px; }
  .gf-hero__market .pt-product-card:first-child, .gf-personalize-band__products .pt-product-card:first-child { grid-row: auto; grid-column: auto; }
  .gf-category-market__grid, .gf-occasion-rail__track, .gf-editorial-row__grid, .gf-personalize-band__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-hero__search, .gf-header__search { grid-template-columns: 1fr; }
  .gf-hero__search button, .gf-header__search button { min-height: 44px; }
  .gf-footer__bottom { display: grid; }
}
