/*
Theme Name: GiftCardsNets — WoodMart Child
Theme URI: https://giftcardsnets.com/
Description: A light, responsive international gift-card storefront built on WoodMart.
Author: GiftCardsNets
Version: 1.2.2
Template: woodmart
Text Domain: giftcardsnets
*/

:root {
  --wd-primary-color: #2463eb;
  --wd-alternative-color: #10213d;
  --gcn-ink: #10213d;
  --gcn-muted: #63738a;
  --gcn-blue: #2463eb;
  --gcn-blue-dark: #1749b5;
  --gcn-line: #dfe7f1;
  --gcn-soft: #f4f8fd;
  --gcn-card: #ffffff;
  --gcn-gold: #f2ad32;
  --gcn-green: #17865a;
  --gcn-radius: 18px;
  --gcn-shadow: 0 16px 42px rgba(23, 62, 112, .10);
}

html:root,
body.gcn-woodmart-store {
  --wd-primary-color: #2463eb !important;
  --wd-alternative-color: #10213d !important;
}

body {
  color: var(--gcn-ink);
  background: #fff;
}

/* Refine WoodMart's default header into a clean GiftCardsNets header. */
.whb-top-bar {
  display: none !important;
}

.whb-header {
  border-bottom: 1px solid var(--gcn-line);
  background: rgba(255, 255, 255, .97);
}

.site-logo .wd-logo img {
  width: 240px;
  height: auto;
  max-width: 100% !important;
  content: url("assets/images/gcn-logo.svg");
}

.whb-general-header,
.whb-header-bottom {
  background: #fff;
}

.home .wd-page-title {
  display: none !important;
}

.wd-toolbar {
  display: none !important;
}

.product-labels,
.wd-compare-btn {
  display: none !important;
}

.wd-footer {
  border-top: 1px solid var(--gcn-line);
  background: #f7faff;
  color: var(--gcn-muted);
}

.wd-copyrights a {
  color: var(--gcn-ink);
}

.wd-page-content {
  padding-block: 0;
}

.gcn-wrap {
  width: min(calc(100% - 40px), 1220px);
  margin-inline: auto;
}

.gcn-section {
  padding: 78px 0;
}

.gcn-section--soft {
  border-block: 1px solid #e5edf7;
  background: var(--gcn-soft);
}

.gcn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--gcn-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gcn-kicker::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.gcn-button,
.gcc-contact-form button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--gcn-blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.gcn-button:hover,
.gcc-contact-form button:hover {
  background: var(--gcn-blue-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 99, 235, .22);
  transform: translateY(-2px);
}

.gcn-button--outline {
  border-color: #b9c8da;
  background: #fff;
  color: var(--gcn-ink);
}

.gcn-button--outline:hover {
  border-color: var(--gcn-blue);
  background: #fff;
  color: var(--gcn-blue);
}

/* Homepage */
.gcn-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-bottom: 1px solid #e3ebf5;
  background:
    radial-gradient(circle at 88% 12%, rgba(69, 127, 246, .17), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #eef6ff 58%, #fff8f1 100%);
}

.gcn-hero::before {
  position: absolute;
  top: -190px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(103, 157, 255, .10);
  content: "";
}

.gcn-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 60px;
}

.gcn-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--gcn-ink);
  font-size: clamp(46px, 5.1vw, 76px);
  line-height: .99;
  letter-spacing: -.055em;
}

.gcn-hero h1 em {
  color: var(--gcn-blue);
  font-style: normal;
}

.gcn-hero-copy > p:not(.gcn-kicker) {
  max-width: 600px;
  margin: 24px 0 30px;
  color: var(--gcn-muted);
  font-size: 17px;
}

.gcn-hero-actions,
.gcn-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gcn-hero-points {
  gap: 18px;
  margin-top: 29px;
  color: #526a86;
  font-size: 13px;
}

.gcn-hero-points span::before {
  margin-right: 7px;
  color: var(--gcn-green);
  font-weight: 900;
  content: "✓";
}

.gcn-hero-art img {
  width: 100%;
  border: 1px solid rgba(172, 196, 229, .66);
  border-radius: 28px;
  box-shadow: 0 28px 62px rgba(40, 82, 139, .17);
}

.gcn-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 31px;
}

.gcn-heading h2 {
  margin: 0;
  color: var(--gcn-ink);
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.gcn-heading p:not(.gcn-kicker) {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--gcn-muted);
}

.gcn-text-link {
  flex: 0 0 auto;
  color: var(--gcn-blue);
  font-weight: 750;
}

.gcn-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gcn-category-card {
  overflow: hidden;
  border: 1px solid var(--gcn-line);
  border-radius: var(--gcn-radius);
  background: #fff;
  color: var(--gcn-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gcn-category-card:hover {
  border-color: #b9c9dd;
  color: var(--gcn-ink);
  box-shadow: var(--gcn-shadow);
  transform: translateY(-4px);
}

.gcn-category-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.58;
  background: #eef5ff;
}

.gcn-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.gcn-category-card:hover img {
  transform: scale(1.035);
}

.gcn-category-copy {
  display: block;
  padding: 18px 20px 20px;
}

.gcn-category-copy strong {
  display: block;
  font-size: 17px;
}

.gcn-category-copy small {
  color: var(--gcn-muted);
}

.gcn-trust {
  border-block: 1px solid #dbe8f8;
  background: #edf5ff;
}

.gcn-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gcn-trust-item {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  padding: 26px 22px;
  border-right: 1px solid #d4e3f5;
}

.gcn-trust-item:last-child {
  border-right: 0;
}

.gcn-trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--gcn-blue);
  box-shadow: 0 8px 18px rgba(36, 99, 235, .11);
  font-weight: 900;
}

.gcn-trust-item b,
.gcn-trust-item span {
  display: block;
}

.gcn-trust-item span {
  color: var(--gcn-muted);
  font-size: 13px;
}

/* WoodMart and WooCommerce product presentation */
.gcn-section .products.wd-products,
.woocommerce .products.wd-products {
  --wd-col-lg: 4 !important;
  --wd-col-md: 2 !important;
  --wd-col-sm: 1 !important;
}

.products[class*="wd-products"] .product-grid-item,
.woocommerce ul.products li.product {
  overflow: hidden;
  border: 1px solid var(--gcn-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.products[class*="wd-products"] .product-grid-item:hover,
.woocommerce ul.products li.product:hover {
  box-shadow: var(--gcn-shadow);
  transform: translateY(-3px);
}

.product-grid-item .product-image-link,
.woocommerce ul.products li.product a img {
  display: flex;
  width: 100%;
  aspect-ratio: 1.6;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px;
  background: #fff;
}

.product-grid-item .product-image-link img,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.product-grid-item .product-element-top {
  background: #fff;
}

.product-grid-item .product-information {
  padding: 16px 18px 20px;
}

.product-grid-item .wd-entities-title {
  min-height: 47px;
  color: var(--gcn-ink);
  font-size: 16px;
  line-height: 1.4;
}

.product-grid-item .price {
  color: var(--gcn-ink);
  font-weight: 800;
}

.gv-product-badges {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}

.gv-badge {
  padding: 6px 9px;
  border-radius: 7px;
  background: #596980;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.gv-product-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  color: var(--gcn-muted);
  font-size: 12px;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery img {
  width: 100%;
  aspect-ratio: 1.6;
  border: 1px solid var(--gcn-line);
  border-radius: 15px;
  background: #fff;
  object-fit: contain !important;
}

.gv-region-alert {
  margin: 20px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gcn-gold);
  border-radius: 8px;
  background: #fff7e5;
  color: #4f3d16;
}

.gv-product-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--gcn-line);
  border-radius: 12px;
  background: var(--gcn-line);
}

.gv-product-fact {
  padding: 13px 15px;
  background: #fff;
}

.gv-product-fact small {
  display: block;
  color: var(--gcn-muted);
}

.gcn-stock-note {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: #eef3f8;
  color: #52657c;
  font-size: 13px;
  font-weight: 700;
}

.gcn-stock-note--open {
  background: #e9f8f1;
  color: #0f6845;
}

.single-product form.variations_form {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--gcn-line);
  border-radius: 13px;
  background: var(--gcn-soft);
}

.single-product table.variations {
  margin-bottom: 15px;
}

.single-product table.variations th,
.single-product table.variations td {
  display: block;
  width: 100%;
  padding: 0 0 7px;
  text-align: left;
}

.single-product table.variations label {
  color: var(--gcn-ink);
  font-size: 14px;
}

.single-product table.variations select {
  width: 100%;
  min-height: 49px;
  border: 1px solid #bccbe0;
  border-radius: 9px;
  background-color: #fff;
}

.single-product .single_add_to_cart_button {
  min-height: 49px;
  border-radius: 9px;
  background: var(--gcn-blue);
}

/* Preview listings show the face values and issuer facts without an order form. */
.single-product.gcn-preview-product form.cart {
  display: none !important;
}

.gcn-public-price-currency {
  display: inline-flex;
  margin-right: 4px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #e8f0ff;
  color: #1749b5;
  font-size: 11px;
  letter-spacing: .04em;
}

/* Catalogue filters */
.gcc-catalogue-filters {
  clear: both;
  width: 100%;
  margin: 0 0 30px;
  padding: 18px;
  border: 1px solid var(--gcn-line);
  border-radius: 13px;
  background: var(--gcn-soft);
}

.gcc-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gcc-filter-row label {
  margin: 0;
}

.gcc-filter-row select {
  min-width: 165px;
  height: 44px;
  border: 1px solid var(--gcn-line);
  border-radius: 9px;
  background-color: #fff;
}

.gcc-filter-row label:has(input[name="min_price"]),
.gcc-filter-row label:has(input[name="max_price"]),
.gcc-filter-row .gcc-filter-check {
  display: none;
}

.gcc-catalogue-filters .gv-button {
  min-height: 44px;
  padding: 10px 19px;
  border: 0;
  border-radius: 9px;
  background: var(--gcn-blue);
  color: #fff;
  font-weight: 750;
}

.gcc-clear-filters {
  padding: 8px;
  color: var(--gcn-muted);
  font-weight: 650;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 24px;
}

/* Content pages */
.gcn-page-hero {
  padding: 52px 0;
  background: linear-gradient(135deg, #f9fbff, #edf5ff);
}

.gcn-page-hero-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 52px;
}

.gcn-page-hero h1 {
  margin: 0;
  color: var(--gcn-ink);
  font-size: clamp(39px, 5vw, 65px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.gcn-page-hero p:not(.gcn-kicker) {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--gcn-muted);
  font-size: 17px;
}

.gcn-page-hero img {
  width: 100%;
  max-height: 370px;
  border: 1px solid #d8e5f5;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(35, 77, 133, .12);
}

.gcn-content {
  width: min(calc(100% - 40px), 980px);
  margin-inline: auto;
  padding: 62px 0 84px;
}

.gcn-content--wide {
  width: min(calc(100% - 40px), 1180px);
}

.gcn-content h2 {
  margin-top: 36px;
  color: var(--gcn-ink);
}

.gcn-faq-list {
  display: grid;
  gap: 13px;
}

.gcn-faq-list details {
  border: 1px solid var(--gcn-line);
  border-radius: 12px;
  background: #fff;
  padding: 0 19px;
}

.gcn-faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--gcn-ink);
  font-weight: 750;
}

.gcn-faq-list details p {
  margin-top: 0;
  color: var(--gcn-muted);
}

.gv-contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 48px;
}

.gcc-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gcc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gcc-field--full {
  grid-column: 1 / -1;
}

.gcc-field input,
.gcc-field select,
.gcc-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gcn-line);
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
}

.gcc-notice {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 8px;
  background: #e9f8f1;
  color: #0f6845;
}

.gcc-notice--error {
  background: #fff0f1;
  color: #9d2531;
}

.gcc-security-field {
  padding: 14px;
  border: 1px solid #cedbf0;
  border-radius: 10px;
  background: #f5f9ff;
}

.gcc-security-field small {
  color: var(--gcn-muted);
}

.gcc-honeypot {
  position: absolute;
  left: -9999px;
}

.gcc-whatsapp {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #20b85a;
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 74, 38, .25);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1024px) {
  .gcn-hero-grid,
  .gcn-page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .gcn-category-grid,
  .gcn-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gcn-trust-item:nth-child(2) {
    border-right: 0;
  }

  .gcn-trust-item:nth-child(-n+2) {
    border-bottom: 1px solid #d4e3f5;
  }
}

@media (max-width: 767px) {
  .site-logo .wd-logo img {
    width: 170px;
  }

  .gcn-wrap,
  .gcn-content,
  .gcn-content--wide {
    width: min(calc(100% - 28px), 100%);
  }

  .gcn-section {
    padding: 56px 0;
  }

  .gcn-hero {
    padding: 48px 0 42px;
  }

  .gcn-hero-grid,
  .gcn-page-hero-grid,
  .gv-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gcn-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .gcn-heading {
    display: block;
  }

  .gcn-text-link {
    display: inline-block;
    margin-top: 15px;
  }

  .gcn-category-grid {
    grid-template-columns: 1fr;
  }

  .gcn-trust-grid {
    grid-template-columns: 1fr;
  }

  .gcn-trust-item,
  .gcn-trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d4e3f5;
  }

  .gcn-trust-item:last-child {
    border-bottom: 0;
  }

  .gcc-contact-form {
    grid-template-columns: 1fr;
  }

  .gcc-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gcc-filter-row label,
  .gcc-filter-row select {
    width: 100%;
    min-width: 0;
  }

  .gcc-field--full {
    grid-column: auto;
  }

  .gv-product-facts {
    grid-template-columns: 1fr;
  }
}
