/* Minimal reset (the storefront no longer loads Bootstrap) + components added for the Laravel version */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
img, svg, video { vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
table { border-collapse: collapse; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
label { display: inline-block; }
hr { border: 0; border-top: 1px solid var(--g-line); margin: 20px 0; }
.g-label { display: block; font-weight: 600; font-size: var(--g-fs-sm); margin-bottom: 6px; color: var(--g-text-2); }
.g-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; margin-right: 6px; }

/* simple modal (newsletter popup) */
.g-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 26, 48, .55); }
.g-modal__dialog { position: relative; background: #fff; border-radius: var(--g-r-lg); box-shadow: var(--g-shadow-lg); width: 100%; max-width: 460px; }

/* cookie consent */
.g-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; max-width: 760px; margin: 0 auto; background: var(--g-ink); color: #e8eef6; border-radius: var(--g-r-lg); box-shadow: var(--g-shadow-lg); padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: var(--g-fs-sm); }
.g-cookie p { margin: 0; flex: 1 1 260px; }
.g-cookie a { color: #9cc7f2 !important; text-decoration: underline; }
.g-cookie__actions { display: flex; gap: 8px; }
body.has-buybar .g-cookie { bottom: 84px; }

/* announcement */
.g-announce { background: var(--g-accent); color: #fff; text-align: center; font-size: var(--g-fs-sm); padding: 7px 16px; }

/* checkout */
.g-checkout { padding: 28px 0 56px; }
.g-checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.g-checkout__aside { position: sticky; top: calc(var(--g-header-h, 0px) + 16px); }
.g-options { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.g-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--g-line-strong); border-radius: var(--g-r); background: #fff; cursor: pointer; }
.g-option:has(input:checked) { border-color: var(--g-accent); box-shadow: inset 0 0 0 1px var(--g-accent); background: var(--g-accent-50); }
.g-option input { margin-top: 4px; accent-color: var(--g-accent); width: 18px; height: 18px; flex: none; }
.g-option__body { flex: 1; }
.g-option__title { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--g-ink); }
.g-option__desc { font-size: var(--g-fs-sm); color: var(--g-muted); margin-top: 2px; white-space: pre-line; }
.g-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: var(--g-fs-sm); color: var(--g-muted); flex-wrap: wrap; }
.g-steps li { display: flex; align-items: center; gap: 6px; }
.g-steps li.is-active { color: var(--g-ink); font-weight: 600; }
.g-steps li + li::before { content: "›"; margin-right: 6px; color: var(--g-subtle); }
.g-summary__line { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--g-line); font-size: var(--g-fs-sm); }
.g-summary__line img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--g-line); border-radius: 8px; background: #fff; flex: none; }
.g-summary__line .g-num { margin-left: auto; white-space: nowrap; font-weight: 600; }
.g-summary__qty { color: var(--g-muted); }

/* blog */
.g-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }

/* contact page */
.g-map { border: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--g-r-lg); background: var(--g-surface-2); }
.g-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }

/* product option warnings */
.g-line.has-problem { background: var(--g-warning-50); }
.g-line__problem { font-size: var(--g-fs-xs); color: var(--g-warning); font-weight: 600; }

@media (max-width: 991.98px) {
    .g-checkout__layout, .g-blog-layout { grid-template-columns: minmax(0, 1fr); }
    .g-checkout__aside { position: static; }
}
