/*
Theme Name: Arjoshree Gold Theme
Author: Sujan
Version: 2.2
Description: Premium Artificial Jewelry Custom Theme for Arjoshree Gold
*/

/* Elegant serif, used ONLY on the About/Contact/FAQ static pages (scoped
   classes below, prefixed .agp-page-/.agp-craft-/.agp-founder-/.agp-faq-)
   - does not touch any existing homepage/category/product heading font. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --brand-blue: #14509e;        /* Primary Blue - headings, links, accents */
  --brand-blue-dark: #0a2f66;   /* Deep Navy - header/footer background */
  --brand-yellow: #ffc107;      /* Primary Yellow - buttons, CTAs, highlights */
  --brand-yellow-dark: #e0a800; /* Darker Yellow - hover states */
  --brand-white: #ffffff;       /* Primary White - backgrounds */
  --brand-light-blue: #eaf3ff;  /* Light Blue - card/pill backgrounds */
  --brand-border-blue: #cfe3fb; /* Light Blue - borders */
}

.store-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--brand-white);
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.store-header {
  display: flex;
  flex-direction: column;
  background: var(--brand-blue-dark);
  color: #fff;
  padding: 8px 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  gap: 8px;
}

.header-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.header-row-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}
.header-row-bottom .search-box-wrapper {
  flex-grow: 1;
  max-width: none;
}
.header-top-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-chat-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  text-decoration: none;
  color: var(--brand-yellow);
}
.header-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #d9534f;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

@media (min-width: 768px) {
  .store-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .header-row-top,
  .header-row-bottom {
    display: contents;
  }
  .header-row-bottom .search-box-wrapper {
    max-width: 220px;
  }
}

.top-left-menu {
  font-size: 20px;
  cursor: pointer;
  color: var(--brand-yellow);
  padding: 0 4px;
}
.logo-link {
  text-decoration: none;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.site-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--brand-yellow);
}
.logo-text {
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
  color: #fff;
}
.logo-text span {
  color: var(--brand-yellow);
}

.search-box-wrapper {
  display: flex;
  align-items: center;
  background: #222;
  border: 1px solid var(--brand-yellow);
  border-radius: 15px;
  overflow: hidden;
  flex-grow: 1;
  max-width: 190px;
}
.search-box-wrapper input {
  width: 100%;
  padding: 5px 8px;
  border: none;
  font-size: 12px;
  background: transparent;
  color: #fff;
  outline: none;
  box-sizing: border-box;
}
.voice-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  color: var(--brand-yellow);
}
.voice-btn:hover {
  color: #fff;
}

.cart-section {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: #222;
  padding: 4px 8px;
  border-radius: 15px;
  border: 1px solid var(--brand-yellow);
  flex-shrink: 0;
}
.cart-icon {
  font-size: 18px; 
  color: var(--brand-yellow); 
}
.cart-info {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: #fff;
  text-align: left;
  line-height: 1.1;
}
.cart-info span:last-child {
  color: var(--brand-yellow);
  font-weight: bold;
}
.cart-section.cart-pulse {
  animation: agp-cart-pulse 0.6s ease-in-out 2;
}
@keyframes agp-cart-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,193,7,0); }
  50% { transform: scale(1.1); box-shadow: 0 0 12px rgba(255,193,7,0.7); }
}

.login-quick-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #222;
  color: var(--brand-yellow);
  padding: 5px 10px;
  border-radius: 15px;
  border: 1px solid var(--brand-yellow);
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  flex-shrink: 0;
}
.login-quick-btn:hover {
  background: var(--brand-yellow);
  color: #000;
}

.menu-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  background-color: #ffffff;
  padding: 8px 10px;
  box-sizing: border-box;
  border-bottom: 2px solid var(--brand-border-blue);
  z-index: 9999;
}
.fixed-grid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-yellow);
  color: #000000;
  border: none;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 6px;
}
.custom-scroll-menu {
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  gap: 6px;
  scrollbar-width: none;
  width: 100%;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.custom-scroll-menu::-webkit-scrollbar { 
  display: none; 
}
.custom-scroll-menu a, .parent-menu-link {
  display: inline-block;
  color: #333;
  text-decoration: none;
  padding: 5px 12px;
  background-color: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.festive-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-yellow));
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  margin: 14px 12px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 47, 102, 0.25);
  border: 1px solid var(--brand-yellow);
  position: relative;
  z-index: 1;
}
.festive-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.festive-banner-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.festive-banner-text strong {
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.festive-banner-text span {
  font-size: 12px;
  opacity: 0.95;
}
.festive-banner-offer {
  font-size: 11px;
  color: #fff;
  opacity: 0.85;
  margin-top: 4px;
}

.menu-scroll-wrap {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}
.menu-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 24px;
  background: linear-gradient(to right, rgba(255,255,255,0), #ffffff);
  pointer-events: none;
}

.menu-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background-color: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  border-radius: 15px;
  flex-shrink: 0;
}
.menu-item-dropdown .parent-menu-link {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 5px 4px 5px 12px;
}
.menu-item-dropdown .submenu-toggle {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(0,0,0,0.08);
  color: var(--brand-yellow-dark);
  font-size: 11px;
  padding: 5px 10px 5px 6px;
  cursor: pointer;
  border-radius: 0 15px 15px 0;
}
.menu-item-dropdown.open {
  background-color: var(--brand-yellow-dark) !important;
}
.menu-item-dropdown.open .parent-menu-link,
.menu-item-dropdown.open .submenu-toggle {
  color: #ffffff !important;
  opacity: 1 !important;
}
.parent-menu-link.standalone {
  display: inline-block;
}
.custom-scroll-menu .parent-menu-link {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 500;
}
.custom-scroll-menu a.standalone:hover {
    background: var(--brand-yellow-dark) !important;
    color: #fff !important;
    border-color: var(--brand-yellow-dark) !important;
}

.submenu-box {
    display: none;
    position: fixed;
    background: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 999999;
    padding: 8px 0;
    border: 1px solid var(--brand-yellow);
}
.submenu-box a {
    display: block !important;
    padding: 8px 15px !important;
    color: #333 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: left !important;
    font-size: 13px !important;
    white-space: nowrap;
}
.submenu-box a:hover {
    background: var(--brand-light-blue) !important;
    color: var(--brand-yellow-dark) !important;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ============ Hero Section (NEW) ============ */
.agp-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 55%, var(--brand-blue-dark) 100%);
  padding: 38px 16px 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.agp-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: var(--brand-yellow);
  opacity: 0.15;
  border-radius: 50%;
}
.agp-hero::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -40px;
  width: 220px; height: 220px;
  background: var(--brand-white);
  opacity: 0.06;
  border-radius: 50%;
}
.agp-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.agp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--brand-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,193,7,0.4);
}
.agp-hero-title {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
}
.agp-hero-title span {
  color: var(--brand-yellow);
}
.agp-hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin: 0 0 20px;
  line-height: 1.5;
}
.agp-hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.agp-hero-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.agp-hero-btn:hover {
  transform: translateY(-2px);
}
.agp-hero-btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  box-shadow: 0 4px 14px rgba(255,193,7,0.35);
}
.agp-hero-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
@media (min-width: 768px) {
  .agp-hero-title { font-size: 32px; }
  .agp-hero-subtitle { font-size: 15px; }
}

/* ============ Scrolling Offers Ticker (NEW) ============ */
.agp-offers-ticker {
  background: var(--brand-blue-dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
}
.agp-offers-track {
  display: inline-flex;
  gap: 40px;
  animation: agp-ticker-scroll 22s linear infinite;
}
.agp-offers-track span {
  color: var(--brand-yellow);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes agp-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Floating WhatsApp Button (NEW) ============ */
.agp-float-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 99998;
  animation: agp-whatsapp-pulse 2.4s ease-in-out infinite;
}
@keyframes agp-whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 22px rgba(37,211,102,0.7); }
}

.trust-strip {
  display: flex;
  justify-content: space-around;
  background: var(--brand-white);
  padding: 14px 10px;
  border-bottom: 1px solid var(--brand-border-blue);
  font-size: 13px;
  color: #555;
  text-align: center;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-strip span {
  background: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 12px;
  display: inline-block;
}

.shop-by-collection-section {
  padding: 20px 10px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.shop-by-collection-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-yellow-dark);
  margin-bottom: 15px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.collection-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 18px 12px;
  text-decoration: none;
  color: #333;
  display: block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(20,80,158,0.15);
  border-color: var(--brand-yellow);
}
.collection-icon {
  font-size: 24px;
  margin: 0 auto 10px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light-blue), var(--brand-white));
  border: 1px solid var(--brand-border-blue);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.collection-card:hover .collection-icon {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-light-blue));
  border-color: var(--brand-yellow);
}
.collection-label {
  font-weight: 600;
  font-size: 13px;
}

.products-section-heading {
  text-align: center;
  padding: 18px 12px 4px;
}
.products-section-heading h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-yellow-dark);
  margin: 0 0 4px;
}
.products-section-heading p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

.product-card {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--brand-border-blue);
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-img {
  height: 120px;
  background: linear-gradient(135deg, var(--brand-light-blue), var(--brand-light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 6px;
}
.product-img span {
  font-size: 40px;
}
.product-name {
  font-size: 12px;
  font-weight: bold;
  color: #222;
  margin-bottom: 2px;
}
.product-price {
  font-size: 12px;
  color: var(--brand-yellow-dark);
  font-weight: bold;
  margin-bottom: 6px;
}

.qty-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.qty-control button {
  background: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  color: var(--brand-blue);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.qty-control button:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-blue-dark);
}
.qty-input {
  width: 45px;
  height: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid var(--brand-yellow);
  border-radius: 4px;
  box-sizing: border-box;
}

.add-cart-btn {
  width: 100%;
  background: var(--brand-yellow);
  color: #000;
  border: none;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}
.add-cart-btn:hover {
  background: var(--brand-yellow-dark);
  color: #fff;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}
.menu-popup {
  background: #ffffff;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  border-radius: 16px;
  overflow-y: auto;
  padding: 20px;
  border: 2px solid var(--brand-yellow);
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.close-btn {
  background: none; border: none; font-size: 24px; cursor: pointer; color: #666;
}
.popup-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; 
}
.grid-box {
  display: flex;
  align-items: center; justify-content: center; text-align: center;
  background: var(--brand-light-blue); border: 1px solid var(--brand-yellow); border-radius: 8px;
  padding: 10px;
  text-decoration: none; color: #333; font-weight: 600; font-size: 12px;
}

/* Social Media Footer */
.social-footer {
  background: var(--brand-blue-dark);
  padding: 24px 16px;
  margin-top: 20px;
}
.social-footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.social-footer-title {
  color: var(--brand-yellow);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.5px;
}
.social-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.social-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-icon-link:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.social-icon-link.gmail    { background: #ea4335; }
.social-icon-link.whatsapp { background: #25d366; }
.social-icon-link.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon-link.facebook { background: #1877f2; }
.social-icon-link.twitter  { background: #000000; }
.social-icon-link.youtube  { background: #ff0000; }

.social-footer-copy {
  color: #999;
  font-size: 11px;
  margin: 16px 0 0;
}

/* Category Page (taxonomy-agp_category.php) Heading + Layout */
.agp-cat-page-heading {
  text-align: center;
  padding: 20px 12px 10px;
}
.agp-cat-page-heading h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-yellow-dark);
  margin: 0;
}
.agp-cat-products-wrap {
  padding-top: 10px;
}

/* Sub-Category Bar Active State (Category page ke andar wale menu bar ke liye) */
.custom-scroll-menu .parent-menu-link.active-cat {
  background: var(--brand-yellow-dark) !important;
  color: #fff !important;
  border-color: var(--brand-yellow-dark) !important;
}
/* Wishlist heart button - on product cards and single product page */
.agpg-wishlist-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}
.agp-wishlist-btn {
  background: rgba(255,255,255,0.9);
  border: 1px solid #eee;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.15s ease;
}
.agp-wishlist-btn:hover {
  transform: scale(1.1);
}
.agp-wishlist-btn.agp-wishlist-active {
  border-color: #d4af37;
}
/* =====================================================================
   Static Content Pages: About Us / Contact Us / FAQ
   (page-about.php, page-contact.php, page-faq.php)
   Reuses existing tokens (--brand-*), the .agp-cat-page-heading title
   style, the .collection-grid/.collection-card feature-tile pattern,
   and the .trust-strip pill-badge pattern already used on the
   homepage, so these pages match the rest of the site exactly.
   ===================================================================== */

.agp-static-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 16px 30px;
}
.agp-static-section > p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 14px;
}
.agp-static-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 28px 0 10px;
  text-align: center;
}

/* small description line under a .collection-card label (About page craft grid) */
.collection-desc {
  font-size: 11.5px;
  color: #777;
  margin-top: 6px;
  line-height: 1.4;
}

/* Founder / Co-founder cards (About page) */
.agp-founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 14px 0 6px;
}
@media (min-width: 600px) {
  .agp-founders-grid { grid-template-columns: 1fr 1fr; }
}
.agp-founder-card {
  background: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.agp-founder-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.agp-founder-name {
  font-weight: 700;
  color: var(--brand-blue-dark);
  font-size: 15px;
}
.agp-founder-role {
  font-size: 12px;
  color: var(--brand-yellow-dark);
  font-weight: 600;
  margin-top: 2px;
}

/* Contact page cards */
.agp-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 10px 0 10px;
}
@media (min-width: 700px) {
  .agp-contact-grid { grid-template-columns: 1fr 1fr; }
}
.agp-contact-card {
  background: #fff;
  border: 1px solid var(--brand-border-blue);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}
.agp-contact-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--brand-blue);
}
.agp-contact-card p {
  font-size: 13px;
  color: #444;
  margin: 0 0 4px;
  line-height: 1.6;
}
.agp-contact-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.agp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-yellow);
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.15s ease, color 0.15s ease;
}
.agp-contact-btn:hover {
  background: var(--brand-yellow-dark);
  color: #fff;
}
.agp-contact-btn.agp-contact-btn-outline {
  background: var(--brand-light-blue);
  color: var(--brand-blue);
  border: 1px solid var(--brand-border-blue);
}
.agp-contact-btn.agp-contact-btn-outline:hover {
  background: var(--brand-border-blue);
}

/* FAQ accordion - pure HTML <details>/<summary>, no extra JS needed */
.agp-faq-list {
  margin: 10px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agp-faq-item {
  background: #fff;
  border: 1px solid var(--brand-border-blue);
  border-radius: 10px;
  padding: 0 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.agp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 26px 14px 0;
  position: relative;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-blue-dark);
}
.agp-faq-item summary::-webkit-details-marker { display: none; }
.agp-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-yellow-dark);
}
.agp-faq-item[open] summary::after {
  content: '\2212';
}
.agp-faq-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* ---- Extra polish pass: dividers, gradient avatars, closing CTA band,
   cleaner contact pill-buttons ---- */
.agp-section-divider {
  width: 46px;
  height: 3px;
  background: var(--brand-yellow);
  border-radius: 3px;
  margin: 6px auto 0;
}
.agp-founder-avatar {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-shadow: 0 4px 10px rgba(10,47,102,0.25);
}

.agp-cta-band {
  margin: 34px auto 6px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 14px;
  padding: 26px 20px;
  color: #fff;
}
.agp-cta-band h3 {
  color: #fff !important;
  margin: 0 0 4px !important;
}
.agp-cta-band p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 13px;
  margin: 4px 0 16px !important;
}
.agp-cta-btn {
  display: inline-block;
  background: var(--brand-yellow);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.agp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: var(--brand-yellow-dark);
  color: #fff;
}

/* Contact page - clean icon-pill buttons, replaces the plain-text + button clutter */
.agp-contact-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.agp-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--brand-blue-dark);
  font-size: 12.5px;
  font-weight: 600;
  flex: 1 1 calc(50% - 10px);
  min-width: 135px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.agp-contact-pill:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #000;
  transform: translateY(-2px);
}
.agp-contact-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* =====================================================================
   PREMIUM REDESIGN - About / Contact / FAQ pages only
   Every class below is NEW (agp-page-*, agp-craft-*, agp-faq-* etc.) -
   nothing here modifies an existing shared class, so the homepage,
   category pages and product cards are completely unaffected.
   ===================================================================== */

/* ---- Page-top hero banner (dark gradient, like the homepage hero,
   but its own independent class so the homepage hero is never touched) ---- */
.agp-page-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 60%, #061d42 100%);
  padding: 46px 16px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.agp-page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--brand-yellow);
  opacity: 0.14;
  border-radius: 50%;
}
.agp-page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -50px;
  width: 240px; height: 240px;
  background: var(--brand-white);
  opacity: 0.05;
  border-radius: 50%;
}
.agp-page-hero-inner {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.agp-page-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--brand-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,193,7,0.4);
}
.agp-page-hero-title {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}
.agp-page-hero-title span { color: var(--brand-yellow); }
.agp-page-hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.agp-page-hero-gem {
  font-size: 20px;
  margin-bottom: 10px;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .agp-page-hero-title { font-size: 38px; }
  .agp-page-hero-subtitle { font-size: 15px; }
}

/* ---- Section headings inside the static pages ---- */
.agp-static-section {
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 220px);
}
.agp-static-section h3 {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-size: 21px;
  letter-spacing: 0.3px;
}
.agp-static-section > p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Founder cards: elegant gold-topped cards ---- */
.agp-founder-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--brand-border-blue);
  border-top: 3px solid var(--brand-yellow);
  box-shadow: 0 6px 18px rgba(10,47,102,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.agp-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10,47,102,0.14);
}
.agp-founder-avatar {
  width: 64px; height: 64px;
  font-size: 20px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border: 3px solid var(--brand-light-blue);
}
.agp-founder-name {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-size: 17px;
}
.agp-founder-role {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 10.5px;
}

/* ---- Craftsmanship feature grid: own classes (NOT .collection-card,
   so the homepage "Shop by Collection" section is never affected) ---- */
.agp-craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 18px 0 6px;
}
.agp-craft-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px 16px 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.agp-craft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(20,80,158,0.14);
  border-color: var(--brand-yellow);
}
.agp-craft-icon {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light-blue), #fff);
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 4px 10px rgba(255,193,7,0.2);
}
.agp-craft-label {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--brand-blue-dark);
  margin-bottom: 6px;
}
.agp-craft-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

/* ---- Ornamental divider (diamond mark instead of a plain bar) ---- */
.agp-ornament-divider {
  text-align: center;
  color: var(--brand-yellow-dark);
  font-size: 14px;
  margin: 8px 0 4px;
  letter-spacing: 6px;
}

/* ---- Contact cards: icon-circle headers + gold top accent ---- */
.agp-contact-card {
  position: relative;
  border-top: 3px solid var(--brand-yellow);
  padding-top: 20px;
}
.agp-contact-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-size: 16px;
}
.agp-contact-card-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-light-blue);
  border: 1px solid var(--brand-border-blue);
  font-size: 17px;
}

/* ---- FAQ accordion refinements ---- */
.agp-faq-item {
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease;
}
.agp-faq-item[open] {
  border-left: 3px solid var(--brand-yellow);
}
.agp-faq-item summary {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-size: 15px;
}
.agp-cta-band h3 {
  font-family: 'Playfair Display', 'Segoe UI', Tahoma, Geneva, Verdana, serif;
  font-size: 20px;
}

/* =====================================================================
   Hero banner: optional auto-playing video + cycling image slideshow
   (agp_render_hero_section() in functions.php). Purely additive - the
   .agp-hero rule itself (background/padding/position/overflow) is
   untouched, so a hero with NO video/images configured looks exactly
   as before.
   ===================================================================== */
.agp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.agp-hero-video,
.agp-hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none; /* JS reveals only the one matching the current device */
}
.agp-hero-video {
  object-fit: cover;
}
.agp-hero-slides {
  background-size: cover;
  background-position: center;
  transition: background-image 0.6s ease-in-out;
}
.agp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(6, 20, 45, 0.45);
}
.agp-hero-inner {
  position: relative;
  z-index: 2;
}

/* =====================================================================
   "Shop By Special Collections" - per-collection 2-row horizontal
   product scroller. Overrides the agp_shop_grid shortcode's own inline
   .agpg-grid/.agpg-card styles via higher selector specificity
   (.agp-coll-scroll .agpg-grid beats the shortcode's bare .agpg-grid)
   - the shortcode function itself is never touched.
   ===================================================================== */
.agp-coll-block {
  margin: 0 12px 24px;
}
.agp-coll-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.agp-coll-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.agp-coll-icon {
  font-size: 18px;
}
.agp-coll-viewall {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.agp-coll-viewall:hover {
  text-decoration: underline;
}

.agp-coll-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.agp-coll-scroll .agpg-grid {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 150px;
  gap: 10px !important;
  padding: 2px !important;
  justify-content: flex-start !important;
  width: max-content;
}
.agp-coll-scroll .agpg-card {
  width: 150px !important;
}
.agp-coll-scroll .agpg-img-wrap {
  height: 110px !important;
}
.agp-coll-scroll .agpg-title {
  font-size: 12px !important;
  min-height: 28px !important;
}
