/* ==========================================================================
   giftdoni.com — design layer (added on top of the theme CSS)
   Brand: #1c9c53 -> #239083 (same palette as assets/css/color.css)
   Loaded after style.css / main-rtl.css / color.css by page/landingVip.php
   and page/category.php. Everything here is additive (no theme rule removed).
   ========================================================================== */

:root {
    --gd-green: #1c9c53;
    --gd-teal: #239083;
    --gd-ink: #17231d;
    --gd-muted: #6b7c74;
    --gd-line: rgba(28, 156, 83, .14);
    --gd-soft: #f4faf6;
    --gd-grad: linear-gradient(116.85deg, #239083 0%, #1c9c53 100%);
    --gd-shadow: 0 12px 30px -18px rgba(23, 35, 29, .35);
    --gd-shadow-hover: 0 22px 45px -20px rgba(28, 156, 83, .45);
}

body {
    font-family: "IRANSansWeb", "IRANSans", "Segoe UI", Tahoma, sans-serif;
}

/* ---------------------------------------------------------------- hero ---- */
.hero-section-3 {
    background: radial-gradient(1200px 480px at 100% 0%, rgba(28, 156, 83, .10), transparent 60%),
                linear-gradient(180deg, #ffffff 0%, var(--gd-soft) 100%);
}

.hero-section-3 h1,
.hero-section-3 h2 {
    letter-spacing: -.2px;
}

.action-btns.gd-hero-btns .list-inline-item {
    margin: 0 .35rem .8rem 0;
}

.action-btns.gd-hero-btns .app-download-btn {
    background: #fff;
    border: 1px solid var(--gd-line);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: var(--gd-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.action-btns.gd-hero-btns .app-download-btn:hover {
    transform: translateY(-3px);
    border-color: var(--gd-green);
    box-shadow: var(--gd-shadow-hover);
}

.action-btns.gd-hero-btns .app-download-btn small {
    display: block;
    font-size: 11px;
    color: var(--gd-muted);
    letter-spacing: .3px;
    margin-bottom: 2px;
}

.action-btns.gd-hero-btns .app-download-btn h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gd-ink);
}

.action-btns.gd-hero-btns .app-download-btn i {
    color: var(--gd-green);
}

/* ------------------------------------------------------- section heads ---- */
.gd-section-head {
    text-align: center;
    margin-bottom: 34px;
}

.gd-section-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gd-ink);
    margin: 0 0 8px;
}

.gd-section-head h2:after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--gd-grad);
    margin: 12px auto 0;
}

.gd-section-head p {
    color: var(--gd-muted);
    margin: 0;
    font-size: 15px;
}

.gd-section-eyebrow {
    display: inline-block;
    background: rgba(28, 156, 83, .10);
    color: var(--gd-green);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* --------------------------------------------- landing product cards ------ */
.cs-card.cs-style4 {
    border: 1px solid var(--gd-line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.cs-card.cs-style4:hover {
    transform: translateY(-6px);
    border-color: rgba(28, 156, 83, .35);
    box-shadow: var(--gd-shadow-hover);
}

.cs-card.cs-style4 .cs-card_thumb {
    border-radius: 14px;
    overflow: hidden;
    background: var(--gd-soft);
}

.cs-card.cs-style4 .cs-card_thumb img {
    width: 100%;
    height: 172px;
    object-fit: cover;
    display: block;
}

.cs-card.cs-style4 .cs-card_title {
    font-weight: 700;
    color: var(--gd-ink);
    line-height: 1.7;
    min-height: 46px;
}

.cs-card.cs-style4 .cs-card_title a {
    color: var(--gd-ink);
}

.cs-card.cs-style4 .cs-card_title a:hover {
    color: var(--gd-green);
}

.cs-card.cs-style4 .cs-card_like {
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px -10px rgba(23, 35, 29, .5);
}

.gd-card-caption {
    font-size: 12.5px;
    color: var(--gd-muted);
    margin: 2px 0 10px;
    line-height: 1.8;
}

/* ------------------------------------------------- home hero (dark) ------ */
.bg-image .gd-hero-btns .app-download-btn,
.ptb-100 .gd-hero-btns .app-download-btn {
    background: #fff;
}

.bg-image .gd-hero-btns .app-download-btn h5 {
    color: var(--gd-ink);
}

.gd-hero-btns .app-download-btn i {
    color: var(--gd-green) !important;
}

/* ------------------------------------------- category cards (slider) ----- */
.cs-card.cs-style6.gd-cat-card {
    border: 1px solid var(--gd-line);
    border-radius: 18px;
    padding: 18px 12px 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cs-card.cs-style6.gd-cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(28, 156, 83, .4);
    box-shadow: var(--gd-shadow-hover);
}

.cs-card.cs-style6.gd-cat-card .cs-card_title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gd-ink);
    margin: 10px 0 0;
    line-height: 1.7;
}

.cs-section_title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gd-ink);
}

/* ------------------------------------------------- related products ------- */
.gd-related {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--gd-soft) 100%);
    border-top: 1px solid var(--gd-line);
}

.gd-rel-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.gd-rel-card {
    background: #fff;
    border: 1px solid var(--gd-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--gd-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gd-rel-card,
.gd-rel-card:hover,
.gd-rel-card:focus {
    text-decoration: none;
    color: inherit;
}

.gd-rel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(28, 156, 83, .4);
    box-shadow: var(--gd-shadow-hover);
}

.gd-rel-thumb {
    position: relative;
    background: var(--gd-soft);
}

.gd-rel-thumb img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    display: block;
}

.gd-rel-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .95);
    color: var(--gd-green);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 6px 16px -10px rgba(23, 35, 29, .55);
}

.gd-rel-body {
    padding: 14px 15px 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.gd-rel-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gd-ink);
    line-height: 1.8;
    margin: 0 0 6px;
    min-height: 44px;
}

.gd-rel-caption {
    font-size: 12px;
    color: var(--gd-muted);
    line-height: 1.8;
    margin: 0 0 12px;
}

.gd-rel-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--gd-line);
    padding-top: 10px;
}

.gd-rel-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--gd-green);
}

.gd-rel-price small {
    font-size: 11px;
    font-weight: 500;
    color: var(--gd-muted);
}

.gd-rel-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gd-teal);
}

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 1199.98px) {
    .gd-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .gd-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gd-section-head h2 { font-size: 24px; }
}

@media (max-width: 767.98px) {
    .gd-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .gd-rel-thumb img { height: 120px; }
    .gd-related { padding: 30px 0 45px; }
}

@media (max-width: 419.98px) {
    .gd-rel-grid { grid-template-columns: 1fr; }
}


