/*
Theme Name: AG Developer v4
Theme URI: https://andriusg.developer.lt
Author: Andrius Godeliauskas
Author URI: https://andriusg.developer.lt
Description: Dark portfolio theme for Andrius G — AI Builder. Features Spline 3D hero, animated AG frame, WooCommerce coffee integration, and full responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ag-developer-v4
Tags: dark, portfolio, one-page, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, e-commerce
*/

/* ══════════════════════════════════════
   BRAND TOKENS
══════════════════════════════════════ */
:root {
  --color-bg:             #0a0a0a;
  --color-surface:        #141414;
  --color-accent:         #e87a2e;
  --color-accent-hover:   #f59042;
  --color-white:          #ffffff;
  --color-text-secondary: #999999;
  --color-text-muted:     #555555;
  --color-status-green:   #22c55e;

  --border-subtle:        rgba(255,255,255, 0.06);
  --border-default:       rgba(255,255,255, 0.12);
  --border-hover:         rgba(255,255,255, 0.25);

  --surface-subtle:       rgba(255,255,255, 0.04);
  --surface-hover:        rgba(255,255,255, 0.08);

  --font-family:          'Inter', sans-serif;

  --sp-xs:  8px;
  --sp-sm:  14px;
  --sp-md:  24px;
  --sp-lg:  36px;
  --sp-xl:  48px;

  --radius-pill:   50px;
  --radius-button: 12px;
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-white);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* WordPress Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--color-surface);
  clip: auto !important;
  clip-path: none;
  color: var(--color-white);
  display: block;
  font-size: 14px;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WordPress alignment */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.aligncenter { text-align: center; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.ag-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.ag-nav__logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--color-white);
  text-decoration: none;
}

.ag-nav__logo::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
}

.ag-nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.ag-nav__links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}

.ag-nav__links a:hover,
.ag-nav__links .current-menu-item a,
.ag-nav__links .current_page_item a {
  color: var(--color-accent);
}

.ag-nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ag-nav__cta-text {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ag-nav__cta-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
}

.ag-nav__cta-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.ag-nav__cta-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
}

/* ══════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════ */
.ag-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 110;
}

.ag-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
  border-radius: 2px;
}

.ag-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ag-hamburger.active span:nth-child(2) { opacity: 0; }
.ag-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.ag-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.ag-mobile-overlay.open { display: flex; }

.ag-mobile-overlay a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color 0.3s;
}

.ag-mobile-overlay a:hover { color: var(--color-accent); }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.ag-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.ag-hero__spline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ag-hero__spline canvas {
  width: 100% !important;
  height: 100% !important;
  pointer-events: auto;
}

.ag-hero__spline::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 60px;
  background: var(--color-bg);
  z-index: 10;
  pointer-events: none;
}

.ag-hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(200px, 25vw, 400px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -5px;
  user-select: none;
}

.ag-hero__headline {
  position: relative;
  z-index: 2;
}

.ag-hero__headline h1 {
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -3px;
  margin-bottom: 0;
}

.ag-hero__headline h1 span {
  display: block;
}

.ag-hero__headline .accent {
  color: var(--color-accent);
}

.ag-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-xl);
}

.ag-hero__tagline {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.8;
  color: rgba(255,255,255, 0.7);
  max-width: 320px;
}

.ag-hero__tagline strong {
  color: var(--color-accent);
  font-weight: 700;
  font-style: italic;
}

.ag-hero__role {
  display: block;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

.ag-cursor {
  animation: ag-blink 1s step-end infinite;
  color: var(--color-accent);
  margin-left: 2px;
}

@keyframes ag-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ag-hero__description {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 320px;
  text-align: right;
}

.ag-hero__skills {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ag-skill-tag {
  padding: 10px 24px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255, 0.7);
  transition: all 0.3s;
}

.ag-skill-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  background: rgba(232, 122, 46, 0.1);
}

.ag-hero__cta {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  padding-top: 32px;
  text-align: center;
  width: 100%;
}

.ag-hero__cta a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color 0.3s;
}

.ag-hero__cta a:hover {
  color: var(--color-white);
}

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
.ag-section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.ag-section__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-status-green);
  margin-bottom: 12px;
  font-family: 'Fira Code', monospace;
}

.ag-section__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 48px;
}

.ag-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 4px 4px 4px 0;
}

/* ══════════════════════════════════════
   PAGE HEADER (internal pages)
══════════════════════════════════════ */
.ag-page-header {
  padding: 160px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.ag-page-header__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-status-green);
  margin-bottom: 12px;
  font-family: 'Fira Code', monospace;
}

.ag-page-header__title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -2px;
}

.ag-page-header__title .accent {
  color: var(--color-accent);
}

.ag-page-header__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-top: 24px;
}

.ag-page-header__line {
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 32px;
  border-radius: 2px;
}

/* ══════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════ */
.ag-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ag-about__text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.ag-about__quote {
  font-style: italic;
  color: var(--color-accent);
  font-size: 16px;
  margin-bottom: 24px;
}

.ag-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.ag-about__frame {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 378px;
  margin: 0 auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ag-about__frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: conic-gradient(from var(--border-angle), var(--color-accent), #22c55e, #3b82f6, #8b5cf6, var(--color-accent));
  animation: ag-border-spin 4s linear infinite;
}

.ag-about__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #0a0a14;
}

@keyframes ag-border-spin {
  to { --border-angle: 360deg; }
}

.ag-about__initials {
  position: relative;
  z-index: 2;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255, 0.12);
  user-select: none;
}

/* ══════════════════════════════════════
   WHAT I DO (SKILLS CARDS)
══════════════════════════════════════ */
.ag-whatido__nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.ag-whatido__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--color-status-green);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ag-whatido__nav button:hover {
  background: var(--surface-hover);
  border-color: var(--color-status-green);
}

.ag-whatido__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ag-whatido__carousel::-webkit-scrollbar { display: none; }

/* Grid version for about page */
.ag-whatido__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ag-whatido__card {
  min-width: 320px;
  padding: 32px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  scroll-snap-align: start;
  transition: border-color 0.3s, transform 0.3s;
}

.ag-whatido__grid .ag-whatido__card {
  min-width: auto;
}

.ag-whatido__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ag-whatido__icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.ag-whatido__card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ag-whatido__card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.ag-whatido__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* ══════════════════════════════════════
   PROJECTS
══════════════════════════════════════ */
.ag-projects__filters {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ag-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.ag-filter-btn.active,
.ag-filter-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Home page project cards */
.ag-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ag-project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.ag-project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ag-project-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 480px;
}

.ag-project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.ag-project-card:hover .ag-project-card__img {
  opacity: 0.6;
}

.ag-project-card__overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
  margin: -24px;
  padding: 24px;
  margin-top: auto;
}

.ag-project-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ag-project-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Projects page cards (with preview area) */
.ag-projects-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ag-project-page-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}

.ag-project-page-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ag-project-page-card--featured {
  grid-column: span 2;
}

.ag-project-page-card__preview {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255,255,255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.ag-project-page-card__preview-text {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255, 0.04);
  text-transform: uppercase;
  user-select: none;
}

.ag-project-page-card--featured .ag-project-page-card__preview {
  aspect-ratio: 21/9;
}

.ag-project-page-card__body {
  padding: 28px;
}

.ag-project-page-card__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ag-project-page-card__body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ag-project-page-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ag-project-page-card__tags .ag-tag {
  margin: 0;
}

.ag-project-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 0.3s;
}

.ag-project-page-card__link:hover {
  gap: 10px;
}

/* ══════════════════════════════════════
   HOW I WORK (VIBE CODING)
══════════════════════════════════════ */
.ag-vibe__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.ag-terminal {
  background: rgba(255,255,255, 0.03);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
}

.ag-terminal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.ag-terminal__dots {
  display: flex;
  gap: 8px;
}

.ag-terminal__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ag-terminal__dots span:nth-child(1) { background: #ff5f57; }
.ag-terminal__dots span:nth-child(2) { background: #ffbd2e; }
.ag-terminal__dots span:nth-child(3) { background: #28c840; }

.ag-terminal__file {
  font-size: 12px;
  font-family: 'Fira Code', monospace;
  color: var(--color-text-muted);
  background: rgba(255,255,255, 0.05);
  padding: 4px 12px;
  border-radius: 6px;
}

.ag-terminal__body {
  padding: 24px;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.ag-terminal__body .comment { color: var(--color-text-muted); }
.ag-terminal__body .keyword { color: var(--color-accent); }
.ag-terminal__body .string { color: var(--color-status-green); }
.ag-terminal__body .highlight { background: rgba(232,122,46, 0.12); padding: 2px 4px; border-radius: 3px; }

.ag-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ag-stat-card {
  padding: 32px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 16px;
}

.ag-stat-card__number {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.ag-stat-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.ag-contact__content {
  text-align: center;
  max-width: 378px;
  margin: 0 auto;
}

.ag-contact__icon {
  margin-bottom: 32px;
}

.ag-contact__icon svg {
  width: 64px;
  height: 64px;
}

.ag-contact__row-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.ag-contact__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ag-contact__copy {
  padding: 6px 16px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-family);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.ag-contact__copy:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.ag-contact__badge {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--color-status-green);
}

.ag-contact__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.ag-contact__socials a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.ag-contact__socials a:hover {
  color: var(--color-white);
}

.ag-contact__socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Contact page (2-column) */
.ag-contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ag-contact-page__info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.ag-contact-page__info p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.ag-contact-page__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.3s;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ag-contact-page__row:hover {
  border-color: var(--border-hover);
}

.ag-contact-page__socials {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.ag-contact-page__socials a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--surface-subtle);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}

.ag-contact-page__socials a:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  background: rgba(232, 122, 46, 0.1);
}

.ag-contact-page__socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ag-contact-page__cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  text-align: center;
}

.ag-contact-page__cta-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ag-contact-page__cta-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   BUY ME A COFFEE
══════════════════════════════════════ */
.ag-coffee__desc {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.ag-coffee__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.ag-coffee__card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.ag-coffee__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ag-coffee__card--popular {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, rgba(232,122,46,0.08) 0%, var(--surface-subtle) 100%);
}

.ag-coffee__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.ag-coffee__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.ag-coffee__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ag-coffee__price {
  font-size: 42px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 24px;
  line-height: 1;
}

.ag-coffee__btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.ag-coffee__btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.ag-coffee__loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  padding: 40px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.ag-footer {
  text-align: center;
  padding: 48px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--color-text-muted);
}

.ag-footer a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.ag-footer a:hover { color: var(--color-white); }

/* Back to top */
.ag-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
}

.ag-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.ag-back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.ag-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ══════════════════════════════════════
   GENERIC PAGE CONTENT
══════════════════════════════════════ */
.ag-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 48px 80px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.ag-page-content h1,
.ag-page-content h2,
.ag-page-content h3,
.ag-page-content h4 {
  color: var(--color-white);
  margin-bottom: 16px;
  margin-top: 32px;
}

.ag-page-content p { margin-bottom: 20px; }
.ag-page-content a { color: var(--color-accent); text-decoration: underline; }
.ag-page-content a:hover { color: var(--color-accent-hover); }
.ag-page-content ul, .ag-page-content ol { margin-left: 24px; margin-bottom: 20px; }
.ag-page-content li { margin-bottom: 8px; }

.ag-page-content img {
  border-radius: 16px;
  margin: 24px 0;
}

.ag-page-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-accent);
}

/* ══════════════════════════════════════
   WOOCOMMERCE OVERRIDES
══════════════════════════════════════ */
.woocommerce-page .ag-section {
  padding-top: 40px;
}

.ag-shop-section .ag-coffee__grid {
  max-width: 900px;
  margin: 0 auto;
}

/* Hide sorting & result count */
.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}

.ag-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
}

.ag-product-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.ag-product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.ag-product-card__image {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.ag-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-product-card__body {
  padding: 14px;
}

.ag-product-card__body h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ag-product-card__body h3 a {
  color: var(--color-white);
  text-decoration: none;
}

.ag-product-card__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.ag-product-card__btn {
  display: inline-block;
  padding: 7px 16px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.ag-product-card__btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Single product */
.ag-single-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.ag-single-product__image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-default);
}

.ag-single-product__image img {
  width: 100%;
  height: auto;
}

.ag-single-product__info h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.ag-single-product__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.ag-single-product__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════
   WOOCOMMERCE — LIGHT THEME FOR CART/CHECKOUT/ORDER
══════════════════════════════════════ */

/* Light page variables (scoped to cart/checkout/order pages) */
.ag-light-page {
  --lp-bg: #f5f5f7;
  --lp-white: #ffffff;
  --lp-text: #1a1a1a;
  --lp-text-secondary: #666666;
  --lp-text-muted: #999999;
  --lp-border: #e5e5e5;
  --lp-border-hover: #d0d0d0;
  --lp-input-bg: #fafafa;
  --lp-danger: #ef4444;
  --lp-danger-bg: #fef2f2;
  --lp-success: #22c55e;
  --lp-success-bg: #f0fdf4;
  --lp-success-border: #bbf7d0;
  --lp-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --lp-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
}

/* Override body/page backgrounds */
.ag-light-page {
  background: var(--lp-bg) !important;
}

.ag-light-page .ag-page-content {
  background: var(--lp-bg);
  color: var(--lp-text);
  max-width: 1200px;
  width: 100%;
  padding: 24px 24px 80px;
}

.ag-light-page .ag-page-content h1 {
  color: var(--lp-text);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

/* Center cart & checkout titles */
.ag-light-page .ag-page-content h1 {
  text-align: center;
}

.woocommerce-checkout.ag-light-page .woocommerce-order {
  max-width: 700px;
  margin: 0 auto;
}

/* Light header */
.ag-light-page .ag-nav {
  background: var(--lp-white);
  border-bottom: 1px solid var(--lp-border);
  position: relative;
}

.ag-light-page .ag-nav__logo {
  color: var(--lp-text);
}

.ag-light-page .ag-nav__links a,
.ag-light-page .ag-nav__links li a {
  color: var(--lp-text-secondary);
}

.ag-light-page .ag-nav__links a:hover,
.ag-light-page .ag-nav__links li a:hover {
  color: var(--lp-text);
}

.ag-light-page .ag-nav__cta-text {
  color: var(--lp-text-muted);
}

.ag-light-page .ag-nav__cta-btn {
  border-color: var(--lp-border);
}

.ag-light-page .ag-nav__cta-btn svg path {
  stroke: var(--lp-text);
}

.ag-light-page .ag-hamburger span {
  background: var(--lp-text);
}

/* Light footer */
.ag-light-page .ag-footer {
  background: var(--lp-white);
  color: var(--lp-text-muted);
  border-top: 1px solid var(--lp-border);
}

/* ── CART CARD LAYOUT ── */
.ag-light-page .woocommerce-cart-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ag-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ag-cart-item {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--lp-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ag-cart-item:hover {
  box-shadow: var(--lp-shadow-hover);
  border-color: var(--lp-border-hover);
}

.ag-cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ag-cart-item__info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ag-cart-item__image {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ag-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-cart-item__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 4px;
}

.ag-cart-item__name a {
  color: var(--lp-text);
  text-decoration: none;
}

.ag-cart-item__name a:hover {
  color: var(--color-accent);
}

.ag-cart-item__price {
  font-size: 14px;
  color: var(--lp-text-secondary);
}

.ag-cart-item__remove a.remove {
  color: var(--lp-text-muted);
  font-size: 22px;
  text-decoration: none;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ag-cart-item__remove a.remove:hover {
  color: var(--lp-danger);
  background: var(--lp-danger-bg);
}

.ag-cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--lp-border);
}

.ag-cart-item__subtotal {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text);
}

.ag-cart__actions {
  display: none;
}

/* Hide "added to cart" notice on cart page — user is already in the cart */
.woocommerce-cart.ag-light-page .woocommerce-message {
  display: none;
}

/* Quantity control with +/− buttons */
.ag-qty-control {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f7;
}

.ag-qty-control__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.ag-qty-control__btn:hover {
  background: #fff;
  color: #1a1a1a;
}

.ag-qty-control__btn:active {
  background: #e5e5e5;
}

.ag-qty-control input[type="number"] {
  width: 44px;
  height: 40px;
  padding: 0;
  background: #fff;
  border: none;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
  outline: none;
}

.ag-qty-control input[type="number"]::-webkit-inner-spin-button,
.ag-qty-control input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* (coupon block removed — not needed)

/* Buttons */
.ag-light-page .woocommerce .button,
.ag-light-page .woocommerce button.button,
.ag-light-page .woocommerce input.button,
.ag-light-page .woocommerce a.button,
.ag-light-page .button,
.ag-light-page button.button,
.ag-light-page a.button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.ag-light-page .button:hover,
.ag-light-page button.button:hover,
.ag-light-page a.button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.ag-light-page button[name="update_cart"] {
  background: transparent !important;
  color: var(--lp-text) !important;
  border: 1.5px solid var(--lp-border) !important;
}

.ag-light-page button[name="update_cart"]:hover {
  background: transparent !important;
  border-color: var(--lp-text) !important;
}

/* Cart totals */
/* Cart page 2-column layout: form left, totals right */
/* Cart page: single column, stacked layout */
.woocommerce-cart.ag-light-page .ag-page-content > .woocommerce {
  display: block;
  max-width: 700px;
  margin: 0 auto;
}

.woocommerce-cart.ag-light-page .cart-collaterals {
  margin-top: 24px;
}

.ag-light-page .cart_totals {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--lp-shadow);
}

.ag-light-page .cart_totals h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--lp-text);
}

.ag-light-page .cart_totals table { width: 100%; }

.ag-light-page .cart_totals table th {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--lp-text-secondary);
  text-align: left;
  border-bottom: 1px solid var(--lp-border);
}

.ag-light-page .cart_totals table td {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text);
  text-align: right;
  border-bottom: 1px solid var(--lp-border);
}

.ag-light-page .cart_totals .order-total th {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-text);
  border-bottom: none;
}

.ag-light-page .cart_totals .order-total td {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
  border-bottom: none;
}

/* Remove any extra WooCommerce borders/backgrounds on cart totals cells */
.ag-light-page .cart_totals td *,
.ag-light-page .cart_totals .amount {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.ag-light-page .wc-proceed-to-checkout a.button {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

/* ── CHECKOUT ── */

/* Billing in a card */
.ag-light-page .col2-set {
  display: block;
  margin-bottom: 24px;
}

/* Only style col-1 (billing) as a card — col-2 (shipping/additional) hides if empty */
.ag-light-page .col2-set > .col-1 {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--lp-shadow);
  margin-bottom: 20px;
}

/* Hide col-2 when shipping is not used (contains only empty divs) */
.ag-light-page .col2-set > .col-2 {
  display: none;
}

/* Show col-2 only if shipping fields are visible */
.ag-light-page .col2-set > .col-2:has(.shipping_address) {
  display: block;
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--lp-shadow);
  margin-bottom: 20px;
}

.ag-light-page .col2-set h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 20px;
}

/* Checkout form: single column, stacked layout */
.ag-light-page form.checkout {
  display: block !important;
  max-width: 700px;
  margin: 0 auto;
}

.ag-light-page form.checkout #order_review_heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text);
  margin: 24px 0 16px;
}

.ag-light-page .woocommerce-checkout .form-row,
.ag-light-page .woocommerce-checkout .woocommerce-form-row {
  margin-bottom: 16px;
}

.ag-light-page .woocommerce-checkout label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text-secondary);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
  text-transform: none;
}

.ag-light-page .woocommerce-checkout label .required {
  color: var(--color-accent);
}

.ag-light-page .woocommerce-checkout input[type="text"],
.ag-light-page .woocommerce-checkout input[type="email"],
.ag-light-page .woocommerce-checkout input[type="tel"],
.ag-light-page .woocommerce-checkout input[type="url"],
.ag-light-page .woocommerce-checkout input[type="number"],
.ag-light-page .woocommerce-checkout input[type="password"],
.ag-light-page .woocommerce-checkout textarea,
.ag-light-page .woocommerce-checkout select,
.ag-light-page .woocommerce-checkout .select2-container .select2-selection {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--lp-text);
  background: var(--lp-input-bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.ag-light-page .woocommerce-checkout input:focus,
.ag-light-page .woocommerce-checkout textarea:focus,
.ag-light-page .woocommerce-checkout select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 122, 46, 0.1);
}

.ag-light-page .woocommerce-checkout input::placeholder,
.ag-light-page .woocommerce-checkout textarea::placeholder {
  color: var(--lp-text-muted);
}

.ag-light-page .woocommerce-checkout select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.ag-light-page .woocommerce-checkout textarea {
  min-height: 80px;
  resize: vertical;
}

/* Order review */
.ag-light-page .woocommerce-checkout-review-order {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--lp-shadow);
  margin-top: 0;
}

.ag-light-page #order_review_heading {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--lp-text) !important;
  margin-bottom: 16px !important;
}

.ag-light-page .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.ag-light-page .woocommerce-checkout-review-order-table th,
.ag-light-page .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  font-size: 14px;
  color: var(--lp-text-secondary);
  border-bottom: 1px solid var(--lp-border);
  border-left: none;
  border-right: none;
  border-top: none;
  background: none;
}

.ag-light-page .woocommerce-checkout-review-order-table th {
  font-weight: 600;
  text-align: left;
}

.ag-light-page .woocommerce-checkout-review-order-table td {
  font-weight: 600;
  color: var(--lp-text);
  text-align: right !important;
}

.ag-light-page .woocommerce-checkout-review-order-table td.product-name,
.ag-light-page .woocommerce-checkout-review-order-table .product-name {
  text-align: left !important;
}

.ag-light-page .woocommerce-checkout-review-order-table thead th:first-child {
  text-align: left !important;
}

.ag-light-page .woocommerce-checkout-review-order-table thead th:last-child {
  text-align: right !important;
}

/* Remove all inner borders from order review */
.ag-light-page .woocommerce-checkout-review-order-table *,
.ag-light-page .woocommerce-checkout-review-order-table .amount {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  background: none !important;
}

.ag-light-page .woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
}

.ag-light-page .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

.ag-light-page .woocommerce-checkout-review-order-table .order-total th,
.ag-light-page .woocommerce-checkout-review-order-table .order-total td {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
  border-bottom: none;
  padding-top: 16px;
}

/* Payment methods */
.ag-light-page #payment {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--lp-shadow);
  margin-top: 20px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.ag-light-page #payment ul.payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ag-light-page #payment ul.payment_methods li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--lp-white);
  border: 1.5px solid var(--lp-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.ag-light-page #payment ul.payment_methods li:hover {
  border-color: var(--lp-border-hover);
  background: var(--lp-input-bg);
}

.ag-light-page #payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
  border-color: var(--color-accent);
  background: rgba(232, 122, 46, 0.03);
  box-shadow: 0 0 0 3px rgba(232, 122, 46, 0.08);
}

.ag-light-page #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked ~ label {
  color: var(--lp-text);
}

/* Only target the DIRECT payment method label, not Paysera's nested labels */
.ag-light-page #payment ul.payment_methods li > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lp-text);
  cursor: pointer;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

.ag-light-page #payment ul.payment_methods li > label img {
  height: 24px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  vertical-align: middle;
}

/* Paysera radio-control labels — full width with gaps */
.ag-light-page #payment .payment_box label.radio-control__option,
.ag-light-page #payment .payment_box label.paysera-radio-control {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 12px;
  border: 1.5px solid var(--lp-border) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  background: var(--lp-white) !important;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
}

.ag-light-page #payment .payment_box label.radio-control__option:hover,
.ag-light-page #payment .payment_box label.paysera-radio-control:hover {
  border-color: var(--lp-border-hover) !important;
  box-shadow: var(--lp-shadow);
}

.ag-light-page #payment .payment_box label.radio-control__option:has(input:checked),
.ag-light-page #payment .payment_box label.paysera-radio-control:has(input:checked) {
  border-color: var(--color-accent) !important;
  background: rgba(232, 122, 46, 0.03) !important;
  box-shadow: 0 0 0 3px rgba(232, 122, 46, 0.08);
}

.ag-light-page #payment ul.payment_methods li input[type="radio"] {
  -webkit-appearance: auto;
  -moz-appearance: radio;
  appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--color-accent);
  margin-right: 10px;
  cursor: pointer;
}

.ag-light-page #payment .payment_box {
  padding: 16px 0 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp-text-secondary);
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Force ALL Paysera elements to full width */
.ag-light-page #payment .payment_box * {
  box-sizing: border-box !important;
  color: var(--lp-text-secondary);
}

/* Paysera wrapper divs — full width, exclude react-select internals */
.ag-light-page #payment .payment_box > div {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* React Select — country dropdown only */
.ag-light-page #payment .payment_box [class*="country-select__control"],
.ag-light-page #payment .payment_box [class*="country_select__control"] {
  border: 1px solid var(--lp-border) !important;
  border-radius: 10px !important;
  background: var(--lp-input-bg) !important;
  min-height: 40px;
  cursor: pointer;
}

.ag-light-page #payment .payment_box [class*="singleValue"] {
  color: var(--lp-text) !important;
}

.ag-light-page #payment .payment_box [class*="indicatorSeparator"] {
  display: none !important;
}

.ag-light-page #payment .payment_box [class*="country-select"] [data-value],
.ag-light-page #payment .payment_box [class*="country_select"] [data-value] {
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Paysera info icon — keep inline */
.ag-light-page #payment .payment_box button {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
}

/* Paysera — override any dark backgrounds inside payment_box */
.ag-light-page #payment .payment_box [style*="background"],
.ag-light-page #payment .payment_box [class*="popover"],
.ag-light-page #payment .payment_box [role="tooltip"] {
  background: var(--lp-input-bg) !important;
  color: var(--lp-text-secondary) !important;
  border: 1px solid var(--lp-border) !important;
  border-radius: 10px !important;
}

.ag-light-page #payment .payment_box h3,
.ag-light-page #payment .payment_box h4,
.ag-light-page #payment .payment_box strong {
  color: var(--lp-text);
}

/* Paysera country selector */
.ag-light-page #payment .payment_box select,
.ag-light-page #payment .payment_box input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--lp-text);
  background: var(--lp-input-bg);
  outline: none;
  margin-bottom: 12px;
  -webkit-appearance: none;
}

/* Paysera bank selection list */
.ag-light-page #payment .payment_box .paysera-payments,
.ag-light-page #payment .payment_box ul,
.ag-light-page #payment .payment_box .payment-methods-list,
.ag-light-page #payment .payment_box table {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  list-style: none;
  padding: 0 !important;
  margin: 12px 0 0 0 !important;
  border: none !important;
  border-collapse: separate !important;
  width: 100% !important;
}

/* Paysera table rows */
.ag-light-page #payment .payment_box table tr,
.ag-light-page #payment .payment_box table tbody {
  display: contents !important;
}

.ag-light-page #payment .payment_box table td,
.ag-light-page #payment .payment_box li,
.ag-light-page #payment .payment_box .paysera-payment-method {
  border: 1.5px solid var(--lp-border) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--lp-white) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

.ag-light-page #payment .payment_box table td:hover,
.ag-light-page #payment .payment_box li:hover,
.ag-light-page #payment .payment_box .paysera-payment-method:hover {
  border-color: var(--lp-border-hover) !important;
  box-shadow: var(--lp-shadow);
}

.ag-light-page #payment .payment_box table td:has(input:checked),
.ag-light-page #payment .payment_box li.selected,
.ag-light-page #payment .payment_box li:has(input[type="radio"]:checked),
.ag-light-page #payment .payment_box .paysera-payment-method.selected {
  border-color: var(--color-accent) !important;
  background: rgba(232, 122, 46, 0.03) !important;
  box-shadow: 0 0 0 3px rgba(232, 122, 46, 0.08);
}

.ag-light-page #payment .payment_box table td img,
.ag-light-page #payment .payment_box li img,
.ag-light-page #payment .payment_box .paysera-payment-method img {
  height: 32px;
  width: 32px;
  min-width: 32px;
  object-fit: contain;
  border-radius: 6px !important;
  border: none !important;
}

/* Paysera radio buttons — hidden, card click is enough */
.ag-light-page #payment .payment_box input[type="radio"] {
  display: none !important;
}

.ag-light-page #payment .payment_box table td label,
.ag-light-page #payment .payment_box li label,
.ag-light-page #payment .payment_box .paysera-payment-method span {
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-text);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
  flex: 1 1 0% !important;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
}

.ag-light-page #payment .payment_box li label small,
.ag-light-page #payment .payment_box li label .description {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--lp-text-secondary);
  margin-top: 2px;
}

/* Place order */
.ag-light-page #payment .place-order {
  margin-top: 20px;
}

.ag-light-page #payment #place_order {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
}

/* Terms */
.ag-light-page .woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  color: var(--lp-text-muted);
  margin-bottom: 16px;
}

.ag-light-page .woocommerce-terms-and-conditions-wrapper a {
  color: var(--color-accent);
}

/* ── ORDER RECEIVED / THANK YOU ── */
.ag-light-page .woocommerce-order-received .ag-page-content,
.ag-light-page .woocommerce-thankyou-order-received {
  color: var(--lp-text);
}

.ag-light-page .woocommerce-thankyou-order-received {
  text-align: center;
  padding: 40px 24px;
  background: var(--lp-success-bg);
  border: 1px solid var(--lp-success-border);
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #166534;
}

.ag-light-page .woocommerce-order-overview {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--lp-shadow);
  margin-bottom: 24px;
}

.ag-light-page .woocommerce-order-overview li {
  font-size: 14px;
  color: var(--lp-text-secondary);
}

.ag-light-page .woocommerce-order-overview li strong {
  display: block;
  font-size: 16px;
  color: var(--lp-text);
  margin-top: 4px;
}

.ag-light-page .woocommerce-order-details,
.ag-light-page .woocommerce-customer-details {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--lp-shadow);
  margin-bottom: 24px;
}

.ag-light-page .woocommerce-order-details h2,
.ag-light-page .woocommerce-customer-details h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 16px;
}

.ag-light-page .woocommerce-order-details table,
.ag-light-page .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
}

.ag-light-page .woocommerce-table--order-details th,
.ag-light-page .woocommerce-table--order-details td {
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--lp-border);
  color: var(--lp-text-secondary);
}

.ag-light-page .woocommerce-table--order-details th {
  text-align: left;
  font-weight: 600;
}

.ag-light-page .woocommerce-table--order-details td {
  font-weight: 600;
  color: var(--lp-text);
}

.ag-light-page .woocommerce-table--order-details td.product-name {
  text-align: left !important;
}

.ag-light-page .woocommerce-table--order-details td.product-total {
  text-align: right !important;
}

.ag-light-page .woocommerce-table--order-details tfoot th {
  text-align: left;
}

.ag-light-page .woocommerce-table--order-details tfoot td {
  text-align: right;
}

.ag-light-page .woocommerce-table--order-details tfoot .order-total th,
.ag-light-page .woocommerce-table--order-details tfoot .order-total td {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent);
  border-bottom: none;
}

/* ── NOTICES ── */
.ag-light-page .woocommerce-message,
.ag-light-page .woocommerce-info,
.ag-light-page .woocommerce-error {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.ag-light-page .woocommerce-message {
  background: var(--lp-success-bg);
  border: 1px solid var(--lp-success-border);
  color: #166534;
}

.ag-light-page .woocommerce-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.ag-light-page .woocommerce-error {
  background: var(--lp-danger-bg);
  border: 1px solid #fecaca;
  color: #991b1b;
  list-style: none;
  padding-left: 20px;
}

.ag-light-page .woocommerce-message a,
.ag-light-page .woocommerce-info a {
  color: var(--color-accent);
  font-weight: 600;
}

/* Empty cart */
.ag-light-page .cart-empty {
  text-align: center;
  font-size: 18px;
  color: var(--lp-text-muted);
  padding: 80px 24px;
  background: var(--lp-white);
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
}

.ag-light-page .return-to-shop {
  text-align: center;
  margin-top: 24px;
}

/* WooCommerce pagination (for shop pages — keep dark) */
.woocommerce nav.woocommerce-pagination {
  margin-top: 48px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* ── THANKYOU / ORDER RECEIVED CUSTOM COMPONENTS ── */
.ag-order-banner {
  text-align: center;
  padding: 48px 32px;
  background: var(--lp-white);
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow);
  margin-bottom: 24px;
}

.ag-order-banner__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ag-order-banner__icon svg { width: 36px; height: 36px; }

.ag-order-banner__icon--success {
  background: var(--lp-success-bg);
  border: 2px solid var(--lp-success-border);
  color: var(--lp-success);
}

.ag-order-banner__icon--failed {
  background: var(--lp-danger-bg);
  border: 2px solid #fecaca;
  color: var(--lp-danger);
}

.ag-order-banner__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--lp-text);
}

.ag-order-banner__text {
  font-size: 16px;
  color: var(--lp-text-secondary);
  line-height: 1.5;
}

.ag-order-banner__ref {
  font-size: 14px;
  color: var(--lp-text-muted);
  margin-top: 8px;
}

.ag-order-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  box-shadow: var(--lp-shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.ag-order-card__header {
  padding: 20px 28px;
  background: #fafafa;
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ag-order-card__header-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-text);
}

.ag-order-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text);
  padding: 20px 28px 0;
}

.ag-order-card__body {
  padding: 24px 28px;
}

.ag-order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.ag-order-status--success {
  background: var(--lp-success-bg);
  color: #166534;
  border: 1px solid var(--lp-success-border);
}

.ag-order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ag-order-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ag-order-info-item__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--lp-text-muted);
}

.ag-order-info-item__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--lp-text);
}

.ag-help-tips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 28px 24px;
  margin: 0;
}

.ag-help-tips li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--lp-text-secondary);
  line-height: 1.5;
}

.ag-help-tips__num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--lp-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text-secondary);
}

.ag-order-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ag-order-actions__btn--primary {
  background: var(--color-accent) !important;
}

.ag-order-actions__btn--secondary {
  background: var(--lp-white) !important;
  color: var(--lp-text) !important;
  border: 1px solid var(--lp-border) !important;
}

.ag-order-actions__btn--secondary:hover {
  border-color: var(--lp-border-hover) !important;
  background: #fafafa !important;
}

/* Responsive thankyou */
@media (max-width: 768px) {
  .ag-order-banner { padding: 36px 24px; }
  .ag-order-banner__title { font-size: 22px; }
  .ag-order-banner__icon { width: 60px; height: 60px; }
  .ag-order-banner__icon svg { width: 28px; height: 28px; }
  .ag-order-card__header { padding: 16px 20px; }
  .ag-order-card__body { padding: 20px; }
  .ag-order-card__title { padding: 16px 20px 0; }
  .ag-help-tips { padding: 12px 20px 20px; }
  .ag-order-info-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ag-order-actions { flex-direction: column; }
  .ag-order-actions .button { width: 100%; text-align: center; }
}

@media (max-width: 400px) {
  .ag-order-info-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   FADE ANIMATION
══════════════════════════════════════ */
.ag-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ag-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .ag-section { padding: 80px 32px; }
  .ag-hero { padding: 100px 32px 60px; }
  .ag-nav { padding: 20px 32px; }
  .ag-page-header { padding: 140px 32px 60px; }

  .ag-about__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ag-projects__grid { grid-template-columns: repeat(2, 1fr); }
  .ag-project-card--featured { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; }
  .ag-vibe__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .ag-hero__content { gap: 32px; }
  .ag-hero__description { max-width: 260px; }

  .ag-whatido__card { min-width: 280px; padding: 24px; }
  .ag-whatido__grid { grid-template-columns: repeat(2, 1fr); }

  .ag-stat-card { padding: 24px; }
  .ag-stat-card__number { font-size: 40px; }

  .ag-shop__grid { grid-template-columns: repeat(2, 1fr); }
  .ag-contact-page__grid { gap: 40px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  .ag-section { padding: 64px 20px; }
  .ag-hero { padding: 80px 20px 48px; }
  .ag-nav { padding: 16px 20px; }
  .ag-page-header { padding: 120px 20px 48px; }

  .ag-nav__links { display: none; }
  .ag-nav__cta { display: none; }
  .ag-hamburger { display: flex; }

  .ag-hero__headline h1 { font-size: clamp(48px, 14vw, 100px); letter-spacing: -2px; }
  .ag-hero__bg-text { font-size: clamp(120px, 30vw, 250px); }

  .ag-hero__content {
    flex-direction: column;
    gap: 24px;
  }
  .ag-hero__description {
    text-align: left;
    max-width: 100%;
  }

  .ag-hero__skills { gap: 10px; padding-top: 32px; }
  .ag-skill-tag { padding: 8px 16px; font-size: 11px; }

  .ag-about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ag-about__frame { max-width: 280px; }
  .ag-about__initials { font-size: 80px; }
  .ag-about__text p { font-size: 15px; }

  .ag-section__title { margin-bottom: 32px; }

  .ag-whatido__card { min-width: 260px; padding: 24px; }
  .ag-whatido__card h3 { font-size: 18px; }
  .ag-whatido__grid { grid-template-columns: 1fr; }

  .ag-projects__grid { grid-template-columns: 1fr; max-width: 100%; overflow: hidden; }
  .ag-project-card {
    max-width: 100%;
    min-height: 280px;
  }
  .ag-project-card--featured {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 320px;
    aspect-ratio: 4/3;
  }
  .ag-project-card__img {
    object-fit: cover;
    object-position: top left;
  }

  .ag-projects-page__grid { grid-template-columns: 1fr; }
  .ag-project-page-card--featured { grid-column: span 1; }
  .ag-project-page-card--featured .ag-project-page-card__preview { aspect-ratio: 16/9; }
  .ag-project-page-card__preview-text { font-size: 32px; }
  .ag-project-page-card__body { padding: 20px; }
  .ag-project-page-card__body h3 { font-size: 18px; }

  .ag-vibe__grid { grid-template-columns: 1fr; gap: 24px; }
  .ag-terminal__body { font-size: 12px; padding: 16px; }
  .ag-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .ag-stat-card { flex: 1; min-width: 140px; padding: 20px; }
  .ag-stat-card__number { font-size: 32px; }

  .ag-contact__row {
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .ag-contact__icon svg {
    width: 48px;
    height: 48px;
  }

  .ag-contact-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ag-contact-page__row {
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    text-align: center;
  }
  .ag-contact-page__info h2 { font-size: 24px; }
  .ag-contact-page__info p { font-size: 14px; }
  .ag-contact-page__cta-card { padding: 40px 24px; }

  .ag-coffee__grid { grid-template-columns: 1fr; max-width: 400px; }
  .ag-coffee__desc { font-size: 14px; }
  .ag-coffee__price { font-size: 36px; }

  .ag-footer { padding: 32px 20px; }
  .ag-page-content { padding: 120px 20px 60px; }

  .ag-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 100%; }
  .ag-single-product { grid-template-columns: 1fr; }

  .ag-product-card__body { padding: 10px; }
  .ag-product-card__body h3 { font-size: 13px; }
  .ag-product-card__price { font-size: 16px; margin-bottom: 8px; }
  .ag-product-card__btn { padding: 6px 14px; font-size: 11px; }

  .ag-page-header__desc { font-size: 14px; }
  .ag-filter-btn { padding: 8px 16px; font-size: 12px; }

  /* Light page responsive — mobile cart */
  .ag-cart-item { padding: 20px; }
  .ag-cart-item__image { width: 52px; height: 52px; border-radius: 10px; }
  .ag-cart-item__name { font-size: 15px; }
  .ag-cart-item__subtotal { font-size: 16px; }
  .ag-light-page .cart_totals { max-width: 100%; }
  .ag-light-page form.checkout { max-width: 100%; }
  .ag-light-page .woocommerce-checkout .col2-set > div { padding: 24px 20px; }
  .ag-light-page .woocommerce-checkout-review-order { padding: 24px; }
  .ag-light-page #payment { padding: 16px; }
  .ag-light-page #payment .payment_box {
    padding: 12px 0 0 0;
    overflow: hidden;
  }
  .ag-light-page #payment .payment_box ul,
  .ag-light-page #payment .payment_box .paysera-payments,
  .ag-light-page #payment .payment_box table {
    width: 100% !important;
    gap: 6px !important;
  }
  .ag-light-page #payment .payment_box li,
  .ag-light-page #payment .payment_box table td,
  .ag-light-page #payment .payment_box .paysera-payment-method {
    padding: 10px 12px !important;
    gap: 10px;
  }
  .ag-light-page #payment .payment_box li img,
  .ag-light-page #payment .payment_box table td img,
  .ag-light-page #payment .payment_box .paysera-payment-method img {
    height: 28px;
    width: 28px;
    min-width: 28px;
  }
  .ag-light-page #payment ul.payment_methods li {
    padding: 12px 14px;
  }
  .ag-light-page .woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
  .ag-cart__actions { justify-content: center; }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .ag-section { padding: 48px 16px; }
  .ag-hero { padding: 72px 16px 40px; }
  .ag-nav { padding: 14px 16px; }
  .ag-page-header { padding: 100px 16px 40px; }

  .ag-hero__headline h1 { font-size: clamp(40px, 16vw, 72px); }
  .ag-hero__content { margin-top: 32px; }
  .ag-hero__tagline { font-size: 13px; }
  .ag-hero__role { font-size: 14px; }

  .ag-skill-tag { padding: 6px 12px; font-size: 10px; letter-spacing: 1px; }
  .ag-tag { padding: 4px 10px; font-size: 11px; }

  .ag-whatido__card { min-width: 240px; }
  .ag-whatido__nav button { width: 32px; height: 32px; font-size: 14px; }

  .ag-filter-btn { padding: 6px 14px; font-size: 12px; }

  .ag-stat-card { min-width: 100%; }
  .ag-stats { flex-direction: column; }

  .ag-about__frame { max-width: 220px; }
  .ag-about__initials { font-size: 64px; }

  .ag-hero__cta { margin-top: 32px; padding-top: 24px; }
  .ag-hero__cta a { font-size: 12px; letter-spacing: 2px; }

  .ag-page-header__title { font-size: clamp(36px, 12vw, 64px); }
  .ag-page-content { padding: 100px 16px 40px; font-size: 15px; }

  /* Small mobile cart */
  .ag-cart-item__info { gap: 12px; }
  .ag-cart-item__image { width: 44px; height: 44px; }
  .ag-cart-item__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ag-cart-item__subtotal { align-self: flex-end; }
}
