/*
Theme Name: MacFurbished
Description: An English storefront for refurbished Macs and hard-to-find Apple parts.
Author: Ocean Cloud Marketing.com
Author URI: https://oceancloudmarketing.com/
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: macfurbished
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --ink: #222;
  --dark: #111;
  --wine: #9e2048;
  --paper: #fff;
  --soft: #f3f3f3;
  --line: #d8d8d8;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-header { background: var(--dark); color: white; border-bottom: 4px solid var(--wine); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.2rem; }
.brand { color: white; font-size: 1.55rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a, .site-footer a { color: white; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav [aria-current="page"] { text-decoration: underline; }
.hero { padding-block: clamp(3.5rem, 9vw, 8rem); background: linear-gradient(125deg, #fff 50%, #f2e8ec); }
.hero-layout.has-photo { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; display: block; border-radius: .75rem; }
.kicker { margin: 0 0 .65rem; color: var(--wine); font-size: .95rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word; }
.hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 6vw, 5.45rem); margin-bottom: 1.25rem; }
.hero-copy { max-width: 43ch; font-size: clamp(1.06rem, 2vw, 1.3rem); margin: 0 0 1.65rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mf-button { display: inline-block; padding: .68rem 1.2rem; border: 2px solid var(--wine); border-radius: .35rem; color: white; background: var(--wine); text-decoration: none; font-weight: 750; }
.mf-button:hover { background: #751535; border-color: #751535; }
.mf-button.outline { background: transparent; color: var(--wine); }
.mf-button.outline:hover { background: #f4e6eb; }
.trust { margin: 1.35rem 0 0; color: #484848; font-size: .94rem; }
.home-band { padding-block: clamp(2.75rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.home-band-soft { background: var(--soft); }
.home-band h2, .parts h2, .content h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1.35rem; }
.home-band p { max-width: 65ch; margin: 0; }
.home-band .mf-button { margin-top: 1.25rem; }
.parts, .content { padding-block: clamp(2.75rem, 6vw, 5rem); }
.parts p { max-width: 57ch; }
.entry + .entry { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.site-footer { background: var(--dark); color: #ddd; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100000; width: auto; height: auto; margin: 0; clip-path: none; background: white; padding: .6rem 1rem; }
.woocommerce table.shop_table, .entry { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-layout.has-photo { grid-template-columns: 1fr; }
  .header-row { align-items: flex-start; flex-direction: column; }
}
