/*
Theme Name: PlakatTilbud
Theme URI: https://plakattilbud.dk/
Author: PlakatTilbud
Description: Et let, minimalistisk WooCommerce-tema til PlakatTilbud.dk.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: plakattilbud
*/

:root {
  --pt-ink: #20201e;
  --pt-muted: #6f6d68;
  --pt-paper: #f6f4ef;
  --pt-white: #fff;
  --pt-line: #e8e5de;
  --pt-accent: #b94732;
  --pt-radius: 3px;
  --pt-width: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--pt-ink); background: var(--pt-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pt-accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
button, .button, .wp-element-button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  border: 1px solid var(--pt-ink); border-radius: var(--pt-radius);
  background: var(--pt-ink); color: #fff; padding: 13px 20px;
  font-weight: 650; cursor: pointer; transition: .2s ease;
}
button:hover, .button:hover, .wp-element-button:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--pt-accent); border-color: var(--pt-accent); color: #fff;
}
.pt-container { width: min(calc(100% - 40px), var(--pt-width)); margin-inline: auto; }
.pt-announcement { background: var(--pt-ink); color: #fff; text-align: center; padding: 8px 15px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pt-header { background: #fff; border-bottom: 1px solid var(--pt-line); }
.pt-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pt-brand { display: flex; flex-direction: column; line-height: 1; }
.pt-brand-name { font-size: 25px; font-weight: 850; letter-spacing: -.07em; }
.pt-brand-tagline { font-size: 10px; letter-spacing: .09em; margin-top: 7px; color: var(--pt-muted); }
.pt-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 650; }
.pt-nav a { padding: 8px 0; }
.pt-header-actions { display: flex; gap: 18px; align-items: center; font-size: 13px; font-weight: 650; }
.pt-menu-toggle { display: none; }
.pt-hero { background: var(--pt-paper); padding: 64px 0 58px; }
.pt-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 50px; }
.pt-eyebrow { color: var(--pt-accent); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 750; }
.pt-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.075em; margin: 18px 0; font-weight: 800; }
.pt-hero h1 span { display: block; }
.pt-hero-copy { max-width: 440px; color: #55534e; font-size: 17px; margin: 0 0 28px; }
.pt-hero-visual { min-height: 430px; position: relative; overflow: hidden; background: #ded8cc; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px; align-items: center; }
.pt-art-frame { background: #f7f5ef; padding: 12px; box-shadow: 0 16px 40px #29251d20; transform: rotate(-5deg); }
.pt-art-frame:nth-child(2) { transform: rotate(5deg) translateY(35px); }
.pt-art-print { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; background: linear-gradient(145deg,#d9cbb7,#eee8dc); color: #39352f; font-family: Georgia,serif; font-size: clamp(20px,3vw,36px); line-height: 1.05; }
.pt-art-frame:nth-child(2) .pt-art-print { background: linear-gradient(145deg,#b7b5a8,#e6dfd2); font-family: Arial,sans-serif; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.pt-section { padding: 66px 0; }
.pt-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.pt-section h2 { margin: 0; font-size: clamp(28px,3vw,40px); letter-spacing: -.055em; line-height: 1.05; }
.pt-section-sub { color: var(--pt-muted); margin: 8px 0 0; }
.pt-text-link { font-size: 13px; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.pt-category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.pt-category-card { background: var(--pt-paper); min-height: 190px; padding: 22px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; }
.pt-category-card:before { content:""; position:absolute; width:160px; height:210px; right:18px; top:-32px; border:10px solid #fff9; background:linear-gradient(145deg,#c8bba8,#e8e0d4); transform:rotate(12deg); box-shadow:0 10px 25px #0001; }
.pt-category-card:nth-child(2):before { background:linear-gradient(145deg,#a9aaa0,#ded9cc); transform:rotate(-9deg); }
.pt-category-card:nth-child(3):before { background:linear-gradient(145deg,#c7a89a,#e7d5c6); transform:rotate(8deg); }
.pt-category-card:nth-child(4):before { background:linear-gradient(145deg,#b6b0a2,#e9e4da); transform:rotate(-5deg); }
.pt-category-card strong { position:relative; z-index:1; font-size:19px; letter-spacing:-.03em; }
.pt-category-card span { position:relative; z-index:1; color:var(--pt-muted); font-size:12px; }
.pt-promo { background: var(--pt-ink); color: #fff; padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.pt-promo h2 { font-size: clamp(28px,4vw,44px); letter-spacing:-.06em; margin:0 0 8px; }
.pt-promo p { color:#d0cec8; margin:0; }
.pt-promo .button { background:#fff; color:var(--pt-ink); border-color:#fff; white-space:nowrap; }
.pt-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px 16px; }
.pt-product-card { min-width:0; }
.pt-product-image { background:var(--pt-paper); aspect-ratio: 3/4; overflow:hidden; position:relative; }
.pt-product-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.pt-product-card:hover .pt-product-image img { transform:scale(1.035); }
.pt-product-meta { padding:12px 2px 0; }
.pt-product-title { font-size:14px; font-weight:650; margin:0 0 4px; }
.pt-product-price { font-size:13px; color:var(--pt-muted); }
.pt-product-price del { opacity:.6; margin-right:5px; }
.pt-product-price ins { text-decoration:none; color:var(--pt-accent); font-weight:750; }
.pt-badge { position:absolute; top:12px; left:12px; background:var(--pt-accent); color:#fff; padding:6px 9px; font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.pt-footer { background:var(--pt-paper); padding:48px 0 24px; margin-top:30px; }
.pt-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:35px; }
.pt-footer h3 { margin:0 0 12px; font-size:13px; text-transform:uppercase; letter-spacing:.1em; }
.pt-footer p,.pt-footer li { color:var(--pt-muted); font-size:13px; }
.pt-footer ul { list-style:none; padding:0; margin:0; }
.pt-footer li { margin:7px 0; }
.pt-footer-bottom { border-top:1px solid var(--pt-line); margin-top:35px; padding-top:18px; color:var(--pt-muted); font-size:11px; display:flex; justify-content:space-between; gap:20px; }
.pt-page { padding:48px 0 70px; }
.pt-page h1 { font-size:clamp(34px,5vw,54px); letter-spacing:-.06em; line-height:1.05; }
.woocommerce .woocommerce-breadcrumb { color:var(--pt-muted); font-size:12px; }
.woocommerce ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px 16px; }
.woocommerce ul.products:before,.woocommerce ul.products:after { display:none !important; }
.woocommerce ul.products li.product { width:auto !important; float:none !important; margin:0 !important; }
.woocommerce ul.products li.product a img { aspect-ratio:3/4; object-fit:cover; background:var(--pt-paper); margin-bottom:10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size:14px; font-weight:650; padding:0; color:var(--pt-ink); }
.woocommerce ul.products li.product .price { font-size:13px; color:var(--pt-muted); }
.woocommerce span.onsale { min-height:0; min-width:0; border-radius:0; padding:7px 10px; line-height:1; background:var(--pt-accent); font-size:10px; text-transform:uppercase; }
.woocommerce div.product div.images img { background:var(--pt-paper); }
.woocommerce div.product .product_title { font-size:clamp(30px,4vw,46px); letter-spacing:-.06em; }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:var(--pt-ink); font-weight:700; }
.woocommerce div.product form.cart .variations select,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea { border:1px solid var(--pt-line); padding:12px; border-radius:2px; }
.woocommerce-message,.woocommerce-info { border-top-color:var(--pt-accent); }
.woocommerce-message:before,.woocommerce-info:before { color:var(--pt-accent); }
.woocommerce .quantity .qty { min-height:44px; border:1px solid var(--pt-line); }
.woocommerce table.shop_table { border-color:var(--pt-line); border-radius:0; }
.woocommerce a.remove { color:var(--pt-accent) !important; }
.site-main { min-height:45vh; }
@media (max-width: 800px) {
  .pt-container { width:min(calc(100% - 30px),var(--pt-width)); }
  .pt-header-inner { min-height:70px; }
  .pt-nav { display:none; position:absolute; z-index:20; top:110px; left:0; right:0; padding:20px; background:#fff; border-bottom:1px solid var(--pt-line); flex-direction:column; align-items:flex-start; gap:12px; }
  .pt-nav.is-open { display:flex; }
  .pt-menu-toggle { display:inline-flex; background:none; color:var(--pt-ink); border:0; padding:8px; }
  .pt-header-actions { gap:12px; }
  .pt-hero { padding:42px 0; }
  .pt-hero-grid { grid-template-columns:1fr; gap:30px; }
  .pt-hero-visual { min-height:300px; max-width:560px; width:100%; margin:auto; }
  .pt-category-grid { grid-template-columns:repeat(2,1fr); }
  .pt-products,.woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .pt-section { padding:48px 0; }
  .pt-promo { padding:28px; flex-direction:column; align-items:flex-start; }
  .pt-footer-grid { grid-template-columns:1fr 1fr; }
  .pt-footer-grid > div:first-child { grid-column:1/-1; }
}
@media (max-width: 420px) {
  .pt-brand-name { font-size:21px; }
  .pt-brand-tagline { font-size:9px; }
  .pt-header-actions { font-size:12px; }
  .pt-hero h1 { font-size:48px; }
  .pt-section-head { align-items:flex-start; flex-direction:column; }
  .pt-footer-grid { grid-template-columns:1fr; }
  .pt-footer-grid > div:first-child { grid-column:auto; }
}


/* Dansk, søgevenligt og mere afdæmpet udtryk */
.pt-announcement { letter-spacing:.035em; text-transform:none; font-size:12px; }
.pt-brand-name { letter-spacing:-.065em; }
.pt-nav { gap:24px; }
.pt-header-actions { gap:20px; }
.pt-search-section { padding:44px 0 38px; border-bottom:1px solid var(--pt-line); }
.pt-search-section h2 { margin:0 0 5px; font-size:24px; letter-spacing:-.045em; }
.pt-search-section p { margin:0 0 18px; color:var(--pt-muted); font-size:14px; }
.pt-search-section form { display:flex; max-width:680px; gap:8px; }
.pt-search-section input[type="search"] { flex:1; min-width:0; border:1px solid #d9d6cf; background:#fff; border-radius:2px; padding:15px 16px; color:var(--pt-ink); }
.pt-search-section button { min-width:94px; }
.pt-search-section .woocommerce-product-search { position:relative; }
.pt-search-section .woocommerce-product-search button { white-space:nowrap; }
.pt-category-grid { gap:10px; }
.pt-category-card { min-height:145px; background:#f7f6f2; padding:18px; }
.pt-category-card:before { width:112px; height:150px; right:14px; top:-22px; border-width:7px; opacity:.7; }
.pt-category-card strong { font-size:16px; }
.pt-category-card span { font-size:11px; }
.pt-hero { padding:56px 0 50px; }
.pt-hero-visual { min-height:390px; }
.pt-products-section { background:#faf9f6; }
.pt-no-image { height:100%; display:grid; place-items:center; color:#8c8981; font-size:12px; }
.woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count { font-size:13px; }
.woocommerce .woocommerce-ordering select { border:1px solid var(--pt-line); padding:9px 28px 9px 10px; background:#fff; }
.woocommerce ul.products li.product .button { margin-top:8px; font-size:11px; padding:9px 12px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { padding:8px 0; }
@media (max-width:800px) {
 .pt-search-section { padding:32px 0; }
 .pt-search-section form { max-width:none; }
 .pt-hero-visual { min-height:290px; }
 .pt-category-card { min-height:125px; }
}

/* Forside v1.2 - editorialt hero-banner og billedbaseret inspiration */
.pt-hero-banner { min-height: min(690px, 72vw); position:relative; isolation:isolate; display:flex; align-items:center; overflow:hidden; color:#fff; background-color:#8e887c; background-image:radial-gradient(ellipse at 76% 24%,#d7c7ad 0,transparent 32%),linear-gradient(118deg,#77766b 0%,#b5a995 48%,#77766b 100%); background-position:center; background-size:cover; }
.pt-hero-banner:after { content:""; position:absolute; z-index:-1; inset:0; opacity:.34; background:linear-gradient(110deg,#24231f 0%,#24231f66 44%,transparent 78%); }
.pt-hero-banner.has-image { background-position:center 55%; }
.pt-hero-shade { position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#171714b8 0%,#17171472 42%,#17171408 78%); }
.pt-hero-content { position:relative; z-index:1; padding-top:85px; padding-bottom:105px; }
.pt-hero-content .pt-eyebrow { color:#f0d8b9; font-size:11px; letter-spacing:.19em; }
.pt-hero-content h1 { color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:clamp(56px,7.2vw,100px); font-weight:400; letter-spacing:-.065em; line-height:.98; margin:23px 0 22px; }
.pt-hero-content p { max-width:440px; color:#f5f2ec; font-size:17px; line-height:1.65; margin:0 0 32px; }
.pt-hero-button { display:inline-flex; align-items:center; gap:28px; background:#f7f4ed; color:#25241f; padding:16px 21px; font-size:11px; font-weight:750; letter-spacing:.09em; transition:.2s ease; }
.pt-hero-button:hover { background:#fff; color:#25241f; transform:translateY(-2px); }
.pt-hero-button span { font-size:18px; line-height:10px; }
.pt-hero-caption { position:absolute; right:max(20px,calc((100vw - var(--pt-width))/2)); bottom:25px; z-index:1; color:#fff; font-size:9px; letter-spacing:.16em; opacity:.8; }
.pt-hero-caption span { padding:0 8px; }
.pt-search-section { padding:32px 0; background:#fbfaf7; border-bottom:1px solid var(--pt-line); }
.pt-search-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.pt-search-section h2 { font-family:Georgia,"Times New Roman",serif; font-size:26px; font-weight:400; letter-spacing:-.035em; margin:0 0 3px; }
.pt-search-section p { color:var(--pt-muted); margin:0; font-size:13px; }
.pt-search-section form { width:min(54%,600px); max-width:none; margin:0; }
.pt-search-section input[type="search"] { min-height:50px; }
.pt-search-section button { min-height:50px; }
.pt-section { padding:78px 0; }
.pt-overline { display:block; color:var(--pt-accent); font-size:10px; font-weight:750; letter-spacing:.17em; margin-bottom:12px; }
.pt-section-head { margin-bottom:30px; }
.pt-section h2 { font-family:Georgia,"Times New Roman",serif; font-weight:400; font-size:clamp(32px,4vw,48px); letter-spacing:-.055em; }
.pt-section-sub { font-size:14px; }
.pt-inspiration-section { background:#f7f5f0; }
.pt-inspiration-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:16px; }
.pt-inspiration-card { min-height:390px; position:relative; display:flex; flex-direction:column; justify-content:flex-end; padding:28px; overflow:hidden; isolation:isolate; color:#fff; background-color:#aaa092; background-size:cover; background-position:center; }
.pt-inspiration-card:before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,#1c1b18a8 0%,#1c1b1820 58%,transparent 100%); transition:opacity .25s ease; }
.pt-inspiration-card:hover { color:#fff; }
.pt-inspiration-card:hover:before { opacity:.8; }
.pt-inspiration-one { background-image:linear-gradient(135deg,#a79d8e,#d9d0c1 55%,#8d877c); }
.pt-inspiration-two { background-image:linear-gradient(135deg,#7d827b,#c5b6a5 55%,#77776d); }
.pt-inspiration-label { font-size:9px; letter-spacing:.17em; font-weight:700; margin-bottom:14px; }
.pt-inspiration-title { font-family:Georgia,"Times New Roman",serif; font-size:clamp(30px,3.3vw,44px); line-height:1.02; letter-spacing:-.04em; }
.pt-inspiration-arrow { position:absolute; right:27px; bottom:28px; font-size:24px; }
.pt-category-section { background:#fff; }
.pt-category-card { min-height:175px; background:#f3f0e9; }
.pt-category-card:before { border-color:#ffffffb8; }
.pt-products-section { background:#f8f7f3; }
.pt-products-section .pt-product-image { background:#eeece6; }
@media (max-width:800px) {
 .pt-hero-banner { min-height:590px; background-position:58% center; }
 .pt-hero-banner:after { background:linear-gradient(90deg,#171714a8 0%,#17171442 100%); }
 .pt-hero-content { padding-top:75px; padding-bottom:95px; }
 .pt-hero-content h1 { font-size:clamp(52px,11vw,76px); }
 .pt-search-inner { display:block; }
 .pt-search-section form { width:100%; margin-top:18px; }
 .pt-inspiration-grid { grid-template-columns:1fr 1fr; }
 .pt-inspiration-card { min-height:300px; padding:19px; }
 .pt-inspiration-title { font-size:30px; }
 .pt-hero-caption { font-size:8px; }
}
@media (max-width:520px) {
 .pt-hero-banner { min-height:570px; }
 .pt-hero-content h1 { font-size:54px; }
 .pt-hero-content p { font-size:15px; max-width:330px; }
 .pt-inspiration-grid { grid-template-columns:1fr; }
 .pt-inspiration-card { min-height:330px; }
 .pt-section { padding:56px 0; }
 .pt-hero-caption { right:15px; bottom:16px; }
}
