/*
Theme Name: YouCanOffer Deals
Description: An illustrated shopping homepage for YouCanOffer.
Template: generatepress
Version: 1.0.0
Text Domain: youcanoffer-deals
*/

body.yco-home {
  --yco-ink: #242632;
  --yco-muted: #6e6b70;
  --yco-accent: #bf3655;
  --yco-paper: #faf8f4;
  --yco-line: #e9e4df;
  margin: 0;
  background: var(--yco-paper);
  color: var(--yco-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.yco-home *, .yco-home *::before, .yco-home *::after { box-sizing: border-box; }
.yco-home a { color: inherit; text-decoration: none; }
.yco-home a:hover { color: var(--yco-accent); }
.yco-home a:focus-visible, .yco-home button:focus-visible, .yco-home input:focus-visible, .yco-home summary:focus-visible { outline: 3px solid #bf3655; outline-offset: 4px; }
.yco-home img { display: block; max-width: 100%; height: auto; }
.yco-home h1, .yco-home h2, .yco-home h3, .yco-home p, .yco-home figure { margin: 0; }
.yco-home button, .yco-home input { font: inherit; }
.yco-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.yco-topbar { padding: 8px 20px; background: #f1e4e4; color: #653644; text-align: center; font-size: 12px; letter-spacing: .025em; }
.yco-header { background: #fff; border-bottom: 1px solid var(--yco-line); }
.yco-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 94px; }
.yco-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--yco-ink); font-size: 27px; font-weight: 800; letter-spacing: -1.1px; line-height: 1.2; }
.yco-brand > span:not(.yco-brand-mark) { color: var(--yco-accent); }
.yco-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; border-radius: 11px 11px 11px 3px; background: var(--yco-accent); color: #fff; font-size: 22px; letter-spacing: -1px; transform: rotate(-5deg); }
.yco-brand-mark svg { width: 22px; height: 22px; }
.yco-tagline { color: var(--yco-muted); font-size: 12px; letter-spacing: .03em; }
.yco-search { display: flex; align-items: center; width: min(390px, 40%); border: 1px solid #e5e0db; border-radius: 8px; background: #faf9f7; overflow: hidden; }
.yco-search input[type=search] { width: 100%; min-width: 0; padding: 12px 15px; border: 0; border-radius: 0; color: var(--yco-ink); background: transparent; font-size: 13px; }
.yco-search input::placeholder { color: #777177; opacity: 1; }
.yco-search button { display: grid; place-items: center; flex: 0 0 47px; padding: 12px; border: 0; background: transparent; color: var(--yco-accent); cursor: pointer; }
.yco-search button:hover { background: #f4e8ea; }
.yco-search svg { width: 19px; height: 19px; }
.yco-nav { display: flex; align-items: center; gap: 35px; min-height: 49px; border-top: 1px solid #f0edeb; font-size: 13px; font-weight: 600; }
.yco-nav a { display: inline-flex; align-items: center; min-height: 49px; border-bottom: 2px solid transparent; }
.yco-nav a:hover, .yco-nav a[aria-current=page] { color: var(--yco-accent); border-bottom-color: var(--yco-accent); }
.yco-mobile-menu { display: none; }
.yco-main { padding-top: 32px; }
.yco-hero { display: grid; grid-template-columns: 1fr 1.08fr; overflow: hidden; min-height: 430px; border-radius: 17px; background: #f2eae0; }
.yco-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 44px; }
.yco-eyebrow { display: block; margin-bottom: 18px; color: var(--yco-accent); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.yco-hero h1 { margin-bottom: 20px; color: #2a292c; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 4.1vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -1.6px; }
.yco-hero h1 em { color: var(--yco-accent); font-weight: 500; }
.yco-hero-copy > p:not(.yco-eyebrow):not(.yco-hero-note) { max-width: 380px; color: #675e5f; font-size: 15px; line-height: 1.75; }
.yco-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 27px; }
.yco-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--yco-accent); border-radius: 6px; background: var(--yco-accent); color: #fff !important; font-size: 13px; font-weight: 650; transition: background .18s ease; }
.yco-button:hover { background: #9d2342; border-color: #9d2342; }
.yco-text-link { font-size: 13px; font-weight: 650; border-bottom: 1px solid #b59a9d; padding-bottom: 3px; }
.yco-hero-note { margin-top: 23px !important; color: #776b6c; font-size: 11px; }
.yco-hero-media { position: relative; min-height: 430px; }
.yco-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.yco-photo-note { position: absolute; left: 22px; bottom: 20px; padding: 8px 13px; border: 1px solid #ffffff7a; border-radius: 6px; background: #fffdf3e8; color: #5d4b40; font-size: 11px; box-shadow: 0 4px 20px #3c251017; }
.yco-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0 48px; }
.yco-categories > a { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 18px 12px; border: 1px solid var(--yco-line); border-radius: 9px; background: #fff; font-size: 13px; font-weight: 650; transition: border-color .18s, transform .18s; }
.yco-categories > a:hover { transform: translateY(-2px); border-color: #d5a1ae; }
.yco-category-icon { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #f9edef; color: var(--yco-accent); font-size: 17px; }
.yco-categories svg { width: 19px; height: 19px; color: var(--yco-accent); }
.yco-section { margin-bottom: 55px; scroll-margin-top: 20px; }
.yco-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.yco-section-head h2, .yco-guide-section h2 { font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.7px; }
.yco-section-head p { margin-top: 7px; color: var(--yco-muted); font-size: 13px; }
.yco-section-head > a { color: var(--yco-accent); font-size: 12px; font-weight: 650; white-space: nowrap; }
.yco-archive-note { margin-bottom: 20px !important; padding: 11px 14px; border-left: 3px solid #d6b191; border-radius: 0 5px 5px 0; background: #f2ede5; color: #71604f; font-size: 12px; line-height: 1.6; }
.yco-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.yco-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--yco-line); border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s; }
.yco-card:hover { transform: translateY(-3px); box-shadow: 0 9px 25px #3329270d; }
.yco-card-image { position: relative; display: block; aspect-ratio: 1.5; overflow: hidden; background: #eee7de; }
.yco-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.yco-card:hover .yco-card-image img { transform: scale(1.035); }
.yco-badge { position: absolute; top: 11px; left: 11px; padding: 4px 8px; border-radius: 4px; background: #fffdf3ed; color: #5c4a3c; font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.yco-card-caption { position: absolute; right: 7px; bottom: 6px; padding: 2px 6px; border-radius: 3px; background: #fffc; color: #5d534b; font-size: 9px; }
.yco-card-content { display: flex; flex: 1; flex-direction: column; padding: 17px 17px 15px; }
.yco-meta { display: block; margin-bottom: 8px; color: var(--yco-accent); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.yco-card h3 { margin-bottom: 18px; font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: -.15px; overflow-wrap: anywhere; }
.yco-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; border-top: 1px solid #f0edeb; }
.yco-card-bottom time { color: #777177; font-size: 10px; }
.yco-card-bottom a { color: var(--yco-accent); font-size: 11px; font-weight: 650; }
.yco-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.yco-collection { display: block; overflow: hidden; border: 1px solid var(--yco-line); border-radius: 13px; background: #f1e9df; }
.yco-collection > img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.yco-collection:nth-child(2) { background: #f4e7e7; }
.yco-collection:nth-child(3) { background: #e9eeed; }
.yco-collection-copy { position: relative; padding: 22px 24px; }
.yco-collection-copy h3 { margin-bottom: 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 500; letter-spacing: -.45px; }
.yco-collection-copy p { max-width: 250px; color: #696263; font-size: 12px; line-height: 1.7; }
.yco-collection-copy > span { display: inline-block; margin-top: 15px; color: #713b4b; font-size: 12px; font-weight: 650; }
.yco-guide-section { display: grid; grid-template-columns: .85fr 1.35fr; gap: 70px; margin: 0 0 55px; padding: 38px 40px; border: 1px solid var(--yco-line); border-radius: 15px; background: #fff; }
.yco-guide-section .yco-eyebrow { margin-bottom: 12px; }
.yco-guide-section h2 { max-width: 290px; margin-bottom: 15px; }
.yco-guide-section p { max-width: 320px; color: var(--yco-muted); font-size: 13px; line-height: 1.8; }
.yco-guide-section .yco-text-link { display: inline-block; margin-top: 22px; color: var(--yco-accent); }
.yco-guide-list { display: flex; flex-direction: column; justify-content: center; }
.yco-guide-list > article, .yco-guide-list > a { display: flex; align-items: center; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--yco-line); }
.yco-guide-list > :first-child { padding-top: 0; }
.yco-guide-list > :last-child { padding-bottom: 0; border-bottom: 0; }
.yco-guide-number { flex: 0 0 32px; color: #c7afb5; font-family: Georgia, 'Times New Roman', serif; font-size: 28px; line-height: 1; }
.yco-guide-list h3 { font-size: 15px; font-weight: 650; line-height: 1.5; }
.yco-guide-list time { display: inline-block; margin-top: 5px; color: #777177; font-size: 11px; }
.yco-guide-list > article > a:last-child, .yco-guide-list > a > span:last-child { margin-left: auto; color: var(--yco-accent); }
.yco-footer { padding: 40px 0 22px; border-top: 1px solid var(--yco-line); background: #fff; color: var(--yco-muted); font-size: 12px; }
.yco-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.yco-footer .yco-brand { margin-bottom: 13px; font-size: 23px; }
.yco-footer p { max-width: 440px; line-height: 1.8; }
.yco-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; max-width: 480px; padding-top: 7px; }
.yco-footer-links a { font-size: 12px; }
.yco-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--yco-line); font-size: 10px; }
.yco-skip-link { position: absolute; top: -100px; left: 16px; z-index: 999; padding: 10px 16px; border-radius: 4px; background: #fff; color: #242632; }
.yco-skip-link:focus { top: 16px; }
@media (max-width: 1050px) {
  .yco-wrap { width: calc(100% - 48px); }
  .yco-hero-copy { padding: 35px 30px; }
  .yco-hero, .yco-hero-media { min-height: 400px; }
  .yco-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yco-card-image { aspect-ratio: 1.65; }
  .yco-categories { gap: 9px; }
  .yco-categories > a { gap: 6px; padding-inline: 8px; font-size: 11px; }
  .yco-guide-section { gap: 35px; padding: 30px; }
  .yco-collection-copy { padding: 18px; }
  .yco-collection-copy h3 { font-size: 22px; }
  .yco-nav { gap: 27px; }
}
@media (max-width: 740px) {
  .yco-wrap { width: calc(100% - 36px); }
  .yco-topbar { padding: 7px 18px; font-size: 10px; }
  .yco-header-inner { flex-wrap: wrap; gap: 13px; min-height: 0; padding-block: 19px 16px; }
  .yco-brand { font-size: 24px; letter-spacing: -.9px; }
  .yco-brand-mark { width: 32px; height: 32px; font-size: 19px; }
  .yco-tagline { display: none; }
  .yco-search { order: 3; width: 100%; }
  .yco-search input[type=search] { padding: 10px 12px; font-size: 14px; }
  .yco-search button { padding: 10px; }
  .yco-nav { display: none; }
  .yco-mobile-menu { display: block; margin-left: auto; }
  .yco-mobile-menu summary { padding: 7px 10px; border: 1px solid var(--yco-line); border-radius: 6px; cursor: pointer; color: #55484e; font-size: 12px; }
  .yco-mobile-menu[open] { flex-basis: 100%; order: 4; }
  .yco-mobile-menu[open] summary { width: max-content; margin-left: auto; }
  .yco-mobile-menu nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; margin-top: 10px; padding: 8px; border: 1px solid var(--yco-line); border-radius: 8px; background: #faf8f4; }
  .yco-mobile-menu nav a { padding: 10px 8px; font-size: 13px; }
  .yco-main { padding-top: 20px; }
  .yco-hero { grid-template-columns: 1fr; min-height: 0; border-radius: 13px; }
  .yco-hero-copy { padding: 33px 28px; }
  .yco-hero h1 { max-width: 420px; font-size: 46px; }
  .yco-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .yco-hero-media { min-height: 0; height: 260px; }
  .yco-hero-media > img { object-position: center 60%; }
  .yco-hero-copy > p:not(.yco-eyebrow):not(.yco-hero-note) { max-width: 430px; font-size: 14px; }
  .yco-hero-note { margin-top: 18px !important; }
  .yco-photo-note { left: 14px; bottom: 14px; font-size: 10px; }
  .yco-categories { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 18px 0 35px; }
  .yco-categories > a { flex-direction: column; gap: 7px; padding: 12px 6px; font-size: 11px; }
  .yco-category-icon { flex-basis: 27px; width: 27px; height: 27px; }
  .yco-section { margin-bottom: 36px; }
  .yco-section-head { align-items: flex-start; gap: 12px; }
  .yco-section-head h2, .yco-guide-section h2 { font-size: 24px; }
  .yco-section-head p { font-size: 12px; }
  .yco-section-head > a { padding-top: 6px; font-size: 11px; }
  .yco-card-grid { gap: 15px; }
  .yco-card-content { padding: 14px; }
  .yco-card h3 { font-size: 15px; }
  .yco-card-bottom { flex-wrap: wrap; }
  .yco-collection-grid { grid-template-columns: 1fr; gap: 16px; }
  .yco-collection { display: grid; grid-template-columns: .9fr 1.1fr; }
  .yco-collection > img { height: 100%; min-height: 190px; aspect-ratio: auto; }
  .yco-collection-copy { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
  .yco-collection-copy h3 { font-size: 23px; }
  .yco-guide-section { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; padding: 26px; }
  .yco-guide-section h2, .yco-guide-section p { max-width: none; }
  .yco-guide-section .yco-text-link { margin-top: 16px; }
  .yco-footer { padding-top: 30px; }
  .yco-footer-inner { flex-direction: column; gap: 18px; }
  .yco-footer-links { gap: 11px 20px; }
  .yco-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 24px; }
}
@media (max-width: 480px) {
  .yco-hero h1 { font-size: 42px; }
  .yco-hero-copy { padding: 30px 24px; }
  .yco-hero-media { height: 225px; }
  .yco-actions { gap: 16px; }
  .yco-button { padding-inline: 16px; font-size: 12px; }
  .yco-text-link { font-size: 12px; }
  .yco-card-grid { grid-template-columns: 1fr; gap: 19px; }
  .yco-card-image { aspect-ratio: 1.6; }
  .yco-card-content { padding: 17px; }
  .yco-card h3 { font-size: 17px; }
  .yco-meta { font-size: 10px; }
  .yco-card-bottom time { font-size: 11px; }
  .yco-card-bottom a { font-size: 12px; }
  .yco-collection-copy { padding: 18px 16px; }
  .yco-collection-copy h3 { font-size: 21px; }
  .yco-collection-copy p { font-size: 11px; }
  .yco-collection > img { min-height: 185px; }
  .yco-guide-section { padding: 24px 20px; }
  .yco-guide-list > article, .yco-guide-list > a { gap: 12px; }
  .yco-guide-list h3 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .yco-home *, .yco-home *::before, .yco-home *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Align template details and keep mobile navigation compact. */
.yco-brand { gap: 0; }
.yco-brand-mark { margin-right: 10px; }
.yco-header-link { font-size: 12px; font-weight: 600; }
.yco-nav-note { margin-left: auto; color: var(--yco-muted); font-size: 11px; }
.yco-photo-note { display: flex; align-items: center; gap: 12px; }
.yco-photo-note > span { font-size: 24px; }
.yco-photo-note strong, .yco-photo-note div > span { display: block; }
.yco-photo-note div > span { margin-top: 2px; }
.yco-guide-section .yco-button { margin-top: 22px; }
.yco-guide > span:last-child { margin-left: auto; color: var(--yco-accent); }
@media (max-width: 1050px) { .yco-header-link, .yco-nav-note { display: none; } }

body.yco-home main.yco-main.yco-wrap { margin: 0 auto !important; }
