/*
Theme Name: BOGG BAG GeneratePress Child
Theme URI: https://boggbag.com/
Description: A fast, commerce-independent BOGG BAG storefront child theme for GeneratePress.
Author: BOGG BAG
Template: generatepress
Version: 1.0.2
Text Domain: bogg-bag
*/

:root {
  --ink: #101114;
  --muted: #6f7076;
  --paper: #f4f4f4;
  --line: #dedee1;
  --blue: #2c2f44;
  --max: 1440px;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; }
body, button, input { font-size: 15px; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; }
.site-content, .content-area { width: 100%; max-width: none; padding: 0; }
.site-header, .site-footer { display: none; }
.bogg-wrap { width: min(100% - 48px, var(--max)); margin: 0 auto; }

.bogg-promo { background: var(--blue); color: #fff; text-align: center; font-size: 11px; letter-spacing: .12em; line-height: 34px; text-transform: uppercase; }
.bogg-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.bogg-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; gap: 20px; }
.bogg-brand img { display: block; width: 132px; height: auto; }
.bogg-menu { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.bogg-menu > li { list-style: none; position: relative; }
.bogg-menu > li > a { display: block; padding: 34px 0; }
.bogg-menu > li:hover > a { color: var(--muted); }
.bogg-menu ul { position: absolute; left: -16px; top: 68px; width: 230px; padding: 10px 0; margin: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px #00000012; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.bogg-menu li:hover > ul, .bogg-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.bogg-menu ul li { list-style: none; }
.bogg-menu ul a { display: block; padding: 10px 16px; font-size: 11px; letter-spacing: .08em; }
.bogg-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.bogg-icon { width: 22px; height: 22px; display: grid; place-items: center; }
.bogg-icon svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bogg-cart-count { position: absolute; margin: -24px 0 0 13px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 9px; display: grid; place-items: center; }
.bogg-menu-toggle { display: none; }

.bogg-hero { position: relative; min-height: clamp(460px, 52vw, 760px); background: #b7b3ad url('assets/images/hero-desktop-edited.jpg') center/cover no-repeat; }
.bogg-hero__content { position: absolute; right: 7%; top: 50%; width: min(440px, 40%); transform: translateY(-50%); text-align: center; color: #fff; }
.bogg-hero__logo { width: min(430px, 100%); margin: 0 auto 30px; }
.bogg-hero__logo img { display: block; width: 100%; }
.bogg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 24px; border: 1px solid currentColor; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: .2s ease; }
.bogg-button--light { color: #fff; background: transparent; }
.bogg-button--light:hover { background: #fff; color: var(--ink); }
.bogg-button--dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.bogg-button--dark:hover { background: transparent; color: var(--ink); }

.bogg-tabs-section { padding: 58px 0 74px; background: #fff; }
.bogg-tabs { display: flex; gap: 34px; padding: 0 0 24px; margin: 0 0 28px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.bogg-tabs::-webkit-scrollbar { display: none; }
.bogg-tab { position: relative; flex: 0 0 auto; padding: 0 0 12px; color: var(--muted); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.bogg-tab.is-active { color: var(--ink); }
.bogg-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -25px; height: 2px; background: var(--ink); }
.bogg-product-panel[hidden],
.bogg-product-panel:not(.is-active) { display: none !important; }
.bogg-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bogg-product-card { min-width: 0; }
.bogg-product-card__media { position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 1/1; }
.bogg-product-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bogg-product-card:hover .bogg-product-card__media img { transform: scale(1.035); }
.bogg-product-card__info { padding: 14px 0 0; }
.bogg-product-card__title { margin: 0 0 5px; font-size: 15px; font-weight: 400; }
.bogg-product-card__meta { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.bogg-product-card__price { font-size: 13px; }
.bogg-product-card__badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; background: #fff; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.bogg-seasonal { padding: 0 0 72px; }
.bogg-section-title { margin: 0 0 24px; font-size: 26px; font-weight: 400; letter-spacing: .01em; }
.bogg-seasonal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.bogg-seasonal-card { position: relative; overflow: hidden; background: var(--paper); }
.bogg-seasonal-card img { display: block; width: 100%; aspect-ratio: 3 / 3.58; object-fit: cover; transition: transform .35s ease; }
.bogg-seasonal-card:hover img { transform: scale(1.03); }
.bogg-seasonal-card__label { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; color: #fff; text-shadow: 0 1px 10px #0006; }
.bogg-seasonal-card__label strong { font-size: 16px; font-weight: 400; }
.bogg-seasonal-card__label span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.bogg-feature { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--paper); }
.bogg-feature__media { min-height: 580px; background: url('assets/images/b166aa4a307e4d8e9f00835a011ea09c.thumbnail.0000000000_1100x.jpg') center/cover no-repeat; }
.bogg-feature__copy { display: flex; align-items: center; justify-content: center; padding: 64px; text-align: center; }
.bogg-feature__copy-inner { max-width: 420px; }
.bogg-feature h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 48px); font-weight: 400; }
.bogg-feature p { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }

.bogg-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bogg-promo-card { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper); }
.bogg-promo-card picture,
.bogg-promo-card img { display: block; width: 100%; height: 100%; }
.bogg-promo-card img { object-fit: cover; transition: transform .45s ease; }
.bogg-promo-card:hover img { transform: scale(1.018); }
.bogg-promo-card__button { position: absolute; z-index: 2; top: 10%; left: 10%; min-height: 40px; padding: 0 22px; color: var(--ink); border: 1px solid var(--ink); background: transparent; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; transition: .2s ease; }
.bogg-promo-card__button:hover { color: #fff; background: var(--ink); }
.bogg-press { position: relative; overflow: hidden; background: #fff; }
.bogg-press img { display: block; width: 100%; height: auto; }
.bogg-press blockquote { position: absolute; z-index: 1; top: 15%; left: 50%; width: min(760px, 80%); margin: 0; transform: translateX(-50%); text-align: center; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(20px, 2vw, 38px); font-weight: 400; line-height: 1.2; }

.bogg-footer { padding: 66px 0 26px; background: #ececed; }
.bogg-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; }
.bogg-footer h2 { margin: 0 0 18px; font-size: 18px; font-weight: 400; }
.bogg-footer h3 { margin: 0 0 18px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.bogg-footer p, .bogg-footer li, .bogg-footer input { font-size: 12px; line-height: 1.7; }
.bogg-footer ul { padding: 0; margin: 0; list-style: none; }
.bogg-footer li { margin-bottom: 8px; }
.bogg-newsletter { display: flex; max-width: 370px; border-bottom: 1px solid var(--ink); }
.bogg-newsletter input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; outline: none; }
.bogg-newsletter button { padding: 10px 0 10px 16px; font-size: 10px; letter-spacing: .1em; }
.bogg-social { display: flex; gap: 12px; margin-top: 22px; }
.bogg-social img { width: 22px; height: 22px; object-fit: contain; }
.bogg-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 48px; margin-top: 48px; border-top: 1px solid #d3d3d5; color: var(--muted); font-size: 11px; }

.bogg-search-drawer, .bogg-cart-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.bogg-search-drawer.is-open, .bogg-cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.bogg-drawer__backdrop { position: absolute; inset: 0; background: #0008; opacity: 0; transition: opacity .25s ease; }
.is-open .bogg-drawer__backdrop { opacity: 1; }
.bogg-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); padding: 28px 32px; background: #fff; transform: translateX(100%); transition: transform .3s ease; }
.is-open .bogg-drawer__panel { transform: translateX(0); }
.bogg-drawer__close { float: right; font-size: 28px; line-height: 1; }
.bogg-search-form { display: flex; align-items: center; gap: 12px; clear: both; padding-top: 80px; border-bottom: 1px solid var(--ink); }
.bogg-search-form input { flex: 1; padding: 14px 0; border: 0; outline: none; font-size: 20px; }
.bogg-cart-drawer h2 { margin-top: 70px; font-size: 24px; font-weight: 400; }

@media (max-width: 900px) {
  .bogg-wrap { width: min(100% - 32px, var(--max)); }
  .bogg-nav { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .bogg-nav > nav { display: contents; }
  .bogg-brand { justify-self: center; }
  .bogg-brand img { width: 110px; }
  .bogg-menu-toggle { display: grid; gap: 4px; width: 24px; padding: 4px 0; }
  .bogg-menu-toggle span { display: block; height: 1px; background: currentColor; }
  .bogg-menu { position: fixed; left: 0; right: 0; top: 102px; display: block; padding: 18px 22px 24px; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s ease; }
  .bogg-menu.is-open { transform: translateY(0); }
  .bogg-menu > li > a { padding: 13px 0; }
  .bogg-menu ul { position: static; display: none; width: auto; padding: 0 0 7px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .bogg-menu li.is-open > ul { display: block; }
  .bogg-menu ul a { padding: 8px 0; }
  .bogg-actions { gap: 10px; }
  .bogg-actions .account-link { display: none; }
  .bogg-hero { min-height: 610px; background-position: 58% center; }
  .bogg-hero__content { right: 16px; left: 16px; bottom: 34px; top: auto; width: auto; transform: none; }
  .bogg-hero__logo { max-width: 330px; margin-bottom: 18px; }
  .bogg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bogg-seasonal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bogg-feature { grid-template-columns: 1fr; }
  .bogg-feature__media { min-height: 420px; }
  .bogg-feature__copy { padding: 48px 24px; }
  .bogg-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .bogg-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 749px) {
  .bogg-promo-grid { grid-template-columns: 1fr; }
  .bogg-promo-card__button { top: 4%; left: 4%; min-height: 36px; padding: 0 16px; font-size: 9px; }
  .bogg-press { min-height: 220px; }
  .bogg-press img { position: absolute; left: 50%; bottom: 28px; width: 100%; max-width: none; transform: translateX(-50%); }
  .bogg-press blockquote { top: 30px; width: calc(100% - 32px); font-size: 19px; }
}
@media (max-width: 520px) {
  .bogg-promo { line-height: 30px; font-size: 9px; }
  .bogg-menu { top: 98px; }
  .bogg-tabs-section { padding-top: 38px; }
  .bogg-tabs { gap: 22px; }
  .bogg-tab { font-size: 10px; }
  .bogg-product-card__title { font-size: 13px; }
  .bogg-product-card__meta { font-size: 11px; }
  .bogg-seasonal { padding-bottom: 48px; }
  .bogg-section-title { font-size: 22px; }
  .bogg-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .bogg-footer__bottom { display: block; line-height: 1.8; }
  .bogg-footer__bottom span { display: block; }
}
