/*
Theme Name: Tannerkin Shop
Author: Tannerkin
Description: A lightweight storefront theme for handmade leather bag kits.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: tannerkin-shop
*/

:root {
	--tk-ink: #25332f;
	--tk-forest: #315d50;
	--tk-sage: #dce4d6;
	--tk-clay: #b9603e;
	--tk-paper: #f6f4ef;
	--tk-white: #fff;
	--tk-muted: #68716b;
	--tk-line: #d8d9d2;
	--tk-radius: 3px;
	--tk-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--tk-ink);
	background: var(--tk-paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--tk-clay); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--tk-clay); outline-offset: 3px; }
.tk-wrap { width: min(calc(100% - 48px), var(--tk-width)); margin-inline: auto; }
.tk-announcement { padding: 7px 20px; background: var(--tk-forest); color: var(--tk-white); text-align: center; font-size: 12px; letter-spacing: 0; }
.tk-header { position: relative; z-index: 5; background: var(--tk-paper); border-bottom: 1px solid var(--tk-line); }
.tk-header__row { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.tk-brand { display: inline-flex; align-items: baseline; width: fit-content; color: var(--tk-ink); text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 600; letter-spacing: 0; }
.tk-brand:hover { color: var(--tk-forest); }
.tk-brand img { max-height: 54px; width: auto; }
.tk-header .custom-logo-link { grid-column: 1; justify-self: start; }
.tk-header .custom-logo { display: block; max-height: 54px; width: auto; }
.tk-nav { display: flex; align-items: center; gap: 31px; }
.tk-nav-list { display: contents; margin: 0; padding: 0; list-style: none; }
.tk-nav a, .tk-header__action { color: var(--tk-ink); font-size: 13px; text-decoration: none; }
.tk-nav a:hover, .tk-header__action:hover { color: var(--tk-clay); }
.tk-header__action { justify-self: end; display: inline-flex; gap: 9px; align-items: center; min-height: 42px; }
.tk-cart-count { display: inline-grid; place-items: center; min-width: 21px; aspect-ratio: 1; border-radius: 50%; background: var(--tk-sage); font-size: 11px; }
.tk-menu-toggle { display: none; border: 0; background: transparent; color: var(--tk-ink); padding: 10px 0; }

.tk-hero { position: relative; min-height: 590px; overflow: hidden; background: #e8e5dc; }
.tk-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 0%; }
.tk-hero__inner { position: relative; min-height: 590px; display: flex; align-items: center; }
.tk-hero__copy { width: min(510px, 47%); padding-block: 56px; }
.tk-eyebrow { margin: 0 0 16px; color: var(--tk-forest); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.tk-hero h1 { max-width: 490px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1.02; font-weight: 500; letter-spacing: 0; }
.tk-hero__description { max-width: 380px; margin: 23px 0 27px; color: #3e4944; font-size: 17px; }
.tk-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 0 23px; border: 1px solid var(--tk-forest); border-radius: var(--tk-radius); background: var(--tk-forest); color: var(--tk-white); font-size: 13px; font-weight: 650; text-decoration: none; transition: background .15s ease, color .15s ease; }
.tk-button:hover { background: var(--tk-ink); color: var(--tk-white); }
.tk-button--outline { background: transparent; color: var(--tk-forest); }
.tk-button--outline:hover { background: var(--tk-forest); }
.tk-hero__note { margin: 14px 0 0; color: #4d5852; font-size: 12px; }

.tk-benefits { border-bottom: 1px solid var(--tk-line); background: var(--tk-white); }
.tk-benefits__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.tk-benefit { min-height: 84px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 16px; border-right: 1px solid var(--tk-line); font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.tk-benefit:first-child { border-left: 1px solid var(--tk-line); }
.tk-benefit span { color: var(--tk-clay); font-family: inherit; font-size: 13px; }

.tk-section { padding-block: 94px; }
.tk-section--white { background: var(--tk-white); }
.tk-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.tk-section h2 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1.12; font-weight: 500; letter-spacing: 0; }
.tk-section__intro { max-width: 550px; margin: 14px 0 0; color: var(--tk-muted); }
.tk-text-link { color: var(--tk-forest); font-size: 13px; font-weight: 650; white-space: nowrap; }
.tk-empty-products { padding: 28px; border: 1px solid var(--tk-line); color: var(--tk-muted); text-align: center; }
.tk-empty-products p { margin: 0; }

.tk-process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8%; align-items: start; }
.tk-process__heading { position: sticky; top: 40px; }
.tk-process__heading h2 { max-width: 410px; }
.tk-process__heading p { max-width: 390px; color: var(--tk-muted); }
.tk-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tk-line); }
.tk-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--tk-line); }
.tk-step__number { color: var(--tk-clay); font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.tk-step h3 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.tk-step p { max-width: 480px; margin: 0; color: var(--tk-muted); font-size: 14px; }

.tk-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.tk-story__mark { min-height: 310px; display: grid; place-items: center; background: var(--tk-sage); color: var(--tk-forest); font-family: Georgia, "Times New Roman", serif; font-size: 42px; }
.tk-story__copy h2 { margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.1; font-weight: 500; }
.tk-story__copy p { max-width: 480px; margin: 0 0 24px; color: var(--tk-muted); }

.tk-footer { padding: 56px 0 22px; background: var(--tk-ink); color: var(--tk-white); }
.tk-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding-bottom: 44px; }
.tk-footer .tk-brand { color: var(--tk-white); }
.tk-footer__tagline { max-width: 360px; margin: 10px 0 0; color: #c7d0ca; font-size: 14px; }
.tk-footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.tk-footer__menu { display: contents; margin: 0; padding: 0; list-style: none; }
.tk-footer__nav a { color: var(--tk-white); font-size: 13px; text-decoration: none; }
.tk-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #51605a; color: #c7d0ca; font-size: 11px; }
.tk-footer__bottom p { margin: 0; }

.tk-page { min-height: 42vh; padding-block: 68px 96px; }
.tk-page__title { margin: 0 0 32px; font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1.12; font-weight: 500; }
.tk-content { max-width: 820px; }
.tk-content p { margin-block: 0 1.25em; }
.tk-content img { height: auto; }
.tk-pagination { margin-top: 32px; }
.tk-pagination .nav-links { display: flex; gap: 10px; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--tk-muted); font-size: 12px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tk-forest); }
.woocommerce-products-header__title, .woocommerce div.product .product_title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product a img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; background: #e9e6dd; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; color: var(--tk-ink); font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; }
.woocommerce ul.products li.product .price { color: var(--tk-forest); font-size: 14px; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 42px; border: 1px solid var(--tk-forest); border-radius: var(--tk-radius); background: var(--tk-forest); color: var(--tk-white); font-weight: 600; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--tk-ink); color: var(--tk-white); }
.woocommerce span.onsale { min-width: 0; min-height: 0; padding: 7px 10px; border-radius: 0; background: var(--tk-clay); line-height: 1; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product div.images img { background: #e9e6dd; }
.woocommerce div.product .woocommerce-product-gallery { width: 100%; }
.woocommerce div.product .summary { padding-top: 20px; }
.woocommerce .quantity .qty { min-height: 43px; border: 1px solid var(--tk-line); background: var(--tk-white); }
.woocommerce table.shop_table { border-color: var(--tk-line); border-radius: 0; }
.woocommerce table.shop_table th { font-weight: 600; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 45px; padding: 10px; border: 1px solid var(--tk-line); background: var(--tk-white); }
.woocommerce .col2-set, .woocommerce-page .col2-set { width: 100%; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--tk-forest); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tk-forest); }
.woocommerce-error { border-top-color: var(--tk-clay); }
.woocommerce-error::before { color: var(--tk-clay); }
.woocommerce .related h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

@media (max-width: 900px) {
	.tk-nav { gap: 18px; }
	.tk-hero, .tk-hero__inner { min-height: 520px; }
	.tk-hero__copy { width: min(440px, 54%); }
	.tk-hero h1 { font-size: 56px; }
	.tk-section { padding-block: 72px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.tk-wrap { width: min(calc(100% - 36px), var(--tk-width)); }
	.tk-header__row { min-height: 68px; grid-template-columns: auto 1fr auto; gap: 16px; }
	.tk-brand { grid-column: 2; grid-row: 1; justify-self: center; font-size: 25px; }
	.tk-header .custom-logo-link { grid-column: 2; grid-row: 1; justify-self: center; }
	.tk-menu-toggle { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; font-size: 13px; }
	.tk-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--tk-line); background: var(--tk-paper); }
	.tk-nav.is-open { display: flex; }
	.tk-nav a { padding: 13px 0; border-top: 1px solid var(--tk-line); }
	.tk-header__action { grid-column: 3; grid-row: 1; font-size: 12px; }
	.tk-header__action-text { display: none; }
	.tk-hero { min-height: 0; display: flex; flex-direction: column; background: var(--tk-paper); }
	.tk-hero__image { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; }
	.tk-hero__inner { min-height: 0; width: 100%; }
	.tk-hero__copy { width: 100%; padding: 30px 18px 38px; }
	.tk-hero h1 { max-width: 470px; font-size: 48px; }
	.tk-hero__description { margin-block: 16px 20px; font-size: 15px; }
	.tk-benefits__row { grid-template-columns: 1fr; }
	.tk-benefit, .tk-benefit:first-child { min-height: 56px; justify-content: flex-start; padding-inline: 0; border-right: 0; border-left: 0; border-bottom: 1px solid var(--tk-line); font-size: 16px; }
	.tk-benefit:last-child { border-bottom: 0; }
	.tk-section { padding-block: 56px; }
	.tk-section__head { align-items: start; flex-direction: column; margin-bottom: 25px; }
	.tk-section h2, .tk-story__copy h2 { font-size: 34px; }
	.tk-text-link { white-space: normal; }
	.tk-process { grid-template-columns: 1fr; gap: 25px; }
	.tk-process__heading { position: static; }
	.tk-step { grid-template-columns: 34px 1fr; gap: 12px; padding-block: 21px; }
	.tk-step h3 { font-size: 20px; }
	.tk-story { grid-template-columns: 1fr; gap: 26px; }
	.tk-story__mark { min-height: 230px; font-size: 34px; }
	.tk-footer { padding-top: 42px; }
	.tk-footer__top { grid-template-columns: 1fr; padding-bottom: 32px; }
	.tk-footer__nav { gap: 16px; }
	.tk-footer__bottom { flex-direction: column; gap: 6px; }
	.tk-page { padding-block: 48px 70px; }
	.tk-page__title { font-size: 35px; }
	.woocommerce ul.products { gap: 25px 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 18px; }
}
