/* Grabcodez CouponFollow Master Suite v4.20.0 — mobile footer accordion only. */
@media (max-width:700px){
  .gc-site-footer .gc-footer-grid{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding-top:30px!important;
    padding-bottom:34px!important;
  }
  .gc-site-footer .gc-footer-brand-column{
    margin:0 0 18px!important;
  }
  .gc-site-footer .gc-footer-column{
    margin:0!important;
    padding:0!important;
  }
  .gc-site-footer .gc-footer-column > h2{
    position:relative!important;
    margin:0!important;
    padding:13px 36px 13px 0!important;
    font-size:18px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:0!important;
    cursor:pointer!important;
    user-select:none!important;
  }
  .gc-site-footer .gc-footer-column > h2::after{
    content:"";
    position:absolute;
    right:4px;
    top:50%;
    width:11px;
    height:11px;
    border-right:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:translateY(-65%) rotate(45deg);
    transition:transform .2s ease;
  }
  .gc-site-footer .gc-footer-column.gcfm-footer-open > h2::after{
    transform:translateY(-35%) rotate(225deg);
  }
  .gc-site-footer .gc-footer-column > ul,
  .gc-site-footer .gc-footer-column > nav{
    display:none!important;
  }
  .gc-site-footer .gc-footer-column.gcfm-footer-open > ul,
  .gc-site-footer .gc-footer-column.gcfm-footer-open > nav{
    display:block!important;
  }
  .gc-site-footer .gc-footer-column.gcfm-footer-open > ul{
    margin:0 0 12px!important;
    padding:0!important;
  }
  .gc-site-footer .gc-footer-column li + li{
    margin-top:11px!important;
  }
  .gc-site-footer .gc-footer-column a{
    font-size:15px!important;
    line-height:1.32!important;
    font-weight:400!important;
  }
  .gc-site-footer .gc-footer-about{
    margin:8px 0 0!important;
    padding:0!important;
  }
  .gc-site-footer .gc-footer-about h2{
    margin:0 0 12px!important;
    font-size:18px!important;
    line-height:1.2!important;
    font-weight:700!important;
  }
  .gc-site-footer .gc-footer-about p{
    margin:0 0 14px!important;
    font-size:14px!important;
    line-height:1.5!important;
  }
  .gc-site-footer .gc-footer-about a{
    font-size:14.5px!important;
    line-height:1.35!important;
  }
}


/* Grabcodez CouponFollow Master Suite v4.22.0 — tablet footer parity only.
   Desktop (>1024px) and phone (<=700px) are intentionally untouched. */
@media (min-width:701px) and (max-width:1024px){
  .gc-site-footer .gc-footer-grid{
    display:grid!important;
    grid-template-columns:minmax(150px,1.25fr) minmax(110px,.9fr) minmax(120px,1fr) minmax(120px,1fr) minmax(165px,1.35fr)!important;
    grid-template-rows:auto!important;
    align-items:start!important;
    column-gap:18px!important;
    row-gap:0!important;
    padding-top:32px!important;
    padding-bottom:30px!important;
  }

  .gc-site-footer .gc-footer-brand-column,
  .gc-site-footer .gc-footer-column,
  .gc-site-footer .gc-footer-about{
    grid-row:1!important;
    align-self:start!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:0!important;
  }

  .gc-site-footer .gc-footer-brand-column{grid-column:1!important;}
  .gc-site-footer .gc-footer-column:nth-of-type(2){grid-column:2!important;}
  .gc-site-footer .gc-footer-column:nth-of-type(3){grid-column:3!important;}
  .gc-site-footer .gc-footer-column:nth-of-type(4){grid-column:4!important;}
  .gc-site-footer .gc-footer-about{grid-column:5!important;}

  .gc-site-footer .gc-footer-column > h2,
  .gc-site-footer .gc-footer-about h2{
    margin:0 0 12px!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:700!important;
  }

  .gc-site-footer .gc-footer-column ul{
    margin:0!important;
    padding:0!important;
  }

  .gc-site-footer .gc-footer-column li + li{
    margin-top:10px!important;
  }

  .gc-site-footer .gc-footer-column a{
    font-size:12.5px!important;
    line-height:1.35!important;
  }

  .gc-site-footer .gc-footer-about p{
    margin:0 0 14px!important;
    font-size:12px!important;
    line-height:1.45!important;
  }

  .gc-site-footer .gc-footer-about a{
    font-size:12.5px!important;
    line-height:1.35!important;
  }

  .gc-site-footer .gc-footer-brand-column img{
    max-width:165px!important;
    height:auto!important;
  }
}

/* Grabcodez CouponFollow Master Suite v4.24.0 — all-device country selector.
   This enhances only the existing theme .gc-country-row. It does not replace
   the footer, alter store/coupon content, or change desktop/tablet/mobile grids. */
.gc-site-footer .gc-footer-brand-column{
  position:relative;
}
.gc-site-footer .gc-country-row{
  cursor:pointer!important;
  user-select:none!important;
  width:max-content;
  max-width:100%;
  position:relative;
  z-index:42;
  outline:none;
}
.gc-site-footer .gc-country-row:focus-visible{
  outline:2px solid #8adbe9;
  outline-offset:5px;
  border-radius:3px;
}
.gc-site-footer .gc-country-row .gcfm-country-chevron{
  display:inline-block;
  line-height:1;
  transform:translateY(-1px) rotate(0deg);
  transition:transform .18s ease;
  transform-origin:center;
}
.gc-site-footer .gc-country-row[aria-expanded="true"] .gcfm-country-chevron{
  transform:translateY(1px) rotate(180deg);
}
.gc-site-footer .gcfm-country-menu{
  display:none;
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  z-index:9999;
  width:185px;
  max-width:calc(100vw - 28px);
  margin:0!important;
  padding:4px!important;
  list-style:none!important;
  background:#fff!important;
  border:1px solid rgba(17,31,43,.16)!important;
  border-radius:4px!important;
  box-shadow:0 8px 24px rgba(0,0,0,.16)!important;
  color:#27323b!important;
}
.gc-site-footer .gc-footer-brand-column.gcfm-country-open .gcfm-country-menu{
  display:block!important;
}
.gc-site-footer .gcfm-country-menu li{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.gc-site-footer .gcfm-country-option{
  width:100%;
  display:flex;
  align-items:center;
  gap:9px;
  margin:0!important;
  padding:7px 8px!important;
  border:0!important;
  border-radius:2px!important;
  background:transparent!important;
  color:#25313a!important;
  font:inherit!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:400!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
.gc-site-footer .gcfm-country-option:hover,
.gc-site-footer .gcfm-country-option:focus-visible,
.gc-site-footer .gcfm-country-option[aria-current="true"]{
  background:#e2f7f4!important;
  color:#25313a!important;
  outline:none!important;
}
.gc-site-footer .gcfm-country-flag{
  flex:0 0 auto;
  width:20px;
  text-align:center;
  font-size:16px;
  line-height:1;
}
.gc-site-footer .gcfm-country-name{
  flex:1 1 auto;
  min-width:0;
  white-space:nowrap;
}
@media (max-width:700px){
  .gc-site-footer .gcfm-country-menu{
    width:185px;
    top:calc(100% + 7px);
  }
}
@media (min-width:701px) and (max-width:1024px){
  .gc-site-footer .gcfm-country-menu{
    width:175px;
    top:calc(100% + 7px);
  }
  .gc-site-footer .gcfm-country-option{
    font-size:12.5px!important;
    padding:6px 7px!important;
  }
}


/* v4.24.0 — CouponFollow-style country row polish + anchored dropdown.
   Scope is limited to the existing footer country selector only. */
.gc-site-footer,
.gc-site-footer .gc-footer-inner,
.gc-site-footer .gc-footer-brand-column{
  overflow:visible!important;
}
.gc-site-footer .gc-country-row{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  position:relative!important;
  width:max-content!important;
  max-width:100%!important;
  line-height:1.2!important;
}
.gc-site-footer .gc-country-row .gcfm-country-globe,
.gc-site-footer .gc-country-row .gcfm-country-selected-flag,
.gc-site-footer .gc-country-row .gcfm-country-chevron{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
}
.gc-site-footer .gc-country-row .gcfm-country-globe{
  font-size:17px!important;
  line-height:1!important;
  transform:translateY(-1px);
}
.gc-site-footer .gc-country-row .gcfm-country-selected-flag{
  font-size:18px!important;
  line-height:1!important;
  min-width:22px!important;
}
.gc-site-footer .gc-country-row .gcfm-country-chevron{
  width:16px!important;
  height:16px!important;
  margin-left:1px!important;
  color:#f4f7f9!important;
  transform:none!important;
  transition:transform .18s ease!important;
  transform-origin:center!important;
}
.gc-site-footer .gc-country-row .gcfm-country-chevron svg{
  display:block!important;
  width:14px!important;
  height:9px!important;
}
.gc-site-footer .gc-country-row[aria-expanded="true"] .gcfm-country-chevron{
  transform:rotate(180deg)!important;
}
.gc-site-footer .gc-country-row > .gcfm-country-menu{
  position:absolute!important;
  left:0!important;
  top:calc(100% + 9px)!important;
  right:auto!important;
  bottom:auto!important;
  z-index:100000!important;
  margin:0!important;
}
@media (max-width:700px){
  .gc-site-footer .gc-country-row{
    gap:8px!important;
  }
  .gc-site-footer .gc-country-row .gcfm-country-globe{
    font-size:18px!important;
  }
  .gc-site-footer .gc-country-row .gcfm-country-selected-flag{
    font-size:19px!important;
    min-width:23px!important;
  }
  .gc-site-footer .gc-country-row .gcfm-country-chevron{
    width:17px!important;
    height:17px!important;
  }
}


/* v4.25.0 — tablet-only country dropdown spacing.
   Keeps the country menu visually inside the first footer column so it does
   not touch the Site Links column. Phone and desktop are intentionally unchanged. */
@media (min-width:701px) and (max-width:1024px){
  .gc-site-footer .gc-country-row > .gcfm-country-menu{
    width:160px!important;
    max-width:160px!important;
    left:0!important;
    top:calc(100% + 9px)!important;
    padding:4px!important;
    border-radius:4px!important;
    box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
  }
  .gc-site-footer .gcfm-country-option{
    gap:7px!important;
    padding:6px 7px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .gc-site-footer .gcfm-country-flag{
    width:18px!important;
    font-size:15px!important;
  }
}

/* v4.26.0 — desktop-only country dropdown fit.
   Keep the country list visually contained inside the main footer panel,
   matching the CouponFollow desktop behavior. Tablet and phone are untouched. */
@media (min-width:1025px){
  .gc-site-footer .gc-country-row > .gcfm-country-menu{
    top:calc(100% + 5px)!important;
  }
  .gc-site-footer .gcfm-country-option{
    padding:6px 8px!important;
  }
}


/* =========================================================
   v4.29.0 — TABLET footer refinement only (701–1024px).
   Keeps the approved phone and desktop footers untouched.
   ========================================================= */
@media (min-width:701px) and (max-width:1024px){
  .gc-site-footer .gc-container{
    width:min(calc(100% - 56px), 960px)!important;
  }
  .gc-site-footer .gc-footer-grid{
    grid-template-columns:1.35fr .95fr 1fr 1fr 1.3fr!important;
    column-gap:14px!important;
    padding-top:30px!important;
    padding-bottom:28px!important;
  }
  .gc-site-footer .gc-footer-brand-column img,
  .gc-site-footer .gc-footer-custom-logo .custom-logo{
    max-width:165px!important;
    max-height:42px!important;
  }
  .gc-site-footer .gc-brand-footer{
    margin-bottom:12px!important;
  }
  .gc-site-footer .gc-country-row{
    margin-top:11px!important;
    gap:6px!important;
    width:max-content!important;
    max-width:none!important;
    white-space:nowrap!important;
    font-size:12.5px!important;
    line-height:1.2!important;
  }
  .gc-site-footer .gc-footer-column > h2,
  .gc-site-footer .gc-footer-about h2{
    margin-bottom:11px!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  .gc-site-footer .gc-footer-column li + li{
    margin-top:9px!important;
  }
  .gc-site-footer .gc-footer-column a{
    font-size:12.2px!important;
    line-height:1.35!important;
  }
  .gc-site-footer .gc-footer-about p{
    margin-bottom:12px!important;
    font-size:11.5px!important;
    line-height:1.45!important;
  }
  .gc-site-footer .gc-footer-about a{
    font-size:12px!important;
    line-height:1.35!important;
  }
  .gc-site-footer .gc-footer-bottom{
    padding:12px 0!important;
    font-size:11px!important;
  }
}


/* =========================================================
   v4.30.0 — TABLET footer row structure only (701–1024px).
   Brand + country stay at the top-left.  The four content groups
   start on a clean second row, matching the CouponFollow tablet
   reference. Phone and desktop remain untouched.
   ========================================================= */
@media (min-width:701px) and (max-width:1024px){
  .gc-site-footer .gc-container{
    width:min(calc(100% - 30px), 970px)!important;
  }
  .gc-site-footer .gc-footer-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    column-gap:34px!important;
    row-gap:32px!important;
    align-items:start!important;
    padding-top:40px!important;
    padding-bottom:30px!important;
  }

  .gc-site-footer .gc-footer-brand-column{
    grid-column:1 / -1!important;
    grid-row:1!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    justify-self:start!important;
  }
  .gc-site-footer .gc-footer-brand-column img,
  .gc-site-footer .gc-footer-custom-logo .custom-logo{
    max-width:175px!important;
    max-height:44px!important;
  }
  .gc-site-footer .gc-brand-footer{
    margin:0 0 12px 0!important;
  }
  .gc-site-footer .gc-country-row{
    margin:0!important;
  }

  .gc-site-footer .gc-footer-column:nth-of-type(2){
    grid-column:1!important;
    grid-row:2!important;
  }
  .gc-site-footer .gc-footer-column:nth-of-type(3){
    grid-column:2!important;
    grid-row:2!important;
  }
  .gc-site-footer .gc-footer-column:nth-of-type(4){
    grid-column:3!important;
    grid-row:2!important;
  }
  .gc-site-footer .gc-footer-about{
    grid-column:4!important;
    grid-row:2!important;
  }

  .gc-site-footer .gc-footer-column,
  .gc-site-footer .gc-footer-about{
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    align-self:start!important;
  }
  .gc-site-footer .gc-footer-column > h2,
  .gc-site-footer .gc-footer-about h2{
    margin:0 0 18px 0!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  .gc-site-footer .gc-footer-column li + li{
    margin-top:14px!important;
  }
  .gc-site-footer .gc-footer-column a{
    font-size:12.2px!important;
    line-height:1.35!important;
  }
  .gc-site-footer .gc-footer-about p{
    margin:0 0 18px 0!important;
    font-size:11.5px!important;
    line-height:1.55!important;
  }
  .gc-site-footer .gc-footer-about a{
    font-size:12px!important;
  }
  .gc-site-footer .gc-footer-bottom{
    margin-top:0!important;
    padding:12px 0!important;
  }
}
